Skip to main content

system.kanoa.asset.deleteStateCategory(stateCategoryId, userId)

Deletes the stateCategory. SQL will prevent deletion of this stateCategory if it has been used


Parameters

stateCategoryId Integer: Id of the state category to delete
userId Integer:Id of the user executing the function


Returns

# of records modified Integer
msg String None if success


Example

retVal, msg = system.kanoa.asset.deleteStateCategory(123, 5)