Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _inventItemPriceRefRecId
Type: InventItemPriceRefRecId Extended Data Type
The record ID that should be used to find the InventItemCostGroupRollup records.
- _varianceType
Type: InventCostVarianceType Enumeration
The variance type for which the list should be initialized.
- _dimension
Type: DimensionDefault Extended Data Type
The dimension for which the list should be initialized.
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.