Data entity

RetailStatementJourBIEntity

Holds retail statement journal headers, one per statement number. It includes calculation and posting dates and times, store, shift date, statement method and closing method. It also holds totals such as sales, income, expense, tax and discount amounts, and counts of blocked customers and products. Intended for BI and analytics.

Entity name
RetailStatementJourBIEntity
Public entity name
RetailStatementJourBIEntity
OData collection
RetailStatementJourBIEntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
No
Configuration key
Retail
Keys
statementId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailStatementJourBIEntities
Dataverse virtual table
mserp_retailstatementjourbientity. 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

  • RetailStatementJour · root

Fields (47)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
calculatedDateDate when the statement was calculated.Date
RetailStartingDate
NoYesRetailStatementJour.calculatedDate
calculationTimeTime of the calculation.Time
RetailStartingTime
NoYesRetailStatementJour.calculationTime
calculatedTimeAnother calculation time field. It is stored as a date, not a time.low confidenceDate
RetailStartingDate
NoYesRetailStatementJour.calculatedTime
closingMethodHow the statement period is closed: by date and time or by shift.Enum
RetailClosingMethod
RetailClosingMethodType
  • DateTime 0
  • PosBatch 1
NoYesRetailStatementJour.closingMethod
DefaultDimensionPoints to the set of financial dimension values for the statement.Int64
LedgerDefaultDimensionValueSet
NoYesDimensionAttributeValueSet.RecIdRetailStatementJour.DefaultDimension
expensesAmountTotal expense amount for the statement. The currency is not stated in the metadata.Real
RetailExpenseAmount
NoYesRetailStatementJour.expensesAmount
incomeAmountTotal income amount for the statement. The currency is not stated in the metadata.Real
RetailIncomeAmount
NoYesRetailStatementJour.incomeAmount
lineDiscAmountTotal of line discounts. The currency is not stated in the metadata.Real
RetailLineDiscAmount
NoYesRetailStatementJour.lineDiscAmount
LoyaltyDiscAmount_RUDiscount given through loyalty points, used for Russia.Real
RetailLoyaltyDiscAmount_RU
NoYesRetailStatementJour.LoyaltyDiscAmount_RU
numberOfBlockedCustomersCount of blocked customers found for the statement.Integer
RetailNumberOfBlockedCustomers
NoYesRetailStatementJour.numberOfBlockedCustomers
numberOfBlockedItemsCount of blocked products found for the statement.Integer
RetailNumberOfBlockedItems
NoYesRetailStatementJour.numberOfBlockedItems
numberOfItemsBarcodesNotOnFileCount of product bar codes that were not found on file.Integer
Integer
NoYesRetailStatementJour.numberOfItemsBarcodesNotOnFile
numberOfSalesPaymentDifferenceTransCount of transactions where sales and payment amounts differ.Integer
RetailNumberOfSalesPaymentDifference
NoYesRetailStatementJour.numberOfSalesPaymentDifferenceTrans
numberOfWrongShiftTransactionsCount of transactions found on the wrong shift.Integer
RetailNumberOfWrongShift
NoYesRetailStatementJour.numberOfWrongShiftTransactions
numberSequenceCodeCode of the number sequence used for the statement.String
RetailSequenceCode
NoYesRetailStatementJour.numberSequenceCode
postedDateDate when the statement was posted.Date
RetailPostedDate
NoYesRetailStatementJour.postedDate
postedTimeTime when the statement was posted.Time
RetailPostedTime
NoYesRetailStatementJour.postedTime
postingDatePosting date of the statement.Date
TransDate
NoYesRetailStatementJour.postingDate
replicationCounterCounter value used for replication of the record.Integer
RetailReplicationCounter
NoYesRetailStatementJour.replicationCounter
salesAmountTotal sales amount of the statement. The currency is not stated in the metadata.Real
RetailSalesAmount
NoYesRetailStatementJour.salesAmount
shiftDateDate of the shift that the statement covers.Date
RetailShiftDate
NoYesRetailStatementJour.shiftDate
shiftIdIdentifier of the shift that the statement covers.String
RetailShiftId
NoYesRetailStatementJour.shiftId
skipConfirmationYes/No value showing whether confirmation is skipped.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailStatementJour.skipConfirmation
staffTerminalFilter value giving the staff member or register for the statement.String (25)
RetailStaffOrTerminalFilter
NoYesRetailStatementJour.staffTerminal
statementDateDate of the statement.Date
TransDate
NoYesRetailStatementJour.statementDate
statementIdNumber that identifies the statement. It points to the statement record.String (20)
RetailStatementId
NoYesRetailStatementTable.statementIdRetailStatementJour.statementId
statementMethodHow the statement is grouped: by operator ID, POS terminal, total or shift.Enum
RetailStatementMethod
RetailStaffTerminalTotal
  • Staff 0
  • Terminal 1
  • Total 2
  • Shift 3
