Table
RetailEFDocContingencyMode
Contingency Log
Log of contingency mode events for electronic fiscal documents, used for Brazil. Each record is keyed by channel, store, terminal and date and time. It stores the mode, the reason and the operator.
- Table name
RetailEFDocContingencyMode- Module
Commerce- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
Retail- Primary index
RetailEFDocContingencyModeIdx- Replacement key
RetailEFDocContingencyModeIdx- Key fields
Channel, StoreId, TerminalId, DateTime- Model
Foundation
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRecord ID of the retail channel the entry belongs to. | Int64RefRecId | Yes | RetailChannelTable.RecId | None |
StoreIdStore the entry relates to. Points to a store record. | StringRetailStoreId | Yes | RetailStoreTable.StoreNumber | None |
TerminalIdPOS register the entry relates to. Points to a register record. | StringRetailTerminalId | Yes | RetailTerminalTable.terminalId | None |
DateTimeDate and time of the entry, stored in UTC. | UtcDateTimeFiscalDocumentDateTime_BR | No | None | |
ContingencyModeType of contingency mode, for example off, SCAN, SVC-AN, SVC-RS or offline NFC-e. | EnumEFDocContingMode_BR (enum) | No | None | |
ContingencyReasonFree text giving the reason for the contingency. | String (255)EFDocContingencyReason_BR | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DateTimeOffsetTime offset linked to the contingency mode time. | Int64EFDocContingencyOffset_BR | 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 | |
ReplicationCounterFromOriginCounter used when replicating this record between locations. | IntegerRetailReplicationCounter | No | None | |
StaffID of the operator linked to the entry. | String (25)RetailStaffId | Yes | 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 |
Indexes (1)
RetailEFDocContingencyModeIdxPrimary indexReplacement keyChannel,StoreId,TerminalId,DateTimeUnique, alternate key.
Relations (3)
Each relation joins RetailEFDocContingencyMode to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailEFDocContingencyMode records → exactly one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
StoreId = RetailStoreTable.StoreNumberOne or more RetailEFDocContingencyMode records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
TerminalId = RetailTerminalTable.terminalIdOne or more RetailEFDocContingencyMode records → exactly one RetailTerminalTable record
Get this data out
No public entity reads from RetailEFDocContingencyMode. Its data is only reachable through the application, a custom entity or a database export.
Need help with RetailEFDocContingencyMode in a report, an integration or a migration? Talk to Dr Dynamics.