Skip to main content

system.kanoa.event.clearZeroedCountEvents

This function requires KanoaOPS module

Description

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

Syntax

clearZeroedCountEvents(assetId, tStamp, userId)
  • Parameters
      assetId - Asset ID.
      tStamp (datetime) - Timestamp.
      userId - User ID.
  • Returns
    Records deleted (int).
  • Code Example

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