InventAvailabilityProvider::findBySum Method [AX 2012]
Finds availability based on the specified InventSum.
Syntax
client server public static InventAvailabilityByUnit findBySum(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: InventAvailabilityByUnit Class
The InventAvailabilityByUnit object.
Exceptions
Exception | Condition |
---|---|
Error | Throws an error if InventSum.InventDimId is blank. -or- Throws an error if InventSum.ItemId is blank. |