system.kanoa.asset.deleteCounterType
Description
Deletes the counterType in KanoaOPS. Foreign key constraints will prevent deletion if the counterType has been used.Syntax
deleteCounterType(counterTypeId, userId)Parameters:
Returns:
Code Examples
# Usage example
successFlag, message = system.kanoa.asset.deleteCounterType(counterTypeId=123, userId=456)
if not successFlag:
print(f"Deletion failed: {message}")
else:
print(f"Successfully deleted counterType.")