Table
CostSheetCache
Cache of packed costing sheets. Each row is identified by sheet ID, cost type and input data key. The costing sheet is stored as a packed container. It links to the costing sheet table.
- Table name
CostSheetCache- Module
Inventory- Table group
Main- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
SheetIdKeyIdx- Key fields
SheetId, CostType, InputDataKey- Model
Foundation
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SheetIdID of the costing sheet, pointing to the costing sheet record. | String (20)CostSheetId | No | CostSheetTable.SheetId | None |
CostTypeType of cost: cost of goods manufactured or costs of purchase. | EnumCostPriceType (enum) | No | None | |
InputDataKeyKey built from the input data that the cached sheet is based on. | String (1000)CostSheetInputDataKey | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PackedCostSheetThe costing sheet stored in packed form. | ContainerCostSheetPacked | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
SheetIdKeyIdxReplacement keySheetId,CostType,InputDataKeyUnique, alternate key.
SheetIdCreatedDateTimeIdxNot unique.
Relations (1)
Each relation joins CostSheetCache to another table on the fields shown.
CostSheetTable→CostSheetTableJoin on
SheetId = CostSheetTable.SheetIdMany CostSheetCache records → zero or one CostSheetTable record
Get this data out
No public entity reads from CostSheetCache. Its data is only reachable through the application, a custom entity or a database export.
Need help with CostSheetCache in a report, an integration or a migration? Talk to Dr Dynamics.