system.kanoa.event.updateCountEvent(counterId, deltaValue, tStamp, userId)
Updates a count value in the counterEvent table. if it can't find a value at the timestamp, it will add a count value. DEPRECATED. Replaced by addCounterEvent()
Parameters
counterId Integer: Id of counter
deltaValue Float: change in value
tStamp DateTime: Timestmap fo counter event
userId Integer: Id of the user executing the function
Returns
counterEventId Integer
Example
counterId = 1
deltaValue = 1.0
tStamp = system.date.now()
userId = 5
counterEventId = system.kanoa.event.updateCountEvent(counterId, deltaValue, tStamp, userId)