Share via


InventCostTransCostList::newStdCostList Method [AX 2012]

Initializes a RecordSortedList object that contains the std cost broken down on cost groups.

Syntax

client server public static InventCostTransCostList newStdCostList(
    InventItemPriceRefRecId _inventItemPriceRefRecId, 
    InventCostVarianceType _varianceType, 
    DimensionDefault _dimension)

Run On

Called

Parameters

Return Value

Type: InventCostTransCostList Class
A RecordSortedList object that contains the std cost broken down on cost groups.

Exceptions

Exception Condition
Error

No cost group can be found in the InventItemCostGroupRollup table or in the InventTable. The process has to be stopped.

Error

No cost group can be found in the InventItemCostGroupRollup table or in the InventTable. The process has to be stopped.

Remarks

For better performance the InventItemPrice record and a cost amount can be given.

See Also

Reference

InventCostTransCostList Class