Data entity

RetailEodStatementAggregationEntity

Read-only list of end-of-day statement aggregations, keyed by statement ID and aggregation. Each record shows the store, sales ID, invoice ID, aggregation status and any error message. It also shows the status of the statement. It joins error, store and statement data.

Entity name
RetailEodStatementAggregationEntity
Public entity name
RetailEodStatementAggregation
OData collection
RetailEodStatementAggregations
Category
Not set
Module
Transactions and orders
Read-only
Yes
Data management enabled
No
Configuration key
Retail
Keys
StatementId, Aggregation
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailEodStatementAggregations
Dataverse virtual table
mserp_retaileodstatementaggregationentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Not enabled for import and export projects.

Data sources

  • RetailEodTransactionAggregationHeader · root · read-only
  • RetailEodTransactionError · OuterJoin to RetailEodTransactionAggregationHeader · read-only
  • RetailStoreTable · InnerJoin to RetailEodTransactionAggregationHeader · read-only
  • RetailStatementTable · OuterJoin to RetailEodTransactionAggregationHeader · read-only

Fields (8)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
StoreNumberStore number that identifies the store.String
RetailStoreId
YesYesRetailStoreTable.StoreNumber
StatementIdNumber of the statement this aggregation belongs to; points to the statement journal.String (20)
RetailStatementId
NoYesRetailStatementJour.statementIdRetailStatementTable.statementIdRetailEodTransactionAggregationHeader.StatementId
AggregationA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesRetailEodTransactionAggregationHeader.RecId
SalesIdSales order linked to the aggregation.String (20)
SalesId
NoYesSalesTable.SalesIdRetailEodTransactionAggregationHeader.SalesId
InvoiceIdInvoice number linked to the aggregation.String (50)
InvoiceId
NoYesRetailEodTransactionAggregationHeader.InvoiceId
AggregationStatusCurrent stage of the aggregation, such as created, partitioned, sales order created or invoiced, including failed or skipped outcomes.Enum
RetailEodTransactionAggregationHeaderPostingStatus
  • Created 0
  • Partitioned 10
  • SOCreationInProgress 15
  • SOCreated 20
  • SODeletionInProgress 25
  • SOCreateFailed 30
  • InvoiceInProgress 35
  • InvoicePosted 40
  • InvoiceFailed 50
  • InvoiceSkipped 60
  • PaymentInProgress 65
  • PaymentPosted 70
  • PaymentFailed 80
NoYesRetailEodTransactionAggregationHeader.Status
ErrorMessageError message text in the user's language.String (-1)
RetailEodTransactionPostingErrorMessage
NoYesRetailEodTransactionError.ErrorMessageLocalized
StatementStatusStatus of the retail statement that the aggregation belongs to.Enum
RetailEodTransactionPostingStatus
  • Started 0
  • Marked 20
  • Calculated 40
  • Checked 60
  • Aggregated 80
  • CustomerOrderCreated 120
  • CustomerOrderInvoiced 140
  • DiscountsPosted 150
  • IncomeExpensePosted 160
  • SalesVoucherLinked 170
  • PaymentsPosted 180
  • GiftCardPosted 190
  • FinancialReconciliationPosted 200
  • Posted 220
NoYescomputed

Foreign keys (3)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

  • StatementId → RetailStatementJour.statementId (key of RetailStatementJour)

    Many RetailEodTransactionAggregationHeader records → exactly one RetailStatementJour record

    RetailStatementJour details: see RetailStatementJourBIEntity

  • StatementId → RetailStatementTable.statementId (key of RetailStatementTable)

    Many RetailEodTransactionAggregationHeader records → exactly one RetailStatementTable record

    Not exposed by a public entity.

  • SalesId → SalesTable.SalesId (key of SalesTable)

    Many RetailEodTransactionAggregationHeader records → exactly one SalesTable record

    SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity

Need help with RetailEodStatementAggregationEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk