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 new instance of the InventCostTransCostList class that contains the planned cost broken down on cost groups for an inventory transaction.
Syntax
client server public static InventCostTransCostList newPlannedCostList(
InventTable _inventTable,
InventTrans _inventTrans,
InventCostVarianceType _varianceType,
DimensionDefault _dimension,
Qty _qty,
InventCostTransCostList _stdCostList,
[InventItemPrice _inventItemPrice])
Run On
Called
Parameters
- _inventTable
Type: InventTable Table
An InventTable buffer used to initialize the cost list.
- _inventTrans
Type: InventTrans Table
An InventTrans buffer for which the planned cost is calculated.
- _varianceType
Type: InventCostVarianceType Enumeration
An InventTransVarianceType used to initialize the cost list.
- _dimension
Type: DimensionDefault Extended Data Type
The dimension that used to initialize the cost list.
- _qty
Type: Qty Extended Data Type
The quantity that is used to initialize the cost list.
- _stdCostList
Type: InventCostTransCostList Class
An InventCostTransCostList that contains the current standard cost.
- _inventItemPrice
Type: InventItemPrice Table
An InventItemPrice used to initialize the cost list; optional.
Return Value
Type: InventCostTransCostList Class
A new instance of the InventCostTransCostList class that contains the planned cost broken down on cost groups for the given quantity.