InventOnHandQty::availReservationDimensions Method [AX 2012]
Gets on hand quantities available for reservation
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static container availReservationDimensions(
ItemId _itemId,
container _inventDimPacked,
NoYes _reserveOnOrdered,
NoYes _isTransfer,
[InventShelfLifeCriteria _shelfLifeCriteria,
InventBatchDispositionCriteria _batchDispositionCriteria,
InventOnHandCriteria _inventOnHandCriteria])
Microsoft Dynamics AX 2012 R2 (SYS)
server public static container availReservationDimensions(
ItemId _itemId,
container _inventDimPacked,
NoYes _reserveOnOrdered,
NoYes _isTransfer)
Run On
Server
Parameters
- _itemId
Type: ItemId Extended Data Type
The item for which quantities are calculated.
- _inventDimPacked
Type: container
The inventory dimensions used as ranges.
- _reserveOnOrdered
Type: NoYes Enumeration
NoYes::Yes if reservation against OnOrdered on hands are allowed; otherwise, NoYes::No.
- _isTransfer
Type: NoYes Enumeration
NoYes::Yes if the reservation is for a transfer; otherwise, NoYes::No.
- _shelfLifeCriteria
Type: InventShelfLifeCriteria Class
- _batchDispositionCriteria
Type: InventBatchDispositionCriteria Class
- _inventOnHandCriteria
Type: InventOnHandCriteria Class
Return Value
Type: container
A container with quantities in inventory unit and catch weight unit.
Exceptions
Exception | Condition |
---|---|
Error | Wrong use of this method as item must be specified. |