Timesheet Split Process – Postgres

This process workflow with gel script forces billable hours on timesheet down to 40 hours, and sets overtime hours to non-billable.  Timesheets with 40 or fewer hours are not touched.  Process kicks off upon submission of timesheet.  Steps are:

  • Determine if timesheet has > 40 hours.  If so, proceed.
  • Create a SPLIT row for each timesheet row, with Input Type Code = Non-Bill.
  • Divide 40 by total timesheet ours.  Store this value.
  • Multiply each timesheet cell by the stored value, and enter the result into that cell.
  • Take the difference (original cell value – new cell value), and enter in same cell on Split row.
  • The end result will be 40 hours total on Billable rows, and overtime hours on Non-Billable rows.

Want access to our solutions?

Register for a free theBasiX™  account and upgrade to theWorX to gain access to all of the content available on RegoXchange™.

Download Details

RegoXchange Content ID: EX1231

Submission Date:

Submitter:

Content Type: Clarity Studio

Related Modules: Resource Management

Company: Rego Consulting

Version Support

Versions Supported: 15.x, 16.x

Special Instructions

Special Instructions:

XOG Timesheet Split Process, ID = rego_timesheet_split.

Must add two values to Input Type Code:  Bill and Non-Bill.  Default value for resources will be Bill.