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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel the transaction belongs to, pointing to the channel record. | Int64RefRecId | No | RetailChannelTable.RecId | RetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity |
StoreNumber of the store where the transaction took place. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | RetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity |
TerminalNumber of the POS register that handled the transaction. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | RetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity |
TransactionIdNumber of the retail transaction that the fiscal customer is linked to. | String (44)RetailTransactionId | Yes | RetailTransactionTable.transactionId | RetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | RetailTransactionFiscalCustomerBIEntity | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | RetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntityRetailTransactionFiscalCustomerCDREntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | RetailTransactionFiscalCustomerBIEntity | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | RetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | RetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ReplicationCounterFromOriginCounter used to track replication of the record from where it was created. | IntegerRetailReplicationCounter | No | RetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity | |
SerializedDataLong text with the fiscal customer details for the transaction. | String (-1)RetailFiscalCustomerData | No | RetailTransactionFiscalCustomerEntityRetailTransactionFiscalCustomerBIEntityRetailTransactionFiscalCustomerCDREntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
RetailTransactionTableIdxPrimary indexReplacement keyChannel,Store,Terminal,TransactionIdUnique, alternate key.
Relations (4)
Each relation joins RetailTransactionFiscalCustomer to another table on the fields shown.
RetailStoreTable→RetailStoreTableJoin on
Store = RetailStoreTable.StoreNumberMany RetailTransactionFiscalCustomer records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
Terminal = RetailTerminalTable.terminalIdMany RetailTransactionFiscalCustomer records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
TransactionId = RetailTransactionTable.transactionId,Store = RetailTransactionTable.store,Terminal = RetailTransactionTable.terminal,Channel = RetailTransactionTable.ChannelZero or one RetailTransactionFiscalCustomer record → exactly one RetailTransactionTable record
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany 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.
RetailTransactionFiscalCustomerEntity· 6 fields from this tableRetailTransactionFiscalCustomerBIEntity· 12 fields from this tableRetailTransactionFiscalCustomerCDREntity· 11 fields from this table
Need help with RetailTransactionFiscalCustomer in a report, an integration or a migration? Talk to Dr Dynamics.