SalesQuotationLineType_WithMultipleDlvs.delete Method [AX 2012]

Deletes the order line and all the delivery lines that are associated with it.

public void delete([Common _childBuffer, boolean _updateOrderLineOfDeliverySchedule])

Run On

Called

Parameters

_childBuffer
Type: Common Table
The child record that is associated with the line; optional.
_updateOrderLineOfDeliverySchedule
Type: boolean
A Boolean value that indicates whether order line should be updated after its delivery line is deleted; optional.

ExceptionCondition
Error

The delivery line could not be deleted.

The method deletes all delivery lines by calling the validateDelete method and then, if this is successful, the delete method, passing false for the _updateOrderLineOfDeliverySchedule parameter, so that the deletions do not update the order line.

Show: