Home      Ask a Question      My Stuff      Help   
  
NY Spread of hours
This scripting puts an alert on the time card and would go in the PayRateScript box and SplitPostReportingDate box as labeled below on each of the scripts:

if (islasttoday) {SpreadofHours = (((val (reportingdate.spread) / 3600) * 100)\1)/100;}

if (islasttoday AND SpreadofHours > 10) {hours = hours + 1; addalert ("Spread of hours over 10");}


This scripting will add an additional hour of "Spread of Hours" if the spread of hours is greater than or equal to 10.

//AddEntryScript
if(val(reportingdate.spread)/3600 >= 10){
addentry("hours", 1, "Spread of Hours");
}
ID
1455
Category
>Support
  Scripting
Date Created
2/11/2015 2:45:21 PM
Date Updated
10/7/2015 7:59:16 AM
Back to Search Results