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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRecord ID of the channel the transaction belongs to. | Int64RefRecId | No | None | |
ConnectorFunctionalityProfileIdID of the functional profile used by the fiscal connector. | StringRetailFiscalIntegrationFunctionalityProfileId | No | None | |
ConnectorGroupGroup of the fiscal connector used for the registration. | StringRetailFiscalIntegrationConnectorGroupId | No | None | |
ConnectorNameName of the fiscal connector used for the registration. | String (60)RetailFiscalIntegrationConnectorName | No | None | |
ControlCodeControl code of the fiscal registration. | String (59)RetailFiscalControlCode | No | None | |
CountryRegionIdCountry or region the fiscal registration applies to. | StringRetailFiscalRegistrationCountryRegionId | No | 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 | |
DocumentNumberNumber of the fiscal document issued for the transaction. | String (20)RetailFiscalRegistrationDocumentNumber | No | None | |
LineNumLine number of the record within the transaction. | RealLineNum | Yes | 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 | |
ReceiptCopyYes or No flag showing whether this is a copy of the receipt. | EnumRetailFiscalReceiptCopyNoYes (enum) | 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 | |
RecordGuidUnique GUID that identifies this record. | GuidSysGuid | 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 | |
RegisterIdSerial number of the fiscal control unit. | String (17)RetailFiscalRegisterId | No | None | |
RegisterInfoFree text with information about the fiscal register. | String (255)RetailFiscalIntegrationRegisterInfo | No | None | |
RegisterResponseFull text of the answer sent back by the fiscal register. | String (-1)RetailFiscalRegisterResponse | No | None | |
RegisterStoreNumber of the store linked to the fiscal register. | StringRetailStoreId | No | None | |
RegisterTerminalNumber of the register linked to the fiscal register. | StringRetailTerminalId | No | None | |
RegistrationProcessIdID of the fiscal registration process. | StringRetailFiscalIntegrationRegistrationProcessId | No | None | |
RegistrationStatusStatus of the fiscal registration, such as completed, skipped, postponed or marked as registered. | EnumRetailFiscalIntegrationFiscalTransStatus (enum) | No | None | |
RegistrationTypeKind of fiscal registration, such as sales transaction, non-sales transaction or audit event. | EnumRetailFiscalRegistrationType (enum) | No | None | |
ReplicationCounterFromOriginCounter value used when the record is replicated from its originating location. | IntegerRetailReplicationCounter | No | None | |
ServiceNameName of the fiscal service that handled the registration. | String (60)RetailFiscalRegistrationServiceName | No | None | |
StaffIdID of the operator who handled the transaction. | String (25)RetailStaffId | No | None | |
StoreNumber of the store where the transaction took place. | StringRetailStoreId | Yes | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TerminalNumber of the register used for the transaction. | StringRetailTerminalId | Yes | None | |
TransactionIdNumber of the retail transaction that was registered. | String (44)RetailTransactionId | Yes | None | |
TransDateDate of the transaction. | DateTransDate | No | None | |
TransTimeTime of the transaction. | TimeRetailTransTime | No | None |
Indexes (2)
TransactionLineIdxChannel,Store,Terminal,TransactionId,LineNum,RecordGuid,DataAreaId,PartitionUnique, alternate key.
transactionIdxChannel,Store,Terminal,TransactionId,DataAreaId,PartitionNot unique.
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.