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
Paul Timms
SendWebRequest3 is a boolean function, so if this returns true and the reply header has an accepted status, you can assume that the data was sent successfully and perform some actions on the record th...
11:12 4 Apr 2025
Aldevinas Katkus
same v. 2025-02-24. New DB. Just forward balances (purchase, sales invoices) from 2024 and later. In your case does turnover per period differs or just fwd. balance differs and turnover is identical i...
09:56 20 Mar 2025