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

HRSAmount_04

Changes to the latest version will be highlighted

View the validation rules glossary of terms

Name HRSAmount_04
Version 1
Status New
Category Learning delivery
Severity Error
Error message

The Additional Delivery Hours (HRS 6) must not exceed 24 hours in a day

Intent

To ensure the Additional Delivery Hours are not exceeding 24 hours, the available hours in a day

Guidance

Ensure that where the Additional hours are greater than 60, the average number of additional hours per day over aim planned duration are not exceeding 24

Description

If the Additional delivery hours are greater than 60, then the average number of additional hours per day must not be greater than 24

Detailed error condition
Detailed description

If the Additional delivery hours are greater than 60, then the average number of additional hours per day must not be greater than 24

(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) NOT<= 24)

Flow chart HRSAmount_04

Open flow chart in a new window

Flow chart details

Flowchart for 'HRSAmount_04' 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. Is the average number of Additional Delivery Hours per day greater than 24?

  • 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

Error

Current FIS severity

Error

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