Employee

This component runs the Employees (EMP) function and allows you to set up and maintain employee details.

Methods

CreateOrAmend
Driver Type: SASI
Use this method to create or amend one or more employees. An employee is created if it does not exist and amended if it does.
Delete
Driver Type: SASI
Use this method to delete one or more employees.
Query
Driver Type: Export
Use this method to obtain employee details or to extract employee data from SunSystems.

Mandatory fields

  • When creating, amending or deleting an employee, a value must be supplied for Employee Code - payload element <EmployeeCode>.
  • When creating or amending employee analysis entries, a value must be supplied for Analysis Code - payload element <VEmpCatAnalysis_AnlCode>.
  • When creating or amending an employee role, a value must be supplied for Employee Role Code - payload element <EmpRole_RoleCode>.
Note: At runtime the component validates the payload contents to ensure that the values supplied are correct. Various combinations of values may require other elements in the payload to be specified before the payload can be processed successfully.

Related data

  • Employee Analysis 1-10
  • Employee Assign Roles.