Table
RetailLogFiscalTransaction
Retail log fiscal transactions
Log of fiscal transactions linked to retail log entries. Each row is identified by channel, store, register, log ID, upload type and line number. It stores the fiscal register's response, the date and time, and the origin location.
- Table name
RetailLogFiscalTransaction- Module
Commerce transactions and orders- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
IdIdx- Replacement key
None- Key fields
Channel, Store, Terminal, RetailLogId, UploadType, LineNum- Model
Foundation
Fields (21)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel the record belongs to, linked to a channel record. | Int64RefRecId | Yes | RetailChannelTable.RecId | None |
StoreStore number, linked to a store record. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | None |
TerminalRegister (POS terminal) number, linked to a register record. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | None |
RetailLogIdIdentifier of the related retail log entry. | Int64RetailLogIdentifier | Yes | RetailLog.RetailLogId | None |
UploadTypeHow the record was uploaded: async service, real-time service or back office. | EnumRetailAuditEventUploadType (enum) | No | RetailLog.UploadType | None |
LineNumLine number within the log entry. | RealLineNum | Yes | None | |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
OriginNumber of the location the record came from. | String (50)RetailConnDistributionLocationId | No | None | |
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 | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RegisterResponseResponse text returned by the fiscal register. | String (-1)RetailFiscalRegisterResponse | No | None | |
ReplicationCounterFromOriginCounter used to track replication from the origin location. | IntegerRetailReplicationCounter | No | None | |
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 | |
TransDateDate of the transaction. | DateTransDate | No | None | |
TransTimeTime of the transaction. | TimeRetailTransTime | No | None |
Indexes (2)
IdIdxPrimary indexChannel,Store,Terminal,RetailLogId,UploadType,LineNumUnique, alternate key.
LocationIdxOrigin,replicationCounterFromOriginNot unique.
Relations (4)
Each relation joins RetailLogFiscalTransaction to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailLogFiscalTransaction records → exactly one RetailChannelTable record
RetailLog→RetailLogJoin on
RetailLogId = RetailLog.RetailLogId,Terminal = RetailLog.terminalId,Store = RetailLog.StoreId,Channel = RetailLog.ChannelId,UploadType = RetailLog.UploadTypeZero or one RetailLogFiscalTransaction record → exactly one RetailLog record
RetailStoreTable→RetailStoreTableJoin on
Store = RetailStoreTable.StoreNumberMany RetailLogFiscalTransaction records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
Terminal = RetailTerminalTable.terminalIdMany RetailLogFiscalTransaction records → exactly one RetailTerminalTable record
Get this data out
No public entity reads from RetailLogFiscalTransaction. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailLogFiscalTransaction in a report, an integration or a migration? Talk to Dr Dynamics.