Table

RetailTransactionFiscalCustomer

Retail fiscal customer

Holds the fiscal customer data linked to a retail transaction. There is one row per transaction, identified by channel, store, register and transaction number. The customer data is stored as one block of text.

Table name
RetailTransactionFiscalCustomer
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
RetailTransactionTableIdx
Replacement key
RetailTransactionTableIdx
Key fields
Channel, Store, Terminal, TransactionId
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RefRecId
NoRetailChannelTable.RecIdRetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
StoreNumber of the store where the transaction took place.String
RetailStoreId
YesRetailStoreTable.StoreNumberRetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
TerminalNumber of the POS register that handled the transaction.String
RetailTerminalId
YesRetailTerminalTable.terminalIdRetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
TransactionIdNumber of the retail transaction that the fiscal customer is linked to.String (44)
RetailTransactionId
YesRetailTransactionTable.transactionIdRetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoRetailTransactionFiscalCustomerBIEntity
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntityRetailTransactionFiscalCustomerCDREntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoRetailTransactionFiscalCustomerBIEntity
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicationCounterFromOriginCounter used to track replication of the record from where it was created.Integer
RetailReplicationCounter
NoRetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
SerializedDataLong text with the fiscal customer details for the transaction.String (-1)
RetailFiscalCustomerData
NoRetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (4)

Each relation joins RetailTransactionFiscalCustomer to another table on the fields shown.

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailTransactionFiscalCustomer records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many RetailTransactionFiscalCustomer records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

    Join on TransactionId = RetailTransactionTable.transactionId, Store = RetailTransactionTable.store, Terminal = RetailTransactionTable.terminal, Channel = RetailTransactionTable.Channel

    Zero or one RetailTransactionFiscalCustomer record → exactly one RetailTransactionTable record

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionFiscalCustomer records → exactly one RetailChannelTable record

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionFiscalCustomer; use one of them in Power BI, Power Platform or a data management project.

Need help with RetailTransactionFiscalCustomer in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk