Table

RetailEodTransactionSalesTrans

Sales transactions

Holds sales transaction lines prepared for end-of-day statement processing. Each record points to the original sales line, the statement and the inventory dimensions, and carries a default dimension.

Table name
RetailEodTransactionSalesTrans
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
RetailEod

Fields (19)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BusinessDateBusiness date of the sales line.Date
TransDate
NoRetailEodTransactionSalesTransBIEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoRetailEodTransactionSalesTransBIEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoRetailEodTransactionSalesTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailEodTransactionSalesTransBIEntity
DefaultDimensionSet of financial dimension values applied by default to the line.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdRetailEodTransactionSalesTransBIEntity
InventDimIdInventory dimension combination for the line, such as product variant or location details.String (20)
InventDimId
NoInventDim.inventDimIdRetailEodTransactionSalesTransBIEntity
InventStatusSalesInventory status of the sales line: none, reserved or posted.Enum
RetailInventStatusSales (enum)
NoRetailEodTransactionSalesTransBIEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoRetailEodTransactionSalesTransBIEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoRetailEodTransactionSalesTransBIEntity
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
NoRetailEodTransactionSalesTransBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RetailTransactionSalesTransSystem record ID of the original sales transaction line.Int64
RefRecId
NoRetailTransactionSalesTrans.RecIdRetailEodTransactionSalesTransBIEntity
ReturnTransactionIdNumber of the transaction this line returns against, where it is a return.String (44)
RetailTransactionId
NoRetailEodTransactionSalesTransBIEntity
StatementIdNumber of the statement the line is assigned to.String (20)
RetailStatementId
NoRetailStatementTable.statementIdRetailEodTransactionSalesTransBIEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TransactionCodeProduct check result: on file, not on file or blocked.Enum
RetailItemTransactionCode (enum)
NoRetailEodTransactionSalesTransBIEntity
TransactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesRetailEodTransactionSalesTransBIEntity

Indexes (3)

Relations (6)

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

  • DimensionAttributeValueSet → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many RetailEodTransactionSalesTrans records → zero or one DimensionAttributeValueSet record

  • InventDim → InventDim

    Join on InventDimId = InventDim.inventDimId

    Many RetailEodTransactionSalesTrans records → exactly one InventDim record

  • RetailStatementTable → RetailStatementTable

    Join on StatementId = RetailStatementTable.statementId

    Many RetailEodTransactionSalesTrans records → exactly one RetailStatementTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on TransactionId = RetailTransactionTable.transactionId

    Many RetailEodTransactionSalesTrans records → zero or one RetailTransactionTable record

  • ReturnRetailTransactionTable → RetailTransactionTable

    Join on ReturnTransactionId = RetailTransactionTable.transactionId

    Many RetailEodTransactionSalesTrans records → zero or one RetailTransactionTable record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on RetailTransactionSalesTrans = RetailTransactionSalesTrans.RecId

    Many RetailEodTransactionSalesTrans records → zero or one RetailTransactionSalesTrans record

Get this data out

Tables are not exposed directly. These public entities read from RetailEodTransactionSalesTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk