Functional Description
Purpose
The purpose of F1207 Calculate Estimated Occurrences is to calculate and return the number of
Estimated Occurrences of a service type for an equipment number. Additionally, the program will return the
number of Actual Occurrences from the beginning of the calendar year.
Setup Notes and Prerequisites
Special Logic
The program bases the calculation on the following processing option for the Equipment PM Schedule:
Enter a '1' to calculate the estimated occurrence based on one year of history. Enter a '2' to
calculate the estimated occurrence based on two years of history. Enter a '3' to calculate the estimated
occurrence based on history from inception to date. Leave blank (Default) to not calculate the
occurrence.
An occurrence is a completed service type with Status 99 for a given Equipment Number .
Technical Specification
If EV01 Calculate Occurrences is = 1 Fetch F1207 based on Asset Number (NUMB), Service Type (SRVT)
and Completed Date (CPLD) calculate the number of service type occurrences from system date less 365
days. Return the number of estimated occurrences and actual occurrences from the beginning of the
calendar year.
If EV01 Calculate Occurrences is = 2 Fetch F1207 based on Asset Number (NUMB), Service Type (SRVT)
and Completed Date (CPLD) calculate the number of service type occurrences from system date less 730
days, dividing the result by 2. Return the number of estimated occurrences and actual occurrences from
the beginning of the calendar year.
If EV01 Calculate Occurrences is = 3 Fetch F1207 based on Asset Number (NUMB), Service Type (SRVT)
and Completed Date (CPLD) calculate the number of service type occurrences from system date to first
completed occurrence, dividing the result by the difference between system date and first completed
occurrence. Return the number of estimated occurrences and actual occurrences from the beginning of the
calendar year.
^
D1300060 - F1207 Calculate Estimated Occurrences
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAssetItemNumber | NUMB | MATH_NUMERIC | NONE | NONE |
An 8-digit number that uniquely identifies an asset. | ||||
mnOccurences | OCCU | MATH_NUMERIC | NONE | NONE |
The estimated number of occurrences per year for the service type. The PM Projections program uses information from this field, in
| ||||
cCalculateOccurences | EV01 | char | NONE | NONE |
1=One year of history.
| ||||
mnActualOccurrences | MATH01 | MATH_NUMERIC | NONE | NONE |
- - - Good Performance Low Value. | ||||
cSuppressErrorMsg | ERRC | char | NONE | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szServiceType | SRVT | char | NONE | NONE |
A user defined code (12/ST) that describes the preventive maintenance service to be performed. Examples of codes include CLUTCH for
|
None |
F1207 Maintenance Schedule File |