InventCostProdAdjust::newFromInventClosing Method [AX 2012]
Initializes a new instance of this class based on an inventory closing record.
Syntax
client server public static InventCostProdAdjust newFromInventClosing(InventTransAdjustDataMap _inventTransAdjustDataMap, InventClosing _inventClosing)
Run On
Called
Parameters
- _inventTransAdjustDataMap
Type: InventTransAdjustDataMap Class
The InventTransAdjustDataMap class holding the adjustments.
- _inventClosing
Type: InventClosing Table
The inventory closing during which this adjustments have been produced.
Return Value
Type: InventCostProdAdjust Class
An initialized instance of the class.
Exceptions
Exception | Condition |
---|---|
Error | No InventClosing record is passed in. |
Error | No InventClosing record is passed in. |