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 · root
  • RetailChannelTable · OuterJoin to RetailTransactionChargeTaxTransGTE · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RetailChannelRecId
NoNo (private)RetailChannelTable.RecIdRetailTransactionChargeTaxTransGTE.Channel
TerminalIdNumber of the POS register that handled the transaction.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailTransactionChargeTaxTransGTE.TerminalId
TransactionIdNumber that identifies the retail transaction. It links to the charge line, the sales line and the transaction header.String (44)
RetailTransactionId
YesYesRetailTransactionTable.transactionIdRetailTransactionChargeTaxTransGTE.TransactionId
MarkupLineNumLine number of the charge line that this tax row belongs to.Real
RetailTransactionMarkupLineNum
NoYesRetailTransactionMarkupTrans.markupLineNumRetailTransactionChargeTaxTransGTE.MarkupLineNum
SaleLineNumLine number of the sales line that the charge is attached to.Real
RetailTransactionSalesLineNum
NoYesRetailTransactionSalesTrans.lineNumRetailTransactionChargeTaxTransGTE.SaleLineNum
TaxAmountAmount of tax for this tax component; the currency is not stated in the metadata.Real
RetailTaxAmount
NoYesRetailTransactionChargeTaxTransGTE.TaxAmount
TaxBasisAmount that the tax is based on; the currency is not stated in the metadata.Real
Amount
NoYesRetailTransactionChargeTaxTransGTE.TaxBasis
TaxPercentageTax rate value applied for this tax component.Real
TaxValue
NoYesRetailTransactionChargeTaxTransGTE.TaxPercentage
TaxComponentName of the tax component, such as a part of a tax used for India.String (60)
TaxComponent_IN
YesYesRetailTransactionChargeTaxTransGTE.TaxComponent
IsIncludedInPriceYes/No flag showing whether the tax is already included in the price.Enum
RetailIsTaxIncludedInPrice
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionChargeTaxTransGTE.IsIncludedInPrice
RetailChannelTableOMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OperatingUnitNumberThe number that identifies the operating unit.String (30)
OMOperatingUnitNumber
YesYesOMOperatingUnit.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.terminal

    Cardinality 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.saleLineNum

    Cardinality 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.transactionId

    Cardinality 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.

Email sales@drdynamics.co.uk