This article will explain how to use the Generation Lead Days field on a Meter Based PM.May 12, 2026Article
InformationTitleGeneration Lead Days Field on Meter Based PMContentContentThe Generation Lead Days field can be found on the PM Template under the Scheduling and Meter subsection. This field will allow you to select the number of days in advance that you would like the PM to generate, based on the daily rate of the selected Meter and the projected readings. This function is designed to allow you to plan in advance and make sure you have the proper materials to complete the Work Order. The logic for this generation will be based on the projection and data found in the Projection Meter Report. This formula will take into account the last 12 month's worth of data to calculate an accurate projection. This feature will only work if the chosen meter has data (Meter Readings), and Generation Service is turned on. If this field is left blank, or set to zero, the Meter-Based PM will function normally and only generate when the reading exceeds the Perform Every amount. Logic and Formula: The logic for the Generation Lead Days formula is to obtain the daily rate by looking at all Meter Readings (in this case, it would be hardcoded as 12 months /a year) years back. Then multiplying this daily rate by X days forward and adding it to the existing reading. Finally subtract the Last Performed value. The final value would then be compared to the Perform Every value to see if the PM should be generated. OR R= (X.value - Y.value) / (X.datecreated - Y.datecreated as Days) if P >= (PM.lastperformedat.value + PM.PerformEvery) then generate. If the Generation Lead Days is greater than 0, the PM should not generate a WO based on Meter Readings, but instead, it should generate on the day that would = Generation Lead Days - Projected. The formula will look at the last 12 months' worth of data in order to calculate the projection. Formula Information: X = the most current reading Y = the earliest reading we can find up to 12 months ago. IF Y.valuedatecreated == X.valuedatecreated bailout R = daily rate ( what we are solving for ) R = (X.value - Y.value) / (X.datecreated - Y.datecreated as Days) P = projected value P = X.value + ((NOW - X.datecreated as Days) * R) Should we generate the PM? if P >= (PM.lastperformedat.value + PM.PerformEvery) then generate. Work Order Note: WO's generated from a PM using Generation Lead Days will contain a note. This note can be used as an indicator that a WO was created from a Meter based PM. This note will contain the following information: Asset ID Meter ID Current Meter Reading Expected Meter Reading Date Example: A Meter-Based PM is set up to generate a WO every 1000 rotations of a piece of equipment. The last Meter Reading taken was at 800 rotations, and based on previous data, this piece of equipment averages 50 rotations a day. Therefore, if the Generation Lead Days field was set to 4, the WO would be generated immediately, instead of when the reading reached 1000. URL NameGeneration-Lead-Days-Field-on-Meter-Based-PM