MCRInstallmentPayment::insertInstallmentPayment Method
Inserts and initializes an installment payment.
Syntax
client server public static MCRInstallmentPayment insertInstallmentPayment(
SalesId _salesId,
PaymSchedId _paymSchedId,
RecId _custPaymSchedLineRecid,
[RecId _custPaymRecID])
Run On
Called
Parameters
- _salesId
Type: SalesId Extended Data Type
The sales ID for the installment payment.
- _paymSchedId
Type: PaymSchedId Extended Data Type
The payment schedule ID for the installment payment.
- _custPaymSchedLineRecid
Type: RecId Extended Data Type
The custPaymSchedLine record ID.
- _custPaymRecID
Type: RecId Extended Data Type
A record ID from the custPaym record; optional.
Return Value
Type: MCRInstallmentPayment Table
An installment payment record.
Remarks
The insert to the installment payment table is called from multiple places hence it is better to have it as a static method on the table, that initializes the record and inserts it.