Table

RetailEodTransactionAggregationHeader

Statement aggregations

Holds one record per statement aggregation, a grouped set of retail transactions prepared for a statement. It links to the statement, the retail channel, the sales order and invoice, and the payment journal. Status and error fields show how far the aggregation has progressed. The key is not stated in the metadata.

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

Fields (28)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AutomaticUnlinkReturnYes/No option for unlinking returns from their original sales. It carries a warning about returns of unposted sales.Enum
RetailEodStatementIgnoreReturnLink
NoYes (enum)
NoRetailEodTransactionAggregationHeaderBIEntity
BusinessDateBusiness date of the transactions in the aggregation.Date
RetailBusinessDate
NoRetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntity
ChannelRetail channel the aggregation relates to.Int64
RefRecId
NoRetailChannelTable.RecIdRetailEodTransactionAggregationHeaderBIEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoRetailEodTransactionAggregationHeaderBIEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoRetailEodTransactionAggregationHeaderBIEntity
CustOrderInfoFree-text information about the customer order. The label is empty, so the exact use is unclear.low confidenceString (-1)NoRetailEodTransactionAggregationHeaderBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailEodTransactionAggregationHeaderBIEntity
ErrorCodeOutcome of the posting: none, error or success.Enum
RetailEodTransactionPostingErrorCode (enum)
NoRetailEodTransactionAggregationHeaderBIEntity
ErrorIdSystem record ID that identifies the related error record.low confidenceInt64
RefRecId
NoRetailEodTransactionAggregationHeaderBIEntity
InvoiceIdInvoice number linked to the aggregation.String (50)
InvoiceId
NoRetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoRetailEodTransactionAggregationHeaderBIEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoRetailEodTransactionAggregationHeaderBIEntity
NumberOfLinesCount of lines in the aggregation.Integer
NumberOf
NoRetailEodTransactionAggregationHeaderBIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentJournalNumNumber of the payment journal linked to the aggregation.String (20)
RetailEodAggregationPaymentJournalNum
NoLedgerJournalTable.JournalNumRetailEodTransactionAggregationHeaderBIEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RetailStatementTableSystem record ID of the related statement record.Int64
RefRecId
NoRetailEodTransactionAggregationHeaderBIEntity
SalesIdSales order linked to the aggregation.String (20)
SalesId
NoSalesTable.SalesIdRetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity
SalesTableSystem record ID of the linked sales order.Int64
RefRecId
NoRetailEodTransactionAggregationHeaderBIEntity
ScheduleGroupSchedule group number for the aggregation. The label is empty, so the exact use is unclear.low confidenceInteger
RetailEodScheduleGroup
NoRetailEodTransactionAggregationHeaderBIEntity
StatementIdNumber of the statement this aggregation belongs to; points to the statement journal.String (20)
RetailStatementId
NoRetailStatementJour.statementIdRetailStatementTable.statementIdRetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity
StatusCurrent stage of the aggregation, such as created, partitioned, sales order created or invoiced, including failed or skipped outcomes.Enum
RetailEodTransactionAggregationHeaderPostingStatus (enum)
NoRetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity
StmtAggrInfoLogStored message log data from processing the statement aggregation.Container
InfologData
NoRetailEodTransactionAggregationHeaderBIEntity
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
typeType of retail transaction, such as sales, payment, logon or tender declaration.Enum
RetailTransactionType (enum)
NoRetailEodTransactionAggregationHeaderBIEntity
WeightWeight value held for the aggregation.Real
Weight
NoRetailEodTransactionAggregationHeaderBIEntity

Indexes (5)

Relations (6)

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

  • RetailStatementTable → RetailStatementTable

    Join on StatementId = RetailStatementTable.statementId

    Many RetailEodTransactionAggregationHeader records → exactly one RetailStatementTable record

  • SalesTable → SalesTable

    Join on SalesId = SalesTable.SalesId

    Many RetailEodTransactionAggregationHeader records → exactly one SalesTable record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailEodTransactionAggregationHeader records → zero or one RetailChannelTable record

  • RetailStatementJour → RetailStatementJour

    Join on StatementId = RetailStatementJour.statementId

    Many RetailEodTransactionAggregationHeader records → exactly one RetailStatementJour record

  • LedgerJournalTable → LedgerJournalTable

    Join on PaymentJournalNum = LedgerJournalTable.JournalNum

    Many RetailEodTransactionAggregationHeader records → exactly one LedgerJournalTable record

  • CustInvoiceJour → CustInvoiceJour

    Join on InvoiceId = CustInvoiceJour.InvoiceId, BusinessDate = CustInvoiceJour.InvoiceDate

    Many RetailEodTransactionAggregationHeader records → exactly one CustInvoiceJour record

Get this data out

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

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

Email sales@drdynamics.co.uk