Data entity

RetailTransactionAuditableTaxLineEntity

Holds the tax lines of retail transactions. Each record has a sales tax code, an amount, a value, and flags for inclusive and exempt tax. It links to a sales line. The key covers operating unit, register, store, transaction, sales line and tax code.

Entity name
RetailTransactionAuditableTaxLineEntity
Public entity name
RetailTransactionAuditableTaxLine
OData collection
RetailTransactionAuditableTaxLines
Category
Transaction
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
No
Configuration key
Retail
Keys
OperatingUnitNumber, RegisterNumber, StoreNumber, TransactionId, SalesLineNumber, TaxCode
Staging table
None

Use it in Power BI and Power Platform

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

  • RetailTransactionTaxTrans · root
  • RetailChannelTable · OuterJoin to RetailTransactionTaxTrans · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailTransactionAuditableEntity · InnerJoin to RetailTransactionTaxTrans · read-only

Fields (17)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountTax amount for the sales line.Real
Amount
NoYesRetailTransactionTaxTrans.Amount
ChannelPoints to the retail channel.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailTransactionTaxTrans.Channel
IsIncludedInPriceYes/no flag showing whether the tax is included in the price.Enum
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTaxTrans.IsIncludedInPrice
SalesLineNumberLine number of the sales transaction.Real
RetailTransactionSalesLineNum
YesYesRetailTransactionTaxTrans.SaleLineNum
StoreNumberNumber of the store.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionTaxTrans.StoreId
TaxCodeSales tax code applied.String
TaxCode
YesYesTaxTable.TaxCodeRetailTransactionTaxTrans.TaxCode
RegisterNumberNumber of the register.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionTaxTrans.TerminalId
TransactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesYesRetailTransactionTable.transactionIdRetailTransactionTaxTrans.TransactionId
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
TaxPercentageTax rate value.Real
TaxValue
NoYesRetailTransactionTaxTrans.TaxPercentage
IsExemptYes/no flag showing whether the line is tax exempt.Enum
TaxExemptTax
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTaxTrans.IsExempt

Foreign keys (8)

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 RetailTransactionAuditableTaxLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk