TimeSimplicity & Other Product Ideas

Salary / Exempt Employees – Auto add hours

I need to be able to set an amount of hours for a group(s) of salary employees that gets automatically applied to their time card each payroll
  • Guest
  • Jun 23 2016
  • Future consideration
  • Attach files
  • Guest commented
    October 26, 2016 15:36

    Hi there,

     

    I manage this type of functionality through scripting.  I have created schedule templates for all salaried employee, which define the hours/day the system should autoadd.  I create these schedules are recurring schedules, and then set the AddEntry script to run only when reportingdate <= today's date.  I use pay category "Entry" simply as a variable, as AddEntry currently can only add whole numbers, and then assign the proper category and hour total in PayRate Script.  Here is the script:

     

    //Addentry

    if(employee.employeetype contains "Salary"){
    if(reportingdate.date <= reportingdate.todaysdate){
    if("MTWRF" contains reportingdate.weekday and reportingdate.totalhours < 8){
    if(reportingdate.isholiday = false){
    addentry("hours",1,"Entry");
    }
    }
    }

    }

     

    //PayRate

    /*NOTE: This piece references any other time already on the day, so that the system does not overcreate hours.  For example, if I already have 4 hours of PTO approved, the system will only auto create 4 hours versus 8.  I need to write this here because AddEntry currently only adds whole numbers.  Otherwise, I would write all of this through Addentry, and remove the need for multiple script boxes */

     

    //Salary AutoEntry Script

    $x = reportingdate.totalhours - 1;

    if(hours = 1 and category = "Entry"){
    hours = reportingdate.schedhours - $x;
    category = "Regular"
    }

     

    Hopefully this helps.  Good Luck!

    Greg Nasso

    Complete Payroll