To open any external URL in new tab, in local menu choose control: “ViewURLPage” In the Arguments, to pass the values from selected item a url can be added with placeholders url=https://odata.uniconta.com/api/Entities/InvItemClient?Name=Item&Value={Item}; where, {Item} is the property name Sync=true To open a new tab in sync mode On the page, menu can be seen […]
Developers Unipedia
- API
- API
- User defined fields
- User defined tables
- Saving a Session
- Posting an Invoice
- Post Invoice and get PDF
- Localization
- Attach physical voucher to entities
- Server-Login User
- How to find C# Property from Uniconta Label
- Minimize network traffic and optimize speed
Create Custom Uniconta Pages From Github Code
June 17th, 2020 in Developers Unipedia, PluginsGo to Uniconta Github https://github.com/Uniconta/Uniconta-Pages To make a custom page of DebtorAccount page, navigate to Debtor/DebtorAccount.xaml and Debtor/DebtorAccount..xaml.cs to download files. (Right click on “Raw” button and click “Save Target as” or “Save as” depending on browser) Download the solution project where pages can be added and modified https://github.com/Uniconta/Uniconta-Pages/blob/master/CreateCustomPageProject.zip Note: Add licensed devexpress dlls to […]
Logging Exceptions on local machine
May 25th, 2020 in Developers Unipedia, PluginsUniconta now supports logging of exceptions on local machine instead of server. In order to do that developer need to setup an environment variable “UnicontaLogs” with the log path. Now while running if there is any exception in Uniconta client it will be logged to the chosen path. It will be helpful for developers […]
ODATA REST API – Testing with Postman
January 29th, 2020 in API, Developers Unipedia, ODataA common tool for testing REST services is the tool Postman. This article will cover how to access and use the Uniconta ODATA API using Postman. Because it is an ODATA API, no API key is required. Uniconta login credentials are the only thing you need to call the API. Endpoints You can find endpoints […]
CRUD operations in OData
November 27th, 2019 in Developers Unipedia, ODataTo perform CRUD operations using OData below listed functions are available Get Uniconta Entity by Id public async Task<HttpResponseMessage> Get(string entityName, int id) Get Uniconta Entity Name and Property public async Task<HttpResponseMessage> Get(string entityName, [FromUri]UnicontaProperty property) Url to Get Uniconta Entity: https://odata.uniconta.com/api/Entities/GLDailyJournalClient Insert Uniconta Entity public async Task<HttpResponseMessage> Insert([FromUri]string entityName, [FromBody]object value) Url to Insert […]
Minimize network traffic and optimize speed
July 3rd, 2019 in API, Developers UnipediaAn api call in Uniconta is always associated with an overhead. First the api must establish a connection to the server, then encrypt and send the network package. On the server side the server will receive the package. Decrypt the package and branch out in the server and then to the method. At that point […]
How to find C# Property from Uniconta Label
April 2nd, 2019 in Developers UnipediaUniconta have a number of labels which can be found under Tools -> Labels -> Labels. However, even the English labels do not always correspond directly to the C# property names, sometimes resulting in a guessing game for what is called what. Luckily there is solution to this. In the Uniconta client, you can go […]
Server-Login User
March 20th, 2019 in API, Developers UnipediaAny solution using the Uniconta API to integrate to Uniconta and which requires a separate Server-login user, this Server-login user must be the one the integration/solution uses to logon to Uniconta.
Attach physical voucher to entities
February 12th, 2019 in API, Developers UnipediaYou can attach physical vouchers to entiteis such as the GLDailyJournalLineClient entities. The entity must have a DocumentRef property of type int. In the code snippet beneath is an example of how to attatch a physical voucher to a GLDailyJournalLine. // Some File var bytes = File.ReadAllBytes(@”[Path To File]”); var vc = new VouchersClient() { _Data = […]
Localization
January 30th, 2019 in API, Developers UnipediaUniconta uses Labels for Localization. The labels can be found in the Uniconta client under Tools -> Report Generator -> Labels. Programmatically, when we wish to Localize or translate plugins or applications, we can use these labels using the Localization class from the Uniconta.ClientTools namespace. // An initialized CrudAPI is required to use the Localization.lookup […]
Open tab in Uniconta programmatically
January 29th, 2019 in API, Developers Unipedia, PluginsYou can use the following code snippet to open a new tab in Uniconta. object[] param = new object[2]; param[0] = crudApi; param[1] = null; UnicontaTabs.OpenTab(UnicontaTabs.DebtorAccountPage2, param); This can be used to open up some Uniconta tab from a plugin for example. In the example above, we open up the DebtorAccountPage2 tab.
Post Invoice and get PDF
January 16th, 2019 in API, Developers UnipediaSimilarly to the InvoiceAPI.PostInvoice method, you can also call InvoiceAPI.PostInvoicePDF in order to get the invoice PDF if you wish to save it or process it in any other manner. Below is a code snippet showing how to use the method. In this example we are invoicing an order with order number 559. Just like the […]