Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Installed with SM Planned Maintenance

The SM Planned Maintenance core plugin also includes demo data.

Tables installed with SM Planned Maintenance

TableDescription
Maintenance Plan Record\[sm\_m2m\_maint\_plan\_to\_record\]Relates a maintenance schedule to a record in the system \(from a document ID\). Also contains information about the last time or value the schedule was run for the record and the next time or value when the schedule will run.
Schedule Template\[sm\_m2m\_schedule\_template\]Relates a maintenance schedule to service management templates.
Maintenance Plan\[sm\_maint\_plan\]Defines a maintenance plan, including which table and records the plan applies to.
Maintenance Schedule\[sm\_schedule\]Defines a schedule that is part of a maintenance plan. A schedule can be duration, meter, condition, or script based.

Roles installed with SM Planned Maintenance

Role title [name]Description
plan_maint_adminAdministrator for planned maintenance.

Script includes installed with SM Planned Maintenance

Script includeDescription
PlannedMaintenanceUtilsUtilities for planned maintenance.
PlannedMaintenanceAjaxAJAX entry points into PlannedMaintenanceUtils.

Client scripts installed with SM Planned Maintenance

Client scriptTableDescription
Update field display - trigger type chgMaintenance schedule\[sm\_schedule\]Updates the fields displayed on the maintenance schedule form based on the trigger type selected.
Update field display - repetition chgMaintenance schedule\[sm\_schedule\]Updates the fields displayed on the maintenance schedule form based on the repetition selected.
Update table when type changesMaintenance plan\[sm\_maint\_plan\]Updates the table field based on the selected models (for model-based plans).
Validate the every fieldMaintenance schedule\[sm\_schedule\]Verifies that the every field is a positive number; else it defaults to 1.
Update table when models changeMaintenance plan\[sm\_maint\_plan\]Updates the table field based on the selected models (for model-based plans).

Business rules installed with SM Planned Maintenance

Business ruleTableDescription
Update maintenance plan recordService Order\[sm\_order\]Updates the maintenance records \[sm\_m2m\_maint\_plan\_to\_record\] once a service order is closed.
Update m2m schedule recordsMaintenance schedule\[sm\_schedule\]Recalculates the next value or next run time when meter or duration fields change.
Active changesMaintenance Plan Record\[sm\_m2m\_maint\_plan\_to\_record\]Handles changes to the active flag for a maintenance plan record.
Active insertMaintenance Plan Record\[sm\_m2m\_maint\_plan\_to\_record\]Handles changes to the active flag for a maintenance plan record.
Active changesMaintenance schedule\[sm\_schedule\]Handles changes to the active flag for a maintenance schedule.
Active changesMaintenance plan\[sm\_maint\_plan\]Handles changes to the active flag for a maintenance plan.
Active InsertMaintenance schedule\[sm\_schedule\]Handles changes to the active flag for a maintenance schedule.
Apply plan to new recordsMaintenance plan\[sm\_maint\_plan\]Updates the business rule for applying a plan to new records whenever the Apply to new records field changes.

Scheduled jobs installed with SM Planned Maintenance

Scheduled jobsDescription
Planned Maintenance Nightly RunBuilds maintenance requests based on active maintenance plans.

Parent Topic:Activate Planned Maintenance