system.kanoa.asset.deleteCounterType(counterTypeId, userId)
Deletes the counterType. SQL will prevent deletion of this counterType if it has been used
Parameters
counterTypeId Integer: Id of counter to delete
userId Integer
Returns
success Boolean
msg String # of records modified or error message
Example
successFlag, message = system.kanoa.asset.deleteCounterType(counterTypeId=123, userId=456)
print successFlag, message