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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AutomaticUnlinkReturnYes/No option for unlinking returns from their original sales. It carries a warning about returns of unposted sales. | EnumRetailEodStatementIgnoreReturnLinkNoYes (enum) | No | RetailEodTransactionAggregationHeaderBIEntity | |
BusinessDateBusiness date of the transactions in the aggregation. | DateRetailBusinessDate | No | RetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntity | |
ChannelRetail channel the aggregation relates to. | Int64RefRecId | No | RetailChannelTable.RecId | RetailEodTransactionAggregationHeaderBIEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | RetailEodTransactionAggregationHeaderBIEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RetailEodTransactionAggregationHeaderBIEntity | |
CustOrderInfoFree-text information about the customer order. The label is empty, so the exact use is unclear.low confidence | String (-1) | No | RetailEodTransactionAggregationHeaderBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailEodTransactionAggregationHeaderBIEntity | |
ErrorCodeOutcome of the posting: none, error or success. | EnumRetailEodTransactionPostingErrorCode (enum) | No | RetailEodTransactionAggregationHeaderBIEntity | |
ErrorIdSystem record ID that identifies the related error record.low confidence | Int64RefRecId | No | RetailEodTransactionAggregationHeaderBIEntity | |
InvoiceIdInvoice number linked to the aggregation. | String (50)InvoiceId | No | RetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | RetailEodTransactionAggregationHeaderBIEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | RetailEodTransactionAggregationHeaderBIEntity | |
NumberOfLinesCount of lines in the aggregation. | IntegerNumberOf | No | RetailEodTransactionAggregationHeaderBIEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentJournalNumNumber of the payment journal linked to the aggregation. | String (20)RetailEodAggregationPaymentJournalNum | No | LedgerJournalTable.JournalNum | RetailEodTransactionAggregationHeaderBIEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | RetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RetailStatementTableSystem record ID of the related statement record. | Int64RefRecId | No | RetailEodTransactionAggregationHeaderBIEntity | |
SalesIdSales order linked to the aggregation. | String (20)SalesId | No | SalesTable.SalesId | RetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity |
SalesTableSystem record ID of the linked sales order. | Int64RefRecId | No | RetailEodTransactionAggregationHeaderBIEntity | |
ScheduleGroupSchedule group number for the aggregation. The label is empty, so the exact use is unclear.low confidence | IntegerRetailEodScheduleGroup | No | RetailEodTransactionAggregationHeaderBIEntity | |
StatementIdNumber of the statement this aggregation belongs to; points to the statement journal. | String (20)RetailStatementId | No | RetailStatementJour.statementIdRetailStatementTable.statementId | RetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity |
StatusCurrent stage of the aggregation, such as created, partitioned, sales order created or invoiced, including failed or skipped outcomes. | EnumRetailEodTransactionAggregationHeaderPostingStatus (enum) | No | RetailEodTransactionAggregationHeaderBIEntityRetailTransactionAuditableAggregationEntityRetailEodStatementAggregationEntity | |
StmtAggrInfoLogStored message log data from processing the statement aggregation. | ContainerInfologData | No | RetailEodTransactionAggregationHeaderBIEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
typeType of retail transaction, such as sales, payment, logon or tender declaration. | EnumRetailTransactionType (enum) | No | RetailEodTransactionAggregationHeaderBIEntity | |
WeightWeight value held for the aggregation. | RealWeight | No | RetailEodTransactionAggregationHeaderBIEntity |
Indexes (5)
StatementStatusIdxRetailStatementTable,Status,NumberOfLines,SalesIdNot unique.
StatementIdxNot unique.
ChannelSalesIdIdxNot unique.
StatementSalesIdIdxNot unique.
StatementInvoiceIdStausIdxStatementId,InvoiceId,StatusNot unique.
Relations (6)
Each relation joins RetailEodTransactionAggregationHeader to another table on the fields shown.
RetailStatementTable→RetailStatementTableJoin on
StatementId = RetailStatementTable.statementIdMany RetailEodTransactionAggregationHeader records → exactly one RetailStatementTable record
SalesTable→SalesTableJoin on
SalesId = SalesTable.SalesIdMany RetailEodTransactionAggregationHeader records → exactly one SalesTable record
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailEodTransactionAggregationHeader records → zero or one RetailChannelTable record
RetailStatementJour→RetailStatementJourJoin on
StatementId = RetailStatementJour.statementIdMany RetailEodTransactionAggregationHeader records → exactly one RetailStatementJour record
LedgerJournalTable→LedgerJournalTableJoin on
PaymentJournalNum = LedgerJournalTable.JournalNumMany RetailEodTransactionAggregationHeader records → exactly one LedgerJournalTable record
CustInvoiceJour→CustInvoiceJourJoin on
InvoiceId = CustInvoiceJour.InvoiceId,BusinessDate = CustInvoiceJour.InvoiceDateMany 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.
RetailEodTransactionAggregationHeaderBIEntity· 24 fields from this tableRetailTransactionAuditableAggregationEntity· 6 fields from this tableRetailEodStatementAggregationEntity· 5 fields from this table
Need help with RetailEodTransactionAggregationHeader in a report, an integration or a migration? Talk to Dr Dynamics.