Data entity
RetailTransactionChargeTaxTransGTEEntity
Holds GTE tax records for charges (markups) on retail transaction lines, one per tax component. Fields include tax amount, amount, value and whether tax is included in the price. The key includes the operating unit party number, transaction, sales line, markup line and tax component. It links to the retail channel and store.
- Entity name
RetailTransactionChargeTaxTransGTEEntity- Public entity name
TransactionChargeTaxTransGTE- OData collection
TransactionChargeTaxTransGTEs- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OMOperatingUnit_PartyNumber, StoreId, TerminalId, TransactionId, SaleLineNum, MarkupLineNum, TaxComponent- Staging table
RetailTransactionChargeTaxTransGTEStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TransactionChargeTaxTransGTEs- Dataverse virtual table
mserp_retailtransactionchargetaxtransgteentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailTransactionChargeTaxTransGTE· rootRetailChannelTable· OuterJoin toRetailTransactionChargeTaxTransGTE· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTable
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RetailChannelRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionChargeTaxTransGTE.Channel |
StoreIdNumber of the store where the transaction took place. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailTransactionChargeTaxTransGTE.StoreId |
TerminalIdNumber of the POS register that handled the transaction. | StringRetailTerminalId | Yes | Yes | RetailTerminalTable.terminalId | RetailTransactionChargeTaxTransGTE.TerminalId |
TransactionIdNumber that identifies the retail transaction. It links to the charge line, the sales line and the transaction header. | String (44)RetailTransactionId | Yes | Yes | RetailTransactionTable.transactionId | RetailTransactionChargeTaxTransGTE.TransactionId |
MarkupLineNumLine number of the charge line that this tax row belongs to. | RealRetailTransactionMarkupLineNum | No | Yes | RetailTransactionMarkupTrans.markupLineNum | RetailTransactionChargeTaxTransGTE.MarkupLineNum |
SaleLineNumLine number of the sales line that the charge is attached to. | RealRetailTransactionSalesLineNum | No | Yes | RetailTransactionSalesTrans.lineNum | RetailTransactionChargeTaxTransGTE.SaleLineNum |
TaxAmountAmount of tax for this tax component; the currency is not stated in the metadata. | RealRetailTaxAmount | No | Yes | RetailTransactionChargeTaxTransGTE.TaxAmount | |
TaxBasisAmount that the tax is based on; the currency is not stated in the metadata. | RealAmount | No | Yes | RetailTransactionChargeTaxTransGTE.TaxBasis | |
TaxPercentageTax rate value applied for this tax component. | RealTaxValue | No | Yes | RetailTransactionChargeTaxTransGTE.TaxPercentage | |
TaxComponentName of the tax component, such as a part of a tax used for India. | String (60)TaxComponent_IN | Yes | Yes | RetailTransactionChargeTaxTransGTE.TaxComponent | |
IsIncludedInPriceYes/No flag showing whether the tax is already included in the price. | EnumRetailIsTaxIncludedInPrice
| No | Yes | RetailTransactionChargeTaxTransGTE.IsIncludedInPrice | |
ReplicationCounterFromOriginCounter used to track replication of the record from where it was created. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionChargeTaxTransGTE.ReplicationCounterFromOrigin | |
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber |
Foreign keys (7)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailTransactionChargeTaxTransGTE records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
StoreId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionChargeTaxTransGTE records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionChargeTaxTransGTE records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
TransactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
TransactionId=RetailTransactionTable.transactionId,Channel=RetailTransactionTable.Channel,StoreId=RetailTransactionTable.store,TerminalId=RetailTransactionTable.terminalCardinality not set in the metadata.
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
MarkupLineNum→RetailTransactionMarkupTrans.markupLineNum(key of RetailTransactionMarkupTrans)Join on all of:
MarkupLineNum=RetailTransactionMarkupTrans.markupLineNum,Channel=RetailTransactionMarkupTrans.Channel,StoreId=RetailTransactionMarkupTrans.store,TerminalId=RetailTransactionMarkupTrans.terminalId,TransactionId=RetailTransactionMarkupTrans.transactionId,SaleLineNum=RetailTransactionMarkupTrans.saleLineNumCardinality not set in the metadata.
RetailTransactionMarkupTrans details: see RetailTransactionMarkupTransEntity, RetailTransactionMarkupLineEntity, RetailTransactionMarkupTransBIEntity
SaleLineNum→RetailTransactionSalesTrans.lineNum(key of RetailTransactionSalesTrans)Join on all of:
SaleLineNum=RetailTransactionSalesTrans.lineNum,Channel=RetailTransactionSalesTrans.Channel,StoreId=RetailTransactionSalesTrans.store,TerminalId=RetailTransactionSalesTrans.terminalId,TransactionId=RetailTransactionSalesTrans.transactionIdCardinality not set in the metadata.
RetailTransactionSalesTrans details: see RetailTransactionSalesLineEntity, RetailTransactionSalesLineV2Entity, RetailTransactionSalesTransBIEntity
RetailChannelTable_OMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailTransactionChargeTaxTransGTEEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.