REST API - calculated value
11-15-22
Operating system: Windows
Hello,

We are currently working on integrating a customer website with StandardERP using Rest API.

In StandardERP, there is a price list and a discount matrix.
Their web developer asked for a list with Customer+Item+Discount.

With RestAPI, is there way to get a calculated value from Standard ERP?

For instance, send CustomerCode and ItemCode as parameteres and get the discount percent?

Flaviana
Gatis Jansons
11-18-22
Hello, with REST API you can get data from StandardERP database.

So there are 2 options for getting a "calculated" value:
1 - Either read all pricing info and make the calculation logic on the integrated app/system side;
2 - Or create a support register with HAL on the server side that stores the value for the needed combination and use API to find the specific record from that register.

Gatis
11-18-22
Thanks, Gatis!

Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Hello, Kindly please report the bug so that we can further investigate and resolve it. Thank you. Best regards, Benjamin...
11:31 3 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024