Skip to main content

system.kanoa.sheet.deleteSheetType(chkShtTypeId, userId)

Deletes a check sheet type. FK constraints will prevent the deletion of check sheet types that has check sheets


Parameters

chkShtTypeId Integer: Id of sheet type to delete
userId Integer


Returns

success Boolean
message String # of records deleted or error message if success is False


Example

chkShtTypeId = 4
userId = 5
success, message = system.kanoa.quality.sheet.deleteSheetType(chkShtTypeId userId)