Table
RetailTransactionTaxTransGTE
GTE tax transaction
Holds tax amounts by tax component for each retail transaction line, for the generic tax engine. The key is channel, store, register, transaction, line number and tax component. It links to the transaction, channel, store and register.
- Table name
RetailTransactionTaxTransGTE- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
TaxTransIdx- Replacement key
None- Key fields
Channel, StoreId, TerminalId, TransactionId, SaleLineNum, TaxComponent- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel the record belongs to. | Int64RetailChannelRecId | No | RetailChannelTable.RecId | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity |
StoreIdStore where the transaction took place. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | RetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity |
TerminalIdRegister where the transaction took place. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity |
TransactionIdTransaction that the tax row belongs to. | String (44)RetailTransactionId | Yes | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
SaleLineNumLine number of the sale line. | RealLineNum | Yes | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
TaxComponentName of the tax component. | String (60)TaxComponent_IN | Yes | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionTaxTransGTEBIEntity | |
IsIncludedInPriceShows whether the tax is included in the price. | EnumNoYes (enum) | No | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
OriginLocation number that the record came from. | String (50)RetailConnDistributionLocationId | No | RetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
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 | RetailTransactionTaxTransGTEBIEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterFromOriginCounter used for replication from the origin location. | IntegerRetailReplicationCounter | No | RetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountTax amount for the component. The currency is not stated in the metadata. | RealAmount | No | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
TaxBasisAmount the tax is based on. The currency is not stated in the metadata. | RealAmount | No | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity | |
TaxPercentageTax rate value. | RealTaxValue | No | RetailTransactionGTETaxLineEntityRetailTransactionTaxTransGTEEntityRetailTransactionTaxTransGTEBIEntity |
Indexes (2)
TaxTransIdxPrimary indexChannel,StoreId,TerminalId,TransactionId,SaleLineNum,TaxComponentUnique, alternate key.
LocationIdxOrigin,replicationCounterFromOriginNot unique.
Relations (4)
Each relation joins RetailTransactionTaxTransGTE to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionTaxTransGTE records → zero or one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
StoreId = RetailStoreTable.StoreNumberMany RetailTransactionTaxTransGTE records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
TerminalId = RetailTerminalTable.terminalIdMany RetailTransactionTaxTransGTE records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
TerminalId = RetailTransactionTable.terminal,StoreId = RetailTransactionTable.store,TransactionId = RetailTransactionTable.transactionIdMany RetailTransactionTaxTransGTE records → exactly one RetailTransactionTable record
Get this data out
Tables are not exposed directly. These public entities read from RetailTransactionTaxTransGTE; use one of them in Power BI, Power Platform or a data management project.
RetailTransactionGTETaxLineEntity· 9 fields from this tableRetailTransactionTaxTransGTEEntity· 12 fields from this tableRetailTransactionTaxTransGTEBIEntity· 14 fields from this table
Need help with RetailTransactionTaxTransGTE in a report, an integration or a migration? Talk to Dr Dynamics.