InventCostCancel Class [AX 2012]

The InventCostCancel class cancels the inventCostTrans and inventCostTransVariance records for a given voucher.

Syntax

class InventCostCancel

Run On

Called

Methods

  Method Description
Gg757626.protmethod(en-us,AX.60).gif addToCostTransList Adds a given InventCostTrans record to the recordSortedList, which will then be passed to the inventory cost framework.
Gg757626.protmethod(en-us,AX.60).gif addToCostTransVarianceList Adds a given InventCostTransVariance record to the record sorted list, which will then be passed to the inventory cost framework.
Gg757626.protmethod(en-us,AX.60).gif addToCostTransVarianceMap Adds the currently filled inventCostTransVarianceList list to a variance map.
Gg757626.protmethod(en-us,AX.60).gif cancel Handles the sequence of canceling the records.
Gg757626.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Gg757626.protmethod(en-us,AX.60).gif markAsCanceled Marks InventCostTrans records as canceled.
Gg757626.protmethod(en-us,AX.60).gif new Creates a new instance of the InventCostCancel class.
Gg757626.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.)
Gg757626.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.)
Gg757626.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif parmCancelTransDate Gets or sets the CancelTransDate parameter.
Gg757626.pubmethod(en-us,AX.60).gif parmCancelVoucher Gets or sets the CancelVoucher parameter.
Gg757626.pubmethod(en-us,AX.60).gif parmNewTransDate Gets or sets the NewTransDate parameter.
Gg757626.pubmethod(en-us,AX.60).gif parmNewVoucher Gets or sets the NewVoucher parameter.
Gg757626.pubmethod(en-us,AX.60).gif parmTransRefId Gets or sets the TransRefId parameter.
Gg757626.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Gg757626.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.)
Gg757626.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Gg757626.pubmethod(en-us,AX.60).gif Gg757626.static(en-us,AX.60).gif ::cancelFromInventCostProdCancel Cancels the variances for a given production ID and voucher.
Gg757626.pubmethod(en-us,AX.60).gif Gg757626.static(en-us,AX.60).gif ::construct Initializes a new instance of the InventCostCancel class.
Gg757626.protmethod(en-us,AX.60).gif Gg757626.static(en-us,AX.60).gif ::newFromParameter Initializes a new instance of the InventCostCancel class.

Top

Remarks

The methods on this class follow the principle of duplicating the records with a reverted sign to cancel them.

Inheritance Hierarchy

Object Class
  InventCostCancel Class