This package contains functions that are used for:
The logic that will determine the outcome of a rule for a particular applicant is 'hard coded' in the function. A new rule can be defined and an existing function linked to the rule with different values for the different parameters. If a new function is linked to a new rule, users must remember that the logic for the rule must be programmed before the rule can be applied in the application validation process. |
Each of these functions first performs a check to determine if the parameters that it will be using have parameter values defined for those parameters where it expects values. If these values are not defined, it will stop the processing of that rule and return a 'D' value indicating that a data problem exists. The validation rule is deemed to be not successfully as the rule validation could not be completed. |
Function Name | Function Description | Comments |
AGE | Does the applicant have the correct age for the qualification? The function checks if the applicant's age is equal or greater than the value entered in the 'Minimum Age' field for the qualification in {SCAO1-2: Qualification Minimum Age Requirement}.
|
Rule: 35 |
AGE_CONTRACT | Does the applicant have the correct age for the contract requirement? The function checks if the applicant's age is less than the value of parameter 1 of the rule.
|
Rule: 3 With this function it is possible to allow persons, who are still at school, to enroll only under a specific funding mechanism. |
ANNADMFEE | Is the annual administration fee included in the quote generated for the application? The function checks if a record for event '03' (registration fee) exists in the quote table for this application
|
Rule: 7 |
CERTIFICATE | Did the applicant presented specific required documentation? The function checks if the applicant is linked to the certificate values in parameter 1 in {SREGB-8}.
|
Rule: 49 |
CERTINDICATOR | Has the proof of identity been received? The function checks if the applicant is linked to any of the certificate values in parameter 1 in {SREGB-8}.
|
Rule: 1B, 2 This rule can be used for any documents that an applicant is required to present to the institution |
CERTINDICATORUJ | UJ Local software validation | Rule: UJCI |
CHECKSUBJOPTITEM | Optional items to request for subjects The function checks if the student have planned subjects from the list in parameter 1 with optional items defined.
|
Rule: 50 |
CHK_AUTOENROL_ALLOWED | The Automated Enrolment process is allowed. A function in the AUTOENROL package (i51pkg) is used to do the testing. |
Rule: Z028 |
CITZ_RESIDENT | Student
is regarded a citizen of the country where he lives with proof. The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule
OR
OR
|
Rule: Z001 |
CITIZNFEEBASIS | Does the fee basis of the applicant (student type) correspond with the required citizenship and residency documents? The function checks if the applicant's student type matches any of the values in parameter 1 of the rule
|
Rule: 5 In this function the assumption is made that the citizen and/or residency documents presented by the applicant are recorded as certificate codes. |
CNTREMPLADDR | Does the employer on the application record have a user defined primary address? The function checks if the application has a contract and/or employer linked
|
Rule: 27 Employer codes are created in {GCS-22} Address types are defined in {GCS-24} |
CNTRFORSALE | Is the contract open 'for sale'? The function checks if the application is linked to a contract
|
Rule: 23 This validation is also done on line in the application program |
CNTRSPECBURYPERMIT | Is the Loan or Allowance excluded for this contract? The function checks if the applicant has applied for a loan or allowance in {FBLO-4} that matches any of the values in parameter 1 of the validation rule
|
Rule: 48 The contract excludes specific loans/allowances |
CONTRLOANPERMIT | Is the applicant allowed to apply for a loan/allowance if he/she is applying academically under a contract? The function checks if the applicant has applied for a loan or allowance in {FBLO-4} that matches any of the values in parameter 1 of the validation rule
|
Rule: 11, 15, 21 |
CRSEAPPROV | Does the applicant have a document indicating approval for the qualification he/she is applying for? The function matches the qualification of this application to the values in parameter 1.
|
Rule: 33 |
CRSEMAT | Is all the possible study material available? The function will determine if all possible study material is available.
|
Rule: 32 The function in all cases uses the qualification offering type to determine the store from which items are issues. The offering type is linked to a store in {GCS-5} |
CURENRLM | Is the applicant is currently enrolled for any of the planned subjects linked to the application? The function will check if any of the planned subjects linked to this application
|
Rule: 41 *For the more technically inclined reader, this field is called IAGEDATE and is derived from the end date of the block code as defined in {GOPS-1} |
ECH_ENROL | Students
are not enrolled at primary school or are enrolled at provider with <=
maximum number of sessions per week The function checks if the student (registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Qualification matching any of the values in parameter 2
|
Rule: Z014 |
ENROL_AGE | Student
is between certain ages for enrolment. The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Qualification matching any of the values in parameter 2
|
Rule: Z013 |
EXC_SCHOOL_FAIL_NOTICE | When the Automated Enrol process fail, send a notice to the school/institution. A function in the AUTOENROL package (i52pkg) is used to do the testing. |
Rule: Z047 This rule cannot be used as validation rule. |
EXC_SCHOOL_SUCCESS_NOTICE | When the Automated Enrol process succeed, send a notice to the school/institution. A function in the AUTOENROL package (i52pkg) is used to do the testing. |
Rule: Z048 This rule cannot be used as validation rule. |
FEEBASISCITDOCSNSNNATCRED | Is the applicant's fee basis (student type), citizenship, citizenship
documents, National Student Number and National Credits as per the
institution's requirements? The function matches the application's student type to any of the values in parameter 1 of the rule
|
Rule: 45 The National Student number is currently a special feature of institutions in New Zealand. |
FEEBASISNATIONALCREDITS | Is the applicant's fee basis (student type) and number of National Credits in accordance with the institution's rules? The function checks if the applicant's student type matches any of the values in parameter 1.
|
Rule: 44 |
LETOFAPPROV | Does the applicant have a letter of approval from the contract payer? If the application is not linked to a contract, the rule is not applicable for this applicant
|
Rule: 30 |
LOANALLOWCITSHIP | Does the applicant comply with the specific citizenship requirements of
specific loans/allowances for which the applicant is applying? If the applicant did not apply for any of the loan/allowances in parameter 1, the rule is not applicable for this applicant.
|
Rule: 12 and 17 The loan/allowance criteria are set up in {FBLO-2}. The standard ITS criteria code for citizenship is 'AAAA06' |
LOANALLOWNATCREDITS | Does the applicant comply with the MSD guidelines for loans/allowances
regarding the number of National credits for this application? If the applicant did not apply for any of the loan/allowances in parameter 1, the rule is not applicable for this applicant.
|
Rule: 8 and 16 |
LOANALLOWPRISDOCS | Is the applicant a person of a pre-defined type and did the applicant present the required documents? The function matches the certificates linked to the applicant in {SREGB-8}, where the 'Seen' field is equal to 'Y' and the 'Expiry Date' is empty or greater that today's date, with the values in parameter 1.
|
Rule: 18 This rule is similar to the next rule, rule 13 but differs in the sense that a person is linked to a specific user defined category (certificate/indicator) and checking if the person submitted the required documentation (certificate/indicator). |
LOANALLOWPRISONER | Is the applicant applying for specific loan/allowances and is the person of a predefined type e.g. a prisoner? The function checks if the applicant is linked to a status code in {SREGL-2} that matches any of the values entered for parameter 1 of the rule and where today's date is between the start date and the end date of the status record of the applicant.
|
Rule: 13 With this rule it is possible to identify different types of categories of persons by defining an appropriate status code in {SCODE-9} and linking it to the applicant. |
LOANALLOWPROGVALID | Is the qualification approved for a loan or allowance/bursary application? The function checks if the applicant has applied for a loan or allowance in {FBLO-4} that matches any of the values in parameter 1 of the validation rules
|
Rule: 9 and 20 |
LOANCRSELENGTH | Is the duration of the qualification in accordance with the rules of the loan/allowance applied for? The function checks if the applicant has applied for a loan or allowance in {FBLO-4} that matches any of the values in parameter 1 of the validation rules
|
Rule: 10 |
MATRICENDORS | Test the validity of the Students matric type against that of the undergraduate Qualification Type. | Rule: UJME |
MOE_ENROL_CHECK | The student is valid according to all the New Zealand MOE checks. A function in the AUTOENROL package i51pkg is doing the validation. |
Rule: Z029 This rule is only applicable if the country code is New Zealand and rule CHK_AUTOENROL_ALLOWED did not fail. |
NATIONALSTUDNO | Is the status of the National Student Number in compliance with the institution's requirements? The function will check if the student has a National Student Number.
|
Rule: 1A Note: The fields 'National Student Number' and 'National Student Number Status' are currently only visible on the special New Zealand biographical screen. |
NUMPREVENRL | Will the applicant exceed the number of times that he/she can register for subject without achieving a 'Pass' result? For each planned subject, the functions counts the number of time the applicant was registered previously without achieving a pass result.
|
Rule: 39 Result codes are defined in {SCODE-22}. |
PREREQ | Does the applicant comply with pre-requisites for each of the planned subjects? The function checks if each of the planned subjects has pre-requisites. It then checks if the applicant has passed the pre-requisite or one of the substitutes of the pre-requisites (an exemption of any of these pre-requisite or substitutes is taken as a pass).
|
Rule: 38 Pre- and co-requisites for subjects are defined in {SACAD-1: Pre-Requisite, Co-requisite, Substitute and Exposure Subjects} |
PREVENRASSIGNM | Was the applicant previously enrolled and did not complete any assignments? The function will, for each planned subject, check if the applicant was previously enrolled for the subject.
|
Rule: 40 |
QUALLANGPROF | Does the applicant have the required language proficiency for the qualification? The functions match the current application qualification with any of the values in parameter 1 of the rule.
|
Rule: 36A This function differs from the next function QUALLANGPROFEXCL in that specific qualifications are indicated to have specific language proficiency requirements |
QUALLANGPROFEXCL | Does the applicant have the necessary language proficiency for the
qualification? This rule functions on the 'exception' rule in that all
qualifications requires language proficiency except the qualifications
referenced in the parameter values of parameter 2) The function checks if the applicant's home language, as defined in {SREGB-1}, matches any of the values in parameter 1 of the rule
|
Rule: 46 The certificate codes are defined in {SCODE-22} and should reflect clearly in the description that it indicates language proficiency. |
QUALNZRESIDENT | Does the applicant have the required residency codes? The function matches the applicant's planned subjects with any of the values in parameter 1 of the rule.
|
Rule: 37 An applicant's residency code is set in {SREGB-1} in the field 'Country of Residence' |
SSTUD_TYPE_ENROL_NUMSUBJ | Student
enrol for number of main subjects <=
maximum number The function checks if the student's planned subject has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z055 This validation is on subject level. This validation is only applicable to validations in the 'Add-a-subject Automation' process. |
SSTUD_TYPE_ENROL_SUBJ | Student
enrol for number of main subjects (from
a list of subjects) = number of subjects The function checks if the student's planned subject has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z057 This validation is on subject level. This validation is only applicable to validations in the 'Add-a-subject Automation' process. |
SSTUD_TYPE_SCHOOL | Student
enrol at school that have < maximum number of students The function checks if the student's planned subject has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z060 This validation is on subject level. This validation is only applicable to validations in the 'Add-a-subject Automation' process. |
STUD_AGE_DOC | Student
is between certain ages with proof. The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Qualification matching any of the values in parameter 2
|
Rule: Z005 |
STUD_CERTIFICATE | Student
did submit a certificate The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Qualification matching any of the values in parameter 2
|
Rule: Z004 |
STUD_CITZ_AGE | Student
is regarded a citizen of the country where he lives, have the correct age, no
financial status and proof The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2
OR
OR
|
Rule: Z007 |
STUD_CLASSES_PER_SUBJ | Student
enrol for main subject in class where number of enrolments <=
maximum number A function in the AUTOENROL package i51pkg or i53pkg is doing the validation. |
Rule: Z035 This validation is on subject level. This rule is only applicable if rule CHK_AUTOENROL_ALLOWED did not fail. |
STUD_FIN_STAT | Student paid fees (When action IF is defined and student not linked to override status) Note: Parameter 2 is not used anymore Override status, linked to action EF will be used to indicate that the student is exempted fromthe 'IF' requirement. A status, linked to action IF, will never be linked to a student. The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule.
|
Rule: Z011 |
STUD_ISOLATE | Student
is certain age and too far from school with proof The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2 and the Birthdate is older than the minimim age in parameter 3 and the Birthdate is younger than the maximum age in parameter 4
|
Rule: Z015 |
STUD_NOT_CITZ | Student
is a foreigner in the country where he lives and have no financial status The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2
OR
OR
|
Rule: Z008 |
STUD_NOT_CITZ_RESID | Student
is not regarded a citizen but lives overseas with no financial status The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2
OR
OR
|
Rule: Z010 |
STUD_NOT_RESID | Student
is regarded a citizen but lives overseas with no financial status and proof The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2
OR
OR
|
Rule: Z009 |
STUD_STUDY_PERIOD | The student apply for a valid study period. A function in the AUTOENROL package i51pkg is doing the validation. |
Rule: Z032 This rule is only applicable if rule CHK_AUTOENROL_ALLOWED did not fail. |
STUD_SUBJ_STYPE | Check
that the country the student is living in, corresponds with the student type of
the subjects the student is enrolled for The function checks if the student subject has a Student Type matching any of the values in parameter 2
|
Rule: Z025 |
STUD_TYPE_AGE | Student
is between certain ages The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2
|
Rule: Z002 |
STUD_TYPE_AGE_DOC | Student
is between certain ages with proof The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2
|
Rule: Z003 |
STUD_TYPE_CERTIFICATE | Student
did submit a certificate The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z006 |
STUD_TYPE_ENROL | Student
enrol for number of main subjects <=
maximum number with proof The function checks if the student's (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z012 |
STUD_TYPE_ENROL_CERT | Student
enrol for subjects with proof The function checks if the student main subject(s) has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z019 This validation is on subject level. |
STUD_TYPE_ENROL_CERTS | Student
enrol for number of main subjects <=
maximum number, with proof (2 docs) The function checks if the student's (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z021 |
STUD_TYPE_ENROL_NUMSUBJ | Student
enrol for number of main subjects <=
maximum number The function checks if the student's (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z022 |
STUD_TYPE_ENROL_SCHOOL | Student
enrol for number of main subjects <=
maximum number and the school have < maximum number of students The function checks if the student's (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z024 |
STUD_TYPE_ENROL_SP | Student
enrol for specific study period should have certificate The function checks if the student's (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z023 |
STUD_TYPE_ENROL_SUBJ | Student
enrol for number of main subjects (from
a list of subjects) = number of subjects The function checks if the student's (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z018 |
STUD_TYPE_ENROL_SUBJ_CERT | Student
enrol for number of main subjects (from
a list of subjects) = number of subjects, with proof The function checks if the student's (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, and the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z020 |
STUD_TYPE_FIN_STAT | Student
paid fees (have no financial status) with proof The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule and the Student Type matching any of the values in parameter 2
|
Rule: Z017 |
STUD_TYPE_RESID | Student
is regarded a citizen of the country where he lives with proof (2 docs) The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
OR
OR
|
Rule: Z016 |
STUD_TYPE_RESID_CERT | Student
is regarded a citizen of the country where he lives with proof The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
OR
OR
|
Rule: Z026 |
STUD_TYPE_SP | Student
enrol for specific study period for qualification The function checks if the student (application or registration) qualification has an Offering Type matching any of the values in parameter 1 of the rule, the Student Type matching any of the values in parameter 2 and the Qualification matching of the values in parameter 3
|
Rule: Z027 |
SUBJLANGPROF | Does the applicant have the required language proficiency for the planned subjects? The functions match the planned subjects with any of the values in parameter 1 of the rule.
|
Rule: 36B This function differs from the next function SUBJLANGPROFEXCL in that specific subjects are indicated to have specific language proficiency requirements. |
SUBJLANGPROFEXCL | Does the applicant have the necessary language proficiency for the
subject? (This rule works on the 'exception' rule in that all subjects
require language proficiency except the subjects referenced in the
parameter values of parameter 2) The function checks if the applicant's home language, as defined in {SREGB-1}, matches any of the values in parameter 1 of the rule
|
Rule: 47 The certificate codes are defined in {SCODE-22} and should reflect clearly in the description that it indicates language proficiency. |
VALIDATIONMAIN | The main academic application validation function? This function manages the processing of all active validation rules as defined in {SNAPPA-8}. The function is activated when the user clicks on either one of the buttons 'Trail Validation' or 'Final Validation' in the academic application program {SNAPPA-1/3}. It performs the following actions:
|
The main function in the package that does all the administrative work Routes are defined in {GROU-1} and the results of the different actions of the route are stored in {GROU-2} |
Date | System Version | By Whom | Job | Description |
---|---|---|---|---|
17-May-2007 | v01.0.0.0 | Charlene van der Schyff | t137175 | New manual format. |
12-Jul-2007 | v01.0.0.0 | Melanie Zeelie | t137001 | Routing options added |
11-Dec-2007 | v01.0.0.0 | Melanie Zeelie | t131049 | Routing options added |
28-Jun-2010 | v02.0.0.0 | Bea Swart | t161186 | Add new validations - Rule Code starting with 'Z' |
11-Apr-2011 | v02.0.0.1 | Magda van der Schyff | f173334 | Update validation rule codes: Z012, Z018, Z020, Z021, Z022, Z023, Z024 |
07-Dec-2012 | v02.0.0.2 | Magda van der Schyff | f179624 | Update validation rule Z011 |
06-Oct-2014 | v02.0.0.3 | Magda van der Schyff | t203912 | Add missing/new validations |