InventAvailabilityFormCache.availabilityFromDimJoinedWithSum Method [AX 2012]
Gets the availability based on the specified on hand record and joined inventory dimensions.
Syntax
public InventIAvailability availabilityFromDimJoinedWithSum(InventDim _inventDim, FormDataSource _inventSumFormDataSource)
Run On
Client
Parameters
- _inventDim
Type: InventDim Table
The record of the InventDim table used to get the availability.
- _inventSumFormDataSource
Type: FormDataSource Class
The form data source of the InventSum table used to get the availability.
Return Value
Type: InventIAvailability Interface
An instance of the InventIAvailability interface.
Exceptions
Exception | Condition |
---|---|
Error | An exception is thrown if the _inventDim parameter is not joined with a InventSum record. |
Remarks
The on hand record specified in _inventDim parameter must have a joined InventSum record.