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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel the record belongs to, linked to a channel record.Int64
RefRecId
YesRetailChannelTable.RecIdNone
StoreStore number, linked to a store record.String
RetailStoreId
YesRetailStoreTable.StoreNumberNone
TerminalRegister (POS terminal) number, linked to a register record.String
RetailTerminalId
YesRetailTerminalTable.terminalIdNone
RetailLogIdIdentifier of the related retail log entry.Int64
RetailLogIdentifier
YesRetailLog.RetailLogIdNone
UploadTypeHow the record was uploaded: async service, real-time service or back office.Enum
RetailAuditEventUploadType (enum)
NoRetailLog.UploadTypeNone
LineNumLine number within the log entry.Real
LineNum
YesNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OriginNumber of the location the record came from.String (50)
RetailConnDistributionLocationId
NoNone
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
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RegisterResponseResponse text returned by the fiscal register.String (-1)
RetailFiscalRegisterResponse
NoNone
ReplicationCounterFromOriginCounter used to track replication from the origin location.Integer
RetailReplicationCounter
NoNone
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
TransDateDate of the transaction.Date
TransDate
NoNone
TransTimeTime of the transaction.Time
RetailTransTime
NoNone

Indexes (2)

Relations (4)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailLogFiscalTransaction records → exactly one RetailChannelTable record

  • RetailLog → RetailLog

    Join on RetailLogId = RetailLog.RetailLogId, Terminal = RetailLog.terminalId, Store = RetailLog.StoreId, Channel = RetailLog.ChannelId, UploadType = RetailLog.UploadType

    Zero or one RetailLogFiscalTransaction record → exactly one RetailLog record

  • RetailStoreTable → RetailStoreTable

    Join on Store = RetailStoreTable.StoreNumber

    Many RetailLogFiscalTransaction records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on Terminal = RetailTerminalTable.terminalId

    Many 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.

Email sales@drdynamics.co.uk