InventCostPost.postInventCostTransVariance Method [AX 2012]
Posts an inventory cost variance.
Syntax
protected void postInventCostTransVariance(
InventCostTrans _costTrans,
InventCostTransVariance _variance,
RecId _inventAdjustmentSpecRecId)
Run On
Called
Parameters
- _costTrans
Type: InventCostTrans Table
The inventory cost transaction.
- _variance
Type: InventCostTransVariance Table
The inventory variance.
- _inventAdjustmentSpecRecId
Type: RecId Extended Data Type
The inventory adjustment specification record ID.
Exceptions
Exception | Condition |
---|---|
Error | The variance is posted. |
Error | The variance is posted. |