Home      KBase      Ask a Question      My Stuff      Help   
  
SUPPORT: SCRIPTING: Break time on its own line
CRC

This script requires a hidden labor prompt called breakTimePaid.

$spread = val(outdt - indt) * 24;
if(hours > $spread){
breakTimePaid = hours - $spread;
hours = hours - breakTimePaid;
$ogcat = category;
category = "Break Time";
split(dateadd("s", "-1", outtime));
category = $ogcat;
}

if(category = "Break Time"){
hours = val(breakTimePaid);
}
ID
1888
Category
>Support
  Scripting
Date Created
8/1/2017 3:01:18 PM
Date Updated
8/7/2017 8:39:31 AM
Was this information helpful?
 
Back to Search Results