Table

EventRuleRel

Alerts - rule relation

Describes a relation used by an alert rule, identified by a rule relation ID. A relation can have a parent relation and belongs to one rule. It also names a table and a data source number.

Table name
EventRuleRel
Module
System administration
Table group
Main
Table type
Regular
Data per company
No
Configuration key
Event
Primary index
RuleRelIdx
Replacement key
None
Key fields
RuleRelId
Model
ApplicationFoundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
RuleRelIdUnique ID of the rule relation.String (20)
EventRuleRelId
YesNone
CudInstanceRelationTypeInstance relation type for the table. The exact meaning is not stated in the metadata.low confidenceInt64
EventInstanceRelationType
NoNone
CudTableIdID of the table used in this relation.Integer
EventCudTableId
YesNone
ParentIdThe parent rule relation, if there is one.String (20)
EventRuleRelId
NoEventRuleRel.RuleRelIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
QbdsNoNumber of the data source used by the relation.low confidenceInteger
EventDataSourceNo
YesNone
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
RuleIdThe alert rule that owns this relation.String (20)
EventRuleId
YesEventRule.RuleIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (3)

Relations (3)

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

  • Common → Common

    Join on CudTableId = Common.TableId

    Many EventRuleRel records → zero or one Common record

  • EventRule → EventRule

    Join on RuleId = EventRule.RuleId

    Many EventRuleRel records → exactly one EventRule record

  • EventRuleRel → EventRuleRel

    Join on ParentId = EventRuleRel.RuleRelId

    Many EventRuleRel records → zero or one EventRuleRel record

Get this data out

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

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

Email sales@drdynamics.co.uk