Planned Maintenance or PM * A PM is simply a task where: * Task type = "Planned Maintenance" * As with any task a PM may have a recurring schedule, actions and entries etc. The following information can be automatically returned from the system. * PM frequency = Task.taskRecurringSchedule * PM KPI's: * Total PM's = Task.findAllByTaskType("Planned Maintenance") * Complete PM's = Total.findAllByTaskStatus("Complete") * PM completetion rate = Complete/Total * Missed PM's = Total - Complete * PM parent tasks = context{TaskRecShed.task.taskType("Planned Maintenance") and Date in range}