MCRPriceHistoryUpdate Class [AX 2012]

The MCRPriceHistoryUpdate class.

class MCRPriceHistoryUpdate

Run On

Called

  MethodDescription
Dn648956.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn648956.privmethod(en-us,AX.60).gif combineLists Combines two lists into a single list.
Dn648956.privmethod(en-us,AX.60).gif deleteNoLongerFoundReferences Deletes any references that the price history line has to price history records that are no longer applicable for the line.
Dn648956.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn648956.privmethod(en-us,AX.60).gif findOrCreateHistory
Dn648956.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn648956.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn648956.privmethod(en-us,AX.60).gif initPriceDisc_LineDisc Creates a new PriceDisc_LineDisc object from the price history line.
Dn648956.privmethod(en-us,AX.60).gif initPriceDisc_Price Creates a new PriceDisc_LineDisc object from the price history line.
Dn648956.privmethod(en-us,AX.60).gif initSetCurrentPriceHistoryRecId Initializes a set containing RecIds of MCRPriceHistory records to which the price history line currently refers.
Dn648956.privmethod(en-us,AX.60).gif insertNewlyFoundReferences Inserts references to price history records that are found in the latest price/discount search and did not apply before.
Dn648956.privmethod(en-us,AX.60).gif insertNewOrderLineReference Inserts a new MCROrderLine2PriceHistoryRef record and updates the price history line's field from the newly inserted record.
Dn648956.protmethod(en-us,AX.60).gif new Creates a new MCRPriceHistoryUpdate object.
Dn648956.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.)
Dn648956.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.)
Dn648956.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn648956.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn648956.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn648956.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn648956.pubmethod(en-us,AX.60).gif update Updates the price history and, if necessary, any price history references for the record that was recently updated and requires a price history.
Dn648956.privmethod(en-us,AX.60).gif updateInventTableModule Updates price history, if necessary, from InventTableModule.
Dn648956.privmethod(en-us,AX.60).gif updateMerchEventPricing
Dn648956.pubmethod(en-us,AX.60).gif updateMultiline Update the price history records.
Dn648956.privmethod(en-us,AX.60).gif updatePriceDisc Updates history (if necessary) for trade agreements.
Dn648956.privmethod(en-us,AX.60).gif updatePriceHistoryLineReferences Inserts or deletes references for the price history line based on the line's current references and the results of the price/discount search.
Dn648956.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.)
Dn648956.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn648956.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn648956.pubmethod(en-us,AX.60).gif Dn648956.static(en-us,AX.60).gif ::construct Instantiates class MCRPriceHistoryUpdate.
Dn648956.pubmethod(en-us,AX.60).gif Dn648956.static(en-us,AX.60).gif ::constructNoThrow Instantiates class MCRPriceHistoryUpdate.
Dn648956.pubmethod(en-us,AX.60).gif Dn648956.static(en-us,AX.60).gif ::isPriceHistoryUpdateEnabled Returns whether price history is enabled and whether a price history update should ever be called.
Top

Class for updating price history that should be used for updates, instead of manipulating the tables MCRPriceHistory and MCRPriceHistoryRef.

Object Class
  MCRPriceHistoryUpdate Class

Community Additions

ADD
Show: