Skip to main content

system.kanoa.quality.config.deleteItemSet(itemSetId, userId)

Deletes an item set. FKs between the chkShtItemSetLink and itemsetLink tables will prevent the deletion of this itemSetLink if it is being used


Parameters

itemSetId Integer: Id of itemset to delete
userId Integer


Returns

success Boolean
message String 'Item Set Deleted' or error message if success is false


Example

itemSetId = 1
userId = 5
success, message = system.kanoa.quality.config.deleteItemSet(itemSetId, userId)