Skip to main content

Q35ManageConditionBasedAlert

The purpose of this function is to create and update condition based alerts in the F1310 for a given asset number. Assuming condition base maintenance for JD Edwards has been setup the function will respond to alerts based on the passed in alert level, and measurement location.

If the cCreatePushNotification flag is equal to '1' and the szAppDesc field is populated the function will also generate a push notification to be handled by Cantara. See the Q35CreateCBMPushNotification function for further information on how the push notification works.

For this function to work correctly it is expected that Condition Based Maintenance has been setup in JD Edwards.

Calls

This function calls the following Q35 functions.

Data Structure

NameTypeInclusionDirection
mnAssetItemNumberASSETNUMBERREQUIREDBOTH
cAutomatedResponseTypeUDCOPTIONALBOTH
szAlertDescriptionSTRINGREQUIREDBOTH
cAlertLevelUDCREQUIREDBOTH
szP1311VersionSTRINGOPTIONALIN
cErrorCodeCHARACTEROPTIONALOUT
szErrorMessageIDSTRINGOPTIONALOUT
cProcessAlertCHARACTEROPTIONALIN
cCreatePushNotificationCHARACTEROPTIONALIN
szR1312VersionSTRINGOPTIONALIN
szMeasurementLocationUDCOPTIONALBOTH
szAppDescSTRINGREQUIREDBOTH
mnUniqueKeyIDInternalINTEGEROPTIONALBOTH
mnUserReservedNumberINTEGEROPTIONALBOTH
cAlertStatusUDCOPTIONALBOTH
cSendNotificationMessageCHARACTEROPTIONALBOTH
mnNotificationRecipientADDRESSNUMBEROPTIONALBOTH
mnInvestigationRecipientADDRESSNUMBEROPTIONALBOTH
szInvestigationStructureTyUDCOPTIONALBOTH
cInvestigationMessageSentCHARACTEROPTIONALBOTH
szNotificationStructureTypeUDCOPTIONALBOTH
cInvestigationCompletedCHARACTEROPTIONALBOTH
cFetchRecordOnlyCHARACTEROPTIONALIN
szUnitNumberSTRINGOPTIONALOUT
szSerialTagNumberSTRINGOPTIONALOUT
szAssetDL01STRINGOPTIONALOUT
szAssetDL02STRINGOPTIONALOUT
szAssetDL03STRINGOPTIONALOUT
szLatitudeSTRINGOPTIONALOUT
szLongitudeSTRINGOPTIONALOUT
mnCustomerNumberADDRESSNUMBEROPTIONALOUT
mnSiteNumberADDRESSNUMBEROPTIONALOUT
szLocationBUSINESSUNITOPTIONALOUT
szBusinessUnitBUSINESSUNITOPTIONALOUT
mnDocumentOrderInvoiceEINTEGEROPTIONALOUT
szServiceTypeUDCOPTIONALOUT
mnWorkOrderNoAssignedINTEGEROPTIONALOUT
szISSUESTRINGOPTIONALOUT
mnAddNoOriginatorADDRESSNUMBEROPTIONALOUT
jdEventDateDATEOPTIONALOUT
mnEventTimeINTEGEROPTIONALOUT
mnEventTimeUTCINTEGEROPTIONALOUT
szTimeZoesUDCOPTIONALOUT
mnPMUniqueIDINTEGEROPTIONALOUT
cSuppressErrorsCHARACTEROPTIONALIN
JavaScript errors detected

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

If this problem persists, please contact our support.