InventAvailabilityProvider::findByDimWithAutoReservationCriteria Method [AX 2012]
Gets availability for a batch tracked item, taking into consideration appropriate conditions that block the availablity of batches for automatic reservation.
Syntax
client server public static InventAvailabilityByUnit findByDimWithAutoReservationCriteria(
InventMovement _inventMovement,
InventDim _inventDimCriteria,
[InventDimParm _inventDimParm,
boolean _forceBatchAttributes,
boolean _ignoreBatchAttributes])
Run On
Called
Parameters
- _inventMovement
Type: InventMovement Class
The InventMovement object for which the automatic reservation is attempted.
- _inventDimCriteria
Type: InventDim Table
The criteria to limit the inventory search to.
- _inventDimParm
Type: InventDimParm Table
The flags for the inventory dimension criteria values; optional.
- _forceBatchAttributes
Type: boolean
A boolean value indicating whether the batch attributes criteria should be always applied.
- _ignoreBatchAttributes
Type: boolean
A boolean value indicating whether the batch attributes criteria should be always ignored.
Return Value
Type: InventAvailabilityByUnit Class
An InventAvailabilityByUnit object for the available inventory.