Name
sn_employee.ep_employeeDefinitionTableChoiceUtil
Description
Restricts the tables from which the employee definition can be created.
Script
var ep_employeeDefinitionTableChoiceUtil = Class.create();
ep_employeeDefinitionTableChoiceUtil.prototype = {
initialize: function() {},
/**
* Returns a list of tables from which the employee definition can be created
* returns {Array}
*/
process: function() {
var tables = ["sys_user"];
if (GlidePluginManager.isActive("com.sn_hr_core"))
tables.push("sn_hr_core_profile");
return tables;
},
type: 'ep_employeeDefinitionTableChoiceUtil'
};
Sys ID
fdf9d289778401108f64b2487b5a99e7