Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Calculates the end discount amount for sales order line.
Syntax
public DiscAmount lineEndDisc(TaxBaseCur baseAmount, [boolean _rounded])
Run On
Server
Parameters
- baseAmount
Type: TaxBaseCur Extended Data Type
The base amount for the discount calculation.
- _rounded
Type: boolean
The boolean flag indicating whether result should be rounded according to currency setup.
Return Value
Type: DiscAmount Extended Data Type
The end discount amount.