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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AnnualYes/no flag showing that the journal covers a whole fiscal year. | EnumRetailGrandTotalJournalAnnualNoYes (enum) | Yes | None | |
CumulativeGrandTotalRunning (perpetual) grand total for the journal. | RealRetailCumulativeGrandTotal | No | None | |
CumulativePerpetualGrandTotalRunning (perpetual) grand total, stored as an absolute value. | RealRetailCumulativePerpetualGrandTotal | No | None | |
CurrencyCodeCurrency code of the journal, from the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DataToSignText string that was signed for this journal. | String (-1)Notes | No | None | |
DataToSignFormatVersionVersion of the format used for the signed data. | String (50)RetailDataToSignFormatVersion | No | None | |
DescriptionFree-text description of the journal. | String (60)JournalDescription | No | None | |
FromDateFirst date of the period the journal covers. | DateFromDate | Yes | None | |
GrandTotalReturnsTotal amount of returns in the period; currency not stated in the metadata. | RealAmount | No | None | |
GrandTotalSalesTotal amount of sales in the period; currency not stated in the metadata. | RealAmount | No | None | |
HashAlgorithmName of the hash algorithm used for the signature. | StringRetailHashAlgorithm | No | None | |
JournalNumIdentifier of the journal. | String (20)RetailGrandTotalJournalId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
SequentialNumberSequence number given to the signed journal. | IntegerCounter | No | None | |
SignatureDigital signature of the journal. | String (-1)RetailDigitalSignature | No | None | |
StatusStatus of the journal: New, Calculated, Closed or Canceled. | EnumRetailGrandTotalJournalStatus (enum) | No | None | |
StoreIdNumber of the store the journal belongs to. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ThumbprintThumbprint of the certificate used to sign the journal. | String (-1)RetailCertificateThumbprint | No | None | |
ToDateLast date of the period the journal covers. | DateToDate | Yes | None |
Indexes (2)
Relations (2)
Each relation joins RetailGrandTotalJournalTable to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany RetailGrandTotalJournalTable records → exactly one Currency record
RetailStoreTable→RetailStoreTableJoin on
StoreId = RetailStoreTable.StoreNumberMany 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.