Share via


SalesQuotationTableForm_Sales.syncDeliveryScheduleCommercialAttributes Method [AX 2012]

Indicates whether any of the commercial attributes changed on the order line with multiple deliveries and then prompts the user to determine whether the changed attributes should be copied to all the delivery lines and does the copying.

Syntax

protected boolean syncDeliveryScheduleCommercialAttributes(SalesQuotationLine _orderLine, [boolean _interactive])

Run On

Called

Parameters

  • _interactive
    Type: boolean
    A Boolean value that indicates whether the synchronization should be interactive; optional.

Return Value

Type: boolean
true if delivery lines were changed; otherwise, false.

Remarks

If the _interactive parameter is false, delivery lines are always updated with new commercial attributes.

Commercial attributes are: SalesPrice, PriceUnit, LineDisc, LinePercent.

Change detection is based on comparison with the order line captured by invocation of salesQuotationLine_Write method before the actual update of the delivery schedule.

See Also

Reference

SalesQuotationTableForm_Sales Class