MCRCustPaymTable::copyCustPayment Method
Copies the payments from one table to another.
Used by continuity to copy the payment to the generated invoices.
Syntax
client server public static MCRCustPaymTable copyCustPayment(
TableId _fromTableID,
RecId _fromRecID,
TableId _toTableID,
RecId _toRecID,
[SalesId _salesId,
AmountCur _amountCur,
boolean firstInstallmentAuth])
Run On
Called
Parameters
- _fromTableID
Type: TableId Extended Data Type
The ID of the table being coppied from.
- _fromRecID
Type: RecId Extended Data Type
The ID of the record being coppied from.
- _toTableID
Type: TableId Extended Data Type
The ID of the table being coppied to.
- _toRecID
Type: RecId Extended Data Type
The ID of the record being coppied to.
- _salesId
Type: SalesId Extended Data Type
The sales order ID for which the continuity order was created; optional.
- _amountCur
Type: AmountCur Extended Data Type
The amount to be paid from the sales / continuity order; optional.
- firstInstallmentAuth
Type: boolean
Boolean that determines if the payment is the first payment; optional.
Return Value
Type: MCRCustPaymTable Table
The newly created MCRCustPaymTable record.