Q35CreateWorkOrderFromPMSchedule
Cantara Business Function to Create a Work Order from a Preventive Maintenance Schedule.
If BF cProcessEdits_EV01 = "1", then the PM Schedule should be set to 100% due and trip as per the P12071 Create Work Order functionality utilizing R12807 Report Interconnects. If not "1" then the PM Schedule should update as per R12807 Update PM Status.
Called By
This function is called by the following Q35 function:
Calls
This function calls the following Q35 function:
Data Structure
Name | Type | Inclusion | Direction | Parameter Notes |
---|---|---|---|---|
szR12801Version_VERS | STRING | REQUIRED | IN | |
mnF1207UniqueKey_UKID | INTEGER | REQUIRED | IN | |
cSuppressErrorMessages_EV01 | CHARACTER | OPTIONAL | IN | |
szErrorMessageID_DTAI | ERRORALIAS | OPTIONAL | OUT | |
nCacheRowCounter_INT01 | INTEGER | OPTIONAL | OUT | |
mnAssignedWO_WONA | INTEGER | OPTIONAL | OUT | |
szMaintenanceStatus_MSTS | UDC | OPTIONAL | OUT | |
mnMaintPercentComplete_MPC | FLOAT | OPTIONAL | OUT | |
jdDatePlannedToStart_PNST | DATE | OPTIONAL | OUT | |
mnLowestCreatedUKID_UKID | INTEGER | OPTIONAL | OUT | |
cErrorCode_ERRC | CHARACTER | OPTIONAL | OUT | |
cProcessEdits_EV01 | CHARACTER | OPTIONAL | BOTH |