Table

EventCompanyRule

Alerts - companies with rules

Lists the companies where a user has alert rules. Each row is a pair of company and user ID. It is part of the alert framework.

Table name
EventCompanyRule
Module
System administration
Table group
Framework
Table type
Regular
Data per company
No
Configuration key
Event
Primary index
IdIdx
Replacement key
None
Key fields
CompanyId, UserId
Model
ApplicationFoundation

Fields (6)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CompanyIdCompany that the user has alert rules in. Points to a company record.String
CompanyId
NoNone
UserIdUser ID that owns the alert rules.String
UserId
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (1)

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

  • DataArea → DataArea

    Join on CompanyId = DataArea.id, DataArea.isVirtual = null

    Many EventCompanyRule records → zero or one DataArea record

Get this data out

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

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

Email sales@drdynamics.co.uk