Data entity
RetailTransactionMarkupTransEntity
Holds charges (markups) recorded on retail transactions, one row per charge on a sales line. Each row is identified by operating unit, store, register, transaction number, sales line number and charge line number. It carries charge code, value, tax amounts and tax group details, including India-specific fields such as HSN and service accounting codes. It joins to the retail channel, operating unit and store tables.
- Entity name
RetailTransactionMarkupTransEntity- Public entity name
TransactionMarkupTrans- OData collection
TransactionMarkupTrans- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OMOperatingUnit_PartyNumber, store, terminalId, transactionId, saleLineNum, markupLineNum- Staging table
RetailTransactionMarkupTransStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TransactionMarkupTrans- Dataverse virtual table
mserp_retailtransactionmarkuptransentity. 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· rootRetailChannelTable· OuterJoin toRetailTransactionMarkupTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailOnlineChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTable
Fields (35)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CalculatedAmountCalculated amount of the charge in transaction currency. | RealAmountCur | No | Yes | RetailTransactionMarkupTrans.CalculatedAmount | |
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionMarkupTrans.Channel |
CurrencyCodeCurrency code of the charge. | String (3)CurrencyCode | Yes | Yes | RetailTransactionMarkupTrans.CurrencyCode | |
MarkupCodeCode that identifies the charge. | StringMarkupCode | Yes | Yes | RetailTransactionMarkupTrans.MarkupCode | |
markupLineNumLine number of the charge line. | RealLineNum | No | Yes | RetailTransactionMarkupTrans.markupLineNum | |
MethodCategory of the charge, such as fixed, percent, per piece or external. | EnumMarkupCategoryType
| No | Yes | RetailTransactionMarkupTrans.Method | |
OriginNumber of the location where the record originated. | String (50)RetailConnDistributionLocationId | No | Yes | RetailTransactionMarkupTrans.Origin | |
replicationCounterFromOriginCounter used to track replication of the record from where it was created. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionMarkupTrans.replicationCounterFromOrigin | |
saleLineNumLine number of the sales line that the charge applies to. | RealRetailTransactionSalesLineNum | No | Yes | RetailTransactionMarkupTrans.saleLineNum | |
storeNumber of the store where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionMarkupTrans.store |
TaxAmountSales tax amount on the charge, in transaction currency. | RealTaxAmountCur | No | Yes | RetailTransactionMarkupTrans.TaxAmount | |
TaxAmountExclusiveTax amount for the exclusive case. The label reads 'Inclusive tax amount', so the name and label disagree.low confidence | RealTaxAmountCur | No | Yes | RetailTransactionMarkupTrans.TaxAmountExclusive | |
TaxAmountInclusiveTax amount for the inclusive case. The label reads 'Exclusive tax amount', so the name and label disagree.low confidence | RealTaxAmountCur | No | Yes | RetailTransactionMarkupTrans.TaxAmountInclusive | |
TaxGroupSales tax group used for the charge. | StringTaxGroup | No | Yes | RetailTransactionMarkupTrans.TaxGroup | |
TaxItemGroupItem sales tax group used for the charge. | StringTaxItemGroup | No | Yes | RetailTransactionMarkupTrans.TaxItemGroup | |
terminalIdNumber of the POS register that handled the transaction. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionMarkupTrans.terminalId |
transactionIdNumber of the retail transaction that the charge belongs to. | String (44)RetailTransactionId | Yes | Yes | RetailTransactionTable.transactionId | RetailTransactionMarkupTrans.transactionId |
ValueValue of the charge, for example an amount or a percentage depending on the category. | RealMarkupValue | No | Yes | RetailTransactionMarkupTrans.Value | |
Exempt_INYes/No flag showing whether the charge is tax exempt, used for India. | EnumTaxExemptTax
| No | Yes | RetailTransactionMarkupTrans.Exempt_IN | |
HSNCode_INHarmonized system code for goods, used for India. | StringHSNCode_IN | No | Yes | RetailTransactionMarkupTrans.HSNCode_IN | |
ServiceAccountingCode_INService accounting code, used for India. | StringSAC_IN | No | Yes | RetailTransactionMarkupTrans.ServiceAccountingCode_IN | |
ITCCategory_INInput tax credit category, such as input, capital goods or others, used for India. | Enum
| No | Yes | RetailTransactionMarkupTrans.ITCCategory_IN | |
ServiceCategory_INService category, such as inward, inter-unit or input, or others, used for India. | Enum
| No | Yes | RetailTransactionMarkupTrans.ServiceCategory_IN | |
ModuleTypeArea the charge belongs to: inventory, customer, vendor or delivery. | EnumMarkupModule
| No | Yes | RetailTransactionMarkupTrans.ModuleType | |
KeepYes/No flag for whether the charge is kept. | EnumMarkupKeep
| No | Yes | RetailTransactionMarkupTrans.Keep | |
MarkupAutoTableRecIdSystem record ID of the automatic charge that created this line. | Int64RetailMarkupAutoRecId | No | No (private) | RetailTransactionMarkupTrans.MarkupAutoTableRecId | |
DescriptionFree text describing the charge. | String (512)TransactionTextLarge | No | Yes | RetailTransactionMarkupTrans.Description | |
NonGST_INYes/No flag showing whether the charge is outside GST, used for India. | EnumNonGST_IN
| No | Yes | RetailTransactionMarkupTrans.NonGST_IN | |
TaxRateTypeName of the tax rate type, pointing to the tax rate type record. | String (60)TaxRateTypeName | No | Yes | TaxRateType.Name | RetailTransactionMarkupTrans.TaxRateType |
MarkupAutoLineRecIdSystem record ID of the automatic charge line that created this line. | Int64RetailMarkupAutoLineRecId | No | No (private) | RetailTransactionMarkupTrans.MarkupAutoLineRecId | |
IsOverriddenLineYes/No flag showing whether a user changed the charge manually. | EnumRetailIsOverriddenCharge
| No | Yes | RetailTransactionMarkupTrans.IsOverriddenLine | |
TaxExemptPriceInclusiveOriginalPriceLine price before tax exemption, for prices that include tax. | RealRetailTaxExemptOriginalPrice | No | Yes | RetailTransactionMarkupTrans.TaxExemptPriceInclusiveOriginalPrice | |
TaxExemptPriceInclusiveReductionAmountTax amount that was exempted, for prices that include tax. | RealRetailTaxExemptReductionAmount | No | Yes | RetailTransactionMarkupTrans.TaxExemptPriceInclusiveReductionAmount | |
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 (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 RetailTransactionMarkupTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
store→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionMarkupTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
terminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionMarkupTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
transactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
transactionId=RetailTransactionTable.transactionId,terminalId=RetailTransactionTable.terminal,store=RetailTransactionTable.store,Channel=RetailTransactionTable.ChannelMany RetailTransactionMarkupTrans records → exactly one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
TaxRateType→TaxRateType.Name(key of TaxRateType)Many RetailTransactionMarkupTrans records → zero or one TaxRateType record
TaxRateType details: see EcoResReleasedProductV2Entity, ProjectCategoryEntity, PurchProcurementChargeEntity
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 RetailTransactionMarkupTransEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.