MCRSalesLineDropShipment::deleteRelatedPurchaseOrderLine Method
Method to delete a related purchase order direct delivery line.
Syntax
client server public static void deleteRelatedPurchaseOrderLine(RecId _salesLineRecId, [boolean _deletePurchaseOrder])
Run On
Called
Parameters
- _salesLineRecId
Type: RecId Extended Data Type
The RecId value of the sales line.
- _deletePurchaseOrder
Type: boolean
true if purchase order should be attempted to be deleted as well; Otherwise false; Optional.
Exceptions
Exception | Condition |
---|---|
Error | Related purchase order line cannot be deleted. |