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 descriptionType / EDT / enumMandatoryReferencesIn public entities
IsForSourceDocumentLineYes/no flag showing whether the violation is for a source document line rather than a header.Enum
NoYesId
NoYes (enum)
NoNone
LastEvaluationDateDate and time when the rule was last run for this record.UtcDateTime
SysPolicyDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PolicySourceDocumentRulePoints to the policy source document rule that was violated.Int64
RefRecId
YesSysPolicySourceDocumentRule.RecIdNone
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
SourceDocumentHeaderPoints to the source document header involved in the violation.Int64
RefRecId
NoSourceDocumentHeader.RecIdNone
SourceDocumentLinePoints to the source document line involved in the violation.Int64
RefRecId
NoSourceDocumentLine.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Relations (3)

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

  • PolicySourceDocumentRule → SysPolicySourceDocumentRule

    Join on PolicySourceDocumentRule = SysPolicySourceDocumentRule.RecId

    Many SysPolicySourceDocumentRuleViolation records → exactly one SysPolicySourceDocumentRule record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many SysPolicySourceDocumentRuleViolation records → zero or one SourceDocumentHeader record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

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

Email sales@drdynamics.co.uk