MCRCustPaymTotals_CustCredit Class [AX 2012]
The MCRCustPaymTotals_CustCredit class is used for payments created from credits generated through order management.
| Method | Description | |
|---|---|---|
| allowEdit | Always allow edit. (Overrides the allowEdit Method.) |
| 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). (Inherited from MCRCustPaymTotals.) |
| 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). (Inherited from MCRCustPaymTotals.) |
| allPaymentsApproved | Determines if all payments are in an approved status. (Inherited from MCRCustPaymTotals.) |
| allPaymentsSubmitted | Determines if all payments have been submitted. (Inherited from MCRCustPaymTotals.) |
| 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. (Inherited from MCRCustPaymTotals.) |
| calcInvoicePaymAmount | Returns the credit amount for the related credit. (Overrides the calcInvoicePaymAmount Method.) |
| 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. (Inherited from MCRCustPaymTotals.) |
| 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. (Inherited from MCRCustPaymTotals.) |
| getCurrency | Returns the currency the credit was created in. (Overrides the getCurrency Method.) |
| getDimension | Returns the related ledger journal trans records dimension. (Overrides the getDimension Method.) |
| getInvoiceAccount | Returns the customer credit records' customer account. (Overrides the getInvoiceAccount Method.) |
| getMaxOverUnderPaymAmount | Returns the maximum allowed over-/underpayment amount, in the payment currency. (Inherited from MCRCustPaymTotals.) |
| getOrderID | Returns the credit ID on the customer credit record. (Overrides the getOrderID Method.) |
| getOverallPaymStatus | Calculates and returns an overall payment status. (Inherited from MCRCustPaymTotals.) |
| getPaymListSorted | Returns a sorted list containing all payments. (Inherited from MCRCustPaymTotals.) |
| getPostingProfile | Gets the posting profile for the payment. (Overrides the getPostingProfile Method.) |
| getRefRecId | Returns the reference record ID of the payment. (Inherited from MCRCustPaymTotals.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| getTotalDiscount | Returns zero because the total discount cannot apply to credits. (Overrides the getTotalDiscount Method.) |
| getTotalFixedPaymAmount | Calculates and returns the sum of payment amounts, including only payments that are fixed amounts (not calculated as percentages of total sales amount. (Inherited from MCRCustPaymTotals.) |
| getTotalInvoicedAmount | Returns the invoice amount for the credit. (Overrides the getTotalInvoicedAmount Method.) |
| getTotalPaymAmount | Calculates and returns the sum of all payment amounts, in the payment currency. (Inherited from MCRCustPaymTotals.) |
| getTotalPaymAmount_notOnAccount | Gets the total amount of payments that is not on account. (Inherited from MCRCustPaymTotals.) |
| getTotalPaymAmount_OnAccount | Returns the total payment amount for all payments of type on account, in the payment currency. (Inherited from MCRCustPaymTotals.) |
| getTotalPaymAmountNoneInst | Gets the total payment amount entered, excluding the inst billing amount and the lines that are entered in a percent format. (Inherited from MCRCustPaymTotals.) |
| getTotalPercentAmount | Returns the sum of percent amounts for all payments. (Inherited from MCRCustPaymTotals.) |
| getTotalPostedPaymAmount | Calculates and returns the sum of amounts posted for all payments, in the payment currency. (Inherited from MCRCustPaymTotals.) |
| getTotalSalesAmount | Returns the total credit amount. (Overrides the getTotalSalesAmount Method.) |
| getTotalUnpostedPaymAmount | Calculates and returns the sum of unposted amounts for all payments, in the payment currency. (Inherited from MCRCustPaymTotals.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| new | Creates a new customer payment totals object. (Overrides the new Method.) |
| 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. (Inherited from MCRCustPaymTotals.) |
| parmLedgerJournalTable | Gets or sets the LedgerJournalTable table buffer. (Inherited from MCRCustPaymTotals.) |
| parmLedgerJournalTrans | Gets or sets the LedgerJournalTrans table buffer. (Inherited from MCRCustPaymTotals.) |
| parmMCRLedgerJournal | Gets or sets the MCRLedgerJournal table buffer. (Inherited from MCRCustPaymTotals.) |
| parmSalesInvoiceId | Gets or sets the SalesInvoiceId. (Inherited from MCRCustPaymTotals.) |
| parmSettleNow | Indicates if the customer transactions need to be settled. (Inherited from MCRCustPaymTotals.) |
| postPaymAmount | Posts payments in the amount specified. (Inherited from MCRCustPaymTotals.) |
| postPayments | Posts payments such that the sum of amounts posted is equal to or greater than the sum of amounts invoiced so far. (Inherited from MCRCustPaymTotals.) |
| postPaymentsMultipleOrders | Posts the payments if invoicing is occuring in summary mode. (Inherited from MCRCustPaymTotals.) |
| 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. (Inherited from MCRCustPaymTotals.) |
| preProcessCashCheck | Processes cash and check payments for authorization and posting. (Inherited from MCRCustPaymTotals.) |
| processPayments | Processes all payments for authorization and/or posting. (Inherited from MCRCustPaymTotals.) |
| promptOverUnderPaym | Gives the user the option to allow or cancel authorization of payments when an over-/underpayment will result. (Inherited from MCRCustPaymTotals.) |
| recalculatePaymAmounts | Updates payment amounts by calculating the payment amount as a percentage of the balance. (Inherited from MCRCustPaymTotals.) |
| setRequiredValues | Sets required values for the customer payment. (Inherited from MCRCustPaymTotals.) |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| settleBillUpFrontContChildren | Settles bill up front continuity children orders. (Overrides the settleBillUpFrontContChildren Method.) |
| settleByOrderID | Settles debits and credits that have related ledgerJournalTrans records that have the same order ID. (Inherited from MCRCustPaymTotals.) |
| settleInstallmentsOrder | Settles installment order payments. (Overrides the settleInstallmentsOrder Method.) |
| settleOnAccountPayments | Settles payments of type on account. (Overrides the settleOnAccountPayments Method.) |
| settlePayments | Attempts to settle payments with invoices. (Inherited from MCRCustPaymTotals.) |
| setTransStatus | Updates the related record based on the status of the payments. (Overrides the setTransStatus Method.) |
| 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. (Inherited from MCRCustPaymTotals.) |
| updateModifiedPayments | Updates modified payments in the database. (Inherited from MCRCustPaymTotals.) |
| 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. (Inherited from MCRCustPaymTotals.) |
| validateTotalPaymAmount | Validates that the difference between the total payment amount and the total sales amount is within the allowed over-/underpayment range. (Inherited from MCRCustPaymTotals.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
Community Additions
ADD
Show: