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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
RuleRelIdUnique ID of the rule relation. | String (20)EventRuleRelId | Yes | None | |
CudInstanceRelationTypeInstance relation type for the table. The exact meaning is not stated in the metadata.low confidence | Int64EventInstanceRelationType | No | None | |
CudTableIdID of the table used in this relation. | IntegerEventCudTableId | Yes | None | |
ParentIdThe parent rule relation, if there is one. | String (20)EventRuleRelId | No | EventRuleRel.RuleRelId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QbdsNoNumber of the data source used by the relation.low confidence | IntegerEventDataSourceNo | Yes | 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 | |
RuleIdThe alert rule that owns this relation. | String (20)EventRuleId | Yes | EventRule.RuleId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
RuleRelIdxPrimary indexUnique, alternate key.
ParentIdxNot unique.
RuleIdxUnique, alternate key.
Relations (3)
Each relation joins EventRuleRel to another table on the fields shown.
Common→CommonJoin on
CudTableId = Common.TableIdMany EventRuleRel records → zero or one Common record
EventRule→EventRuleJoin on
RuleId = EventRule.RuleIdMany EventRuleRel records → exactly one EventRule record
EventRuleRel→EventRuleRelJoin on
ParentId = EventRuleRel.RuleRelIdMany 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.