Share via


InventCostTransCostList::newReturnCostList Method [AX 2012]

Initializes a recordSortedList list that contains the return cost broken down on cost groups.

Syntax

client server public static InventCostTransCostList newReturnCostList(
    InventTable _inventTable, 
    InventTransOriginId _returnTransOriginId, 
    InventTransOriginId _toTransOriginId, 
    InventCostVarianceType _varianceType, 
    DimensionDefault _dimension, 
    InventItemPrice _inventItemPrice, 
    Qty _qty)

Run On

Called

Parameters

  • _inventTable
    Type: InventTable Table
    An InventTable buffer used to initialize the cost list.
  • _inventItemPrice
    Type: InventItemPrice Table
    An InventItemPrice record used to initialize the cost list; optional.
    The parameter must be set if transaction can be financially updated in the same transaction scope as the physical update.

Return Value

Type: InventCostTransCostList Class
The method returns a recordSortedList list that contains the returned cost broken down on cost groups.

See Also

Reference

InventCostTransCostList Class