InventIAvailability Interface [AX 2012]
The InventIAvailability interface exposes information about the on hand availability of an item.
| 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.) |
| 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.) |
| 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.) |
| 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.) |
Advanced warehousing functionality is using a new reservation engine. It means that referring to InventSum directly when querying item availability can now produce incorrect results for WHS-enabled items.
The mapping from InventSum fields and methods to InventIAvailability is described below: InventSum.AvailOrdered -> InventIAvailability.availTotal() InventSum.availOrderedCalculated() -> InventIAvailability.availTotal() InventSum.AvailPhysical -> InventIAvailability.availPhysical() InventSum.availPhysicalCalculated() -> InventIAvailability.availPhysical() InventSum.availReservation() -> InventIAvailability.availReservation() InventSum.Ordered -> InventIAvailability.ordered() InventSum.orderedSum() -> InventIAvailability.orderedSum() InventSum.ReservOrdered -> InventIAvailability.reservOrdered() InventSum.ReservPhysical -> InventIAvailability.reservPhysical()