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 descriptionType / EDT / enumMandatoryReferencesIn public entities
VersionIdThe unique ID of the costing version.String
CostingVersionId
YesCostingVersionEntity
AllowCostWhether cost prices are allowed for this version.Enum
InventPriceAllowCost
NoYes (enum)
NoCostingVersionEntity
AllowPurchWhether purchase prices are allowed for this version.Enum
InventPriceAllowPurch
NoYes (enum)
NoCostingVersionEntity
AllowSalesWhether sales prices are allowed for this version.Enum
InventPriceAllowSales
NoYes (enum)
NoCostingVersionEntity
BlockActivationWhether the version is blocked from being activated.Enum
NoYesCombo (enum)
NoCostingVersionEntity
BlockedWhether the version is blocked.Enum
NoYesCombo (enum)
NoCostingVersionEntity
BOMCalcExplosionModeHow the bill of materials is exploded in calculation, for example multilevel or single level.Enum
BOMCalcExplosionMode (enum)
NoCostingVersionEntity
BOMCalcFallBackThe fallback principle used when no price is found: none, active or costing version.Enum
BOMCalcFallBack (enum)
NoCostingVersionEntity
BOMCalcRestrictWhether the calculation is restricted.low confidenceEnum
NoYesId
NoYes (enum)
NoCostingVersionEntity
BOMCalcRunWhether the version is used for production calculation.Enum
NoYes (enum)
NoCostingVersionEntity
BOMCostPriceModelThe cost price model: calculation group or version cost price.Enum
BOMCostPriceModel (enum)
NoCostingVersionEntity
BOMCostProfitSetThe profit-setting choice, standard or one of three profit levels.Enum
CostProfitSet (enum)
NoCostingVersionEntity
BOMFallBackVersionThe costing version used as a fallback. Points to another costing version.String
CostingVersionId
NoCostingVersion.VersionIdCostingVersionEntity
CostingTypeThe type of costing: planned cost, standard cost or conversion.Enum
CostingVersionCostingType (enum)
NoCostingVersionEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultDateThe date the version applies from.Date
CostingVersionFromDate
NoCostingVersionEntity
InventSiteIdThe site the version belongs to. Points to the inventory site.String
InventSiteId
NoInventSite.SiteIdCostingVersionEntity
LastActivationThe date the version was last activated.Date
TransDate
NoCostingVersionEntity
LastUpdateThe date the version was last updated.Date
TransDate
NoCostingVersionEntity
NameThe name of the costing version.String (60)
Name
NoCostingVersionEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PriceAllocateMarkupWhether markup is included in the unit price.Enum
PriceAllocateMarkup
NoYes (enum)
NoCostingVersionEntity
PurchCalcRunWhether the version is used for purchase order calculation.Enum
NoYes (enum)
NoCostingVersionEntity
PurchPriceModelThe purchase price model: trade agreement or item purchase price.Enum
PurchPriceModel (enum)
NoCostingVersionEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecordRestrictWhether a restriction applies to recording.low confidenceEnum
InventPriceRecRestrict
NoYes (enum)
NoCostingVersionEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RoundOffCalculationWhether calculated amounts are rounded off.Enum
InventPriceRoundOff
NoYes (enum)
NoCostingVersionEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • VersionIdxPrimary index

    VersionId

    Unique, alternate key.

Relations (2)

Each relation joins CostingVersion to another table on the fields shown.

  • FallbackCostingVersion → CostingVersion

    Join on BOMFallBackVersion = CostingVersion.VersionId

    Many CostingVersion records → zero or one CostingVersion record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many 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.

Need help with CostingVersion in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk