Share via


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

  • _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.

See Also

Reference

inventCostProdCancel Class