PriceDiscHeading.updateFinalDisc Method
Calculates the total discount for sales orders, purchase orders.
Syntax
public boolean updateFinalDisc(PriceDiscLine _priceDiscLine, [boolean _bypassDialog])
Run On
ClientOrServer
Parameters
- _priceDiscLine
Type: PriceDiscLine Map
A PriceDiscLine buffer of the transacton line for which total discount is to be calculated.
- _bypassDialog
Type: boolean
A boolean value that controls execution of Dialog.
Return Value
Type: boolean
A Boolean value indicating whether the total discount was changed.