NoYesRetailStatementJour.statementMethod
storeIdNumber of the store that the statement is for.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailStatementJour.storeId
taxAmountTotal tax amount of the statement. The currency is not stated in the metadata.Real
RetailTaxAmount
NoYesRetailStatementJour.taxAmount
totalDiscAmountTotal end discount amount of the statement. The currency is not stated in the metadata.Real
RetailEndDiscAmount
NoYesRetailStatementJour.totalDiscAmount
transFromDateStart date of the transactions included.Date
RetailStartingDate
NoYesRetailStatementJour.transFromDate
transFromTimeStart time of the transactions included.Time
RetailStartingTime
NoYesRetailStatementJour.transFromTime
transToDateEnd date of the transactions included.Date
RetailEndingDate
NoYesRetailStatementJour.transToDate
transToTimeEnd time of the transactions included.Time
RetailEndingTime
NoYesRetailStatementJour.transToTime
CalculatedLinesNumber of lines created in the calculation.Integer
Integer
NoYesRetailStatementJour.CalculatedLines
EodCodeVersionVersion of the end-of-day posting method: legacy or new.Enum
RetailEodCodeVersion
  • V1 0
  • V2 1
NoYesRetailStatementJour.EodCodeVersion
IgnoreReturnLinkYes/No value that controls whether returns are unlinked from their original sales.Enum
RetailEodStatementIgnoreReturnLink
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailStatementJour.IgnoreReturnLink
PostingBatchJobIdIdentifier of the batch job used to post the statement.Int64
RefRecId
NoYesRetailStatementJour.PostingBatchJobId
StatementTypeType of statement: complete, transactional or financial.Enum
RetailStatementTypeValue
RetailStatementType
  • Complete 0
  • Transactional 1
  • Financial 2
NoYesRetailStatementJour.StatementType
UseChannelCashManagementReconciliationYes/No value showing whether cash management reconciliation from the point of sale is used for statement lines.Enum
RetailEodStatementUseChannelCashManagementReconciliation
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailStatementJour.UseChannelCashManagementReconciliation
EnableParallelPaymentPostingForSalesYes/No value showing whether cash and carry payments are posted in parallel.Enum
RetailEodStatementPostSalesPaymentsInParallel
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailStatementJour.EnableParallelPaymentPostingForSales
PostedDateTimeDate and time when the statement was posted.UtcDateTime
RetailStatementPostedDateTime
NoYesRetailStatementJour.PostedDateTime
CalculatedDateTimeDate and time of the last calculation.UtcDateTime
RetailStatementCalculatedDateTime
NoYesRetailStatementJour.CalculatedDateTime
SysCreatedByThe user who created the record.String (20)
CreatedBy
NoYesRetailStatementJour.CreatedBy
CreatedOnThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesRetailStatementJour.CreatedDateTime
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesRetailStatementJour.DataAreaId
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesRetailStatementJour.RecId

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.

  • DefaultDimension → DimensionAttributeValueSet.RecId (key of DimensionAttributeValueSet)

    Many RetailStatementJour records → exactly one DimensionAttributeValueSet record

    DimensionAttributeValueSet details: see DimensionAttributeValueSetCDREntity, DimensionSetEntity

  • statementId → RetailStatementTable.statementId (key of RetailStatementTable)

    Exactly one RetailStatementJour record → exactly one RetailStatementTable record

    RetailStatementTable details: see RetailEodStatementAggregationEntity

  • storeId → RetailStoreTable.StoreNumber (key of RetailStoreTable)

    Many RetailStatementJour records → exactly one RetailStoreTable record

    RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity

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

Email sales@drdynamics.co.uk