Enable Service Call Creation for Inactive Customers
For Signature 18.04b06 or higher, new service calls cannot be created for inactive customers' service locations. If you want your technicians to be able to create new service calls for an inactive customer's service locations, you will need to make offline HTML modifications.
Update the New Service Call Form
To enable service call creation for inactive customers' service locations from the New Service Call Form:
- In MobileTech Administration, select Tools > Launch Resco Cloud Dashboard.
- Enter the Email and Password and select Log in.
- In the left navigation, select Woodford.
- Open the MobileTech Woodford project.
- In the left navigation under Components, select Offline HTML.
- Double-click entity.
- Double-click servicecall.
- Select servicecall-form_new.html.
- From the menu bar, select Edit.
- In the Edit window, scroll down to
// ----- LOCATION -----
. Locate the line if (afterVersion2018R6) {
Add the comment out slashes // to the front of the following line:
customerLink.addFilter().where(SCHEMA.customer.Properties.isinactive, 'eq', 'false');
- Select Save in the Edit window.
- Select Save.
- Publish the project
- Sync the devices.
Update the BOB Dashboard and BOB Fault List
You will only need to do these steps if you are using the Building Optimization Broker integration and you want to allow for service calls and service requests to be created for inactive customers' service locations.
Update the BOB Dashboard
To enable service call and service request creation inactive customers' service locations from the BOB Dashboard:
- In MobileTech Administration, select Tools > Launch Resco Cloud Dashboard.
- Enter the Email and Password and select Log in.
- In the left navigation, select Woodford.
- Open the MobileTech Woodford project.
- In the left navigation under Components, select Offline HTML.
- Double-click entity.
- Double-click bobdata.
- Select bobdata-list_dashboard.html.
- From the menu bar, select Edit.
In the Edit window, scroll down to the following line: var dynamicActionItems = [];
You will need to remove the customer is inactive checks from the function treeViewItemSelected:
In the following line, you will need to remove || selected.equipment.iscustomerinactive
if ((afterVersion2018R6 && (selected.equipment.islocationinactive || selected.equipment.iscustomerinactive
)) || !canCreateCall) {
In the same section, you will also need to remove: || selected.equipment.iscustomerinactive
else if (afterVersion2018R6 && (selected.equipment.islocationinactive || selected.equipment.iscustomerinactive)) {
Select Save in the Edit window.
- Select Save.
- Continue with the steps below.
Update the BOB Entity Form List
To enable service call and service request creation for inactive customers' service locations from the BOB Entity Form List:
- In MobileTech Administration, select Tools > Launch Resco Cloud Dashboard.
- Enter the Email and Password and select Log in.
- In the left navigation, select Woodford.
- Open the MobileTech Woodford project.
- In the left navigation under Components, select Offline HTML.
- Double-click entity.
- Double-click bobdata.
- Select bobdata-list_entityform.html.
- From the menu bar, select Edit.
In the Edit window, scroll down to the following line: == LIST ITEM FUNCTIONS ===
In the following line, you will need to remove: || customer.properties.isinactive
if ((afterVersion2018R6 && (location.properties.isinactive || customer.properties.isinactive)) ||
- Select Save in the Edit window.
- Select Save.
- Publish the project
- Sync the devices.