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 descriptionType / EDT / enumMandatoryReferencesIn public entities
PolicyPoints to the policy.Int64
RefRecId
YesSysPolicy.RecIdSysPolicyOrganizationEntity
OrganizationPoints to the internal organisation the policy applies to.Int64
RefRecId
YesOMInternalOrganization.RecIdSysPolicyOrganizationEntity
HierarchyTypePoints to the hierarchy type used for this link.Int64
RefRecId
NoOMHierarchyType.RecIdSysPolicyOrganizationEntity
ValidFromDate and time from which the link is valid.UtcDateTime
ValidFromDateTime
NoSysPolicyOrganizationEntity
ValidToDate and time at which the link stops being valid.UtcDateTime
ValidToDateTime
NoSysPolicyOrganizationEntity
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • HierarchyTypeRel → OMHierarchyType

    Join on HierarchyType = OMHierarchyType.RecId

    Many SysPolicyOrganization records → zero or one OMHierarchyType record

  • OrganizationRel → OMInternalOrganization

    Join on Organization = OMInternalOrganization.RecId

    Many SysPolicyOrganization records → exactly one OMInternalOrganization record

  • PolicyRel → SysPolicy

    Join on Policy = SysPolicy.RecId

    Many 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.

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

Email sales@drdynamics.co.uk