Skip to main content

system.kanoa.asset.deleteCounter(counterId, userId)

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


Parameters

counterId Integer: Id of counter to delete
userId Integer: Id of user executing the function


Returns

success Boolean
msg String # of records modified or error message


Example

successFlag, message = system.kanoa.asset.deleteCounter(counterId=123, userId=456)
print successFlag, message