inventCostProdCancel::newFromProdIdInventClosing Method [AX 2012]
Initializes a new instance of the inventCostProdCancel class.
Syntax
client server private static inventCostProdCancel newFromProdIdInventClosing(
ProdId _prodId,
InventClosing _inventClosing,
InventClosing _cancelClosing)
Run On
Called
Parameters
- _prodId
Type: ProdId Extended Data Type
The production ID 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. |