Table

tmpSmmSalesCustItemStatistics Temporary

- Temporary tables

Purpose not clear from the metadata.

Table name
tmpSmmSalesCustItemStatistics
Module
Cross-module and platform
Table group
Miscellaneous
Table type
TempDB
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountNumNo descriptionString (20)
CustAccount
YesCustTable.AccountNumNone
ItemIdNo descriptionString (20)
ItemId
YesInventTable.ItemIdNone
ItemNameNo descriptionString (60)
ItemName
NoNone
Margin1No descriptionReal
ContributionMarginMST
NoNone
Margin2No descriptionReal
ContributionMarginMST
NoNone
NameNo descriptionString (160)
CustName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
Qty1No descriptionReal
SalesQty
NoNone
Qty2No descriptionReal
SalesQty
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
Revenue1No descriptionReal
AmountMST
NoNone
Revenue2No descriptionReal
AmountMST
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
Unit1No descriptionString
SalesUnit
NoUnitOfMeasure.SymbolNone
Unit2No descriptionString
SalesUnit
NoUnitOfMeasure.SymbolNone

Relations (4)

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

  • CustTable → CustTable

    Join on AccountNum = CustTable.AccountNum

    Many tmpSmmSalesCustItemStatistics records → exactly one CustTable record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many tmpSmmSalesCustItemStatistics records → exactly one InventTable record

  • Unit1 → UnitOfMeasure

    Join on Unit1 = UnitOfMeasure.Symbol

    Many tmpSmmSalesCustItemStatistics records → zero or one UnitOfMeasure record

  • Unit2 → UnitOfMeasure

    Join on Unit2 = UnitOfMeasure.Symbol

    Many tmpSmmSalesCustItemStatistics records → zero or one UnitOfMeasure record

Get this data out

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

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

Email sales@drdynamics.co.uk