Scheduled Maintenance
Scheduled Maintenance required for Equipment is a key component in using PCR-360 for Facilities Management. Users can set up a Custom Event that will assist in scheduling regular maintenance for Equipment by automatically creating Incidents for that Equipment to be maintained. In order to create this automated behavior first there need to be three User Defined Fields (UDFs) set to track needed maintenance.
To set up the UDFs first navigate to Admin > User Defined Fields > User Defined Fields. Create the UDFs needed by following these steps:
Create a Maintenance Period Type UDF
Create a new UDF by clicking the 'Add' button.
In the 'UDF Identifier' field set the value to "MAINTENANCE_PERIOD_TYPE".
Add a 'Label' of "Maintenance Period".
Set the 'Field Type' to "Dropdown".
The header should look like this example:
In the 'UDF Associations' click the 'Add' button to open the 'Add New Field Association' form.
Set the 'Association Table' dropdown to "Eqp Catalog"
Click the 'Save New' UNKNOWN_ATTACHMENT button.
Close the 'Manage Field Association' form.
Click the 'Save New' button to save the UDF.
When the form refreshes select the 'Dropdown Options' tab.
Click the 'Add' button and add three new options:
Add a 'Value' and 'Code' of "Years".
Add a 'Value' and 'Code' of "Months".
Add a 'Value' and 'Code' of "Days".
When done the options should look like this:
Close the 'Manage Field Association' form.
Create a Maintenance Period Quantity UDF
Create a new UDF by clicking the 'Add' button.
In the 'UDF Identifier' field set the value to "MAINTENANCE_PERIOD_QTY".
Add a 'Label' of "Maintenance Period Quantity".
Set the 'Field Type' to "Number".
The header should look like this example:
In the 'UDF Associations' click the 'Add' button to open the 'Add New Field Association' form.
Set the 'Association Table' dropdown to "Eqp Catalog"
Click the 'Save New' button.
Close the 'Manage Field Association' form.
Click the 'Save New' button to save the UDF.
Create a Maintenance Date UDF
Create a new UDF by clicking the 'Add' button.
In the 'UDF Identifier' field set the value to "MAINTENANCE_DATE.
Add a 'Label' of "Maintenance Date".
Set the 'Field Type' to "Date".
The header should look like this example:
In the 'UDF Associations' click the 'Add' button to open the 'Add New Field Association' form.
Set the 'Association Table' dropdown to "Equipment"
Select an 'Equipment Catalog' to limit the UDF to the type that should set for the regular maintenance.
Click the 'Save New' button.
Close the 'Manage Field Association' form.
Click the 'Save New' button to save the UDF.
Once all of three of the UDFs have been created the next step is to add a Custom Event. To add the Custom Event follow these steps:
Navigate to Admin > Custom Logic > Events.
Click the 'Add' button to start a new Event.
Set the 'Identifier' field to "Scheduled Maintenance".
In the 'Logic' tab enter the logic from the "Schedule Maintenance" expand below:
Click the 'Save New' button.
Now that initial data set up is finished, simply find the Equipment Catalog from step 1 and enter information into the two UDFs setup in steps 1 and 2, Maintenance Period and Maintenance Period Quantity respectively. The Quantity should represent how many periods should pass before triggering the event. For example, to set a maintenance period every 3 months, set the Quantity to "3". Next, open the Equipment record and set the Maintenance Period Date UDF to the next Maintenance Date.The Custom Event will now automatically run in the background. When the Custom Event runs, a new Incident for each Equipment with a Maintenance Date that matches the current date will be created and then the Maintenance Date will be set to the next interval period. These Incidents can then be worked normally to accomplish the regularly scheduled maintenance tasks.