MCRCustomerCredits Class [AX 2012]
The class MCRCustomerCredits controls all logic to create and post post shipment credits.
| Method | Description | |
|---|---|---|
| calculatePriceMatchAmount | Calculates the credit amount the price match will give the customer. |
| cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
| displayCreditedQty | Displays the amount that has already been credited to the related sales line. |
| displayInvoicedQty | Retrieves the invoiced quantity for this line. |
| equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) |
| getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) |
| handle | Retrieves the handle of the class of the object. (Inherited from Object.) |
| insertMultipleCredits | Credits multiple credits. |
| new | Initializes a new instance of the MCRCustomerCredits 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.) |
| post | Calls the methods that post to the LedgerJouranlTable and trans. |
| postToLedgerJournalTable | Posts the credit to the ledger journal table, using the journal name from order parameters. |
| postToLedgerJournalTrans | Posts the LedgerJouranlTrans records. |
| 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.) |
| wait | Pauses a process. (Inherited from Object.) |
| xml | Returns an XML string that represents the current object. (Inherited from Object.) |
| ::canCreditHeader | Determines whether or not a credit can be applied to this sales order. Returns true if atleast one of the lines has been invoiced. |
| ::canPriceMatch | Determines whether or not the passed sales line can be price matched. |
| ::construct | Returns a new class object based on the credit type of the passed record. |
| ::determineInvoicedTotal | Determines how much of the sales order was paid. |
| ::determineTotalCreditApplied | Returns the total credit that has been created for the passed sales order. |
| ::validateTotalCreditAmt | Checks if the credit amount is valid. |
Object Class
MCRCustomerCredits Class
MCRCustomerCredits_CreditCard Class
MCRCustomerCredits_OnAccount Class
MCRCustomerCredits Class
MCRCustomerCredits_CreditCard Class
MCRCustomerCredits_OnAccount Class
Community Additions
ADD
Show: