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

LearnAimRef_157

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name LearnAimRef_157
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 learning actual end date of the aim must be before the end date of the GROWTH_SKILLS_SHORT_COURSES Validity Category in the Validity table in the LARS database.

Description

If the learning aim is funded through Growth and Skills Short Course Offer, then the Learning Actual End Date of the aim must be before the validity end date for the corresponding validity category in the Validity table in the LARS database.

Detailed error condition
Detailed description

If the learning aim is funded through Growth and Skills Short Course Offer, then the Learning Actual End Date of the aim must be before the validity end date for the corresponding validity category in the Validity table in the LARS database.

error where
LearningDelivery.FundModel = 39
and
LearningDelivery.LearnActEndDate > LARS_EndDate in the LARS_Validity table where ( LearningDelivery.LearnAimRef = LARS_LearnAimRef and LARS_ValidityCategory = GROWTH_SKILLS_SHORT_COURSES)

Flow chart LearnAimRef_157

Open flow chart in a new window

Flow chart details

Flowchart for 'LearnAimRef_157' rule

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

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2 . Is the Learning Actual End Date of the aim before the validity end date for the corresponding validity category in the Validity table in the LARS database?

  • If 'No' then the rule is triggered

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

LearningDelivery.LearnAimRef

Need help understanding some of these terms?

View the validation rules glossary of terms