InventAvailabilityProvider::findByItemSumDim Method [AX 2012]

Finds availability 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 InventAvailabilityByUnit findByItemSumDim(
    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: InventAvailabilityByUnit Class
The InventAvailabilityByUnit 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

InventAvailabilityProvider Class