MCRCustPaymTable::createPrepayAdjustments Method
Create a new MCRCustPaymTable for paymmode On_Acct.
This method is called when creating an adjustment in case of substitutions. If there is an increase in order amount and the customer originally paid by either cash,check create a new on_Acct record for the difference.Note, since the adjustment is being made to an "On_Acct" the percentage will be 100%.
Syntax
client server public static MCRCustPaymTable createPrepayAdjustments(
SalesTable _salesTable,
AmountCur _changedAmt,
[MCRPaymAdjustmentType _paymAdjType])
Run On
Called
Parameters
- _salesTable
Type: SalesTable Table
The SalesTable record for which a prepay, On_Acct payment is created.
- _changedAmt
Type: AmountCur Extended Data Type
The amount to be assigned to the MCRCustPaymTable record's amount field.
- _paymAdjType
Type: MCRPaymAdjustmentType Enumeration
The method of payment to be adjusted on the MCRCustPaymTable record; optional.
Return Value
Type: MCRCustPaymTable Table
The newly created MCRCustPaymTable record.