In TimeWorksPlus, you can set clock prompts to use Home Department or Location, but for any other field in Employee Setup, it has to be scripted.
For the purpose of this scripting example, we are using 'prompFieldName' to refer to the Field Name of the clock prompt. YOU MUST CHANGE THIS VALUE WHEN YOU WRITE YOUR SCRIPT. You would use the Field Name of your prompt.
You would place this script in the PayRate Script scripting rule.
if(promptFieldName = ""){ promptFieldName = employee.title; }
This script puts the value of the Employee Title field in the prompt. However, you could use any value from Employee Setup. A list of Employee Setup keywords can be found here. TimeWorksPlus: Scripting Keywords
|