Table
RetailStatementJour
Statement journal
Journal of retail statements, with one row per statement number. It holds the statement period, calculation and posting dates, sales, tax, discount and income or expense totals, and counts of data issues. A BI entity reads it.
- Table name
RetailStatementJour- Module
Commerce transactions and orders- Table group
WorksheetHeader- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
statementIdx- Replacement key
statementIdx- Key fields
statementId- Model
Foundation
Fields (51)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
statementIdNumber that identifies the statement. It points to the statement record. | String (20)RetailStatementId | No | RetailStatementTable.statementId | RetailStatementJourBIEntity |
calculatedDateDate when the statement was calculated. | DateRetailStartingDate | No | RetailStatementJourBIEntity | |
CalculatedDateTimeDate and time of the last calculation. | UtcDateTimeRetailStatementCalculatedDateTime | No | RetailStatementJourBIEntity | |
CalculatedLinesNumber of lines created in the calculation. | IntegerInteger | No | RetailStatementJourBIEntity | |
calculatedTimeAnother calculation time field. It is stored as a date, not a time.low confidence | DateRetailStartingDate | No | RetailStatementJourBIEntity | |
calculationTimeTime of the calculation. | TimeRetailStartingTime | No | RetailStatementJourBIEntity | |
closingMethodHow the statement period is closed: by date and time or by shift. | EnumRetailClosingMethodRetailClosingMethodType (enum) | No | RetailStatementJourBIEntity | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | RetailStatementJourBIEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RetailStatementJourBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailStatementJourBIEntity | |
DefaultDimensionPoints to the set of financial dimension values for the statement. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | RetailStatementJourBIEntity |
EnableParallelPaymentPostingForSalesYes/No value showing whether cash and carry payments are posted in parallel. | EnumRetailEodStatementPostSalesPaymentsInParallelNoYes (enum) | No | RetailStatementJourBIEntity | |
EodCodeVersionVersion of the end-of-day posting method: legacy or new. | EnumRetailEodCodeVersion (enum) | No | RetailStatementJourBIEntity | |
expensesAmountTotal expense amount for the statement. The currency is not stated in the metadata. | RealRetailExpenseAmount | No | RetailStatementJourBIEntity | |
IgnoreReturnLinkYes/No value that controls whether returns are unlinked from their original sales. | EnumRetailEodStatementIgnoreReturnLinkNoYes (enum) | No | RetailStatementJourBIEntity | |
incomeAmountTotal income amount for the statement. The currency is not stated in the metadata. | RealRetailIncomeAmount | No | RetailStatementJourBIEntity | |
lineDiscAmountTotal of line discounts. The currency is not stated in the metadata. | RealRetailLineDiscAmount | No | RetailStatementJourBIEntity | |
LoyaltyDiscAmount_RUDiscount given through loyalty points, used for Russia. | RealRetailLoyaltyDiscAmount_RU | No | RetailStatementJourBIEntity | |
numberOfBlockedCustomersCount of blocked customers found for the statement. | IntegerRetailNumberOfBlockedCustomers | No | RetailStatementJourBIEntity | |
numberOfBlockedItemsCount of blocked products found for the statement. | IntegerRetailNumberOfBlockedItems | No | RetailStatementJourBIEntity | |
numberOfItemsBarcodesNotOnFileCount of product bar codes that were not found on file. | IntegerInteger | No | RetailStatementJourBIEntity | |
numberOfSalesPaymentDifferenceTransCount of transactions where sales and payment amounts differ. | IntegerRetailNumberOfSalesPaymentDifference | No | RetailStatementJourBIEntity | |
numberOfWrongShiftTransactionsCount of transactions found on the wrong shift. | IntegerRetailNumberOfWrongShift | No | RetailStatementJourBIEntity | |
numberSequenceCodeCode of the number sequence used for the statement. | StringRetailSequenceCode | No | RetailStatementJourBIEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
postedDateDate when the statement was posted. | DateRetailPostedDate | No | RetailStatementJourBIEntity | |
PostedDateTimeDate and time when the statement was posted. | UtcDateTimeRetailStatementPostedDateTime | No | RetailStatementJourBIEntity | |
postedTimeTime when the statement was posted. | TimeRetailPostedTime | No | RetailStatementJourBIEntity | |
PostingBatchJobIdIdentifier of the batch job used to post the statement. | Int64RefRecId | No | RetailStatementJourBIEntity | |
postingDatePosting date of the statement. | DateTransDate | No | RetailStatementJourBIEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | RetailStatementJourBIEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterCounter value used for replication of the record. | IntegerRetailReplicationCounter | No | RetailStatementJourBIEntity | |
salesAmountTotal sales amount of the statement. The currency is not stated in the metadata. | RealRetailSalesAmount | No | RetailStatementJourBIEntity | |
shiftDateDate of the shift that the statement covers. | DateRetailShiftDate | No | RetailStatementJourBIEntity | |
shiftIdIdentifier of the shift that the statement covers. | StringRetailShiftId | No | RetailStatementJourBIEntity | |
skipConfirmationYes/No value showing whether confirmation is skipped. | EnumNoYes (enum) | No | RetailStatementJourBIEntity | |
staffTerminalFilter value giving the staff member or register for the statement. | String (25)RetailStaffOrTerminalFilter | No | RetailStatementJourBIEntity | |
statementDateDate of the statement. | DateTransDate | No | RetailStatementJourBIEntity | |
statementMethodHow the statement is grouped: by operator ID, POS terminal, total or shift. | EnumRetailStatementMethodRetailStaffTerminalTotal (enum) | No | RetailStatementJourBIEntity | |
StatementTypeType of statement: complete, transactional or financial. | EnumRetailStatementTypeValueRetailStatementType (enum) | No | RetailStatementJourBIEntity | |
storeIdNumber of the store that the statement is for. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailStatementJourBIEntity |
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 | |
taxAmountTotal tax amount of the statement. The currency is not stated in the metadata. | RealRetailTaxAmount | No | RetailStatementJourBIEntity | |
totalDiscAmountTotal end discount amount of the statement. The currency is not stated in the metadata. | RealRetailEndDiscAmount | No | RetailStatementJourBIEntity | |
transFromDateStart date of the transactions included. | DateRetailStartingDate | No | RetailStatementJourBIEntity | |
transFromTimeStart time of the transactions included. | TimeRetailStartingTime | No | RetailStatementJourBIEntity | |
transToDateEnd date of the transactions included. | DateRetailEndingDate | No | RetailStatementJourBIEntity | |
transToTimeEnd time of the transactions included. | TimeRetailEndingTime | No | RetailStatementJourBIEntity | |
UseChannelCashManagementReconciliationYes/No value showing whether cash management reconciliation from the point of sale is used for statement lines. | EnumRetailEodStatementUseChannelCashManagementReconciliationNoYes (enum) | No | RetailStatementJourBIEntity |
Indexes (4)
statementIdxPrimary indexReplacement keyUnique, alternate key.
replicationIdxNot unique.
storeIdxNot unique.
storePostedDateIdxNot unique.
Relations (6)
Each relation joins RetailStatementJour to another table on the fields shown.
DimensionAttributeValueSet→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany RetailStatementJour records → exactly one DimensionAttributeValueSet record
RetailStatementTable→RetailStatementTableJoin on
statementId = RetailStatementTable.statementIdExactly one RetailStatementJour record → exactly one RetailStatementTable record
RetailStatementTrans→RetailStatementTransJoin on
statementId = RetailStatementTrans.statementIdMany RetailStatementJour records → zero or one RetailStatementTrans record
RetailStoreTable→RetailStoreTableJoin on
storeId = RetailStoreTable.StoreNumberMany RetailStatementJour records → exactly one RetailStoreTable record
RetailStoreWorkShiftTable→RetailStoreWorkShiftTableJoin on
shiftDate = RetailStoreWorkShiftTable.shiftDateMany RetailStatementJour records → zero or one RetailStoreWorkShiftTable record
RetailTransactionTable→RetailTransactionTableJoin on
statementId = RetailTransactionTable.statementIdMany RetailStatementJour records → zero or one RetailTransactionTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailStatementJour; use one of them in Power BI, Power Platform or a data management project.
RetailStatementJourBIEntity· 47 fields from this table
Need help with RetailStatementJour in a report, an integration or a migration? Talk to Dr Dynamics.