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.
Calculates the production variances for a given production order based on the adjustments of the inventory.
Syntax
protected InventCostTransVarianceList calcVarianceFromAdjustment(
InventTransOriginId _inventTransOriginId,
CostGroupId _costGroupId,
InventCostVarianceType _varianceType,
DimensionDefault _dimension)
Run On
Called
Parameters
- _inventTransOriginId
Type: InventTransOriginId Extended Data Type
- _costGroupId
Type: CostGroupId Extended Data Type
The cost group ID that should assigned to the variance.
- _varianceType
Type: InventCostVarianceType Enumeration
The variance type that is assigned to the variance.
- _dimension
Type: DimensionDefault Extended Data Type
The dimension that is assigned to the variance.
Return Value
Type: InventCostTransVarianceList Class
A inventCostTransVariance list holding the variances.
Remarks
This method will select the inventory settlements to determine the overall adjustment amount. This amount will then be created as a variance, with only the total level, not broken down any more.