MCRCustPaymTotals Class [AX 2012]
The class MCRCustPaymTotals is an abstract base class responsible for managing a list of payments associated with an entity (such as a sales order or free-text invoice).
| Method | Description | |
|---|---|---|
| allowEdit | Determines if payments may be edited by the user. |
| allowEditCurrency | Determines if the currency should be allowed to be modified for the entity associated with the payments (such as a sales order or free-text invoice). |
| allowEditInvoiceAccount | Determines if the invoice account should be allowed to be modified for the entity associated with the payments (such as a sales order or free-text invoice). |
| allPaymentsApproved | Determines if all payments are in an approved status. |
| allPaymentsSubmitted | Determines if all payments have been submitted. |
| calcInvoiceAmounts | Calculates and returns the posted payment amount that can be applied toward the specified invoice and the amount remaining due for the specified invoice. |
| calcInvoicePaymAmount | Calculates the posted payment amount that can be applied toward the specified invoice. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| existPaym | Determines if at least one payment exists that does not have an amount of zero. |
| existPaym_installment | Returns true if there is a payment record associated with the installment plan or if there is no installment plan associated with this. |
| getCurrency | Returns the currency for all payments. |
| getDimension | Returns the financial dimensions for all payments. |
| getInvoiceAccount | Returns the invoice account for all payments. |
| getMaxOverUnderPaymAmount | Returns the maximum allowed over-/underpayment amount, in the payment currency. |
| getOrderID | Returns the order ID for all payments. |
| getOverallPaymStatus | Calculates and returns an overall payment status. |
| getPaymListSorted | Returns a sorted list containing all payments. |
| getPostingProfile | Gets the posting profile for the payment. |
| getRefRecId | Returns the reference record ID of the payment. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTotalDiscount | Gets the total AmountCur amount of the discount on the customer payment. |
| getTotalFixedPaymAmount | Calculates and returns the sum of payment amounts, including only payments that are fixed amounts (not calculated as percentages of total sales amount. |
| getTotalInvoicedAmount | Calculates and returns the total invoiced amount, in the payment currency. |
| getTotalPaymAmount | Calculates and returns the sum of all payment amounts, in the payment currency. |
| getTotalPaymAmount_notOnAccount | Gets the total amount of payments that is not on account. |
| getTotalPaymAmount_OnAccount | Returns the total payment amount for all payments of type on account, in the payment currency. |
| getTotalPaymAmountNoneInst | Gets the total payment amount entered, excluding the inst billing amount and the lines that are entered in a percent format. |
| getTotalPercentAmount | Returns the sum of percent amounts for all payments. |
| getTotalPostedPaymAmount | Calculates and returns the sum of amounts posted for all payments, in the payment currency. |
| getTotalSalesAmount | Calculates and returns the total sales amount, in the payment currency. |
| getTotalUnpostedPaymAmount | Calculates and returns the sum of unposted amounts for all payments, in the payment currency. |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Creates a new instance of this class. |
| notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) |
| notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) |
| objectOnServer | Determines whether the object is on a server. (Inherited from Object.) |
| owner | Returns the instance that owns the object. (Inherited from Object.) |
| parmCustInvoiceJour | Gets or sets the CustInvoiceJour table buffer. |
| parmLedgerJournalTable | Gets or sets the LedgerJournalTable table buffer. |
| parmLedgerJournalTrans | Gets or sets the LedgerJournalTrans table buffer. |
| parmMCRLedgerJournal | Gets or sets the MCRLedgerJournal table buffer. |
| parmSalesInvoiceId | Gets or sets the SalesInvoiceId. |
| parmSettleNow | Indicates if the customer transactions need to be settled. |
| postPaymAmount | Posts payments in the amount specified. |
| postPayments | Posts payments such that the sum of amounts posted is equal to or greater than the sum of amounts invoiced so far. |
| postPaymentsMultipleOrders | Posts the payments if invoicing is occuring in summary mode. |
| postPrepayments | Posts all payments that are marked as prepayments, as well as any payments with an un-posted amount with a sign other than the sign of the total sales amount. |
| preProcessCashCheck | Processes cash and check payments for authorization and posting. |
| processPayments | Processes all payments for authorization and/or posting. |
| promptOverUnderPaym | Gives the user the option to allow or cancel authorization of payments when an over-/underpayment will result. |
| recalculatePaymAmounts | Updates payment amounts by calculating the payment amount as a percentage of the balance. |
| setRequiredValues | Sets required values for the customer payment. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| settleBillUpFrontContChildren | Settles bill up front continuity children orders. |
| settleByOrderID | Settles debits and credits that have related ledgerJournalTrans records that have the same order ID. |
| settleInstallmentsOrder | Settles installment order payments. |
| settleOnAccountPayments | Settles payments of type on account. |
| settlePayments | Attempts to settle payments with invoices. |
| setTransStatus | Updates the related record based on the status of the payments. |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| updateInvoiceAccount | Updates the invoice account on all payments to be the specified account. |
| updateModifiedPayments | Updates modified payments in the database. |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateAuthorize | Validates all payments for authorization. |
| validateTotalPaymAmount | Validates that the difference between the total payment amount and the total sales amount is within the allowed over-/underpayment range. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::arePaymentsSubmitable | Checks to see if the payments can be submitted. |
| ::construct | Constructs a new instance of this class. |
| ::getMaxOverUnderPaymAmountMST | Returns the maximum allowed over-/underpayment amount, in the company's default currency. |
| ::reprocessPayment | Re-processes a payment for authorizatoin, which primarily applies to declined payments. |
| ::submitPaymFutureOrder | Submits payments for futute orders. |
Community Additions
ADD
Show: