Skip to main content

system.kanoa.item.addWorkOrderEventImage(workOrderEventId, imageName, imageType, imageDescription, imageBytes, thumbnail, userId)

Inserts an image for a work order event


Parameters

workOrderEventId Integer: Id of the procedureStepCheckId
imageName String: Name of image
imageType String: Type of image
imageDescription String: Description of image
imageBytes byteArray: The image in byteArray format
thumbnail byteArray: Thumbnail of image in byteArray format
userId Integer:Id of the user executing the function


Returns

workOrderEventImageId Integer
msg String None if success


Example