PurchLineType_WithMultipleDeliveries.recalculateOrderLine Method [AX 2012]
Recalculates the Quantity field as a sum of the Quantity fields on all the delivery lines and Delivery dates and as a minimum of corresponding dates on delivery lines.
Syntax
public void recalculateOrderLine()
Run On
Called
Remarks
If the Quantity field has to be changed and the line does not have an agreement reference, it resets the commercial attributes by looking for trade agreements.