MCRCustPaym Class [AX 2012]
The MCRCustPaym abstract class to handle customer payments.
| Method | Description | |
|---|---|---|
| allowEdit | Determines if a payment field should be editable by the user. |
| allowEditCurrency | Determines if the currency should be allowed to be modified for this payment. |
| allowEditInvoiceAccount | Determines if the invoice account should be allowed to be modified for this payment. |
| allowUserInput | Determines if this payment instance is allowed to prompt the user for input during payment operations. |
| authorizeChargeManually | Authorizes the payment. |
| authorizeRefundManually | Authorizes the refund. |
| canAuthorize | Determines if the payment can be authorized. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| canPost | Determines if the payment can be posted. |
| declineChargeManually | Declines the payment manually. |
| declineRefundManually | Declines the refund manually. |
| determineStatus | Creates parent method so it can be called without specifically creating an MCRCustPaym_CreditCard object. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getDefaultValue | Retrieves the default value for the specified field. |
| getPaymAccount | Gets the payment account and account type. |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| hasPaymTypeData | Determines if all required data that is specific to the payment type has been provided. |
| new | Constructs a new instance. |
| 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. |
| parmCustInvoiceTable | Gets or sets the CustInvoiceId to hande free text invoices. |
| parmCustPaymSchedLine | Gets or sets the CustPaymSchedLine table buffer. |
| parmDefaultDimension | Sets the default dimension of the LedgerJournalTrans table record. |
| parmFreeTextInvoiceId | Gets or sets the CustInvoiceId to hande free text invoices. |
| parmLedgerJournalTable | Sets and return the LedgerJournalTable class variable. |
| parmLedgerJournalTrans | Gets or sets the LedgerJournalTrans table buffer. |
| parmMCRLedgerJournal | Sets and return the MCRLedgerJournal class variable. |
| parmPaymReference | Gets or sets an identifier for this payment. |
| parmSalesInvoiceId | Gets or sets the SalesInvoiceId. |
| parmSkipJournalPost | Determines whether or not the LedgerJournalCheckPost's run method will be run in postToLedgerJournal. |
| paymentChanged | Alters a payment. |
| performAuth | Performs authorization on this payment. |
| performPost | Performs posting operations after posting records to the ledger journal. |
| post | Posts the payment for the amount passed. |
| postToLedgerJournal | Creates a ledger journal entry to post payment for the specified amount and retrieves the user setup for customer payment journal name from cust parameters table. |
| processPaym | Processes a payment for posted amount. |
| processPaymManually | Processes a payment manually. |
| setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) |
| toString | Returns a string that represents the current object. (Inherited from Object.) |
| usageCount | Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.) |
| validateAuthorize | Validates this payment for authorization. |
| validateDelete | Determines whether the record is allowed to be deleted. |
| validatePost | Validates that the specified amount may be posted. |
| validateWrite | Validates this payment for an insert or update. |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::construct | Constructs a new customer payment instance. |
This class defines a common interface for payments of all types, and implements common functionality. Extending classes provide specialized functionality for each payment type.
The factory method "construct" should be used to construct an instance of the appropriate extending class.
An instance of this class acts as a wrapper around a "MCRCustPaymTable" table buffer -- not around the table record. This means that the data that is passed to the constructor is never re-loaded from the database. Changes made to the record after the wrapper is constructed will not be reflected in subsequent calls to methods of the wrapper. It is expected that an instance of this class will be constructed, used immediately, and then discarded; it is not recommended that an instance of this class be stored and reused.