View: calculate overtime cost in a Timesheet View
Overtime is not calculated by default in Adobe Workfront, but you can create a Timesheet report that calculates overtime.
If the user is associated with a Cost per Hour rate in their profile, you can also calculate the amount of cost for the overtime of that user.
For information about associating users with Cost per Hour rates, see the article Configure My Settings.
Access requirements
You must have the following access to perform the steps in this article:
table 0-row-2 1-row-2 2-row-2 3-row-2 layout-auto html-authored no-header | |
---|---|
Adobe Workfront plan | Any |
Adobe Workfront license* |
New:
Current:
|
Access level configurations |
Edit access to Reports, Dashboards, Calendars to modify a report Edit access to Filters, Views, Groupings to modify a filter |
Object permissions | Manage permissions to a report |
*For information, see Access requirements in Workfront documentation.
Calculate overtime cost in a Timesheet View
To add a calculated Overtime column to a timesheet view:
-
Go to a list of timesheets.
-
Click the View drop-down menu, then click New View.
-
Click Add Column.
-
Click Switch to Text Mode, then click Edit Text Mode.
-
In the Edit Text Mode box, remove the text in the box, then copy and paste the following text mode code:
code language-none displayname=Calculated Overtime Cost linkedname=direct namekey=totalHours querysort=totalHours textmode=true valueexpression=IF({totalHours}>40,({totalHours}-40)*{user}.{costPerHour},{totalHours}*{user}.{costPerHour}) valueformat=currencyStringCurrencyRounded
note note NOTE This calculation assumes that the user usually works a 40-hour week. -
Click Done, then name the new view and click Save View in a list of timesheets.
The cost of the overtime of each user is displayed in the Calculated Overtime Cost column.