Service Modules > Service Org > Timesheets > Timesheets for Administrator > Timesheet Engine Execution > Splitting Multi-Day Events Using Business Hours
Splitting Multi-Day Events Using Business Hours
The time entry for multi-day ServiceMax Events, Salesforce Events, or Work Detail records is split into multiple entries, one for each day. By accurately tracking the technician's work hours, the split time entry feature improves the accuracy of time entry processing.
The following fields are added to the Time Entry object for the split time entry feature:
Is MultiDay: This checkbox is automatically enabled for a multi-day Salesforce Event, ServiceMax Event, or a Work Detail record.
Time Entry Date: Date of the time entry. This field is required to track the time entry date, which is used to roll up the duration to the respective Timesheet Daily Summary record.
* 
The Start and End Dates on each time entry generated by a multi-day event or the Work Detail Line are populated based on the Business Hours on the Timesheet header.
The Duration is calculated based on the Business Hours on the Timesheet record.
The time entry split functionality is not applicable for Tasks in a Timesheet.
The following are some use cases of how Technician Hours are calculated for multi-day events:
If a technician is on leave from 25/12/2021 to 5/1/2021 Jan, 12 Time entries (TE) are created representing each day of their leave. Here, the generated time entries for each day span across the two monthly timesheets for December and January.
If the Event record has a Start Date of 12/13/2021 at 1 PM, End Date of 12/16/2021 at 10 PM. In this case, the Business Hours are different for different days. On 12/13/2021 and 12/14/2021 the Business Hours are 9 AM - 6 PM, 12/15/2021 is a holiday, and on 12/16/2021 the Business Hours are 12 AM to 12 AM (24 hours). Then the Time entries' Start and End Dates and their duration calculation are as follows:
Time Entries
Actual Day
Start DateTime
End DateTime
Duration in Hours
Business Hours
Duration Calculation
TE1
12/13/2021
12/13/2021 13:00
12/13/2021 18:00
5
9 am to 6 pm
On 13-Dec, the duration is calculated from 13:00 to 18:00, as the Business Hours are till 18:00.
TE2
12/14/2021
12/14/2021 09:00
12/14/2021 18:00
9
9 am to 6 pm
On 14-Dec, the duration is calculated from 09:00 to 18:00, as the Business Hours start from 09:00 and end at 18:00.
TE3
12/15/2021
12/15/2021 00:00
12/15/2021 00:00
0
Holiday
On 15-Dec, the duration is not calculated as it is a holiday.
TE4
12/16/2021
12/16/2021 00:00
12/16/2021 22:00
22
12 am to 12 am (24 hours)
On 16-Dec, the duration is calculated from 00:00 to 22:00 as the Business Hours start at 00:00 and end at 24:00. The event End Time is 22:00, therefore, only 22 hours are calculated.
Was this helpful?