Share via


InventAvailabilitySearch::newFromItemIdDim Method [AX 2012]

Creates search criteria based on the specified item ID and dimension criteria.

Syntax

client server public static InventAvailabilitySearch newFromItemIdDim(ItemId _itemId, InventDim _inventDimCriteria)

Run On

Called

Parameters

  • _inventDimCriteria
    Type: InventDim Table
    The inventory dimension criteria.

Return Value

Type: InventAvailabilitySearch Class
The InventAvailabilitySearch 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

InventAvailabilitySearch Class