| Top of STA | Index | Table of Contents | Feedback | ![]() |
| Purpose | To export OS-HELP Students' data from Callista SMS to eCAF Portal using the API provided by the Government |
| SubSystem | Statistics |
| Normally Run By | Statistics specialist |
| Anticipated Frequency | On demand, when the files are required for statistics processing. |
| Structure | No Parameters |
This job exports the OS-HELP External Study Loans for eligible students’ course enrolment data from Callista SMS to the Government eCAF Site using the API provided by the Department.
STAJ2060 is available to all HE, VET and cross sector institutions. This job is accessed via the main menu. |
Parameters
|
Notes No parameters exist for this job. The following message displays: 'No parameters exist for this job. Do you wish to schedule the job to run as soon as possible?' |

For the system configuration required to connect Callista with the eCAF Portal, refer to eCAF Portal Configuration.
The basic processing steps for STAJ2060 are as follows:
| Field Name | Source |
Mandatory |
Comments |
eCAFType |
N/A |
Yes |
Value sent is ‘OSHelp’ |
initialEmailAddress |
PERSON_GOVT_EMAIL_ADDR_V.EMAIL_ADDR |
Yes |
This is a custom source view that clients can modify to select the email address from their preferred location. |
givenNames |
If USI Personal Detail with Transaction Type PROCESSED does not exist: Otherwise, if USI Personal Detail with Transaction Type PROCESSED exists:
|
No |
|
| middleName | If USI Personal Detail with Transaction Type PROCESSED does not exist: Otherwise, if USI Personal Detail with Transaction Type PROCESSED exists:
|
||
familyName |
If USI Personal Detail with Transaction Type PROCESSED does not exist: Otherwise, if USI Personal Detail with Transaction Type PROCESSED exists:
|
Yes |
|
hasOneName |
|
Yes |
If the Given Names in Callista is null and the Surname is populated, then this field is set to ‘YES’ in the Government eCAF site, otherwise it is set to ‘NO’. |
dateOfBirth |
PERSON.BIRTH_DT |
Yes |
|
residentialStreetAddress |
PERSON_ADDR_GOVT_HOME_V. ADDR_PART_1 + PERSON_ADDR_GOVT_HOME_V. ADDR_PART_2 |
No |
|
residentialSuburb |
PERSON_ADDR_GOVT_HOME_V. SUBURB_TOWN |
No |
|
residentialState |
STAP_GET_GOVT_STATE (PERSON_ADDR_GOVT_HOME_V.POSTCODE, ia.aust_postcode, 'HE') |
No |
The State is derived based on the Postcode. |
residentialPostcode |
PERSON_ADDR_GOVT_HOME_V. POSTCODE |
No |
|
providerTradingName |
ORG_UNIT.DESCRIPTION |
No |
Description value for the Org Unit of the |
campusName |
STUDENT_COURSE_ATTEMPT.LOCATION. DESCRIPTION |
Yes |
|
studentIdentificationNumber |
PERSON.PERSON_ID |
Yes |
|
| usi | PERSON_USI.USI | No | |
courseOfStudyCode |
CRFC.REFERENCE_CD WHERE RCT.S_REFERENCE_CD_TYPE = ‘CRSOFSTUDY’. If NULL, then use SCA.COURSE_CD |
Yes |
|
courseOfStudyName |
For the course code and where the rct.s_reference_cd_type = CRSOFSTUDY, return the course_reference_cd.description. If course_reference_cd.description is NULL, then return CRV.SHORT_TITLE |
Yes |
|
osStudyType |
Set to one of the following:
|
Yes |
If the Loan Scheme is mapped to a Government Student Status of:
|
| Amount | STDNT_CRS_EXTERNAL_STUDY_LOAN.LOAN_AMOUNT | Yes | Report the ENRF3900 Amount when the Loan Scheme has a Government Student Status of 240 and 241 |
| citizenship | PERSON_STATISTICS.CITIZENSHIP_CD | Yes | Report the government citizenship code that it is mapped to this in ENRF0140 |
| newZealandSpecialCategoryVisaHolder | NA | Yes | When Citizenship Type = 2 then, newZealandSpecialCategoryVisaHolder is set to ‘true’ otherwise ‘false’ |
| newZealandEnteredAustraliaAsChild | NA | Yes | When Citizenship Type = 2 then, newZealandEnteredAustraliaAsChild is set to ‘true’ otherwise ‘false’ |
| newZealandBecameResident10YearsBefore | NA | When Citizenship Type = 2 then, newZealandBecameResident10YearsBefore is set to ‘true’ otherwise ‘false’ | |
| newZealandBeenInAustralia8Of10Years | NA | When Citizenship Type = 2 then, newZealandBeenInAustralia8Of10Years is set to ‘true’ otherwise ‘false’. | |
| newZealandBeenInAustralia18MonthsOfLast2Years | NA | When Citizenship Type = 2 then, newZealandBeenInAustralia18MonthsOfLast2Years is set to ‘true’ otherwise ‘false’. | |
| uniqueStudentIdentifier | PERSON_USI.PERSON_USI | When PERSON_USI.RETRIEVAL_DT IS NOT NULL or PERSON_USI.VERIFICATION_DT IS NOT NULL, then uniqueStudentIdentifier = PERSON_USI.PERSON_USI |
For records which pass all validations, a JSON object is constructed and sent to the eCAF Portal via the eCAF REST service URL recorded within the System Job Control (JBSF4600).
If the HTTP response has no errors, then the ‘OS-HELP Exported to eCAF’ indicator in ENRF3900 is selected (also occurs for a linked record, if one exists).
An S_LOG_ENTRY record, 'The student <p_person_id – p_course_cd> has been successfully transferred to the Government eCAF site for their OS-HELP loan application.', is created.
The ID (Identifier for the enrolment) returned by the eCAF Portal API is stored in the Callista database.
Derive the osStudyType field based on the retrieved Government Student status. If the retrieved value is:
Validate whether the Language Study commencement date of the record matches with the Study Period Commencement Date, provided that the External Study Loan Status of the record being processed is ECAF-READY, APRVL-PEND or APPROVED.
When this validation fails, log an error in S_LOG_ENTRY table and stop processing the student.
Technical Information
|
Last Modified on: 11-Sep-2023 11:43 AM
History Information
| Release Version | Project | Change to Document |
| 24.1, 25.0 & 25.1 | 2583 - Middle Name | New info for Name fields in table of course enrolment data |
| 24.0.0.3, 24.1.0.3 & 25.0.0.2 | 2572 - 2022 eCAF changes | Removed references to status 242 and added rows for Source details for export table |
| 22.0.0.3, 22.1.0.3, 23.0.3 & 23.1.0.2 | 2509 - USI for HE Part 2 | USI replaced CHESSN |
| 19.1.0.3, 20.0.0.3 & 21.0.0.2 | 2368 - OS-HELP eCAF | New Online Help page. |