Plan maintenance visits with a maintenance schedule ​

Machines with moving parts need regular service. If you service equipment at your customers' sites, for example under a maintenance contract, a Maintenance Schedule plans all the visits for a period. Each planned visit is later recorded as a Maintenance Visit.

A Maintenance Schedule is usually created from a Sales Order of type Maintenance.

Prerequisites ​

  • The Customer and the Items to service exist.
  • The Sales Persons who do the visits exist, linked to employees with user accounts, so they get calendar events.

Create a maintenance schedule from a sales order ​

  1. Create a Sales Order with Order Type set to Maintenance, and submit it.
  2. Select Create > Maintenance Schedule.

ERPNext copies the customer and the Items. Continue from step 3 below.

Create a maintenance schedule ​

  1. Open the Maintenance Schedule list and select Add Maintenance Schedule.
  2. Select the Customer and add the Items to service. You can also use Get Items From > Sales Order.
  3. In each Items row, set:
    • Start Date and End Date: the period of the contract.
    • Periodicity: Weekly, Monthly, Quarterly, Half Yearly, Yearly, or Random. Random spreads the visits on random dates.
    • No of Visits: ERPNext fills it in from the periodicity. For example, Weekly over one month gives 4 visits.
    • Sales Person: who does the visits.
    • Serial No: the serial numbers of the equipment, if any.
  4. Save.
  5. Select Generate Schedule. ERPNext adds a row to the Schedules table for each visit, with its date and sales person.
  6. Check the dates and submit.

When you submit, ERPNext creates a calendar event for each visit for the sales person's user.

Record the visits ​

When a visit is due, open the submitted schedule and select Maintenance Visit. Select the Item and the scheduled date, and select Create Visit. See Record a maintenance visit.

The button shows while the schedule has visits with the status Pending.

Troubleshooting ​

Please click on 'Generate Schedule' to get schedule. You submitted without generating the visits. Select Generate Schedule, then submit.