InventAvailabilityProvider Class [AX 2012]
The availability provider is a service that provides inventory on hand availability information.
Syntax
class InventAvailabilityProvider
Run On
Called
Methods
Method | Description | |
---|---|---|
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canSearchOnClient | Determines whether it is allowed to perform the search on the client tier. | |
doFind | Finds availability based on the specified search parameters. | |
equal | Determines whether the specified object is equal to the current one. (Inherited from Object.) | |
find | Finds availability based on the specified search parameters. | |
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 InventAvailabilityProvider 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.) | |
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.) | |
::construct | Initializes a new instance of the InventAvailabilityProvider class. | |
::findByDimWithAutoReservationCriteria | Gets availability for a batch tracked item, taking into consideration appropriate conditions that block the availablity of batches for automatic reservation. | |
::findByDimWithAutoReservCritPackedServer | Gets packed availability on the server for a batch tracked item, taking into consideration appropriate conditions that block the availablity of batches for auto reservation. | |
::findByItemDim | Finds availability based on the specified item and dimension criteria. | |
::findByItemIdDim | Finds availability based on the specified item ID and dimension criteria. | |
::findByItemSumDim | Finds availability based on the specified item, the specified InventSum and the dimensions that were used as a filter to find this record. | |
::findBySum | Finds availability based on the specified InventSum. | |
::findBySumDim | Finds availability based on the specified InventSum and the dimensions that were used as a filter to find this record. | |
::findPackedOnServer | Gets a serialized InventAvailabilityByUnit object based on the specified search criteria. | |
::findSameBatchFirstOrLargest | Gets an InventAvailabilityByUnitWithDim object for the same batch inventory that is first that meets the requirements or largest available for automatic reservation, depending on parameter settings. | |
::findSameBatchFirstOrLargestPackedServer | Gets a packed InventAvailabilityByUnitWithDim on the server for the same batch inventory that is first that meets the requirements or largest available for reservation, depending on parameter settings. | |
::getSameBatchFirstOrLargestQueryRun |
Top
Remarks
Availability for different types of items can be calculated differently.
Use the availability provider to make sure correct availability is fetched regardless of the item type.
Inheritance Hierarchy
Object Class
InventAvailabilityProvider Class