SalesLineType.delete Method [AX 2012]
Deletes the sales line.
Syntax
public void delete(
[Common childBuffer,
boolean deletePBA,
boolean updateOrderLineOfDeliverySchedule])
Run On
Called
Parameters
- childBuffer
Type: Common Table
The child record that is associated with the line; optional.
- deletePBA
Type: boolean
A Boolean value that indicates whether to delete the product builder item line configuration; optional.
- updateOrderLineOfDeliverySchedule
Type: boolean
A Boolean value that indicates whether to update the order line after its delivery line is deleted; optional.
Remarks
When delivery lines are deleted, their association to the order line is always deleted from the SalesDeliverySchedule table. When this method is called and the updateOrderLineOfDeliverySchedule parameter is set to false, it is the responsibility of the caller to update the order line. This is typically performed when multiple delivery lines are updated in a single transaction and the order line recalculation is performed only one time.