Share via


InventCostRevaluate_StdCostConvert::newFromParameters Method [AX 2012]

Returns a new instance of the inventCostRevaluate_StdCostConvert class.

Syntax

Note

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

  Microsoft Dynamics AX 2012 R3
          client server public static InventCostRevaluate_StdCostConvert newFromParameters(
            InventTable _inventTable, 
            InventItemPrice _inventItemPrice, 
            InventCostTransList _inventCostTransList, 
            CostAmount _prevCostAmount, 
            LedgerVoucher _ledgerVoucher, 
           [InventTransCurrency_RU _inventTransCurrency])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static InventCostRevaluate_StdCostConvert newFromParameters(
            InventTable _inventTable, 
            InventItemPrice _inventItemPrice, 
            InventCostTransList _inventCostTransList, 
            CostAmount _prevCostAmount, 
            LedgerVoucher _ledgerVoucher, 
           [InventTransCurrency_RU _inventTransCurrency])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static InventCostRevaluate_StdCostConvert newFromParameters(
            InventTable _inventTable, 
            InventItemPrice _inventItemPrice, 
            InventCostTransList _inventCostTransList, 
            CostAmount _prevCostAmount, 
            LedgerVoucher _ledgerVoucher)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static InventCostRevaluate_StdCostConvert newFromParameters(
            InventTable _inventTable, 
            InventItemPrice _inventItemPrice, 
            InventCostTransList _inventCostTransList, 
            CostAmount _prevCostAmount, 
            LedgerVoucher _ledgerVoucher)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static InventCostRevaluate_StdCostConvert newFromParameters(
            InventTable _inventTable, 
            InventItemPrice _inventItemPrice, 
            InventCostTransList _inventCostTransList, 
            CostAmount _prevCostAmount, 
            LedgerVoucher _ledgerVoucher)

Run On

Called

Parameters

  • _inventTable
    Type: InventTable Table
    The inventory table record for the item that should be converted.
  • _inventItemPrice
    Type: InventItemPrice Table
    The item price record for the item that should be converted.
  • _inventCostTransList
    Type: InventCostTransList Class
    The inventory cost transaction list that is holding the on-hand and deferred cost of goods sold quantity that should be converted.

Return Value

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

Exceptions

Exception Condition
Error

If one of the caller parameters is missing, the operation cannot be continued.

Error

If one of the caller parameters is missing, the operation can not be continued.

See Also

Reference

InventCostRevaluate_StdCostConvert Class