InventAvailabilityByUnitWithDim::newStandard Method [AX 2012]
Creates a new instance of the InventAvailabilityByUnitWithDim class based on the specified parameters.
Syntax
client server public static InventAvailabilityByUnitWithDim newStandard(InventAvailabilityByUnit _availabilityByUnit, InventDim _inventDim)
Run On
Called
Parameters
- _availabilityByUnit
Type: InventAvailabilityByUnit Class
The inventory availability object.
- _inventDim
Type: InventDim Table
The inventory dimensions where the inventory is available.
Return Value
Type: InventAvailabilityByUnitWithDim Class
A new instance of the InventAvailabilityByUnitWithDim.
Exceptions
Exception | Condition |
---|---|
Error | Throws an error if _availabilityByUnit is not specified. |