Info |
---|
This article details the processes associated with completing a |
Table of Contents |
---|
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.
...
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 |
...
INVOICE LINE ITEM CREATION
An Invoice Line Item
is created when a Time Sheet Entry
is updated to Status = Approved
OR Approved - Scheduled
.
If a
Time Sheet Entry
is automatically approved because theService Resource
has checked in and out on time thenStatus = Approved - Scheduled
.If a
Time Sheet Entry
is not automatically approved a manager must review theTime Sheet Entry
and approve the record,Status = Submitted
in this scenario.
A sample report to review submitted Time Sheet Entries
is available here.
Info |
---|
A manager can update the |
The following flow will run when a Time Sheet Entry
is updated or created to identify if an Invoice Line Item
should be created.
Create Invoice Line Item When Time Sheet Entry is Approved
Invoice Line Item
Quantity
will be added based onEndTime - StartTime
forProducts
whereQuantityUnitOfMeasure = Hourly
.Invoice Line Item
Quantity
will be added based onQuantity
forProducts
whereQuantityUnitOfMeasure = Each
.
...
To understand how Maica manages Invoices please review https://knowledge.maica.com.au/welcome-to-maica/claim-management/invoice-management in the Maica knowledge base.