Data entity

RetailTransactionTableCDREntity

Read-only entity with retail transaction headers, joined to a companion table (RetailTransactionTableCDR). It is keyed by a single source key. It repeats the transaction header fields such as amounts, customer, discounts and fiscal data, and adds a JSON field for default dimension values.

Entity name
RetailTransactionTableCDREntity
Public entity name
RetailTransactionTableCDREntity
OData collection
RetailTransactionTableCDREntities
Category
Transaction
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
Retail
Keys
SourceKey
Staging table
None

Use it in Power BI and Power Platform

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

  • RetailTransactionTable · root
  • RetailTransactionTableCDR · InnerJoin to RetailTransactionTable

Fields (133)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
terminalRegister (POS terminal) where the transaction was recorded.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionTable.terminal
amountToAccountAmount of the transaction that is put on the customer's account.Real
RetailAmountToAccount
NoYesRetailTransactionTable.amountToAccount
BatchIDShift identifier that the transaction belongs to. It points to a shift record together with the shift register and store.Int64
RetailPosBatchID
NoYesRetailPosBatchTable.BatchIDRetailTransactionTable.BatchID
BatchTerminalIdRegister on which the shift was opened.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionTable.BatchTerminalId
businessDateBusiness date of the transaction.Date
RetailBusinessDate
NoYesRetailTransactionTable.businessDate
ChannelRetail channel the transaction belongs to, as a system record ID.Int64
RefRecId
NoYesRetailChannelTable.RecIdRetailTransactionTable.Channel
ChannelReferenceIdIdentifier of the order or transaction in the channel it came from.String (50)
RetailOrderChannelReferenceId
NoYesRetailTransactionTable.ChannelReferenceId
commentFree-text comment on the transaction.String (60)
RetailCommentEx5
NoYesRetailTransactionTable.comment
costAmountCost amount of the transaction.Real
RetailCostAmount
NoYesRetailTransactionTable.costAmount
counterCounter value stored with the transaction. Its exact use is not stated in the metadata.low confidenceInteger
RetailCounter
NoYesRetailTransactionTable.counter
CreatedOfflineShows whether the transaction was created while the register was offline.Enum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.CreatedOffline
createdOnPosTerminalRegister where the transaction was created.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailTransactionTable.createdOnPosTerminal
currencyCurrency code of the transaction.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodeRetailTransactionTable.currency
custAccountCustomer account linked to the transaction.String (38)
RetailAsyncCustAccount
NoYesCustTable.AccountNumRetailTransactionTable.custAccount
custDiscAmountDiscount amount given to the customer.Real
RetailCustDiscAmount
NoYesRetailTransactionTable.custDiscAmount
CustPurchaseOrderCustomer's own purchase order or requisition reference.String (20)
CustPurchaseOrder
NoYesRetailTransactionTable.CustPurchaseOrder
DefaultDimensionSet of financial dimension values assigned to the transaction.Int64
LedgerDefaultDimensionValueSet
NoYesDimensionAttributeValueSet.RecIdRetailTransactionTable.DefaultDimension
DescriptionShort text describing the transaction.String (150)
RetailTransactionTableDescription
NoYesRetailTransactionTable.Description
discAmountDiscount amount of the transaction.Real
RetailDiscAmount
NoYesRetailTransactionTable.discAmount
discAmountWithoutTaxDiscount amount, not including tax.Real
DiscAmountWithoutTax
NoYesRetailTransactionTable.discAmountWithoutTax
DlvModeMode of delivery chosen for the transaction.String
CustDlvModeId
NoYesRetailTransactionTable.DlvMode
entryStatusStatus of the transaction, for example voided, posted, concluded or on hold.Enum
RetailTransEntryStatus
RetailEntryStatus
  • None 0
  • Voided 1
  • Posted 2
  • Concluded 3
  • Cancelled 4
  • OnHold 5
  • Training 6
  • PendingInvoice 7
  • CreatingOrder 8
