Table

CostStatementCache

Cost statement cache

Stores cost amounts and quantities by statement type, date and three levels of line category. The levels split values into groups such as sourcing, usage, conversion cost and manufactured cost. It has no relations to other tables.

Table name
CostStatementCache
Module
Inventory
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
LogisticsBasic
Primary index
PrimaryKeyIdx
Replacement key
None
Key fields
StatementType, TransDate, StatementLineCategoryLevel1, StatementLineCategoryLevel2, StatementLineCategoryLevel3
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
StatementTypeType of cost statement: inventory, production work in progress or variance.Enum
CostStatementType (enum)
NoNone
TransDateDate the cached values apply to.Date
TransDate
NoNone
StatementLineCategoryLevel1Top-level category of the statement line, for example net sourcing or beginning balance.Enum
CostStatementLineCategoryLevel1 (enum)
NoNone
StatementLineCategoryLevel2Second-level category, for example procured, sold or consumed materials cost.Enum
CostStatementLineCategoryLevel2 (enum)
NoNone
StatementLineCategoryLevel3Third-level category, for example counting, scrap or revaluation.Enum
CostStatementLineCategoryLevel3 (enum)
NoNone
AmountCost amount for the row.Real
CostAmount
NoNone
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
QtyInventory quantity for the row.Real
InventQty
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
SysDataCacheContextIdIdentifier of the cache context the row belongs to.Int64
SysDataCacheContextId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Get this data out

No public entity reads from CostStatementCache. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk