Skip to main content

system.kanoa.event.clearZeroedCountEvents

Description

Clears zeroed count events for a specific counter ID within a given date range.

Syntax

clearZeroedCountEvents(assetId, tStamp, userId)

Parameters:
  • assetId (int)
  • tStamp (datetime)
  • userId (int)

  • Returns:
  • Records deleted (int)
  • Code Examples

    # Example Usage:
    assetId = 123
    tStamp = timestamp
    userId = 999
    recordsDeleted = system.kanoa.event.clearZeroedCountEvents(assetId, tStamp, userId)