Share via


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.

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.

See Also

Reference

inventCostProdCancel Class