...
Please check the Student Resource Key (UID8) and the Course Resource Key (UID5). A record with this combination already exists. A student cannot be reported for a course a second time where the Course Outcome Code (E599) for the existing record indicates that the student is still enrolled (blank) or is on approved leave ('4').
Error Logic
If there is an active record in the database with a given Student Resource Key (UID8)/Course Resource Key (UID5) combination and the Course Outcome Code (E599) is blank (null) or '4', then another record with the same Student Resource Key (UID8)/Course Resource Key (UID5) must not be created.
Paradigm Error Resolution
...