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
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024