InventCostHelp.postVariances Method [AX 2012]
Distributes the production variances to the receipts.
Syntax
protected void postVariances(
InventModelType _inventModelType,
LedgerVoucher _ledgerVoucher,
InventTransOriginId _inventTransOriginId,
InventCostTransVarianceList _inventCostTransVarianceList)
Run On
Called
Parameters
- _inventModelType
Type: InventModelType Class
An instance of the inventModelType class.
- _ledgerVoucher
Type: LedgerVoucher Class
The ledgerVoucher to which the postings should be added.
- _inventTransOriginId
Type: InventTransOriginId Extended Data Type
- _inventCostTransVarianceList
Type: InventCostTransVarianceList Class
The inventCostTransVariance list holding the variances.