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

LSDPostcode_02

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name LSDPostcode_02
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

Guidance

Ensure that, for starts on or after 1 August 2019 and before 1 August 2021, that are adult skills or Community Learning funded (and are not programme components, Restarts, Postcode exclusions, OLASS learners or postcode ZZ99 9ZZ) 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 2019 and before 1 August 2021, that 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 2019 and before 1 August 2021 ( LearningDelivery.LearnStartDate => 2019-08-01 and LearningDelivery.LearnStartDate < 2021-08-01), 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 DD35 = Y and 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 where the Programme Type has been returned (ProgType is known) and Providers with an organisation type of Long term Residential College ( LearningProvider.UKPRN = Org_Details.UKPRN and LongTermResid = 1), Restarts ( LearningDeliveryFAM.LearnDelFAMType = RES), Postcode exclusions ( LearningDeliveryFAM.LearnDelFAMType = DAM and LearningDeliveryFAM.LearnDelFAMCode = 001)
OLASS learning aims ( LearningDeliveryFAM.LearnDelFAMType = LDM and LearningDeliveryFAM.LearnDelFAMCode = 034) LearningDelivery.LSDPostcode = ZZ99 9ZZ

Flow chart LSDPostcode_02

Open flow chart in a new window

Flow chart details

Flowchart for 'LSDPostcode_02' rule

1. Is the ProgType returned, Providers type = Long term Residential College, a Devolved postcode exclusion, an OLASS learner or Postcode = ZZ99 9ZZ?

  • If 'Yes' then the rule is not triggered

  • If 'No' then:

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

  • 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 a valid postcode on the list of complete UK postcodes table?

  • 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

Need help understanding some of these terms?

View the validation rules glossary of terms