Table

RetailGrandTotalJournalTrans

Tax totals

Lines of a period grand total journal, showing tax totals. Each line gives net amount, tax amount, tax code and tax rate. It links to the journal header and to the sales tax codes.

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

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
JournalTablePoints to the period grand total journal this line belongs to.Int64
RetailGrandTotalJourRefRecId
YesRetailGrandTotalJournalTable.RecIdNone
NetAmountNet amount without tax, as it is shown for the line.Real
RetailNetAmount
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountAmount of tax for the line.Real
RetailTaxAmount
NoNone
TaxCodeSales tax code, from the sales tax code table.String
TaxCode
NoTaxTable.TaxCodeNone
TaxRateRate of the tax.Real
TaxValue
NoNone

Indexes (1)

Relations (2)

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

  • RetailGrandTotalJournalTable → RetailGrandTotalJournalTable

    Join on JournalTable = RetailGrandTotalJournalTable.RecId

    Many RetailGrandTotalJournalTrans records → exactly one RetailGrandTotalJournalTable record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many RetailGrandTotalJournalTrans records → exactly one TaxTable record

Get this data out

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

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

Email sales@drdynamics.co.uk