Share via


InventAvailabilityFormCache.availabilityFromSumJoinedWithDim Method [AX 2012]

Gets the availability based on the specified on hand record and joined inventory dimensions.

Syntax

public InventIAvailability availabilityFromSumJoinedWithDim(InventSum _inventSum, FormDataSource _inventDimFormDataSource)

Run On

Client

Parameters

  • _inventSum
    Type: InventSum Table
    The record of the InventSum table used to get the availability.
  • _inventDimFormDataSource
    Type: FormDataSource Class
    The form data source of the InventDim 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 _inventSum parameter is not joined with a InventDim record.

Remarks

The on hand record specified in _inventSum parameter must have a joined InventDim record.

See Also

Reference

InventAvailabilityFormCache Class