1. Home
  2. Validation rules
  3. ContPrefType_06
Learner

ContPrefType_06

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name ContPrefType_06
Version 1
Status Active
Category Learner
Severity Error
Error message

There must not be more than two records with a Contact preference type of RUI

Intent

To ensure that, there are not more than two records with a Contact preference type RUI

Guidance

Ensure that, where returned, there are not more than two records with a Contact preference type RUI in the learner record

Description

If the contact preference type is Restricted use indicator, then there must be only two occurrences

Detailed error condition
Detailed description

If the contact preference type is Restricted use indicator, then there must be only two occurrences

(error where LearnerContactPreference.ContPrefType = RUI and occurrence > 2)

Flow chart ContPrefType_06

Open flow chart in a new window

Flow chart details

Flowchart for 'ContPrefType_06' rule

1. Is a Restricted use indicator returned?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Are more than 2 occurrences of the Restricted use indicator in the learner record?

  • If 'Yes' then the rule is triggered

  • If 'No' then the rule is not triggered

Change summary

Version 1

The rule has been rolled over from the previous year

Status summary

Current SLD severity

Error

Current FIS severity

Error

Is this rule in FIS?

Yes

Field values

ContactPreference.ContPrefType

ContactPreference.ContPrefCode

Need help understanding some of these terms?

View the validation rules glossary of terms