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
Dn501457.pubmethod(en-us,AX.60).gif cancelTimeOut Cancels a previous method call to the setTimeOut method. (Inherited from Object.)
Dn501457.protmethod(en-us,AX.60).gif canSearchOnClient Determines whether it is allowed to perform the search on the client tier.
Dn501457.protmethod(en-us,AX.60).gif doFind Finds availability based on the specified search parameters.
Dn501457.pubmethod(en-us,AX.60).gif equal Determines whether the specified object is equal to the current one. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif find Finds availability based on the specified search parameters.
Dn501457.pubmethod(en-us,AX.60).gif getTimeOutTimerHandle Returns the timer handle for the object. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif handle Retrieves the handle of the class of the object. (Inherited from Object.)
Dn501457.protmethod(en-us,AX.60).gif new Initializes a new instance of the InventAvailabilityProvider class.
Dn501457.pubmethod(en-us,AX.60).gif notify Releases the hold on an object that has called the wait method on this object. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif notifyAll Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif objectOnServer Determines whether the object is on a server. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif owner Returns the instance that owns the object. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif setTimeOut Sets up the scheduled execution of a specified method. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif toString Returns a string that represents the current object. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif usageCount Returns the current number of references, that is, the value of the reference counter, that the object has. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif wait Pauses a process. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif xml Returns an XML string that represents the current object. (Inherited from Object.)
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::construct Initializes a new instance of the InventAvailabilityProvider class.
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::findByDimWithAutoReservationCriteria Gets availability for a batch tracked item, taking into consideration appropriate conditions that block the availablity of batches for automatic reservation.
Dn501457.privmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::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.
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::findByItemDim Finds availability based on the specified item and dimension criteria.
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::findByItemIdDim Finds availability based on the specified item ID and dimension criteria.
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::findByItemSumDim Finds availability based on the specified item, the specified InventSum and the dimensions that were used as a filter to find this record.
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::findBySum Finds availability based on the specified InventSum.
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::findBySumDim Finds availability based on the specified InventSum and the dimensions that were used as a filter to find this record.
Dn501457.protmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::findPackedOnServer Gets a serialized InventAvailabilityByUnit object based on the specified search criteria.
Dn501457.pubmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::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.
Dn501457.privmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::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.
Dn501457.privmethod(en-us,AX.60).gif Dn501457.static(en-us,AX.60).gif ::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