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

LSDPostcode_04

Changes to the latest version will be highlighted

View the validation rules glossary of terms

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

The learning aim start date postcode is not valid on the start date of the learning aim and the source of funding

Intent

To ensure that only valid postcodes are used for adult skills or Community Learning funded aims

Description

For starts on or after 1 August 2021 and on or prior to 31 July 2024, are adult skills or Community Learning funded, the Learning start date postcode must be valid on the learning aim start date for the Source of funding listed

Detailed error condition
Detailed description

For starts on or after 1 August 2021 ( LearningDelivery.LearnStartDate => 2021-08-01) and on or prior to 31 July 2024 ( LearningDelivery.LearnStartDate <= 2024-07-31), are adult skills or Community Learning funded ( LearningDelivery.Fundmodel = 35 or LearningDelivery.Fundmodel = 10), the Learning start date postcode ( LearningDelivery.LSDPostcode ) must be valid on the learning aim start date ( LearningDelivery.LearnStartDate ) for the Source of funding listed

(error where LSDPostcode does not exist in the Postcodes.AEBPostcodes or ( LearningDeliveryFAM.LearnDelFAMCode for the LearningDeliveryFAM.LearnDelFAMType = SOF) <> Postcodes.AEBPostcodes.SourceOfFunding) for the LSDPostcode or LearningDelivery.LearnStartDate < Postcodes.AEBPostcodes.EffectiveFrom date for the LearningDelivery.LSDPostcode where (( LearningDeliveryFAM.LearnDelFAMCode for the LearningDeliveryFAM.LearnDelFAMType = SOF) = Postcodes.AEBPostcodes.SourceOfFunding) or LearningDelivery.LearnStartDate > Postcodes.AEBPostcodes.EffectiveTo date for the LearningDelivery.LSDPostcode where (( LearningDeliveryFAM.LearnDelFAMCode for the LearningDeliveryFAM.LearnDelFAMType = SOF) = Postcodes.AEBPostcodes.SourceOfFunding))

Exclusions

This rule is not triggered for Restarts ( LearningDeliveryFAM.LearnDelFAMType = RES) and Postcode exclusions ( LearningDeliveryFAM.LearnDelFAMType = DAM and LearningDeliveryFAM.LearnDelFAMCode = 001) and LearningDelivery.LSDPostcode = ZZ99 9ZZ)

Flow chart LSDPostcode_04

Open flow chart in a new window

Flow chart details

Flowchart for 'LSDPostcode_04' rule

1. Is the aim a Restart, or the learners postcode ZZ99 9ZZ or a devolved funding postcode exclusion?

  • If 'Yes' then the rule is not triggered

  • If 'No' then:

2. Is the aim start on or after 1 August 2021 and before 1 August 2024?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

3. Is the aim adult skills or Community Learning funded?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

4. Is the learners learning start date postcode returned?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

5. Is the postcode valid on the aim start date for the source of funding returned?

  • 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

N/A

Is this rule in FIS?

No

Field values

LearningDelivery.LearnStartDate

LearningDelivery.FundModel

LearningDelivery.LSDPostcode

LearningDeliveryFAM.LearnDelFAMType

LearningDeliveryFAM.LearnDelFAMCode

Need help understanding some of these terms?

View the validation rules glossary of terms