Share via


PurchLineType.delete Method [AX 2012]

Deletes a purchase line.

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 the reservation deletion information; optional.
  • deletePBA
    Type: boolean
    A Boolean value that indicates whether to the delete product builder item line configuration; optional.
  • updateOrderLineOfDeliverySchedule
    Type: boolean
    A Boolean value that indicates whether an order line should be updated after the deletion of its delivery line; optional.
    A Boolean value that indicates whether an order line should be updated after the deletion of its delivery line; optional.

Remarks

When delivery lines are deleted their association to an order line is always deleted from the SalesDeliverySchedule table.

See Also

Reference

PurchLineType Class