...
Info |
---|
This article details the processes associated with completing a |
SUMMARY
A Service Appointment
is typically updated to Status = Completed
via the Check Out flow which is available on the Field Service mobile app for support workers. This will trigger a process to create a Time Sheet Entry
based on specific rules that are included in the Check Out flow logic.
SERVICE APPOINTMENT DATE/TIME FIELDS DEFINITIONS
FIELD | DEFINITION |
---|---|
Scheduled Start | The scheduled start date/time of the |
Scheduled End | The scheduled end date/time of the |
Check In Time | The stamped date/time when a Support Worker checks in via their mobile app, the expectation being that they will check in when they arrive at the destination of the service. |
Check Out Time | The stamped date/time when a Support Worker checks out via their mobile app, the expectation being that they will check out when they have completed the service. |
Actual Start | The start date/time of the service delivery.
|
Actual End | The end date/time of the service delivery.
|
Note |
---|
|
TIME SHEET ENTRY CREATION
The Time Sheet Entry
Start Time
and End Time
are mapped from the Actual Start
and Actual End
fields on a Service Appointment
record.
The Actual Start
and Actual End
fields on a Service Appointment
record are populated based on specific rules to accurately define the hours that have been delivered.
Info |
---|
The |
Check In & Check Out on time
If a Support Worker Checks In within the
Service Appointment Tolerance Setting
then theActual Start
will be applied as theScheduled Start
on theService Appointment
.If a Support Worker Checks Out within the
Service Appointment Tolerance Setting
then theActual End
will be applied as theScheduled End
on theService Appointment
.A
Time Sheet Entry
will be created and automatically approved which will trigger creation of anInvoice Line Item
.
Check In or Check Out not on time
If a Support Worker does not Check In or Check Out on time then they will be asked if they want to update the
Actual Start
andActual End
times and provide a reason.A
Time Sheet Entry
will be created and will not be approved which will not trigger creation of anInvoice Line Item
.Exceptions can be reviewed in a report to determine the approval status and trigger creation of
Invoice Line Items
.
TIME SHEET ENTRY CREATION LOGIC
TSE FIELD | SA FIELD | NOTES |
---|---|---|
TimeSheetId | Retrieve If a | |
Service_Appointment__c | ID | |
StartTime | ActualStartTime | |
EndTime | ActualEndTime | |
Unit_Variance__c | Calculate the variance between Scheduled Date/Times and Actual Date/Times. (SchedEndTime - SchedStartTime) - (ActualEndTime - ActualStartTime) = | |
Unit_Variance_Percent__c | Calculate the percentage of the variance compared to the overall scheduled time.
= | |
Status | Create a Custom Setting called Approval Percentage Threshold, this will hold a percentage value. When a Time Sheet Entry is created, we will check if Set to | |
Created_by_CheckOut__c | TRUE |