Home      Ask a Question      My Stuff      Help   
  
TimeWorks: Scripting - Assigning a Payrate to a Department or Job Code/Pay Code/Pay Category
Question
ID
325
Category
Training
  FAQ's
Date Created
10/17/2008 2:04:15 PM
Date Updated
8/13/2014 2:59:18 PM
We have employee's that work in multiple departments/jobs and they get different pay rates depending on what department/job they are working in. Is there a way to do this in the system?
Answer
Yes, either through employee clock prompts or a Manual edit to a time card, we can use a script that if the employee clocks into a different department via a Job Code clock prompt (x,y,z) or someone with access manually changes the job code to an alternate category the script will assign an alternate pay rate.

Setup information on clock prompts can be found here How To - Setting Up Clock Prompts.

The below script links to the prompt by the letter of the prompt being used. For example we can use 'x' and script it as below:

if (x = "01")
{
payrate = 25.00;
}

So if the employee is prompted by the Job Code prompt 'x' and enters '01' the system will know that the pay rate should be $25.00 an hour.

We can also assign pay rates used in Employee Setup (payrate (listed as Default Payrate in Employee Setup), payrate1, payrate2, or payrate3). We can use the same example above and adjust it:

if (x = "01")
{
payrate = payrate1;
}

So if the employee is prompted by the Job Code prompt 'x' and enters '01' the system will know that the pay rate should be payrate1 as listed in Employee Setup for that employee.

You can also link the prompt to a category or job code then assign a pay rate like the below example:

if (x = "01")
{
category = "Server";
payrate = payrate1;
}

So if the employee is prompted by the Job Code prompt 'x' and enters '01' the system will know to assign the punch to the job code "Server" and that the pay rate should be payrate1 as listed in Employee Setup for that employee.

Also manually editing a time card to a different category or job code can trigger a pay rate change whether it is a fixed amount or a pay rate as entered in Employee Setup like the examples above or you can also do calculations against their default pay rate (or any payrate entered in Employee Setup) if they are in a select job code or category.

For instance if they get time and a half for any "Holiday" hours a script can be created like the one below:

if (category = "Holiday")
{
payrate = payrate * 1.5;
}

To explain the above if someone manually edits the time card to change the category/job code to "Holiday" then based on the script the system would give them the payrate of their default payrate times 1.5 or time and a half.

Back to Search Results