Table

SysPolicyTypeSourceDocumentQuery

Policy type source document query

Holds the source document queries available to each policy type. Each record is identified by the query name and the policy type. It links to the policy type.

Table name
SysPolicyTypeSourceDocumentQuery
Module
Workflow
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
PolicyTypeIdx
Key fields
QueryName, PolicyType
Model
Policy

Fields (8)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
QueryNameName of the query in the application object tree (AOT).String (100)
SysPolicyName
YesHcmBenefitEligibilityPolicyRuleTypeEntityPayrollPremiumEarningPolicyRuleTypeEntityVendInvoicePolicyRuleTypeEntity
PolicyTypePoints to the policy type that the query belongs to.Int64
RefRecId
YesSysPolicyType.RecIdNone
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
SourceRelationTypeName of the field that references the source relation.String
RefFieldName
YesNone
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 (1)

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

  • PolicyType → SysPolicyType

    Join on PolicyType = SysPolicyType.RecId

    Many SysPolicyTypeSourceDocumentQuery records → exactly one SysPolicyType record

Get this data out

Tables are not exposed directly. These public entities read from SysPolicyTypeSourceDocumentQuery; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk