1. Home
  2. Validation rules
  3. ContPrefType_04
Learner

ContPrefType_04

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name ContPrefType_04
Version 1
Status Deleted
Category Learner
Severity Error
Error message

These contact preference types cannot all be used at the same time

Intent

To ensure that, Contact preference types 1 and 2 are not used with Contact preference types 6 and 7

Guidance

Ensure that, where returned, Contact preference types 1 and 2 are not used with Contact preference types 6 and 7 against the same learner record

Description

If the contact preference type is Restricted use indicator, then Contact preference codes 1 or 2 cannot be used at the same time as Contact preference codes 6 or 7

Detailed error condition
Detailed description

If the contact preference type is Restricted use indicator (LearnerContactPreference.ContPrefType = RUI), then Contact preference codes 1 or 2 cannot be used at the same time as Contact preference codes 6 or 7

(error where there is a record of LearnerContactPreference.ContPrefCode = 1 or 2 and there is a record of LearnerContactPreference.ContPrefCode = 6 or 7)

Flow chart ContPrefType_04

Open flow chart in a new window

Flow chart details

Flowchart for 'ContPrefType_04' rule

1. Is a Restricted use indicator returned?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Are Contact preference codes 1 or 2 returned?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Are Contact preference codes 6 or 7 returned?

  • If 'Yes' then the rule is triggered

  • If 'No' then the rule is not triggered

Change summary

Version 1

This rule has been deleted at version 1

Status summary

Current SLD severity

N/A

Current FIS severity

N/A

Is this rule in FIS?

Yes

Need help understanding some of these terms?

View the validation rules glossary of terms