InventAvailabilitySnapshot Class [AX 2012]
The InventAvailabilitySnapshot class allows to store a copy of the information about on hand availability.
Syntax
class InventAvailabilitySnapshot implements InventIAvailability, SysPackable
Run On
Called
Methods
Method | Description | |
---|---|---|
availPhysical | Gets the the quantity available for physical reservation. | |
availReservation | Gets the quantity available for reservation. | |
availTotal | Gets the total available quantity. | |
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.) | |
initFromAvailability | ||
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
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.) | |
ordered | Gets the ordered quantity. | |
orderedSum | Gets the quantity that was ordered but is not physically available in the warehouse yet. | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
pack | Serializes the current instance of the InventAvailabilitySnapshot class. | |
reservOrdered | Gets the quantity reserved against ordered on hand. | |
reservPhysical | Gets the quantity reserved against on hand that is physically available. | |
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 | Deserializes the _packedClass parameter value to an instance of the InventAvailabilitySnapshot class. | |
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 InventAvailabilitySnapshot class. | |
::convertToSnapshot | Converts the specified availability object to a snapshot. | |
::create | Creates an instance of the InventAvailabilitySnapshot class. | |
::newFromAvailability | Creates a new availability snapshot of the specified availability object. | |
::zero | Initializes a new InventAvailabilitySnapshot object where all quantities are zero. |
Top
Remarks
The class is optimized to minimize memory consuption and can be used for caching purposes.
Inheritance Hierarchy
Object Class
InventAvailabilitySnapshot Class