Table

RetailTransactionFiscalTransHistory

Archived fiscal transactions

Archived fiscal registration records for retail transactions. Each record holds the response from the fiscal register or service, the registration status and type, and the connector used. It also shows where and when the transaction took place.

Table name
RetailTransactionFiscalTransHistory
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRecord ID of the channel the transaction belongs to.Int64
RefRecId
NoNone
ConnectorFunctionalityProfileIdID of the functional profile used by the fiscal connector.String
RetailFiscalIntegrationFunctionalityProfileId
NoNone
ConnectorGroupGroup of the fiscal connector used for the registration.String
RetailFiscalIntegrationConnectorGroupId
NoNone
ConnectorNameName of the fiscal connector used for the registration.String (60)
RetailFiscalIntegrationConnectorName
NoNone
ControlCodeControl code of the fiscal registration.String (59)
RetailFiscalControlCode
NoNone
CountryRegionIdCountry or region the fiscal registration applies to.String
RetailFiscalRegistrationCountryRegionId
NoNone
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
DocumentNumberNumber of the fiscal document issued for the transaction.String (20)
RetailFiscalRegistrationDocumentNumber
NoNone
LineNumLine number of the record within the transaction.Real
LineNum
YesNone
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
ReceiptCopyYes or No flag showing whether this is a copy of the receipt.Enum
RetailFiscalReceiptCopy
NoYes (enum)
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
RecordGuidUnique GUID that identifies this record.Guid
SysGuid
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RegisterIdSerial number of the fiscal control unit.String (17)
RetailFiscalRegisterId
NoNone
RegisterInfoFree text with information about the fiscal register.String (255)
RetailFiscalIntegrationRegisterInfo
NoNone
RegisterResponseFull text of the answer sent back by the fiscal register.String (-1)
RetailFiscalRegisterResponse
NoNone
RegisterStoreNumber of the store linked to the fiscal register.String
RetailStoreId
NoNone
RegisterTerminalNumber of the register linked to the fiscal register.String
RetailTerminalId
NoNone
RegistrationProcessIdID of the fiscal registration process.String
RetailFiscalIntegrationRegistrationProcessId
NoNone
RegistrationStatusStatus of the fiscal registration, such as completed, skipped, postponed or marked as registered.Enum
RetailFiscalIntegrationFiscalTransStatus (enum)
NoNone
RegistrationTypeKind of fiscal registration, such as sales transaction, non-sales transaction or audit event.Enum
RetailFiscalRegistrationType (enum)
NoNone
ReplicationCounterFromOriginCounter value used when the record is replicated from its originating location.Integer
RetailReplicationCounter
NoNone
ServiceNameName of the fiscal service that handled the registration.String (60)
RetailFiscalRegistrationServiceName
NoNone
StaffIdID of the operator who handled the transaction.String (25)
RetailStaffId
NoNone
StoreNumber of the store where the transaction took place.String
RetailStoreId
YesNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TerminalNumber of the register used for the transaction.String
RetailTerminalId
YesNone
TransactionIdNumber of the retail transaction that was registered.String (44)
RetailTransactionId
YesNone
TransDateDate of the transaction.Date
TransDate
NoNone
TransTimeTime of the transaction.Time
RetailTransTime
NoNone

Indexes (2)

Get this data out

No public entity reads from RetailTransactionFiscalTransHistory. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk