Table
CostingVersion
Costing versions
Holds costing versions, which group cost, purchase and sales price settings for a costing type such as planned or standard cost. Each version has a site, dates, explosion mode and fallback settings. It can point to another version as a fallback.
- Table name
CostingVersion- Module
Inventory- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
LogisticsBasic- Primary index
VersionIdx- Replacement key
None- Key fields
VersionId- Model
Foundation
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VersionIdThe unique ID of the costing version. | StringCostingVersionId | Yes | CostingVersionEntity | |
AllowCostWhether cost prices are allowed for this version. | EnumInventPriceAllowCostNoYes (enum) | No | CostingVersionEntity | |
AllowPurchWhether purchase prices are allowed for this version. | EnumInventPriceAllowPurchNoYes (enum) | No | CostingVersionEntity | |
AllowSalesWhether sales prices are allowed for this version. | EnumInventPriceAllowSalesNoYes (enum) | No | CostingVersionEntity | |
BlockActivationWhether the version is blocked from being activated. | EnumNoYesCombo (enum) | No | CostingVersionEntity | |
BlockedWhether the version is blocked. | EnumNoYesCombo (enum) | No | CostingVersionEntity | |
BOMCalcExplosionModeHow the bill of materials is exploded in calculation, for example multilevel or single level. | EnumBOMCalcExplosionMode (enum) | No | CostingVersionEntity | |
BOMCalcFallBackThe fallback principle used when no price is found: none, active or costing version. | EnumBOMCalcFallBack (enum) | No | CostingVersionEntity | |
BOMCalcRestrictWhether the calculation is restricted.low confidence | EnumNoYesIdNoYes (enum) | No | CostingVersionEntity | |
BOMCalcRunWhether the version is used for production calculation. | EnumNoYes (enum) | No | CostingVersionEntity | |
BOMCostPriceModelThe cost price model: calculation group or version cost price. | EnumBOMCostPriceModel (enum) | No | CostingVersionEntity | |
BOMCostProfitSetThe profit-setting choice, standard or one of three profit levels. | EnumCostProfitSet (enum) | No | CostingVersionEntity | |
BOMFallBackVersionThe costing version used as a fallback. Points to another costing version. | StringCostingVersionId | No | CostingVersion.VersionId | CostingVersionEntity |
CostingTypeThe type of costing: planned cost, standard cost or conversion. | EnumCostingVersionCostingType (enum) | No | CostingVersionEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultDateThe date the version applies from. | DateCostingVersionFromDate | No | CostingVersionEntity | |
InventSiteIdThe site the version belongs to. Points to the inventory site. | StringInventSiteId | No | InventSite.SiteId | CostingVersionEntity |
LastActivationThe date the version was last activated. | DateTransDate | No | CostingVersionEntity | |
LastUpdateThe date the version was last updated. | DateTransDate | No | CostingVersionEntity | |
NameThe name of the costing version. | String (60)Name | No | CostingVersionEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PriceAllocateMarkupWhether markup is included in the unit price. | EnumPriceAllocateMarkupNoYes (enum) | No | CostingVersionEntity | |
PurchCalcRunWhether the version is used for purchase order calculation. | EnumNoYes (enum) | No | CostingVersionEntity | |
PurchPriceModelThe purchase price model: trade agreement or item purchase price. | EnumPurchPriceModel (enum) | No | CostingVersionEntity | |
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 | |
RecordRestrictWhether a restriction applies to recording.low confidence | EnumInventPriceRecRestrictNoYes (enum) | No | CostingVersionEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RoundOffCalculationWhether calculated amounts are rounded off. | EnumInventPriceRoundOffNoYes (enum) | No | CostingVersionEntity | |
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)
VersionIdxPrimary indexUnique, alternate key.
Relations (2)
Each relation joins CostingVersion to another table on the fields shown.
FallbackCostingVersion→CostingVersionJoin on
BOMFallBackVersion = CostingVersion.VersionIdMany CostingVersion records → zero or one CostingVersion record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany CostingVersion records → zero or one InventSite record
Get this data out
Tables are not exposed directly. These public entities read from CostingVersion; use one of them in Power BI, Power Platform or a data management project.
CostingVersionEntity· 24 fields from this table
Need help with CostingVersion in a report, an integration or a migration? Talk to Dr Dynamics.