Table

CostSheetCalculationFactor

Costing sheet calculation factor

Holds calculation factors for costing sheet nodes, such as an amount or a percentage. Each factor applies to an item, an item group or all items, for a site and a start date. It links to a costing sheet node and a costing version.

Table name
CostSheetCalculationFactor
Module
Inventory
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
BOM
Primary index
IndexIdx
Replacement key
None
Key fields
SheetId, NodeId, ItemCode, ItemRelation, InventSiteId, LineId, FromDate, VersionId
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SheetIdThe costing sheet the node belongs to. Used together with the node ID.String (20)
CostSheetId
YesCostSheetNodeTable.SheetIdNone
NodeIdThe costing sheet node the factor belongs to. Used together with the sheet ID.Integer
CostSheetNodeId
NoCostSheetNodeTable.NodeIdNone
ItemCodeWhether the factor is valid for one item, an item group or all items.Enum
TableGroupAll (enum)
NoCostSheetNodeCalculationFactorV2Entity
ItemRelationThe item or item group the factor applies to, depending on the Valid for choice.String (20)
CostItemRelation
NoInventItemGroup.ItemGroupIdInventTable.ItemIdCostSheetNodeCalculationFactorV2Entity
InventSiteIdThe site the factor applies to. Points to the inventory site.String
InventSiteId
NoInventSite.SiteIdCostSheetNodeCalculationFactorV2Entity
LineIdThe line number of the factor.Integer
Line
NoNone
FromDateThe date the factor applies from.Date
FromDate
YesCostSheetNodeCalculationFactorV2Entity
VersionIdThe costing version the factor belongs to. Points to the costing version.String
CostingVersionId
YesCostingVersion.VersionIdCostSheetNodeCalculationFactorV2Entity
AmountThe amount used as the factor.Real
CostSheetAmount
NoCostSheetNodeCalculationFactorV2Entity
CostingVersionStatusThe status of the costing version: pending, current active or previous active.Enum
CostingVersionStatus (enum)
NoCostSheetNodeCalculationFactorV2Entity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PercentageThe percentage used as the factor.Real
CostSheetPercent
NoCostSheetNodeCalculationFactorV2Entity
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
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReservedA quantity value on the factor.low confidenceReal
InventQty
NoNone
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)

Relations (5)

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

  • CostingVersion → CostingVersion

    Join on VersionId = CostingVersion.VersionId

    Many CostSheetCalculationFactor records → exactly one CostingVersion record

  • CostSheetNodeTableIndirect → CostSheetNodeTable

    Join on CostSheetNodeTable.Type = CostSheetNodeType::CalculationSurcharge, CostSheetNodeTable.Type = CostSheetNodeType::CalculationRate, CostSheetNodeTable.Type = CostSheetNodeType::CalculationOutUnitBased, CostSheetNodeTable.Type = CostSheetNodeType::CalculationInUnitBased, CostSheetNodeTable.Type = CostSheetNodeType::CalculationPurchUnitBased, NodeId = CostSheetNodeTable.NodeId, SheetId = CostSheetNodeTable.SheetId

    Many CostSheetCalculationFactor records → zero or one CostSheetNodeTable record

  • InventItemGroup → InventItemGroup

    Join on ItemCode = TableGroupAll::GroupId, ItemRelation = InventItemGroup.ItemGroupId

    Many CostSheetCalculationFactor records → zero or one InventItemGroup record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many CostSheetCalculationFactor records → zero or one InventSite record

  • InventTable → InventTable

    Join on ItemCode = TableGroupAll::Table, ItemRelation = InventTable.ItemId

    Many CostSheetCalculationFactor records → zero or one InventTable record

Get this data out

Tables are not exposed directly. These public entities read from CostSheetCalculationFactor; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk