Share via


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

  • _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.

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.

See Also

Reference

InventOnHandQty Class