Share via


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.

Return Value

Type: MCRCustPaymTable Table
The newly created MCRCustPaymTable record.

See Also

Reference

MCRCustPaymTable Table