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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRecord ID of the retail channel the entry belongs to.Int64
RefRecId
YesRetailChannelTable.RecIdNone
StoreIdStore the entry relates to. Points to a store record.String
RetailStoreId
YesRetailStoreTable.StoreNumberNone
TerminalIdPOS register the entry relates to. Points to a register record.String
RetailTerminalId
YesRetailTerminalTable.terminalIdNone
DateTimeDate and time of the entry, stored in UTC.UtcDateTime
FiscalDocumentDateTime_BR
NoNone
ContingencyModeType of contingency mode, for example off, SCAN, SVC-AN, SVC-RS or offline NFC-e.Enum
EFDocContingMode_BR (enum)
NoNone
ContingencyReasonFree text giving the reason for the contingency.String (255)
EFDocContingencyReason_BR
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DateTimeOffsetTime offset linked to the contingency mode time.Int64
EFDocContingencyOffset_BR
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
ReplicationCounterFromOriginCounter used when replicating this record between locations.Integer
RetailReplicationCounter
NoNone
StaffID of the operator linked to the entry.String (25)
RetailStaffId
YesNone
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

Indexes (1)

Relations (3)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailEFDocContingencyMode records → exactly one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on StoreId = RetailStoreTable.StoreNumber

    One or more RetailEFDocContingencyMode records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

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

Email sales@drdynamics.co.uk