Line amount is the total amount of the line including charges and discounts, according to documentation. I cannot find a source describing how it gets calculated. From my own tests with the environment I have come to this conclusion as to how line amount gets calculated:
In case the image is unreadable:
(((Unit Price*Quantity)/(Price Unit))-(((Discount Amount+multiline discount amount)*Quantity)/(Price Unit))+Sales Charge)*(1-(Discount Rate+multiline Discount rate))
I am looking for verification that this is how line amount gets calculated.
Is this how line amount is calculated?
Is there ever a case where it is calculated differently?
*This post is locked for comments
I have the same question (0)

Report
All responses (
Answers (