This documentation is archived and is not being maintained.
PurchTableForm_DeliverySchedule.updatePurchLineTable Method [AX 2012]
Transfers an accepted delivery schedule from the temporary form data source to the PurchLine table in the database.
public void updatePurchLineTable(boolean _agreementDisassociationNeeded)
Run On Called
Parameters
_agreementDisassociationNeeded
Type: boolean
A Boolean value that indicates whether delivery schedule needs to be unlinked form an agreement before being updated.
Exception Condition
Error
The delivery schedule update failed, it violates the referenced agreement constraints, the insertion of the delivery line failed, or the deletion of the delivery line failed.
If the form was opened for an order line without delivery lines it is first converted to a delivery schedule.