Skip to main content

system.kanoa.quality.config.deleteCheckWithHistory(chkItemId, userId)

Deletes a check item and any associated checkEvent data.


Parameters

chkItemId Integer: Id of check item to delete
userId Integer: Id of user executing the function


Returns

# of records modified Integer


Example

chkItemId = 3
userId = 5
retVal = system.kanoa.quality.config.deleteCheck(chkItemId, userId)