Validation error 10658
Amending or deleting a unit enrolment (UID16) that would result in a student consuming LSLE before it is allocated, is not permitted
Description
Attempt to amend or delete a unit (UID16) that results in the student consuming LSLE before it was allocated (i.e. results in changes to the Lifelong SLE Accrual Date for a student (USI) to a date that is after the census date for any units that have already consumed Lifelong SLE for that student (USI)
Error Logic
WHEN a Unit Enrolment (UID16) is amended or deleted
SUCH that an existing LSLE Accrual Date needs to be set to a date after the originally established LSLE Accrual Date, // the UE setting the current LSLE Accrual Date is deleted or the Unit of Study Commencement Date (E600) is amended to a future date, or the UE no longer is eligible as a UE to set the LSLE Accrual Date //CHECK that the proposed new LSLE Accrual Date is on or before the Unit of Study Census Date (E489) of the first UE that is consuming LSLE // determine the new LSLE Accrual Date using existing processing rules, then check against any existing UEs where Assigned LSLE is not NULL or > '0' //
IF the above is TRUE, then permit the amendment
ELSE IF FALSE, then prevent the amendment
Error Resolution
Please check the amendment or deletion attempted for the Unit Enrolment (UID16). This amendment would change the Lifelong SLE Accrual Date for a student (USI) to a date that is after the census date for any units that have already consumed Lifelong SLE for that student (USI)