Table
InventCostTransVariance
Inventory cost variances
Holds cost variances for standard cost transactions. Each record links to one cost transaction and is split by variance type, level, cost group and financial dimensions. It stores cost amounts, ledger accounts and posting types, and shows whether it has been posted.
- Table name
InventCostTransVariance- Module
Inventory- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
RecId- Replacement key
CostTransVarianceIdx- Key fields
InventCostTransRefRecId, VarianceType, Level, Split, CostGroupId, DefaultDimension- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
InventCostTransRefRecIdPoints to the standard cost transaction this variance belongs to. | Int64InventCostTransRefRecId | No | InventCostTrans.RecId | None |
VarianceTypeKind of variance, such as production price, quantity, scrap or purchase price. | EnumInventCostVarianceType (enum) | No | None | |
LevelLevel of detail: total, single or multi. | EnumInventCostLevel (enum) | No | None | |
SplitYes/no flag for a split of the cost. | EnumInventCostSplitNoYes (enum) | No | None | |
CostGroupIdCost group of the variance. | StringCostGroupId | No | BOMCostGroup.CostGroupId | None |
DefaultDimensionPoints to the set of financial dimension values. | Int64DimensionDefault | No | DimensionAttributeValueSet.RecId | None |
CostAmountCost amount of the variance. | RealCostAmountNonMonetary | No | None | |
CostAmountPostedFinancial cost amount of the variance. | RealCostAmountPosted | No | None | |
CostAmountPostedSecCur_RUFinancial cost amount in the second currency, used for Russia. | RealCostAmountSecCur_RU | No | None | |
CostAmountSecCur_RUCost amount in the second currency, used for Russia. | RealCostAmountSecCur_RU | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
isPostedYes/no flag showing whether the variance is posted. | EnumNoYes (enum) | No | None | |
LedgerDimensionPoints to the ledger account combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
OffsetLedgerDimensionPoints to the offset ledger account combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PostingType of ledger posting for the variance. | EnumInventPostingTypeLedgerPostingType (enum) | No | None | |
PostingOffsetType of ledger posting for the offset account. | EnumInventPostingTypeLedgerPostingType (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
CostTransVarianceIdxReplacement keyInventCostTransRefRecId,VarianceType,Level,Split,CostGroupId,DefaultDimensionUnique, alternate key.
Relations (5)
Each relation joins InventCostTransVariance to another table on the fields shown.
BOMCostGroup→BOMCostGroupJoin on
CostGroupId = BOMCostGroup.CostGroupIdMany InventCostTransVariance records → zero or one BOMCostGroup record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany InventCostTransVariance records → zero or one DimensionAttributeValueSet record
InventCostTrans→InventCostTransJoin on
InventCostTransRefRecId = InventCostTrans.RecIdMany InventCostTransVariance records → zero or one InventCostTrans record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany InventCostTransVariance records → zero or one DimensionAttributeValueCombination record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany InventCostTransVariance records → zero or one DimensionAttributeValueCombination record
Get this data out
No public entity reads from InventCostTransVariance. Its data is only reachable through the application, a custom entity or a database export.
Need help with InventCostTransVariance in a report, an integration or a migration? Talk to Dr Dynamics.