SalesLineType_ProjectItemReq.delete Method [AX 2012]

Deletes the sales line.

Syntax

public void delete(
   [Common childBuffer, 
    boolean deletePBA, 
    boolean updateCommercialLine])

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.
  • updateCommercialLine
    Type: boolean
    A Boolean value that indicates whether to update the commercial line.

Remarks

When delivery lines are updated, their association with the order line is always deleted from the SalesDeliverySchedule table. When this method is called and the updateCommercialLine parameter is set to false, it is the responsibility of the caller is 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.

See Also

Reference

SalesLineType_ProjectItemReq Class