InventAvailabilitySearch::newFromItemSumDim Method [AX 2012]

Creates search criteria based on the specified item, the specified InventSum and the dimensions that were used as a filter to find this record.

Syntax

client server public static InventAvailabilitySearch newFromItemSumDim(
    InventTable _inventTable, 
    InventSum _inventSum, 
    InventDim _inventDimCriteria)

Run On

Called

Parameters

  • _inventSum
    Type: InventSum Table
    The InventSum record that contains on hand information for the specified dimension criteria.
  • _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 _inventTable record is not specified.

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