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 descriptionType / EDT / enumMandatoryReferencesIn public entities
statementIdStatement number.String (20)
RetailStatementId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
calculatedDateDate the statement was calculated.Date
RetailStartingDate
NoNone
CalculatedDateTimeDate and time the statement was last calculated.UtcDateTime
RetailStatementCalculatedDateTime
NoNone
CalculatedLinesNumber of calculation lines.Integer
Integer
NoNone
calculatedTimeAnother calculation value, stored as a date although labelled as a time.low confidenceDate
RetailStartingDate
NoNone
calculationTimeTime the statement was calculated.Time
RetailStartingTime
NoNone
closingMethodHow the period was closed: by date and time, or by shift.Enum
RetailClosingMethod
RetailClosingMethodType (enum)
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DefaultDimensionSet of default financial dimension values for the statement.Int64
LedgerDefaultDimensionValueSet
NoNone
EnableParallelPaymentPostingForSalesYes/no flag for posting cash and carry payments in parallel.Enum
RetailEodStatementPostSalesPaymentsInParallel
NoYes (enum)
NoNone
EodCodeVersionVersion of the end-of-day posting, either legacy or new.Enum
RetailEodCodeVersion (enum)
NoNone
expensesAmountTotal expense amount on the statement.Real
RetailExpenseAmount
NoNone
IgnoreReturnLinkYes/no flag for unlinking returns from their original sales.Enum
RetailEodStatementIgnoreReturnLink
NoYes (enum)
NoNone
incomeAmountTotal income amount on the statement.Real
RetailIncomeAmount
NoNone
lineDiscAmountTotal line discount amount.Real
RetailLineDiscAmount
NoNone
LoyaltyDiscAmount_RUDiscount from loyalty points, used for Russia.Real
RetailLoyaltyDiscAmount_RU
NoNone
numberOfBlockedCustomersCount of blocked customers found.Integer
RetailNumberOfBlockedCustomers
NoNone
numberOfBlockedItemsCount of blocked products found.Integer
RetailNumberOfBlockedItems
NoNone
numberOfItemsBarcodesNotOnFileCount of product bar codes that were not on file.Integer
Integer
NoNone
numberOfSalesPaymentDifferenceTransCount of transactions where sales and payment differ.Integer
RetailNumberOfSalesPaymentDifference
NoNone
numberOfWrongShiftTransactionsCount of transactions found on the wrong shift.Integer
RetailNumberOfWrongShift
NoNone
numberSequenceCodeCode of the number sequence used.String
RetailSequenceCode
NoNone
postedDateDate the statement was posted.Date
RetailPostedDate
NoNone
PostedDateTimeDate and time the statement was posted.UtcDateTime
RetailStatementPostedDateTime
NoNone
postedTimeTime the statement was posted.Time
RetailPostedTime
NoNone
PostingBatchJobIdID of the batch job used for posting.Int64
RefRecId
NoNone
postingDateDate used for posting the statement.Date
TransDate
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
replicationCounterCounter used for data replication.Integer
RetailReplicationCounter
NoNone
salesAmountTotal sales amount on the statement.Real
RetailSalesAmount
NoNone
shiftDateDate of the shift.Date
RetailShiftDate
NoNone
shiftIdID of the shift.String
RetailShiftId
NoNone
skipConfirmationYes/no flag for skipping the confirmation step.Enum
NoYes (enum)
NoNone
staffTerminalOperator or register used to filter the statement.String (25)
RetailStaffOrTerminalFilter
NoNone
statementDateDate of the statement.Date
TransDate
NoNone
statementMethodBasis of the statement: operator ID, POS terminal, total or shift.Enum
RetailStatementMethod
RetailStaffTerminalTotal (enum)
NoNone
StatementTypeType of statement: Complete, Transactional or Financial.Enum
RetailStatementTypeValue
RetailStatementType (enum)
NoNone
storeIdNumber of the store the statement is for.String
RetailStoreId
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
SysRowVersionNumberSystem row version number.low confidenceInt64
SysRowVersionNumber
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
taxAmountTotal tax amount on the statement.Real
RetailTaxAmount
NoNone
totalDiscAmountEnd discount amount for the statement.Real
RetailEndDiscAmount
NoNone
transFromDateStart date of the transactions covered.Date
RetailStartingDate
NoNone
transFromTimeStart time of the transactions covered.Time
RetailStartingTime
NoNone
transToDateEnd date of the transactions covered.Date
RetailEndingDate
NoNone
transToTimeEnd time of the transactions covered.Time
RetailEndingTime
NoNone
UseChannelCashManagementReconciliationYes/no flag for using cash management reconciliation from the point of sale.Enum
RetailEodStatementUseChannelCashManagementReconciliation
NoYes (enum)
NoNone

Indexes (1)

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.

Email sales@drdynamics.co.uk