Skip to main content

Q35AddEquipmentPMSchedule

Cantara Business Function to Add an Equipment PM Schedule (F1207).

Validation rules from P1207 are applied, and the new PM Schedule record will only be created if the data provided is valid.

ASII is the Primary Asset ID, as configured in the Environment's Asset Constants.

SRVT and ASII are mandatory entry fields, and there cannot be an existing record for this combination, or as a Maintenance Route for that Service Type SRVT code on another Asset, at status less than 98.

If the Asset's "Allow Meter Schedules" is not checked, or if the PDFG Schedule Type is "1", then entered Meter Service Interval and Last Completed values are cleared, as these are not permitted.

Calls 

This function calls the following Q35 functions:

Data Structure

Name

Type

Inclusion

Direction

Parameter Data
EV01_cSuppressErrorsCHARACTEROPTIONALIN
DTAI_szErrorMessageERRORALIASOPTIONALOUT
VERS_szP1207VersionSTRINGOPTIONALINPUT
UKID_szUniqueKeyIdINTEGEROPTIONALOUT
ASII_szAssetNumberInputSTRINGREQUIREDBOTH
SRVT_szServiceTypeUDCREQUIREDBOTH
PDFG_cScheduleTypeUDCOPTIONALBOTH
SRVF_mnServiceHoursFLOATOPTIONALBOTH
SRVM_mnServiceMilesHoursFLOATOPTIONALBOTH
SRVH_mnServiceFuelFLOATOPTIONALBOTH
SRVM4_mnServiceMeter4FLOATOPTIONALBOTH
SRVM5_mnServiceMeter5FLOATOPTIONALBOTH
SRVM6_mnServiceMeter6FLOATOPTIONALBOTH
SRVD_mnServiceDaysINTEGEROPTIONALBOTH
TDT_jdDateScheduledTicklerDATEOPTIONALBOTH
FRIN_cFrequencyIndicatorUDCOPTIONALBOTH
MLTW_cMultipleWOUDCOPTIONALBOTH
LSTF_mnLastHoursFLOATOPTIONALBOTH
LSTM_mnLastMilesHoursFLOATOPTIONALBOTH
LSTH_mnLastFuelConsumedFLOATOPTIONALBOTH
LSTM4_mnLastCompletedMeter4FLOATOPTIONALBOTH
LSTM5_mnLastCompletedMeter5FLOATOPTIONALBOTH
LSTM6_mnLastCompletedMeter6FLOATOPTIONALBOTH
LCPD_jdLastCompletedDateDATEOPTIONALBOTH
DOCO_mnModelWorkOrderINTEGEROPTIONALBOTH
KY_szProcedureSTRINGOPTIONALBOTH
OCCU_mnOccurencesFLOATOPTIONALBOTH
PDFL_cAlertLevelUDCOPTIONALBOTH
MPRI_cMaintenancePriorityUDCOPTIONALBOTH
DNHR_mnDowntimeRequiredFLOATOPTIONALBOTH
MCU_szCostCenterBUSINESSUNITOPTIONALBOTH
RMK_szNameRemarkSTRINGOPTIONALBOTH
PMC1_szPMCategoryCode1UDCOPTIONALBOTH
PMC2_szPMCategoryCode2UDCOPTIONALBOTH
ASII_szParentNumberInputSTRINGOPTIONALBOTH
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.