inventCostProdCancel::newFromInventClosing Method [AX 2012]
Initializes a new instance of the inventCostProdCancel class.
Syntax
client server public static inventCostProdCancel newFromInventClosing(
ProdTable _prodTable,
InventClosing _inventClosing,
InventClosing _cancelClosing)
Run On
Called
Parameters
- _prodTable
Type: ProdTable Table
The production table for which the adjustments should be canceled.
- _inventClosing
Type: InventClosing Table
The inventoryClosing record that is used to cancel an inventory closing.
- _cancelClosing
Type: InventClosing Table
The inventory closing that must be canceled.
Return Value
Type: inventCostProdCancel Class
An initialized instance of the inventCostProdCancel class.
Exceptions
Exception | Condition |
---|---|
Error | The inventory closing that must be canceled is passed. |
Error | The inventory closing that must be canceled is passed. |