Validation error 10654

Reporting or amending a Unit (UID16) or AOU (UID19) for a student (E584_USI) that would exceed the Student's SLE is not permitted

Description

Attempted reporting or amending the Unit Enrolment (UID16) would increase the consumption of SLE to more than what the student is entitled to.

Error Logic

If a Unit Enrolment (UID16) record is being created or updated with Student Status Code E490 is ('201', '202', '203', '204' or '260') and
Unit of Study Census date E489 > = '2022-01-01' 
and Unit of Study Census date E489 < Unit of Study Outcome date (E601) 
and E446 is NULL or not in ('01', '06', '12', '17' or '18') that requires SLE coverage, for a student linked to a Unique Student Identifier (E584)

Then find
(1) the sum of allocated SLE which is Allocated OSLE + Allocated ASLE + Allocated LSLE + AllocatedRestructureLSLEAllocatedRSLE for the student (E584 
find_USI), truncated to 4 decimal places; and 
(2) the sum of covered UEs where UE SLE use status is 'consumed' or 'reserved' for the student (E584
The sum of covered UEs  + EFTSL (_USI) including the incoming E339) for the created/updated unit must not be or reported UE, truncated to 4 decimal places

IF the value of (2) is greater than the sum of allocated SLE. for the E584.(1), then trigger the RTV error and prevent the change,

ELSE permit the change 

Error Resolution

Please check the Unit Enrolment (UID16) / AOU (UID19) that has been reported or amended, or other linked Unit Enrolments for that Student (E584_USI) that may be impacted by the Unit Enrolment (UID16) being reported or amended. The  Student has exceeded their SLE Allocation and does not have enough SLE to cover the unit. This may be caused by the Student requiring Additional SLE or Lifelong SLE prior to that Additional SLE or Lifelong SLE being available.

Details

ITSP Error Code: 10654
HEP: Yes
VET: No
PIR: No
TAC: No
Rule type: Fatal
Related elements:
Element Name: Equivalent Full–time student load
Packet: Unit enrolment packet 2024
AOU packet 2024