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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SheetIdID of the costing sheet, pointing to the costing sheet record.String (20)
CostSheetId
NoCostSheetTable.SheetIdNone
CostTypeType of cost: cost of goods manufactured or costs of purchase.Enum
CostPriceType (enum)
NoNone
InputDataKeyKey built from the input data that the cached sheet is based on.String (1000)
CostSheetInputDataKey
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PackedCostSheetThe costing sheet stored in packed form.Container
CostSheetPacked
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (1)

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

  • CostSheetTable → CostSheetTable

    Join on SheetId = CostSheetTable.SheetId

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

Email sales@drdynamics.co.uk