Data entity

RetailTransactionMarkupLineEntity

Holds the charges (markups) recorded on retail transactions, with one row per charge line. The key combines operating unit, register, transaction number and line number, plus the sales line number. It includes tax amounts, tax groups and a flag for manual overwrite. It also carries tax classification fields used for India, such as HSN codes and service accounting codes.

Entity name
RetailTransactionMarkupLineEntity
Public entity name
RetailTransactionMarkupLine
OData collection
RetailTransactionMarkupLines
Category
Not set
Module
Transactions and orders
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
SalesLineNumber, TransactionNumber, Terminal, LineNumber, OperatingUnitNumber
Staging table
RetailTransactionMarkupLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/RetailTransactionMarkupLines
Dataverse virtual table
mserp_retailtransactionmarkuplineentity. 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

  • RetailTransactionMarkupTrans · root
  • RetailChannelTable · OuterJoin to RetailTransactionMarkupTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable

Fields (32)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CalculatedAmountCalculated amount of the charge in transaction currency.Real
AmountCur
NoYesRetailTransactionMarkupTrans.CalculatedAmount
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailTransactionMarkupTrans.Channel
CurrencyCodeCurrency code of the charge.String (3)
CurrencyCode
YesYesRetailTransactionMarkupTrans.CurrencyCode
MarkupCodeCode that identifies the charge.String
MarkupCode
YesYesRetailTransactionMarkupTrans.MarkupCode
LineNumberLine number of the charge line.Real
LineNum
NoYesRetailTransactionMarkupTrans.markupLineNum
MarkupCategoryTypeCategory of the charge, such as fixed, percent, per piece or external.Enum
MarkupCategoryType
MarkupCategory
  • Fixed 0
  • Pcs 1
  • Percent 2
  • InterCompanyPercent 3
  • External 4
  • Proportional 5
  • UnitSpecific 6
  • UnitSpecificMatch 7
NoYesRetailTransactionMarkupTrans.Method
SalesLineNumberLine number of the sales line that the charge applies to.Real
RetailTransactionSalesLineNum
NoYesRetailTransactionMarkupTrans.saleLineNum
TaxAmountSales tax amount on the charge, in transaction currency.Real
TaxAmountCur
NoYesRetailTransactionMarkupTrans.TaxAmount
TaxAmountExclusiveTax amount for the exclusive case. The label reads 'Inclusive tax amount', so the name and label disagree.low confidenceReal
TaxAmountCur
NoYesRetailTransactionMarkupTrans.TaxAmountExclusive
TaxAmountInclusiveTax amount for the inclusive case. The label reads 'Exclusive tax amount', so the name and label disagree.low confidenceReal
TaxAmountCur
NoYesRetailTransactionMarkupTrans.TaxAmountInclusive
SalesTaxGroupSales tax group used for the charge.String
TaxGroup
NoYesRetailTransactionMarkupTrans.TaxGroup
ItemTaxGroupItem sales tax group used for the charge.String
TaxItemGroup
NoYesRetailTransactionMarkupTrans.TaxItemGroup
TerminalNumber of the POS register that handled the transaction.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionMarkupTrans.terminalId
TransactionNumberNumber of the retail transaction that the charge belongs to.String (44)
RetailTransactionId
YesYesRetailTransactionTable.transactionIdRetailTransactionMarkupTrans.transactionId
MarkupValueValue of the charge, for example an amount or a percentage depending on the category.Real
MarkupValue
NoYesRetailTransactionMarkupTrans.Value
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
ModuleTypeArea the charge belongs to: inventory, customer, vendor or delivery.Enum
MarkupModule
MarkupModuleType
  • Invent 0
  • Cust 1
  • Vend 2
  • Delivery 3
NoYesRetailTransactionMarkupTrans.ModuleType
StoreNumber of the store where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionMarkupTrans.store
KeepYes/No flag for whether the charge is kept.Enum
MarkupKeep
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionMarkupTrans.Keep
MarkupAutoTableRecIdSystem record ID of the automatic charge that created this line.Int64
RetailMarkupAutoRecId
NoYesRetailTransactionMarkupTrans.MarkupAutoTableRecId
NonGSTYes/No flag showing whether the charge is outside GST, used for India.Enum
NonGST_IN
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionMarkupTrans.NonGST_IN
ExemptYes/No flag showing whether the charge is tax exempt, used for India.Enum
TaxExemptTax
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionMarkupTrans.Exempt_IN
HSNCodeHarmonized system code for goods, used for India.String
HSNCode_IN
NoYesRetailTransactionMarkupTrans.HSNCode_IN
ServiceAccountingCodeService accounting code, used for India.String
SAC_IN
NoYesRetailTransactionMarkupTrans.ServiceAccountingCode_IN
ServiceCategoryService category, such as inward, inter-unit or input, or others, used for India.Enum
ServiceCategory_IN
  • Inward 0
  • InterUnit 1
  • Others 2
NoYesRetailTransactionMarkupTrans.ServiceCategory_IN
ITCCategoryInput tax credit category, such as input, capital goods or others, used for India.Enum
ITCCategory_IN
  • Input 0
  • CapitalGoods 1
  • Others 2
NoYesRetailTransactionMarkupTrans.ITCCategory_IN
TaxRateTypeName of the tax rate type, pointing to the tax rate type record.String (60)
TaxRateTypeName
NoYesTaxRateType.NameRetailTransactionMarkupTrans.TaxRateType
IsOverriddenLineYes/No flag showing whether a user changed the charge manually.Enum
RetailIsOverriddenCharge
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionMarkupTrans.IsOverriddenLine
TaxExemptPriceInclusiveOriginalPriceLine price before tax exemption, for prices that include tax.Real
RetailTaxExemptOriginalPrice
NoYesRetailTransactionMarkupTrans.TaxExemptPriceInclusiveOriginalPrice
TaxExemptPriceInclusiveReductionAmountTax amount that was exempted, for prices that include tax.Real
RetailTaxExemptReductionAmount
NoYesRetailTransactionMarkupTrans.TaxExemptPriceInclusiveReductionAmount
DescriptionFree text describing the charge.String (512)
TransactionTextLarge
NoYesRetailTransactionMarkupTrans.Description

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.

Need help with RetailTransactionMarkupLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk