Data entity
RetailTransactionAuditableChargeLineEntity
Holds the charge lines of retail transactions. Each record has a charges code, a charge value, tax amounts, sales tax groups and a link to a sales line. The key covers operating unit, store, register, transaction, sales line and line number.
- Entity name
RetailTransactionAuditableChargeLineEntity- Public entity name
RetailTransactionAuditableChargeLine- OData collection
RetailTransactionAuditableChargeLines- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
OperatingUnitNumber, StoreNumber, RegisterNumber, TransactionId, SalesLineNumber, LineNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionAuditableChargeLines- Dataverse virtual table
mserp_retailtransactionauditablechargelineentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
RetailTransactionMarkupTrans· rootRetailChannelTable· OuterJoin toRetailTransactionMarkupTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailStoreTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailTransactionAuditableEntity· InnerJoin toRetailTransactionMarkupTrans· read-only
Fields (27)
| 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 |
CurrencyCurrency code of the charge. | String (3)CurrencyCode | Yes | Yes | RetailTransactionMarkupTrans.CurrencyCode | |
ChargesCodeCode that identifies the charge. | StringMarkupCode | Yes | Yes | RetailTransactionMarkupTrans.MarkupCode | |
LineNumberLine number of the charge line. | RealLineNum | No | Yes | RetailTransactionMarkupTrans.markupLineNum | |
CategoryTypeCategory of the charge, such as fixed, percent, per piece or external. | EnumMarkupCategoryType
| No | Yes | RetailTransactionMarkupTrans.Method | |
SalesLineNumberLine number of the sales line that the charge applies to. | RealRetailTransactionSalesLineNum | No | Yes | RetailTransactionMarkupTrans.saleLineNum | |
StoreNumberNumber of the store where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionMarkupTrans.store |
SalesTaxAmountSales tax amount on the charge, in transaction currency. | RealTaxAmountCur | No | Yes | RetailTransactionMarkupTrans.TaxAmount | |
InclusiveTaxAmountTax amount for the exclusive case. The label reads 'Inclusive tax amount', so the name and label disagree.low confidence | RealTaxAmountCur | No | Yes | RetailTransactionMarkupTrans.TaxAmountExclusive | |
ExclusiveTaxAmountTax amount for the inclusive case. The label reads 'Exclusive tax amount', so the name and label disagree.low confidence | RealTaxAmountCur | No | Yes | RetailTransactionMarkupTrans.TaxAmountInclusive | |
SalesTaxGroupSales tax group used for the charge. | StringTaxGroup | No | Yes | RetailTransactionMarkupTrans.TaxGroup | |
ItemSalesTaxGroupItem sales tax group used for the charge. | StringTaxItemGroup | No | Yes | RetailTransactionMarkupTrans.TaxItemGroup | |
RegisterNumberNumber 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 |
ChargesValueValue of the charge, for example an amount or a percentage depending on the category. | RealMarkupValue | No | Yes | RetailTransactionMarkupTrans.Value | |
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 | |
OperatingUnitRecIdOperating 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 | |
HeaderStoreNumberStore where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionTable.store |
HeaderStatementNumberStatement number the transaction is included in. | String (20)RetailStatementId | No | Yes | RetailStatementTable.statementId | RetailTransactionTable.statementId |
HeaderTransactionTypeKind of transaction, such as sales, payment, logon, logoff or tender declaration. | Enum
| No | Yes | RetailTransactionTable.type | |
HeaderValidationStatusResult of validating the transaction, such as pending, in progress, error or successful. | Enum
| No | Yes | RetailTransactionTable.ValidationStatus | |
HeaderAsynchronousOrderStatusCurrent status of the pending order, for example failed, succeeded, pending synchronization or editing. | Enum
| No | Yes | RetailTransactionOrderStatus.Status | |
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 |
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 RetailTransactionMarkupTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
StoreNumber→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionMarkupTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
RegisterNumber→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,RegisterNumber=RetailTransactionTable.terminal,StoreNumber=RetailTransactionTable.store,Channel=RetailTransactionTable.ChannelMany RetailTransactionMarkupTrans records → exactly one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
OperatingUnitRecId→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
HeaderStoreNumber→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionTable records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
HeaderStatementNumber→RetailStatementTable.statementId(key of RetailStatementTable)Many RetailTransactionTable records → exactly one RetailStatementTable record
RetailStatementTable details: see RetailEodStatementAggregationEntity
Need help with RetailTransactionAuditableChargeLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.