InventCostAmountHandler Class [AX 2012]
The InventCostAmountHandler class is a container for the different amount types.
Syntax
class InventCostAmountHandler
Run On
Called
Methods
Method | Description | |
---|---|---|
addAllAmounts | Adds a given amount handler (all the included amounts) to this amount handler. | |
addAmount | Adds a given amount to an amount of a specified amount type. | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
clear | Sets all amounts to zero. | |
clearAmount | Sets a specific amount type to zero. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
getAmount | Retrieves an amount for the given amount type. | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
new | Initializes a new instance of the InventCostAmountHandler 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.) | |
pack | Serializes the current instance of the InventCostAmountHandler class. | |
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.) | |
unpack | Unpacks the given container to the internal representation of amounts in a map. | |
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.) | |
::construct | Initializes a new instance of the InventCostAmountHandler class. | |
::create | Creates a new instance of the InventCostAmountHandler class with the given container. |
Top
Remarks
It is possible to add to and get the amounts.
Inheritance Hierarchy
Object Class
InventCostAmountHandler Class