Share via


PurchLineType_WithMultipleDeliveries.delete Method [AX 2012]

Deletes the order line and all of its delivery lines.

Syntax

public void delete(
   [boolean _showInfoDelReserv, 
    boolean _deletePBA, 
    boolean _updateOrderLineOfDeliverySchedule])

Run On

Called

Parameters

  • _showInfoDelReserv
    Type: boolean
    A Boolean value that indicates whether to show reservation deletion information; optional.
  • _deletePBA
    Type: boolean
    A Boolean value that indicates whether to delete Product Builder item line configuration; optional.
  • _updateOrderLineOfDeliverySchedule
    Type: boolean
    A Boolean value that indicates whether order line should be updated after deletion of its delivery line; optional.

Exceptions

Exception Condition
Error

The deletion of the delivery line failed.

Remarks

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

See Also

Reference

PurchLineType_WithMultipleDeliveries Class