Skip to main content

system.kanoa.quality.event.updateChkShtEventField(chkShtEventId, field, value, userId)

Updates any field in a check sheet event


Parameters

chkShtEventId Integer: Id of check sheet event to update
field String: Valid options assetId, shiftNameId, itemId, chkShtTriggerId, chkShtStateId, comment, scheduledDate
value pyObject: Value to update to
userId Integer: Id of user executing the function


Returns

# of records modified Integer


Example

chkShtEventId = 123
field = 'description'
value = 'Updated description'
userId = 456
retVal = system.kanoa.quality.event.updateChkShtEventField(chkShtEventId, field, value, userId)