Table

RetailTransactionTaxTransGTEHistory

Archived GTE tax transactions

Archive of tax details for retail sale lines produced by the generic tax engine (GTE). Each record gives the tax component, basis, rate and amount for a line of a transaction. It has no defined key and no related tables.

Table name
RetailTransactionTaxTransGTEHistory
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRecord ID of the channel the transaction belongs to.Int64
RetailChannelRecId
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
IsIncludedInPriceYes/No flag showing whether the tax is included in the price.Enum
NoYes (enum)
NoNone
OriginNumber of the location where the record originated.String (50)
RetailConnDistributionLocationId
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
replicationCounterFromOriginReplication counter value for the record.Integer
RetailReplicationCounter
NoNone
SaleLineNumLine number of the sale line.Real
LineNum
YesNone
StoreIdNumber of the store where the transaction took place.String
RetailStoreId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountTax amount for the line; currency not stated in the metadata.Real
Amount
NoNone
TaxBasisAmount the tax is calculated on; currency not stated in the metadata.Real
Amount
NoNone
TaxComponentTax component of the tax.String (60)
TaxComponent_IN
YesNone
TaxPercentageTax rate value.Real
TaxValue
NoNone
TerminalIdNumber of the register used for the transaction.String
RetailTerminalId
YesNone
TransactionIdTransaction number.String (44)
RetailTransactionId
YesNone

Indexes (2)

Get this data out

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

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

Email sales@drdynamics.co.uk