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

LearnAimRef_159

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name LearnAimRef_159
Version 1
Status New
Category Learning delivery
Severity Error
Error message

The Learning aim reference is not valid in the LARS database for this Funding model for this teaching year

Intent

To ensure that only valid aims are recorded for Growth and Skills Short Course Offer

Guidance

Ensure that where the aim is funded through the Growth and Skills Short Course Offer funding model, the validity end date (if entered) on the record with the latest validity start date in the LARS database for the Learning aim reference is after the end of the previous teaching year for the corresponding Validity in the LARS database, as shown through the FALA service

Description

If the learning aim is funded through Growth and Skills Short Course Offer, 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 through Growth and Skills Short Course Offer, 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.FundModel = 39
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 = GROWTH_SKILLS_SHORT_COURSES)

Flow chart LearnAimRef_159

Open flow chart in a new window

Flow chart details

Flowchart for 'LearnAimRef_159' rule

1. Is the aim funded through the Growth and Skills Short Course Offer?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Is the validity end date (if entered) on 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 'Yes' then the rule is not triggered

  • If 'No' then the rule is triggered

Change summary

Version 1

This rule is New at version 1

Status summary

Current SLD severity

Error

Current FIS severity

Error

Is this rule in FIS?

Yes

Field values

LearningDelivery.FundModel

LearningDelivery.LearnAimRef

Need help understanding some of these terms?

View the validation rules glossary of terms