Table

SysPolicySourceDocumentRuleType

Policy source document rule type

Links a policy rule type to a source document query. It names the document date field and the legal entity field in that query. It also stores the kind of query. It has no key defined in the metadata.

Table name
SysPolicySourceDocumentRuleType
Module
Workflow
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Policy
Extends
SysPolicyRuleType

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DateAttributeName of the field that holds the document date.String
RefFieldName
NoNone
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field.Int64
RelationType
NoNone
LegalEntityAttributeName of the field that holds the legal entity (company).String
RefFieldName
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PolicyTypeSourceDocumentQueryPoints to the source document query for the policy type.Int64
RefRecId
YesSysPolicyTypeSourceDocumentQuery.RecIdNone
QueryClassificationKind of query, such as conditional, aggregate or keyword search.Enum
QueryClassification (enum)
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 (2)

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

  • SysPolicyRuleType → SysPolicyRuleType

    Join on RecId = SysPolicyRuleType.RecId

    Zero or one SysPolicySourceDocumentRuleType record → exactly one SysPolicyRuleType record

  • SysPolicyTypeSourceDocumentQuery → SysPolicyTypeSourceDocumentQuery

    Join on PolicyTypeSourceDocumentQuery = SysPolicyTypeSourceDocumentQuery.RecId

    Many SysPolicySourceDocumentRuleType records → exactly one SysPolicyTypeSourceDocumentQuery record

Get this data out

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

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

Email sales@drdynamics.co.uk