CustPaymSchedLine::mcrFindFirstIntallmentSchedLine Method
Finds and returns the first schedule payment line that is tied to an installment plan of a sales order.
Syntax
client server public static CustPaymSchedLine mcrFindFirstIntallmentSchedLine(
SalesId _salesId,
PaymSchedId _paymSchedId,
[boolean _forUpdate])
Run On
Called
Parameters
- _salesId
Type: SalesId Extended Data Type
The sales order ID of the order if paid by installment.
- _paymSchedId
Type: PaymSchedId Extended Data Type
The payment schedule ID tied to the installment order.
- _forUpdate
Type: boolean
A boolean value to indicate if the CustPaymSchedLine has to be selected for update; Optional.
Return Value
Type: CustPaymSchedLine Table
A CustPaymSchedLine buffer if found; otherwise empty buffer.