system.kanoa.asset.updateCounter(countInfo, userId)
Updates a counter. All countInfo keys are required
Parameters
countInfo Dictionary
| - assetId | Integer | |
| - counterName | String | |
| - counterTypeId | Integer |
userId Integer: Id of user executing the function
Returns
# of records modified Integer
Example
countInfo = {'assetId': 18, 'counterName': 'caps', 'counterTypeId': 1, 'counterId': 10}
userId = 123
modifiedRecords = system.kanoa.asset.updateCounter(countInfo, userId)