Version 1.15.0.0 for VETtrak 17.3.0 - 13/10/2017
Various changes to maintain compatibility with changes made in VETtrak 17.3: AVETMISS 8 data requirements, client employment history, multiple payment plan providers, and pricing surcharges.
Note that there are some breaking API changes in this release:
- Award year completed is now a date completed
- Positions are now represented differently
- Employer and manager are no longer updateable via the additional data functions
- Change to payment plans for web enrolments to support multiple payment plan providers
Modify functions
- UpdateWebClient, UpdateWebEmployee, UpdateClientWebWaitlist: Added surveyContactStatusCode parameter, allowing you to optionally specify the NCVER survey contact status code for the web client. If not specified, will default to "A" (Available for survey use).
- AddAward: Changed yearCompleted parameter to dateCompleted. This is a breaking change. The dateCompleted is not defaulted, and is mandatory when recording a certificate-type award for a reportable enrolment. It cannot be after the recordedDate. parchmentNumber can now be up to 25 characters long.
- GetPositions: Now returns a TAuthPositionList instead of a TAuthQualList, containing a list of TPosition instead of TQual. This is a breaking change.
- UpdateClientDetails: Changing the Empl_Identifier or PositionCode will now create a new client employment record, as primary, and inactivate any existing primary record. Changing the Clie_DateLastAssessed, Clie_Commenced, TerminationDate or Clie_Salary will update these details in the client's existing primary employment record (creating one if it does not exist).
- AddWebPaymentPlan: Removed "provider" parameter. This is a breaking change. To allow support for multiple payment plan providers and multiple products, the VETtrak user now chooses the provider when creating the payment plan. The user will now only get the opportunity to create a payment plan, defaulted to the values in this function, when they process the web enrolment manually. If you are automatically processing web enrolments, your system should inform a user that the student wishes to pay with a payment plan, with instalment amount X, frequency Y, for invoice number Z, so the user can do so in VETtrak.
- GetPricingForOccurrence: The returned list of TPric will contain a new SurchargePercentage field, indicating the surcharge percentage applicable to the enrolment price. The Enpr_Amount and Enpr_GST returned will include the surcharge.
- AddPriceTypesToWebEnrolment: Note that the Enpr_Amount and Enpr_GST you specify will be treated as already including the surcharge, if the enrolment price has a surcharge percentage. Any SurchargePercentage you specify will be ignored.
Add classes
- TPosition, TAuthPositionList
- Contains a position and list of positions respectively. Returned by GetPositions.
Modify classes
- TWecl
- Added fields
- SurveyContactStatusCode: Contains the survey contact status code for the web client.
- Added fields
- TQucl
- Added fields
- CompleteDate: The date the learning for the award was completed.
- Added fields
- TPric
- Added fields
- SurchargePercentage: Contains the surcharge percentage applicable to the enrolment price. Can be negative for a discount. 0 if no surcharge is applicable. Only used when retrieving prices, not when adding prices.
- Added fields
Additional data field changes
These changes affect the QueryAdditionalData, GetAdditionalDataFieldsForEntity, GetAdditionalDataForWebRecord, UpdateAdditionalDataForWebRecord, UpdateClientAdditionalFields and UpdateEmployerAdditionalFields functions.
New fields
- Client
- SurveyContactStatusName: The name of the client's survey contact status.
- SurveyContactStatusCode: The code of the client's survey contact status.
- Award
- CompleteDate: The date the learning for the award was completed.
Changed fields
- Client
- EmployerId, EmployerName, PositionCode, PositionName, DateCommenced, DateLastAssessed, Salary, ManagerClientCode: These fields will now return the value for the client's primary employment record (if any). EmployerId, EmployerName and ManagerClientCode are no longer updateable - this is a breaking change. Updating the other fields will do so in the client's primary employment record (one must already exist).
Removed fields
- Award
- Year: Replaced by CompleteDate. This is a breaking change.