system.kanoa.asset.addCounterType(countTypeInfo, userId)
Adds a new counter type
Parameters
countTypeInfo Dictionary
| - counterTypeName | String | Name of the counter type |
userId Integer: Id of user executing the function
Returns
counterTypeId Integer
Example
countTypeInfo = {'counterTypeName': 'general'}
userId = 123
counterTypeId = system.kanoa.asset.addCounterType(countTypeInfo, userId)