SalesDeliverySchedule::findOrderLineForDeliveryLine Method
Finds an order line for a delivery line of a specified inventory transaction ID.
Syntax
server public static SalesLine findOrderLineForDeliveryLine(TradeInventTransId _deliveryLineInventTransId, [boolean _forUpdate])
Run On
Server
Parameters
- _deliveryLineInventTransId
Type: TradeInventTransId Extended Data Type
The inventory transaction ID of the delivery line.
- _forUpdate
Type: boolean
A Boolean value that indicates whether to read the order line for update; optional.
Return Value
Type: SalesLine Table
The order line if found; otherwise, an empty line.