SalesQuotationLine::lastDeliveryScheduleLineNum Method
Retrieves the last line number that is used by the delivery lines linked to the specified order line.
Syntax
client server public static LineNum lastDeliveryScheduleLineNum(TradeInventTransId _orderLine)
Run On
Called
Parameters
- _orderLine
Type: TradeInventTransId Extended Data Type
The order line of the delivery schedule to find the maximum line number for.
Return Value
Type: LineNum Extended Data Type
The maximum line number of the delivery lines linked to the specified order line or zero when no such line exists.
Remarks
This method is used to guarantee that the delivery lines will not be interlaced with order lines.