Table
SysPolicySourceDocumentRuleViolation
Policy source document rule violation
Records a violation of a policy source document rule. Each record points to the rule and to a source document header or line. It also holds the date of the last evaluation.
- Table name
SysPolicySourceDocumentRuleViolation- Module
Workflow- Table group
Main- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
IsForSourceDocumentLineYes/no flag showing whether the violation is for a source document line rather than a header. | EnumNoYesIdNoYes (enum) | No | None | |
LastEvaluationDateDate and time when the rule was last run for this record. | UtcDateTimeSysPolicyDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PolicySourceDocumentRulePoints to the policy source document rule that was violated. | Int64RefRecId | Yes | SysPolicySourceDocumentRule.RecId | 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 | |
SourceDocumentHeaderPoints to the source document header involved in the violation. | Int64RefRecId | No | SourceDocumentHeader.RecId | None |
SourceDocumentLinePoints to the source document line involved in the violation. | Int64RefRecId | No | SourceDocumentLine.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Relations (3)
Each relation joins SysPolicySourceDocumentRuleViolation to another table on the fields shown.
PolicySourceDocumentRule→SysPolicySourceDocumentRuleJoin on
PolicySourceDocumentRule = SysPolicySourceDocumentRule.RecIdMany SysPolicySourceDocumentRuleViolation records → exactly one SysPolicySourceDocumentRule record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany SysPolicySourceDocumentRuleViolation records → zero or one SourceDocumentHeader record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany SysPolicySourceDocumentRuleViolation records → zero or one SourceDocumentLine record
Get this data out
No public entity reads from SysPolicySourceDocumentRuleViolation. Its data is only reachable through the application, a custom entity or a database export.
Need help with SysPolicySourceDocumentRuleViolation in a report, an integration or a migration? Talk to Dr Dynamics.