InventAvailabilitySearch::newFromSum Method [AX 2012]

Creates a search criteria based on the specified InventSum.

Syntax

client server public static InventAvailabilitySearch newFromSum(InventSum _inventSum)

Run On

Called

Parameters

  • _inventSum
    Type: InventSum Table
    The InventSum record that contains on hand information for the specified dimension criteria.

Return Value

Type: InventAvailabilitySearch Class
The InventAvailabilitySearch object.

Exceptions

Exception Condition
Error

Throws an error if InventSum.InventDimId is blank.

-or-

Throws an error if InventSum.ItemId is blank.

See Also

Reference

InventAvailabilitySearch Class