NoYesRetailTransactionTable.entryStatus
exchRateExchange rate stored with the transaction.Real
ExchRate
NoYesRetailTransactionTable.exchRate
FiscalDocumentIdIdentifier of the fiscal document linked to the transaction.String (80)
RetailFiscalDocumentId
NoYesRetailTransactionTable.FiscalDocumentId
FiscalSerialIdSerial identifier of the fiscal document or device.String (80)
RetailFiscalSerialId
NoYesRetailTransactionTable.FiscalSerialId
grossAmountGross amount of the transaction.Real
RetailGrossAmount
NoYesRetailTransactionTable.grossAmount
includedInStatisticsFlag showing whether the transaction counts in statistics. It has no label.low confidenceEnum
RetailIncludedInStatistics
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.includedInStatistics
incomeExpenseAmountAmount of income or expense entries in the transaction.Real
RetailIncomeExpenseAmount
NoYesRetailTransactionTable.incomeExpenseAmount
infocodeDiscGroupReason code discount group applied to the transaction.String
RetailInfocodeDiscGroup
NoYesRetailTransactionTable.infocodeDiscGroup
InventLocationIdWarehouse linked to the transaction.String
SalesInventLocationId
NoYesRetailTransactionTable.InventLocationId
InventSiteIdInventory site linked to the transaction.String
InventSiteId
NoYesRetailTransactionTable.InventSiteId
InvoiceCommentComment text kept for the invoice.low confidenceString (60)
RetailCommentEx5
NoYesRetailTransactionTable.InvoiceComment
invoiceIdInvoice number linked to the transaction.String (50)
InvoiceId
NoYesRetailTransactionTable.invoiceId
itemsPostedShows whether the products on the transaction have been posted.Enum
RetailItemsPosted
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.itemsPosted
LogisticsPostalAddressPostal address record linked to the transaction.Int64
LogisticsPostalAddressRecId
NoYesLogisticsPostalAddress.RecIdRetailTransactionTable.LogisticsPostalAddress
loyaltyCardIdNumber of the loyalty card used on the transaction.String (30)
RetailLoyaltyCardNumber
NoYesRetailLoyaltyCard.CardNumberRetailTransactionTable.loyaltyCardId
LoyaltyDiscAmount_RUDiscount given through loyalty points. Used for Russia.Real
RetailLoyaltyDiscAmount_RU
NoYesRetailTransactionTable.LoyaltyDiscAmount_RU
netAmountNet amount excluding tax. Whether tax is already removed depends on the pricing mode.Real
RetailNetAmount
NoYesRetailTransactionTable.netAmount
netPriceNet price on the transaction.Real
RetailNetPrice
NoYesRetailTransactionTable.netPrice
numberOfInvoicesCount of invoices on the transaction.Integer
RetailNumberOfInvoices
NoYesRetailTransactionTable.numberOfInvoices
numberOfItemLinesCount of product lines on the transaction.Real
RetailNumberOfItemLines
NoYesRetailTransactionTable.numberOfItemLines
numberOfItemsTotal quantity of products on the transaction.Real
RetailNumberOfItems
NoYesRetailTransactionTable.numberOfItems
numberOfPaymentLinesCount of payment lines on the transaction.Integer
RetailNumberOfPaymentLines
NoYesRetailTransactionTable.numberOfPaymentLines
openDrawerFlag for opening the cash drawer.Enum
RetailOpenDrawer
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.openDrawer
OriginLocation number that the record came from.String (50)
RetailConnDistributionLocationId
NoYesRetailTransactionTable.Origin
paymentAmountTotal amount paid on the transaction.Real
RetailPaymentAmount
NoYesRetailTransactionTable.paymentAmount
postAsShipmentShows whether the transaction is posted as a shipment.Enum
RetailPostAsShipment
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.postAsShipment
ReceiptDateRequestedReceipt date requested by the customer.Date
SalesReceiptDateRequested
NoYesRetailTransactionTable.ReceiptDateRequested
receiptEmailEmail address to which the receipt is sent.String (80)
RetailReceiptEmail
NoYesRetailTransactionTable.receiptEmail
receiptEmailSentShows whether the receipt email has been sent.Enum
RetailReceiptEmailSent
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.receiptEmailSent
receiptIdReceipt number of the transaction.String (18)
RetailReceiptId
NoYesRetailTransactionTable.receiptId
refundReceiptIdReceipt number of the receipt used for a refund.low confidenceString (18)
RetailReceiptId
NoYesRetailTransactionTable.refundReceiptId
replicatedShows whether the record has been replicated.Enum
RetailReplicated
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.replicated
replicationCounterFromOriginCounter used for replication from the origin location.Integer
RetailReplicationCounter
NoYesRetailTransactionTable.replicationCounterFromOrigin
retrievedFromReceiptIdReceipt number from which the transaction was retrieved.String (18)
RetailReceiptId
NoYesRetailTransactionTable.retrievedFromReceiptId
roundedAmountRounding amount on the transaction.Real
RetailRoundedAmount
NoYesRetailTransactionTable.roundedAmount
saleIsReturnSaleMarks a transaction as a return made against a receipt.Enum
RetailSaleIsReturnSale
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.saleIsReturnSale
salesInvoiceAmountAmount on the sales invoice.Real
RetailSalesInvoiceAmount
NoYesRetailTransactionTable.salesInvoiceAmount
salesOrderAmountAmount on the sales order.Real
RetailSalesOrderAmount
NoYesRetailTransactionTable.salesOrderAmount
salesOrderIdSales order linked to the transaction.String (20)
SalesId
NoYesSalesTable.SalesIdRetailTransactionTable.salesOrderId
salesPaymentDifferenceDifference between the sales amount and the payment amount.Real
RetailSalesPaymentDifference
NoYesRetailTransactionTable.salesPaymentDifference
sellToContactIdLoyalty customer identifier for the sell-to party.low confidenceString
RetailSellToContactId
NoYesRetailTransactionTable.sellToContactId
shiftShift identifier text for the transaction.String
RetailShiftId
NoYesRetailTransactionTable.shift
shiftDateDate of the shift the transaction belongs to.Date
RetailShiftDate
NoYesRetailTransactionTable.shiftDate
ShippingDateRequestedShip date requested by the customer.Date
SalesShippingDateRequested
NoYesRetailTransactionTable.ShippingDateRequested
SkipAggregationFlag to leave the transaction out of aggregation. It has no label.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.SkipAggregation
staffOperator who handled the transaction.String (25)
RetailStaffId
NoYesRetailTransactionTable.staff
statementCodeCode of the statement the transaction is in.String (25)
RetailStatementCode
NoYesRetailTransactionTable.statementCode
statementIdStatement number the transaction is included in.String (20)
RetailStatementId
NoYesRetailStatementTable.statementIdRetailTransactionTable.statementId
storeStore where the transaction took place.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailTransactionTable.store
timeWhenTotalPressedTime when the total was requested at the register.Time
RetailTimeWhenTotalPressed
NoYesRetailTransactionTable.timeWhenTotalPressed
timeWhenTransClosedTime when the transaction was closed.Time
RetailTimeWhenTransClosed
NoYesRetailTransactionTable.timeWhenTransClosed
toAccountShows whether the transaction is put on a customer account.Enum
RetailToAccount
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.toAccount
totalDiscAmountTotal discount amount of the transaction.Real
RetailTotalDiscAmount
NoYesRetailTransactionTable.totalDiscAmount
TotalManualDiscountAmountSum of discounts entered manually.Real
RetailTotalManualDiscountAmount
NoYesRetailTransactionTable.TotalManualDiscountAmount
TotalManualDiscountPercentageManual discount expressed as a percentage.Real
RetailTotalManualDiscountPercentage
NoYesRetailTransactionTable.TotalManualDiscountPercentage
transactionIdTransaction number. It identifies the transaction within its store and register.String (44)
RetailTransactionId
YesYesRetailTransactionTable.transactionId
transCodeCode that flags an issue with the transaction, such as a blocked customer or a sales and payment difference.Enum
RetailTransCode
RetailTransactionCode
  • None 0
  • BlockedCustomer 1
  • SalesPaymentDifference 2
