system.kanoa.quality.event.updatePersistentValues(chkShtId, assetId, itemId, chkShtEventId, userId)
Returns the last check sheet events persistent values and copies them to the new chkShtShtEvent
Parameters
chkShtId Integer: Id of the check sheet to get checks with persistence enabled.
assetId Integer: Id of asset
itemId Integer: Id of item
chkShtEventId Integer: The chkShtEventId to copy the persistent values to
userId Integer:Id of the user executing the function
Returns
# of chkItemEvents saved Integer
Example
chkShtId = 5
chkShtEventId = 123
userId = 456
retVal = system.kanoa.quality.event.updatePersistentValues(chkShtId, chkShtEventId, userId)