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 | |
|---|---|---|
![]() |
addToCostTransList | Adds a given InventCostTrans record to the recordSortedList, which will then be passed to the inventory cost framework. |
![]() |
addToCostTransVarianceList | Adds a given InventCostTransVariance record to the record sorted list, which will then be passed to the inventory cost framework. |
![]() |
addToCostTransVarianceMap | Adds the currently filled inventCostTransVarianceList list to a variance map. |
![]() |
cancel | Handles the sequence of canceling the records. |
![]() |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) |
![]() |
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.) |
![]() |
markAsCanceled | Marks InventCostTrans records as canceled. |
![]() |
new | Creates a new instance of the InventCostCancel 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.) |
![]() |
parmCancelTransDate | Gets or sets the CancelTransDate parameter. |
![]() |
parmCancelVoucher | Gets or sets the CancelVoucher parameter. |
![]() |
parmNewTransDate | Gets or sets the NewTransDate parameter. |
![]() |
parmNewVoucher | Gets or sets the NewVoucher parameter. |
![]() |
parmTransRefId | Gets or sets the TransRefId parameter. |
![]() |
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.) |
![]() |
::cancelFromInventCostProdCancel | Cancels the variances for a given production ID and voucher. |
![]() |
::construct | Initializes a new instance of the InventCostCancel class. |
![]() |
::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
.gif)
.gif)
.gif)