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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SheetIdThe costing sheet the node belongs to. Used together with the node ID. | String (20)CostSheetId | Yes | CostSheetNodeTable.SheetId | None |
NodeIdThe costing sheet node the factor belongs to. Used together with the sheet ID. | IntegerCostSheetNodeId | No | CostSheetNodeTable.NodeId | None |
ItemCodeWhether the factor is valid for one item, an item group or all items. | EnumTableGroupAll (enum) | No | CostSheetNodeCalculationFactorV2Entity | |
ItemRelationThe item or item group the factor applies to, depending on the Valid for choice. | String (20)CostItemRelation | No | InventItemGroup.ItemGroupIdInventTable.ItemId | CostSheetNodeCalculationFactorV2Entity |
InventSiteIdThe site the factor applies to. Points to the inventory site. | StringInventSiteId | No | InventSite.SiteId | CostSheetNodeCalculationFactorV2Entity |
LineIdThe line number of the factor. | IntegerLine | No | None | |
FromDateThe date the factor applies from. | DateFromDate | Yes | CostSheetNodeCalculationFactorV2Entity | |
VersionIdThe costing version the factor belongs to. Points to the costing version. | StringCostingVersionId | Yes | CostingVersion.VersionId | CostSheetNodeCalculationFactorV2Entity |
AmountThe amount used as the factor. | RealCostSheetAmount | No | CostSheetNodeCalculationFactorV2Entity | |
CostingVersionStatusThe status of the costing version: pending, current active or previous active. | EnumCostingVersionStatus (enum) | No | CostSheetNodeCalculationFactorV2Entity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PercentageThe percentage used as the factor. | RealCostSheetPercent | No | CostSheetNodeCalculationFactorV2Entity | |
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 | |
ReservedA quantity value on the factor.low confidence | RealInventQty | 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)
IndexIdxPrimary indexSheetId,NodeId,ItemCode,ItemRelation,InventSiteId,LineId,FromDate,VersionIdUnique, alternate key.
Relations (5)
Each relation joins CostSheetCalculationFactor to another table on the fields shown.
CostingVersion→CostingVersionJoin on
VersionId = CostingVersion.VersionIdMany CostSheetCalculationFactor records → exactly one CostingVersion record
CostSheetNodeTableIndirect→CostSheetNodeTableJoin 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.SheetIdMany CostSheetCalculationFactor records → zero or one CostSheetNodeTable record
InventItemGroup→InventItemGroupJoin on
ItemCode = TableGroupAll::GroupId,ItemRelation = InventItemGroup.ItemGroupIdMany CostSheetCalculationFactor records → zero or one InventItemGroup record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany CostSheetCalculationFactor records → zero or one InventSite record
InventTable→InventTableJoin on
ItemCode = TableGroupAll::Table,ItemRelation = InventTable.ItemIdMany 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.
CostSheetNodeCalculationFactorV2Entity· 8 fields from this table
Need help with CostSheetCalculationFactor in a report, an integration or a migration? Talk to Dr Dynamics.