Table

RetailGrandTotalJournalTable

Period grand total journal

Header record for a period grand total journal in retail. It covers a date range for one store and holds sales and returns totals, running grand totals, status and digital signing details. It can be marked as annual.

Table name
RetailGrandTotalJournalTable
Module
Cross-module and platform
Table group
WorksheetHeader
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (23)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AnnualYes/no flag showing that the journal covers a whole fiscal year.Enum
RetailGrandTotalJournalAnnual
NoYes (enum)
YesNone
CumulativeGrandTotalRunning (perpetual) grand total for the journal.Real
RetailCumulativeGrandTotal
NoNone
CumulativePerpetualGrandTotalRunning (perpetual) grand total, stored as an absolute value.Real
RetailCumulativePerpetualGrandTotal
NoNone
CurrencyCodeCurrency code of the journal, from the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DataToSignText string that was signed for this journal.String (-1)
Notes
NoNone
DataToSignFormatVersionVersion of the format used for the signed data.String (50)
RetailDataToSignFormatVersion
NoNone
DescriptionFree-text description of the journal.String (60)
JournalDescription
NoNone
FromDateFirst date of the period the journal covers.Date
FromDate
YesNone
GrandTotalReturnsTotal amount of returns in the period; currency not stated in the metadata.Real
Amount
NoNone
GrandTotalSalesTotal amount of sales in the period; currency not stated in the metadata.Real
Amount
NoNone
HashAlgorithmName of the hash algorithm used for the signature.String
RetailHashAlgorithm
NoNone
JournalNumIdentifier of the journal.String (20)
RetailGrandTotalJournalId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
SequentialNumberSequence number given to the signed journal.Integer
Counter
NoNone
SignatureDigital signature of the journal.String (-1)
RetailDigitalSignature
NoNone
StatusStatus of the journal: New, Calculated, Closed or Canceled.Enum
RetailGrandTotalJournalStatus (enum)
NoNone
StoreIdNumber of the store the journal belongs to.String
RetailStoreId
YesRetailStoreTable.StoreNumberNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ThumbprintThumbprint of the certificate used to sign the journal.String (-1)
RetailCertificateThumbprint
NoNone
ToDateLast date of the period the journal covers.Date
ToDate
YesNone

Indexes (2)

Relations (2)

Each relation joins RetailGrandTotalJournalTable to another table on the fields shown.

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many RetailGrandTotalJournalTable records → exactly one Currency record

  • RetailStoreTable → RetailStoreTable

    Join on StoreId = RetailStoreTable.StoreNumber

    Many RetailGrandTotalJournalTable records → exactly one RetailStoreTable record

Get this data out

No public entity reads from RetailGrandTotalJournalTable. Its data is only reachable through the application, a custom entity or a database export.

Need help with RetailGrandTotalJournalTable in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk