Service Modules > Service Org > Timesheets > Timesheets for End User > Viewing and Managing Timesheets and Related Records > Viewing Generated Timesheets and Daily Summary Records for Weekly Schedule
Viewing Generated Timesheets and Daily Summary Records for Weekly Schedule
After admin creates the timesheet configuration template by configuring the schedule for a weekly frequency, the timesheet headers and daily summary records are generated based on the configured schedule. For more information, see Creating a Timesheet Configuration Template.
Use Case
Let’s take an example where the admin configured the timesheet template with the weekly schedule as shown in the below screenshot:
Based on the above configuration, the Timesheet records are generated as described below:
Created on: Every Wednesday, from 1st August 2024 to 31st December 2024, at 9 AM GMT
Created for users (eligibility): For all active Salesforce users, whose Salesforce profiles are associated with the ServiceMax group profiles assigned to the timesheet configuration
Count of records created per user: Two timesheet records are created, including one for the current Timesheet Period and the other for the next Timesheet period. The timesheet start and end dates will generate dynamically based on the days the Timesheet Header process runs, as the "Period Days are Static for All Timesheets" setting is not enabled.
Generated Timesheet Period based on the Date of the Timesheet Header Process’s Run
If the Period Days are Static for All Timesheets option is not selected in the above timesheet configuration, the current and next Timesheet periods are based on the timesheet header process’s run. Each of the above timesheet records (and their related Timesheet Daily Summary records) is created only if there is no existing record for that Timesheet Period, with Status = Open. Timesheet record (and its related Timesheet Daily Summary records) for the next Timesheet Period is created only if the next Timesheet Period Start Date is less than or equal to the timesheet creation schedule Continuing Through date.
In the above configuration, If the Timesheet engine is scheduled to run on Wednesday, and the Period Start Day and Period End Day are set to Monday and Sunday, the timesheet will be dynamically generated based on the timesheet header process’s run date (Wednesday), regardless of the Period Start and End Days.
The Timesheet records are generated as shown in the following table:
Scheduler Run #
Run Date
Timesheet Start Date
Timesheet End Date
1
7/Aug/2024 (Wednesday)
7/Aug/2024
13/Aug/2024
1
Same as above
14/Aug/2024
20/Aug/2024
The two Timesheet records are created when the timesheet header process completes processing of the timesheet configuration for the first time – one for the current period and one for the next period. From the subsequent timesheet header process, one Timesheet record is created, and it is dynamically generated for the next period based on the previous timesheet’s period.
Generated Timesheet Period based on the Period Start and End Days
If the Period Days are Static for All Timesheets option is selected in the above configuration, the current and next Timesheet periods are based on the configured Period Start Day and Period End Days regardless of when the timesheet header process runs.
In the above configuration, If the Timesheet engine is scheduled to run on Wednesday, and the Period Start Day and Period End Day are set to Monday and Sunday, the timesheet period will be determined statically based on the Period Start Day and End Day.
Timesheet records are generated as shown in this table:
Scheduler Run #
Run Date
Timesheet Start Date
Timesheet End Date
1
7/Aug/2024 (Wednesday)
5/Aug/2024 (Monday)
11/Aug/2024 (Sunday)
1
Same as above
12/Aug/2024
18/Aug/2024
Timesheet Daily Summary Records
Timesheet Daily Summary records get created for each generated Timesheet record. The screenshot below shows a Timesheet record with its child Timesheet Daily Summary records.
* 
The total number of Timesheet Daily Summary records created for each Timesheet record will be 6, for Monday to Sunday, covering the date span from Timesheet Start Date to End Date.
Was this helpful?