NoYesRetailTransactionTable.transCode
transDateDate of the transaction.Date
TransDate
NoYesRetailTransactionTable.transDate
transTableIdTable number stored with the transaction. Its exact use is not stated.low confidenceInteger
RetailTableId
NoYesRetailTransactionTable.transTableId
transTimeTime of the transaction.Time
RetailTransTime
NoYesRetailTransactionTable.transTime
typeKind 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
wrongShiftFlag showing the transaction was recorded in the wrong shift.Enum
RetailWrongShift
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.wrongShift
CustAccountAsyncCustomer account in the asynchronous customer scenario.low confidenceString (38)
RetailAsyncCustAccount
NoYesRetailTransactionTable.CustAccountAsync
SourceIdSource code of the transaction.String (20)
MCRSourceIdForm
NoYesRetailTransactionTable.SourceId
PriceOverrideFlag for a price override. It has no label.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.PriceOverride
FTCExemptShows whether the transaction is exempt from automatic notification and cancellation.Enum
MCRFTCExempt
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.FTCExempt
CatalogUpSellShownFlag showing whether a catalogue up-sell was shown. It has no label.low confidenceEnum
NoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.CatalogUpSellShown
ContinuityOrderShows whether this is a continuity order.Enum
MCRContinuityOrder
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.ContinuityOrder
ContinuityChildShows whether this is a continuity child order.Enum
MCRContinuityChildOrder
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.ContinuityChild
ContinuityLineEvalPayment choice for a continuity line, such as pay all now or pay all later.Enum
MCRContinuityLineEval
  • Blank 0
  • PayAllNow 1
  • PayAllLater 2
  • PayPartNowPartSched 3
  • Paid 4
