MCRCustPaym Class [AX 2012]

The MCRCustPaym abstract class to handle customer payments.

class MCRCustPaym

Run On

Called

  MethodDescription
Dn501441.pubmethod(en-us,AX.60).gif allowEdit Determines if a payment field should be editable by the user.
Dn501441.pubmethod(en-us,AX.60).gif allowEditCurrency Determines if the currency should be allowed to be modified for this payment.
Dn501441.pubmethod(en-us,AX.60).gif allowEditInvoiceAccount Determines if the invoice account should be allowed to be modified for this payment.
Dn501441.pubmethod(en-us,AX.60).gif allowUserInput Determines if this payment instance is allowed to prompt the user for input during payment operations.
Dn501441.pubmethod(en-us,AX.60).gif authorizeChargeManually Authorizes the payment.
Dn501441.pubmethod(en-us,AX.60).gif authorizeRefundManually Authorizes the refund.
Dn501441.pubmethod(en-us,AX.60).gif canAuthorize Determines if the payment can be authorized.
Dn501441.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif canPost Determines if the payment can be posted.
Dn501441.pubmethod(en-us,AX.60).gif declineChargeManually Declines the payment manually.
Dn501441.pubmethod(en-us,AX.60).gif declineRefundManually Declines the refund manually.
Dn501441.pubmethod(en-us,AX.60).gif determineStatus Creates parent method so it can be called without specifically creating an MCRCustPaym_CreditCard object.
Dn501441.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif getDefaultValue Retrieves the default value for the specified field.
Dn501441.pubmethod(en-us,AX.60).gif getPaymAccount Gets the payment account and account type.
Dn501441.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif hasPaymTypeData Determines if all required data that is specific to the payment type has been provided.
Dn501441.pubmethod(en-us,AX.60).gif new Constructs a new instance.
Dn501441.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif parmCustInvoiceJour Gets or sets the CustInvoiceJour table buffer.
Dn501441.pubmethod(en-us,AX.60).gif parmCustInvoiceTable Gets or sets the CustInvoiceId to hande free text invoices.
Dn501441.pubmethod(en-us,AX.60).gif parmCustPaymSchedLine Gets or sets the CustPaymSchedLine table buffer.
Dn501441.pubmethod(en-us,AX.60).gif parmDefaultDimension Sets the default dimension of the LedgerJournalTrans table record.
Dn501441.pubmethod(en-us,AX.60).gif parmFreeTextInvoiceId Gets or sets the CustInvoiceId to hande free text invoices.
Dn501441.pubmethod(en-us,AX.60).gif parmLedgerJournalTable Sets and return the LedgerJournalTable class variable.
Dn501441.pubmethod(en-us,AX.60).gif parmLedgerJournalTrans Gets or sets the LedgerJournalTrans table buffer.
Dn501441.pubmethod(en-us,AX.60).gif parmMCRLedgerJournal Sets and return the MCRLedgerJournal class variable.
Dn501441.pubmethod(en-us,AX.60).gif parmPaymReference Gets or sets an identifier for this payment.
Dn501441.pubmethod(en-us,AX.60).gif parmSalesInvoiceId Gets or sets the SalesInvoiceId.
Dn501441.pubmethod(en-us,AX.60).gif parmSkipJournalPost Determines whether or not the LedgerJournalCheckPost's run method will be run in postToLedgerJournal.
Dn501441.pubmethod(en-us,AX.60).gif paymentChanged Alters a payment.
Dn501441.protmethod(en-us,AX.60).gif performAuth Performs authorization on this payment.
Dn501441.protmethod(en-us,AX.60).gif performPost Performs posting operations after posting records to the ledger journal.
Dn501441.pubmethod(en-us,AX.60).gif post Posts the payment for the amount passed.
Dn501441.pubmethod(en-us,AX.60).gif 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.
Dn501441.pubmethod(en-us,AX.60).gif processPaym Processes a payment for posted amount.
Dn501441.pubmethod(en-us,AX.60).gif processPaymManually Processes a payment manually.
Dn501441.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif validateAuthorize Validates this payment for authorization.
Dn501441.pubmethod(en-us,AX.60).gif validateDelete Determines whether the record is allowed to be deleted.
Dn501441.pubmethod(en-us,AX.60).gif validatePost Validates that the specified amount may be posted.
Dn501441.pubmethod(en-us,AX.60).gif validateWrite Validates this payment for an insert or update.
Dn501441.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn501441.pubmethod(en-us,AX.60).gif Dn501441.static(en-us,AX.60).gif ::construct Constructs a new customer payment instance.
Top

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.

Community Additions

ADD
Show: