Cross Record

R_101

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name R_101
Version 1
Status Active
Category Cross Record
Severity Error
Error message

The learning aim must not have more than one Apprenticeship contract type record at the same time

Intent

This rule ensures that there is no overlapping ACT code recorded in the ILR

Guidance

Check that there is not more than one open ACT code recorded for the learner in the ILR, there must not be multiple records active at one time.

Description

A learning aim must not have Learning Delivery FAM records with overlapping dates where the Learning Delivery FAM type is Apprenticeship contract type (ACT) If there is more than one ACT record the 'Date to' of the earlier record must be returned and before the 'date from' of the later record.

Detailed error condition
Detailed description

A learning aim must not have Learning Delivery FAM records with overlapping dates where the Learning Delivery FAM type is Apprenticeship contract type (ACT) ( LearnDelFAMType = ACT).
If there is more than one ACT record (count (records where LearnDelFAMType = ACT) > 1), the 'Date to' of the earlier record must be returned and before the 'date from' of the later record.

(error where LearnDelFAMDateFrom of the ACT is earlier than the LearnDelFAMDateTo of the previous ACT or LearningDeliveryFAM.LearnDelFAMDateTo is not known)

Flow chart R101

Open flow chart in a new window

Flow chart details

Flowchart for 'R101' rule

1. Has more than one ACT record been recorded?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Is there an overlap in the ACT code dates?

  • If 'No' then the rule is not triggered

  • If 'Yes' then the rule is 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

LearningDeliveryFAM.LearnDelFAMType

LearningDeliveryFAM.LearnDelFAMDateFrom

LearningDeliveryFAM.LearnDelFAMDateTo

Need help understanding some of these terms?

View the validation rules glossary of terms