Share via


InventAvailabilityProvider::findByItemIdDim Method [AX 2012]

Finds availability based on the specified item ID and dimension criteria.

Syntax

client server public static InventAvailabilityByUnit findByItemIdDim(ItemId _itemId, InventDim _inventDimCriteria)

Run On

Called

Parameters

  • _inventDimCriteria
    Type: InventDim Table
    The inventory dimension criteria.

Return Value

Type: InventAvailabilityByUnit Class
The InventAvailabilityByUnit object.

Exceptions

Exception Condition
Error

Throws an error if the _itemId is blank.

Remarks

Non-empty dimension values from the dimension criteria will be used to filter the availability.

Empty dimensions will be ignored.

See Also

Reference

InventAvailabilityProvider Class