Skip to main content

system.kanoa.cmms.updateWorkOrderScheduleField(workOrderScheduleId, field, value, userId)

Updates the workOrderSchedule field with the passed value for the workOrderScheduleId


Parameters

workOrderScheduleId Integer: Id of workOrderScheduleId to update
field String: Valid options are workOrderId, rruleStr, startDate, generateAheadDays, lastGeneratedDate
value String: Value to update to
userId Integer:Id of the user executing the function


Returns

# of records modified Integer
message String None if success


Example