NoYesRetailTransactionTable.ContinuityLineEval
InstallmentOrderSubmittedFlag showing whether an instalment order was submitted. It has no label.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.InstallmentOrderSubmitted
OutOfBalanceReleaseTypeHow an out of balance amount was released, such as bill, write off or refund.Enum
MCROutOfBalanceReleaseType
  • None 0
  • Bill 1
  • WriteOff 2
  • Refund 3
  • Verified 4
NoYesRetailTransactionTable.OutOfBalanceReleaseType
PaymOutOfBalanceTypeShows whether the payment is over or under the amount due.Enum
MCRPaymOutOfBalance
  • None 0
  • Overpaid 1
  • Underpaid 2
NoYesRetailTransactionTable.PaymOutOfBalanceType
InstallmentBillingPromptShows whether the customer was asked about instalment billing.Enum
MCRPromptedForInstBillingOption
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.InstallmentBillingPrompt
AllocationPriorityPriority of the order, from high to low on a 1 to 10 scale.Enum
MCRSOAllocPriority
  • AllocationPriority1 9
  • AllocationPriority2 8
  • AllocationPriority3 7
  • AllocationPriority4 6
  • AllocationPriority5 5
  • AllocationPriority6 4
  • AllocationPriority7 3
  • AllocationPriority8 2
  • AllocationPriority9 1
  • AllocationPriority10 0
NoYesRetailTransactionTable.AllocationPriority
SalesGroupCommission sales group assigned to the transaction.String
CommissSalesGroup
NoYesCommissionSalesGroup.GroupIdRetailTransactionTable.SalesGroup
TaxCalculationTypeTax calculation method: regular or generic tax engine.Enum
TaxCalculationType
  • Regular 0
  • GTE 1
NoYesRetailTransactionTable.TaxCalculationType
ValidationStatusResult 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
ValidationDateTimeDate and time of the last validation.UtcDateTimeNoYesRetailTransactionTable.ValidationDateTime
SaleOnAccountShows whether the transaction is an on-account sale.Enum
RetailTransactionSaleOnAccount
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.SaleOnAccount
IsTaxIncludedInPriceShows whether prices include tax.Enum
RetailIsTaxIncludedInPrice
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.IsTaxIncludedInPrice
SuspendedTransactionIdNumber of the transaction that the original one was suspended to.String (44)
RetailTransactionId
NoYesRetailTransactionTable.SuspendedTransactionId
GiftCardActiveFromDate and time from which a gift card is active.UtcDateTime
RetailGiftCardActiveFrom
NoYesRetailTransactionTable.GiftCardActiveFrom
GiftCardExpireDateExpiry date of a gift card.Date
RetailGiftCardExpireDate
NoYesRetailTransactionTable.GiftCardExpireDate
GiftCardIssueAmountAmount a gift card was issued with, in accounting currency.Real
AmountMST
NoYesRetailTransactionTable.GiftCardIssueAmount
GiftCardBalanceBalance of a gift card, in accounting currency.Real
AmountMST
NoYesRetailTransactionTable.GiftCardBalance
GiftCardHistoryDetailsLong text with the history of a gift card.String (-1)
RetailGiftCardHistoryDetails
NoYesRetailTransactionTable.GiftCardHistoryDetails
GiftCardIdMaskedGift card number with part of it hidden.String (30)
RetailGiftCardIdMasked
NoYesRetailTransactionTable.GiftCardIdMasked
InvoiceRecIdCustomer invoice journal record linked to the transaction.Int64
RefRecId
NoYesCustInvoiceJour.RecIdRetailTransactionTable.InvoiceRecId
RetailTransactionAggregationFieldListLink to a record in the aggregation field list.Int64
RefRecId
NoYesRetailTransactionAggregationFieldList.RecIdRetailTransactionTable.RetailTransactionAggregationFieldList
TransactionOrderTypeOrder type of the transaction: sales order or quote.Enum
RetailTransactionOrderType
RetailTransactionOrderTypes
  • SalesOrder 0
  • Quote 1
