1. Home
  2. Validation rules
  3. ContPrefType_01
Learner

ContPrefType_01

Changes to the latest version will be highlighted

View the validation rules glossary of terms

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

The Contact preference type and code is not valid

Intent

To ensure that, where returned, valid Contact preference codes are used

Guidance

Ensure that the Contact preference type returned has a valid Contact preference code also returned

Description

If a Contact preference type is returned, the Contact preference code must be a valid lookup for that Contact preference type

Detailed error condition
Detailed description

If a Contact preference type is returned ( LearnerContactPreference.ContPrefType is known), the Contact preference code must be a valid lookup for that Contact preference type

(error where LearnerContactPreference.ContPrefCode <> valid lookup on ILR_ContPrefTypeCode)

Flow chart ContPrefType_01

Open flow chart in a new window

Flow chart details

Flowchart for 'ContPrefType_01' rule

1. Is a contact preference type returned?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Is the contact preference code returned a valid lookup?

  • If 'No' then the rule is triggered

  • If 'Yes' 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

Need help understanding some of these terms?

View the validation rules glossary of terms