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

HRSAmount_05

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name HRSAmount_05
Version 1
Status New
Category Learning delivery
Severity Warning
Error message

The Additional Delivery Hours (HRS 6) should not exceed 35 hours in a week

Intent

To ensure the Additional Delivery Hours are not exceeding 35 hours a week

Guidance

Ensure that where the Additional Delivery Hours are greater than 60, the average number of additional hours per week are not exceeding 35

Description

If the Additional delivery hours are greater than 60, then the average number of additional hours per week should not be greater than 35

Detailed error condition
Detailed description

If the Additional delivery hours are greater than 60, then the average number of additional hours per week should not be greater than 35

(error where HRSRecord.HRSType = HRS and HRSRecord.HRSCode = 6 and HRSRecord.HRSAmount > 60 and ( HRSRecord.HRSType = HRS and HRSRecord.HRSCode = 6 and HRSRecord.HRSAmount / (( LearningDelivery.LearnPlanEndDate - LearningDelivery.LearnStartDate + 1) / 7)) NOT <= 35)

Flow chart HRSAmount_05

Open flow chart in a new window

Flow chart details

Flowchart for 'HRSAmount_05' rule

1. Are Additional Delivery Hours recorded in the Hours record?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

2. Are the number of Additional Delivery Hours returned greater than 60?

  • If 'No' then the rule is not triggered

  • If 'Yes' then:

3. Are the average number of Additional Delivery Hours per week greater than 35?

  • If 'Yes' then the rule is triggered

  • If 'No' then the rule is not triggered

Change summary

Version 1

This rule is New at version 1

Status summary

Current SLD severity

Warning

Current FIS severity

Warning

Is this rule in FIS?

Yes

Field values

HRSRecord.HRSAmount

HRSRecord.HRSType

HRSRecord.HRSCode

LearningDelivery.LearnPlanEndDate

LearningDelivery.LearnStartDate

Need help understanding some of these terms?

View the validation rules glossary of terms