InventCostClosing::newInventClosing Method [AX 2012]

Creates a new instance of the InventCostClosing class.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          server public static InventCostClosing newInventClosing(
            InventClosing _inventClosing, 
            TransDate _transDate, 
           [InventTransCurrency_RU _inventTransCurrency])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static InventCostClosing newInventClosing(
            InventClosing _inventClosing, 
            TransDate _transDate, 
           [InventTransCurrency_RU _inventTransCurrency])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static InventCostClosing newInventClosing(InventClosing _inventClosing, TransDate _transDate)

  Microsoft Dynamics AX 2012 (FPK)
          server public static InventCostClosing newInventClosing(InventClosing _inventClosing, TransDate _transDate)

  Microsoft Dynamics AX 2012 (SYS)
          server public static InventCostClosing newInventClosing(InventClosing _inventClosing, TransDate _transDate)

Run On

Server

Parameters

_inventClosing
Type: InventClosing Table
The inventory closing record that provides the parameters that are used to initialize this class.
_transDate
Type: TransDate Extended Data Type
The transaction date on which the inventory closing should be performed.
_inventTransCurrency
Type: InventTransCurrency_RU Enumeration

Return Value

Type: InventCostClosing Class
An initialized instance of the InventCostClosing class.

This method is used for the standard cost conversion to automatically trigger an inventory closing.

Show: