1. Home
  2. Validation rules
  3. LearnAimRef_125
Learning delivery

LearnAimRef_125

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name LearnAimRef_125
Version 1
Status Active
Category Learning delivery
Severity Error
Error message

The Learning aim reference is not valid in the LARS database for this Funding model and this Learning start date

Intent

To ensure that learning aims are returned for the correct valid dates in the LARS service for 14-16 ESFA funded delivery

Guidance

Ensure that, for new starts on or after 1 August 2021, that are not restarts and are 14-16 ESFA funded provision, the learning aim start date must not be before the validity start date or be after the last date for new starts for the corresponding validity category in the Validity table in the LARS database, shown through the FALA service

Description

If the learning aim is funded as 14-16 ESFA funded provision, then the validity end date (if entered) on the record with the latest validity start date in the LARS database for this Learning aim reference must be after the end of the previous teaching year for the corresponding Validity in the LARS database

Detailed error condition
Detailed description

If the learning aim is funded as 14-16 ESFA funded provision, then the validity end date (if entered) on the record with the latest validity start date in the LARS database for this Learning aim reference must be after the end of the previous teaching year for the corresponding Validity in the LARS database.

(error where LearningDelivery.LearnActEndDate >= 2021-08-01 and LearningDelivery.FundModel = 25 and LearningDeliveryFAM.LearnDelFamType = LDM and LearningDeliveryFAM.LearnDelFAMCode = 320 or 321 or 381 and LARS_EndDate in the LARS_Validity table <= end of previous teaching year using the record with the latest validity start date from the LARS_Validity table where ( LearningDelivery.LearnAimRef = LARS_LearnAimRef and LARS_ValidityCategory = 1416_EFA))

Flow chart LearnAimRef-125

Open flow chart in a new window

Flow chart details

Flowchart for 'LearnAimRef_125' rule

1. Is the aim 14-16 ESFA funded provision?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Is the aim validity end date recorded in LARS?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

3. Is the record with the latest validity start date in the LARS database for this Learning aim reference after the end of the previous teaching year for the corresponding Validity in the LARS database?

  • 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

LearningDelivery.FundModel

LearningDeliveryFAM.LearnDelFAMType

LearningDeliveryFAM.LearnDelFAMCode

LearningDelivery.LearnAimRef

Need help understanding some of these terms?

View the validation rules glossary of terms