MCRCustomerCredits Class [AX 2012]

The class MCRCustomerCredits controls all logic to create and post post shipment credits.

class MCRCustomerCredits

Run On

Called

  MethodDescription
Dn501357.pubmethod(en-us,AX.60).gif calculatePriceMatchAmount Calculates the credit amount the price match will give the customer.
Dn501357.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif displayCreditedQty Displays the amount that has already been credited to the related sales line.
Dn501357.pubmethod(en-us,AX.60).gif displayInvoicedQty Retrieves the invoiced quantity for this line.
Dn501357.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif insertMultipleCredits Credits multiple credits.
Dn501357.pubmethod(en-us,AX.60).gif new Initializes a new instance of the MCRCustomerCredits class.
Dn501357.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.)
Dn501357.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.)
Dn501357.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif post Calls the methods that post to the LedgerJouranlTable and trans.
Dn501357.protmethod(en-us,AX.60).gif postToLedgerJournalTable Posts the credit to the ledger journal table, using the journal name from order parameters.
Dn501357.protmethod(en-us,AX.60).gif postToLedgerJournalTrans Posts the LedgerJouranlTrans records.
Dn501357.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn501357.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.)
Dn501357.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn501357.pubmethod(en-us,AX.60).gif Dn501357.static(en-us,AX.60).gif ::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.
Dn501357.pubmethod(en-us,AX.60).gif Dn501357.static(en-us,AX.60).gif ::canPriceMatch Determines whether or not the passed sales line can be price matched.
Dn501357.pubmethod(en-us,AX.60).gif Dn501357.static(en-us,AX.60).gif ::construct Returns a new class object based on the credit type of the passed record.
Dn501357.pubmethod(en-us,AX.60).gif Dn501357.static(en-us,AX.60).gif ::determineInvoicedTotal Determines how much of the sales order was paid.
Dn501357.pubmethod(en-us,AX.60).gif Dn501357.static(en-us,AX.60).gif ::determineTotalCreditApplied Returns the total credit that has been created for the passed sales order.
Dn501357.pubmethod(en-us,AX.60).gif Dn501357.static(en-us,AX.60).gif ::validateTotalCreditAmt Checks if the credit amount is valid.
Top

Community Additions

ADD
Show: