PriceDiscHeading.updateFinalDisc Method [AX 2012]

Calculates the total discount for sales orders, purchase orders.

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.
Show: