PurchTableForm_DlvScheduleSyncEnabled.syncDeliveryScheduleCommercialAttributes Method [AX 2012]
Detects whether any of the commercial attributes have changed on the order line with multiple deliveries and prompts the user to specify whether to copy the changed attributes to all the delivery lines and, finally, copies them.
protected boolean syncDeliveryScheduleCommercialAttributes(PurchLine _orderLine, [boolean _interactive])
Run On
CalledParameters
- _orderLine
- Type: PurchLine Table
The new order line with multiple deliveries.
- _interactive
- Type: boolean
A Boolean value that indicates whether the synchronization should be interactive; optional.
If _interactive parameter is false delivery lines are always updated with new commercial attributes.
The commercial attributes are purchase price, price unit, line disc, line percent.
This method detects change based on a comparison with the order line that is captured by the invocation of the purchLine_Write method before the actual update of the delivery schedule.
Community Additions
ADD
Show: