Skip to main content

system.kanoa.sheet.deleteSheet(chkShtId, userId)

Deletes the checksheet and any of its versions. Will fail if this checksheet has event data for it.


Parameters

chkShtId Integer: Id of check sheet to delete
userId Integer: Id of user executing the function


Returns

# of records modified Integer
msg String None if success


Example

chkShtId = 56
userId = 5
retVal, message = system.kanoa.quality.sheet.deleteSheet(chkShtId, userId)