Skip to main content

system.kanoa.quality.sheet.updateSheetVersionHistoryField(chkShtVersionHistoryId, field, value, userId)

Updates the passed field value for the given chkShtVersionHistoryId.


Parameters​

chkShtVersionHistoryId Integer: Id of the check sheet version history
field String: Name of column. Valid options chkShtId, masterChkShtId, chkShtVersionStatusId, chkShtVersionNumber, comment
value pyObject: Value to update to
userId Integer: Id of user executing the function


Returns​

# of records modified Integer
message String None if success


Example​

chkShtId = 2002
field = chkShtVersionNumber
value = 3
userId = 5
retVal, msg = system.kanoa.quality.sheet.updateSheetVersionHistoryField(chkShtId, field, value, userId)