Table
SysPolicyRule
Policy rules
Holds the rules that belong to a policy. Each rule is identified by the policy, the rule type and the start date. It links to the policy and to the policy rule type.
- Table name
SysPolicyRule- Module
Workflow- Table group
Main- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
PolicyRuleIdx- Key fields
Policy, PolicyRuleType, ValidFrom- Model
Policy
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PolicyPoints to the policy this rule belongs to. | Int64RefRecId | Yes | SysPolicy.RecId | TrvPolicyLanguageTxtEntityTrvPolicyRuleEntityTrvPolicyViolationsCacheEntityand 1 more |
PolicyRuleTypePoints to the type of rule. | Int64RefRecId | Yes | SysPolicyRuleType.RecId | HcmBenefitEligibilityRuleEntityTrvPolicyLanguageTxtEntityTrvPolicyRuleEntityand 2 more |
ValidFromDate and time from which the rule is valid. | UtcDateTimeValidFromDateTime | No | HcmBenefitEligibilityRuleEntityTrvPolicyLanguageTxtEntityTrvPolicyRuleEntityand 2 more | |
InstanceRelationTypeSystem field that records the specific type of the rule record.low confidence | Int64RelationType | No | None | |
IsInheritedYes/No flag showing whether the parent rule is included. | EnumNoYesIdNoYes (enum) | No | HcmBenefitEligibilityRuleEntityTrvPolicyRuleEntity | |
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 | |
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 | |
ValidToDate and time until which the rule is valid. | UtcDateTimeValidToDateTime | No | HcmBenefitEligibilityRuleEntityTrvPolicyRuleEntity |
Indexes (1)
PolicyRuleIdxReplacement keyPolicy,PolicyRuleType,ValidFromUnique, alternate key.
Relations (2)
Each relation joins SysPolicyRule to another table on the fields shown.
Policy→SysPolicyJoin on
Policy = SysPolicy.RecIdMany SysPolicyRule records → exactly one SysPolicy record
PolicyRules→SysPolicyRuleTypeJoin on
PolicyRuleType = SysPolicyRuleType.RecIdMany SysPolicyRule records → exactly one SysPolicyRuleType record
Get this data out
Tables are not exposed directly. These public entities read from SysPolicyRule; use one of them in Power BI, Power Platform or a data management project.
HcmBenefitEligibilityRuleEntity· 4 fields from this tableTrvPolicyLanguageTxtEntity· 3 fields from this tableTrvPolicyRuleEntity· 5 fields from this tableTrvPolicyViolationsCacheEntity· 3 fields from this tableTrvPolicyViolationsLogEntity· 3 fields from this table
Need help with SysPolicyRule in a report, an integration or a migration? Talk to Dr Dynamics.