InventStdCostAdjust_StdCostConvert.adjustStdCostFinancial Method [AX 2012]
Adjusts the financial inventory for a financial inventory dimension to standard cost.
Syntax
protected void adjustStdCostFinancial(
InventDim _inventDimCriteria,
InventDimParm _inventDimParmCriteria,
InventSum _inventSum)
Run On
Called
Parameters
- _inventDimCriteria
Type: InventDim Table
The financial inventory dimension to which the given inventSum record belongs.
- _inventDimParmCriteria
Type: InventDimParm Table
- _inventSum
Type: InventSum Table
The inventSum record that contains the financial on-hand value and quantity.
Exceptions
Exception | Condition |
---|---|
Error | If the financial on-hand value belongs to a transaction that has not been posted into ledger, the conversion cannot be done. –or– If not the whole value can be adjusted, the conversion must be aborted. |