Data entity
RetailTransactionGTEChargeTaxLineEntity
Holds GTE tax component lines for charges (markups) on Commerce transactions. Each record is identified by operating unit, register, transaction, sales line, markup line and tax component. It stores the tax amount, amount, value and whether tax is included in the price.
- Entity name
RetailTransactionGTEChargeTaxLineEntity- Public entity name
TransactionGTEChargeTaxLine- OData collection
TransactionGTEChargeTaxLines- Category
Transaction- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OperatingUnitNumber, TerminalId, TransactionId, SaleLineNum, MarkupLineNum, TaxComponent- Staging table
RetailTransactionGTEChargeTaxLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TransactionGTEChargeTaxLines- Dataverse virtual table
mserp_retailtransactiongtechargetaxlineentity. 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-onlyRetailDirectSalesChannel· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTable
Fields (12)
| 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 |
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 | |
RetailChannelTableOMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OperatingUnitNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | Yes | Yes | OMOperatingUnit.OMOperatingUnitNumber |
Foreign keys (6)
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
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(table field, not in this entity) =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(table field, not in this entity) =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(table field, not in this entity) =RetailTransactionSalesTrans.store,TerminalId=RetailTransactionSalesTrans.terminalId,TransactionId=RetailTransactionSalesTrans.transactionIdCardinality not set in the metadata.
RetailTransactionSalesTrans details: see RetailTransactionSalesLineEntity, RetailTransactionSalesLineV2Entity, RetailTransactionSalesTransBIEntity
RetailChannelTableOMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailTransactionGTEChargeTaxLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.