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

Fields (27)

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
CurrencyCurrency code of the charge.String (3)
CurrencyCode
YesYesRetailTransactionMarkupTrans.CurrencyCode
ChargesCodeCode that identifies the charge.String
MarkupCode
YesYesRetailTransactionMarkupTrans.MarkupCode
LineNumberLine number of the charge line.Real
LineNum
NoYesRetailTransactionMarkupTrans.markupLineNum
CategoryTypeCategory 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
StoreNumberNumber of the store where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionMarkupTrans.store
SalesTaxAmountSales tax amount on the charge, in transaction currency.Real
TaxAmountCur
NoYesRetailTransactionMarkupTrans.TaxAmount
InclusiveTaxAmountTax amount for the exclusive case. The label reads 'Inclusive tax amount', so the name and label disagree.low confidenceReal
TaxAmountCur
NoYesRetailTransactionMarkupTrans.TaxAmountExclusive
ExclusiveTaxAmountTax 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
ItemSalesTaxGroupItem sales tax group used for the charge.String
TaxItemGroup
NoYesRetailTransactionMarkupTrans.TaxItemGroup
RegisterNumberNumber of the POS register that handled the transaction.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionMarkupTrans.terminalId
TransactionIdNumber of the retail transaction that the charge belongs to.String (44)
RetailTransactionId
YesYesRetailTransactionTable.transactionIdRetailTransactionMarkupTrans.transactionId
ChargesValueValue of the charge, for example an amount or a percentage depending on the category.Real
MarkupValue
NoYesRetailTransactionMarkupTrans.Value
ModuleTypeArea the charge belongs to: inventory, customer, vendor or delivery.Enum
MarkupModule
MarkupModuleType
  • Invent 0
  • Cust 1
  • Vend 2
  • Delivery 3
NoYesRetailTransactionMarkupTrans.ModuleType
KeepYes/No flag for whether the charge is kept.Enum
MarkupKeep
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionMarkupTrans.Keep
OperatingUnitRecIdOperating 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
HeaderStoreNumberStore where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionTable.store
HeaderStatementNumberStatement number the transaction is included in.String (20)
RetailStatementId
NoYesRetailStatementTable.statementIdRetailTransactionTable.statementId
HeaderTransactionTypeKind of transaction, such as sales, payment, logon, logoff or tender declaration.Enum
RetailTransactionType
  • Logoff 0
  • Logon 1
  • Sales 2
  • Payment 3
  • RemoveTender 4
  • FloatEntry 5
  • ChangeTender 6
  • TenderDeclaration 7
  • Voided 8
  • OpenDrawer 9
  • NegativeAdjustment 10
  • PhysicalInventory 11
  • EndOfDay 12
  • EndOfShift 13
  • SalesOrder 14
  • SalesInvoice 15
  • BankDrop 16
  • SafeDrop 17
  • IncomeExpense 18
  • CustomerOrder 19
  • StartingAmount 20
  • SuspendShift 21
  • BlindCloseShift 22
  • CloseShift 23
  • PrintX 24
  • PrintZ 25
  • PendingSalesOrder 27
  • ManagerAuthorize 26
  • KitDisassembly 28
  • ResetPassword 29
  • ChangePassword 30
  • AsyncCustomerQuote 31
  • AsyncCustomerOrder 33
  • ForceDeleteShift 34
  • GiftCardInquiry 35
  • SuspendedTransaction 36
  • AsyncOrderCancellation 37
NoYesRetailTransactionTable.type
HeaderValidationStatusResult of validating the transaction, such as pending, in progress, error or successful.Enum
RetailTransactionValidationStatus
  • None 0
  • Pending 20
  • InProgress 40
  • Failed 60
  • Ok 80
NoYesRetailTransactionTable.ValidationStatus
HeaderAsynchronousOrderStatusCurrent status of the pending order, for example failed, succeeded, pending synchronization or editing.Enum
RetailTransactionOrderStatusType
  • None 0
  • Failed 1
  • Succeeded 2
  • PendingSynchronization 3
  • Editing 4
NoYesRetailTransactionOrderStatus.Status
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

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.

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

Email sales@drdynamics.co.uk