NoYesRetailTransactionTable.TransactionOrderType
BeginDateTimeDate and time when the transaction began.UtcDateTimeNoYesRetailTransactionTable.BeginDateTime
DefaultDimensionStampedShows whether the financial dimensions were already stamped on the transaction.Enum
RetailTransactionDefaultDimensionStamped
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.DefaultDimensionStamped
IsTaxExemptedForPriceInclusiveShows whether tax was exempted where prices include tax.Enum
RetailIsTaxExemptedForPriceInclusive
NoYes

Platform enum: values not in the metadata extract.

NoYesRetailTransactionTable.IsTaxExemptedForPriceInclusive
InternalTransactionIdInternal GUID of the transaction, used only for logging.Guid
RetailInternalTransactionId
NoYesRetailTransactionTable.InternalTransactionId
CustomerNameName of the customer.String (160)
DirPartyName
NoYesRetailTransactionTable.CustomerName
LanguageIdLanguage code of the customer.String (7)
CustLanguageId
NoYesRetailTransactionTable.LanguageId
IsDepositOverriddenShows whether the deposit was overridden: unknown, no or yes. It has no label.low confidenceEnum
UnknownNoYes
  • Unknown 0
  • No 1
  • Yes 2
NoYesRetailTransactionTable.IsDepositOverridden
EditAuditDateTimeDate and time when the transaction was edited.UtcDateTimeNoYesRetailTransactionTable.EditAuditDateTime
QuotationExpiryDateDate on which a quotation expires.Date
QuotationExpiryDate
NoYesRetailTransactionTable.QuotationExpiryDate
CreatedOnThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesRetailTransactionTable.CreatedDateTime
DefaultDimensionValuesJsonText in JSON format that appears to hold the default dimension values for the transaction.StringNoYescomputed
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesRetailTransactionTable.RecId
SysDataAreaIdThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesRetailTransactionTable.DataAreaId
SysModifiedDateTimeThe date and time when the record was last changed.UtcDateTime
ModifiedDateTime
NoYesRetailTransactionTable.ModifiedDateTime
SysCreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesRetailTransactionTable.CreatedDateTime
CDRDataAreaIdCompany (legal entity) of the record.String
DataAreaId
NoYesRetailTransactionTableCDR.CDRDataAreaId
CountryLawReferenceTwo-character reference to the country law that applies.String (2)
CDRCountryLawReference
NoYesRetailTransactionTableCDR.CountryLawReference
RetentionStartDateDate the retention period starts.Date
CDRRetentionStartDate
NoYesRetailTransactionTableCDR.RetentionStartDate
RetentionEndDateDate the retention period ends.Date
CDRRetentionEndDate
NoYesRetailTransactionTableCDR.RetentionEndDate
ContactPersonIdContact person linked to the transaction.String (20)
ContactPersonId
NoYesContactPerson.ContactPersonIdRetailTransactionTable.ContactPersonId
ExpediteExpedite code or flag for the order.low confidenceString
MCRExpedite
NoYesRetailTransactionTable.Expedite

Foreign keys (17)

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

Email sales@drdynamics.co.uk