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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRecord ID of the channel the transaction belongs to. | Int64RetailChannelRecId | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
IsIncludedInPriceYes/No flag showing whether the tax is included in the price. | EnumNoYes (enum) | No | None | |
OriginNumber of the location where the record originated. | String (50)RetailConnDistributionLocationId | No | 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 | |
replicationCounterFromOriginReplication counter value for the record. | IntegerRetailReplicationCounter | No | None | |
SaleLineNumLine number of the sale line. | RealLineNum | Yes | None | |
StoreIdNumber of the store where the transaction took place. | StringRetailStoreId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountTax amount for the line; currency not stated in the metadata. | RealAmount | No | None | |
TaxBasisAmount the tax is calculated on; currency not stated in the metadata. | RealAmount | No | None | |
TaxComponentTax component of the tax. | String (60)TaxComponent_IN | Yes | None | |
TaxPercentageTax rate value. | RealTaxValue | No | None | |
TerminalIdNumber of the register used for the transaction. | StringRetailTerminalId | Yes | None | |
TransactionIdTransaction number. | String (44)RetailTransactionId | Yes | None |
Indexes (2)
TaxTransIdxChannel,StoreId,TerminalId,TransactionId,SaleLineNum,TaxComponent,DataAreaId,PartitionUnique, alternate key.
transactionIdxChannel,StoreId,TerminalId,TransactionId,DataAreaId,PartitionNot unique.
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.