Track milestones in the life of a document ​

A milestone records the moment a document reaches a stage. For example, ERPNext can record each time the status of an Issue changes, or when a Lead becomes qualified. You can then report on how many documents reached a stage in a period.

A Milestone Tracker sets which field to watch. ERPNext stores each change as a Milestone document.

Create a Milestone Tracker ​

  1. Open the Milestone Tracker list, and select New.
  2. In Document Type to Track, select the document, for example Issue.
  3. In Field to Track, select the field that holds the stage, for example Status. The field must be a Select or Link field.
  4. Select Save.

ERPNext now creates a Milestone each time the field changes. The milestones appear in the document's timeline.

Milestones are separate from the version history of a document.

Use milestones ​

  • Reports: open the Milestone list or a report on it to count the documents that reached a stage in a period. For example, count the leads that reached "Qualified" last month.
  • Dashboards: create a dashboard chart on Milestone, filtered by the stage, to show the trend.