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
Piotr Wycichowski
Thanks Gatis, anyway it seems to be reported as bug instead of wish because now it depends on who created task for whom, am I right? /Piotr W....
14:39 15 May 2024
Aldevinas Katkus
Actually a new version of this bug is SL>>Reports>>Periodic customer statement "accumulates" amounts Not sure why it was duplicated, I clicked "submit"only once....
08:09 10 May 2024