Skip to main content

system.kanoa.asset.updateCounter(countInfo, userId)

Updates a counter. All countInfo keys are required


Parameters

countInfo Dictionary

- assetIdInteger
- counterNameString
- counterTypeIdInteger

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)