Table
RetailTransactionChargeTaxTransGTE
Commerce charge GTE tax transactions
Holds tax lines for charges on a retail transaction, split by tax component. Each row is identified by channel, store, register, transaction number, sales line, charge line and tax component. It links to the charge line, the sales line and the transaction header. The tax component field suggests it is used for India.
- Table name
RetailTransactionChargeTaxTransGTE- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
ChargeTaxTransIdx- Replacement key
ChargeTaxTransIdx- Key fields
Channel, StoreId, TerminalId, TransactionId, SaleLineNum, MarkupLineNum, TaxComponent- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RetailChannelRecId | No | RetailChannelTable.RecId | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity |
StoreIdNumber of the store where the transaction took place. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | RetailTransactionChargeTaxTransGTEEntityRetailTransactionChargeTaxTransGTEBIEntity |
TerminalIdNumber of the POS register that handled the transaction. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity |
TransactionIdNumber that identifies the retail transaction. It links to the charge line, the sales line and the transaction header. | String (44)RetailTransactionId | Yes | RetailTransactionMarkupTrans.transactionIdRetailTransactionSalesTrans.transactionIdRetailTransactionTable.transactionId | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity |
SaleLineNumLine number of the sales line that the charge is attached to. | RealRetailTransactionSalesLineNum | No | RetailTransactionMarkupTrans.saleLineNumRetailTransactionSalesTrans.lineNum | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity |
MarkupLineNumLine number of the charge line that this tax row belongs to. | RealRetailTransactionMarkupLineNum | No | RetailTransactionMarkupTrans.markupLineNum | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity |
TaxComponentName of the tax component, such as a part of a tax used for India. | String (60)TaxComponent_IN | Yes | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionChargeTaxTransGTEBIEntity | |
IsIncludedInPriceYes/No flag showing whether the tax is already included in the price. | EnumRetailIsTaxIncludedInPriceNoYes (enum) | No | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity | |
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 | RetailTransactionChargeTaxTransGTEBIEntity | |
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 to track replication of the record from where it was created. | IntegerRetailReplicationCounter | No | RetailTransactionChargeTaxTransGTEEntityRetailTransactionChargeTaxTransGTEBIEntity | |
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 | |
TaxAmountAmount of tax for this tax component; the currency is not stated in the metadata. | RealRetailTaxAmount | No | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity | |
TaxBasisAmount that the tax is based on; the currency is not stated in the metadata. | RealAmount | No | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity | |
TaxPercentageTax rate value applied for this tax component. | RealTaxValue | No | RetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity |
Indexes (2)
ChargeTaxTransIdxPrimary indexReplacement keyChannel,StoreId,TerminalId,TransactionId,SaleLineNum,MarkupLineNum,TaxComponentUnique, alternate key.
LocationIdxNot unique.
Relations (6)
Each relation joins RetailTransactionChargeTaxTransGTE to another table on the fields shown.
RetailTransactionMarkupTrans→RetailTransactionMarkupTransJoin on
Channel = RetailTransactionMarkupTrans.Channel,StoreId = RetailTransactionMarkupTrans.store,TerminalId = RetailTransactionMarkupTrans.terminalId,TransactionId = RetailTransactionMarkupTrans.transactionId,SaleLineNum = RetailTransactionMarkupTrans.saleLineNum,MarkupLineNum = RetailTransactionMarkupTrans.markupLineNumCardinality not set in the metadata.
RetailTransactionTable→RetailTransactionTableJoin on
Channel = RetailTransactionTable.Channel,StoreId = RetailTransactionTable.store,TerminalId = RetailTransactionTable.terminal,TransactionId = RetailTransactionTable.transactionIdCardinality not set in the metadata.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionChargeTaxTransGTE records → zero or one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
StoreId = RetailStoreTable.StoreNumberMany RetailTransactionChargeTaxTransGTE records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
TerminalId = RetailTerminalTable.terminalIdMany RetailTransactionChargeTaxTransGTE records → exactly one RetailTerminalTable record
RetailTransactionSalesTrans→RetailTransactionSalesTransJoin on
Channel = RetailTransactionSalesTrans.Channel,StoreId = RetailTransactionSalesTrans.store,TerminalId = RetailTransactionSalesTrans.terminalId,TransactionId = RetailTransactionSalesTrans.transactionId,SaleLineNum = RetailTransactionSalesTrans.lineNumCardinality not set in the metadata.
Get this data out
Tables are not exposed directly. These public entities read from RetailTransactionChargeTaxTransGTE; use one of them in Power BI, Power Platform or a data management project.
RetailTransactionChargeTaxTransGTEEntity· 12 fields from this tableRetailTransactionGTEChargeTaxLineEntity· 10 fields from this tableRetailTransactionChargeTaxTransGTEBIEntity· 14 fields from this table
Need help with RetailTransactionChargeTaxTransGTE in a report, an integration or a migration? Talk to Dr Dynamics.