Table
RetailStatementJourHistory
Archived statement journals
Archive of retail statement journals. It holds the statement's totals, dates, times, method, type and counts of problem items. The key is the statement number, company and partition.
- Table name
RetailStatementJourHistory- 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, DataAreaId, Partition- Model
Foundation
Fields (52)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
statementIdStatement number. | String (20)RetailStatementId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
calculatedDateDate the statement was calculated. | DateRetailStartingDate | No | None | |
CalculatedDateTimeDate and time the statement was last calculated. | UtcDateTimeRetailStatementCalculatedDateTime | No | None | |
CalculatedLinesNumber of calculation lines. | IntegerInteger | No | None | |
calculatedTimeAnother calculation value, stored as a date although labelled as a time.low confidence | DateRetailStartingDate | No | None | |
calculationTimeTime the statement was calculated. | TimeRetailStartingTime | No | None | |
closingMethodHow the period was closed: by date and time, or by shift. | EnumRetailClosingMethodRetailClosingMethodType (enum) | No | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DefaultDimensionSet of default financial dimension values for the statement. | Int64LedgerDefaultDimensionValueSet | No | None | |
EnableParallelPaymentPostingForSalesYes/no flag for posting cash and carry payments in parallel. | EnumRetailEodStatementPostSalesPaymentsInParallelNoYes (enum) | No | None | |
EodCodeVersionVersion of the end-of-day posting, either legacy or new. | EnumRetailEodCodeVersion (enum) | No | None | |
expensesAmountTotal expense amount on the statement. | RealRetailExpenseAmount | No | None | |
IgnoreReturnLinkYes/no flag for unlinking returns from their original sales. | EnumRetailEodStatementIgnoreReturnLinkNoYes (enum) | No | None | |
incomeAmountTotal income amount on the statement. | RealRetailIncomeAmount | No | None | |
lineDiscAmountTotal line discount amount. | RealRetailLineDiscAmount | No | None | |
LoyaltyDiscAmount_RUDiscount from loyalty points, used for Russia. | RealRetailLoyaltyDiscAmount_RU | No | None | |
numberOfBlockedCustomersCount of blocked customers found. | IntegerRetailNumberOfBlockedCustomers | No | None | |
numberOfBlockedItemsCount of blocked products found. | IntegerRetailNumberOfBlockedItems | No | None | |
numberOfItemsBarcodesNotOnFileCount of product bar codes that were not on file. | IntegerInteger | No | None | |
numberOfSalesPaymentDifferenceTransCount of transactions where sales and payment differ. | IntegerRetailNumberOfSalesPaymentDifference | No | None | |
numberOfWrongShiftTransactionsCount of transactions found on the wrong shift. | IntegerRetailNumberOfWrongShift | No | None | |
numberSequenceCodeCode of the number sequence used. | StringRetailSequenceCode | No | None | |
postedDateDate the statement was posted. | DateRetailPostedDate | No | None | |
PostedDateTimeDate and time the statement was posted. | UtcDateTimeRetailStatementPostedDateTime | No | None | |
postedTimeTime the statement was posted. | TimeRetailPostedTime | No | None | |
PostingBatchJobIdID of the batch job used for posting. | Int64RefRecId | No | None | |
postingDateDate used for posting the statement. | DateTransDate | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterCounter used for data replication. | IntegerRetailReplicationCounter | No | None | |
salesAmountTotal sales amount on the statement. | RealRetailSalesAmount | No | None | |
shiftDateDate of the shift. | DateRetailShiftDate | No | None | |
shiftIdID of the shift. | StringRetailShiftId | No | None | |
skipConfirmationYes/no flag for skipping the confirmation step. | EnumNoYes (enum) | No | None | |
staffTerminalOperator or register used to filter the statement. | String (25)RetailStaffOrTerminalFilter | No | None | |
statementDateDate of the statement. | DateTransDate | No | None | |
statementMethodBasis of the statement: operator ID, POS terminal, total or shift. | EnumRetailStatementMethodRetailStaffTerminalTotal (enum) | No | None | |
StatementTypeType of statement: Complete, Transactional or Financial. | EnumRetailStatementTypeValueRetailStatementType (enum) | No | None | |
storeIdNumber of the store the statement is for. | StringRetailStoreId | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
SysRowVersionNumberSystem row version number.low confidence | Int64SysRowVersionNumber | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
taxAmountTotal tax amount on the statement. | RealRetailTaxAmount | No | None | |
totalDiscAmountEnd discount amount for the statement. | RealRetailEndDiscAmount | No | None | |
transFromDateStart date of the transactions covered. | DateRetailStartingDate | No | None | |
transFromTimeStart time of the transactions covered. | TimeRetailStartingTime | No | None | |
transToDateEnd date of the transactions covered. | DateRetailEndingDate | No | None | |
transToTimeEnd time of the transactions covered. | TimeRetailEndingTime | No | None | |
UseChannelCashManagementReconciliationYes/no flag for using cash management reconciliation from the point of sale. | EnumRetailEodStatementUseChannelCashManagementReconciliationNoYes (enum) | No | None |
Indexes (1)
statementIdxPrimary indexReplacement keystatementId,DataAreaId,PartitionUnique, alternate key.
Get this data out
No public entity reads from RetailStatementJourHistory. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailStatementJourHistory in a report, an integration or a migration? Talk to Dr Dynamics.