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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
QueryNameName of the query in the application object tree (AOT). | String (100)SysPolicyName | Yes | HcmBenefitEligibilityPolicyRuleTypeEntityPayrollPremiumEarningPolicyRuleTypeEntityVendInvoicePolicyRuleTypeEntity | |
PolicyTypePoints to the policy type that the query belongs to. | Int64RefRecId | Yes | SysPolicyType.RecId | None |
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 | |
SourceRelationTypeName of the field that references the source relation. | StringRefFieldName | Yes | 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)
PolicyTypeIdxReplacement keyUnique, alternate key.
Relations (1)
Each relation joins SysPolicyTypeSourceDocumentQuery to another table on the fields shown.
PolicyType→SysPolicyTypeJoin on
PolicyType = SysPolicyType.RecIdMany 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.
HcmBenefitEligibilityPolicyRuleTypeEntity· 1 field from this tablePayrollPremiumEarningPolicyRuleTypeEntity· 1 field from this tableVendInvoicePolicyRuleTypeEntity· 1 field from this table
Need help with SysPolicyTypeSourceDocumentQuery in a report, an integration or a migration? Talk to Dr Dynamics.