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

LSDPostcode_06

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name LSDPostcode_06
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 funded or Tailored learning funded aims

Guidance

Ensure that, for starts on or after 1 August 2024 that are Adult Skills Fund or Tailored Learning funded, the Learning start date postcode is valid on the learning aim start date for the Source of funding listed

Description

For starts on or after 1 August 2024, that are Adult Skills Fund or Tailored 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 2024 ( LearningDelivery.LearnStartDate >= 2024-08-01), are Adult Skills Fund or Tailored Learning funded ( LearningDelivery.Fundmodel = 38 or LearningDelivery.Fundmodel = 11), 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), Postcode exclusions ( LearningDeliveryFAM.LearnDelFAMType = DAM and LearningDeliveryFAM.LearnDelFAMCode = 001) or where
LearningDelivery.LSDPostcode = ZZ99 9ZZ

Flow chart LSDPostcode_06

Open flow chart in a new window

Flow chart details

Flowchart for 'LSDPostcode_06' rule

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

  • If 'Yes' then the rule is not triggered

  • If 'No' then:

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

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

3. Is the aim Adult skills funded or Tailored 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 learning 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