Table
SysPolicyOrganization
Policy organization
Links a policy to an internal organisation within an organisation hierarchy for a period of validity. The key combines policy, organisation, hierarchy type and the start and end dates.
- Table name
SysPolicyOrganization- Module
Workflow- Table group
Main- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
PolicyOrganizationIdx- Key fields
Policy, Organization, HierarchyType, ValidFrom, ValidTo- Model
Policy
Fields (10)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PolicyPoints to the policy. | Int64RefRecId | Yes | SysPolicy.RecId | SysPolicyOrganizationEntity |
OrganizationPoints to the internal organisation the policy applies to. | Int64RefRecId | Yes | OMInternalOrganization.RecId | SysPolicyOrganizationEntity |
HierarchyTypePoints to the hierarchy type used for this link. | Int64RefRecId | No | OMHierarchyType.RecId | SysPolicyOrganizationEntity |
ValidFromDate and time from which the link is valid. | UtcDateTimeValidFromDateTime | No | SysPolicyOrganizationEntity | |
ValidToDate and time at which the link stops being valid. | UtcDateTimeValidToDateTime | No | SysPolicyOrganizationEntity | |
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 |
Indexes (1)
PolicyOrganizationIdxReplacement keyPolicy,Organization,HierarchyType,ValidFrom,ValidToUnique, alternate key.
Relations (3)
Each relation joins SysPolicyOrganization to another table on the fields shown.
HierarchyTypeRel→OMHierarchyTypeJoin on
HierarchyType = OMHierarchyType.RecIdMany SysPolicyOrganization records → zero or one OMHierarchyType record
OrganizationRel→OMInternalOrganizationJoin on
Organization = OMInternalOrganization.RecIdMany SysPolicyOrganization records → exactly one OMInternalOrganization record
PolicyRel→SysPolicyJoin on
Policy = SysPolicy.RecIdMany SysPolicyOrganization records → exactly one SysPolicy record
Get this data out
Tables are not exposed directly. These public entities read from SysPolicyOrganization; use one of them in Power BI, Power Platform or a data management project.
SysPolicyOrganizationEntity· 5 fields from this table
Need help with SysPolicyOrganization in a report, an integration or a migration? Talk to Dr Dynamics.