Skip to main content

system.kanoa.event.resetCountEvents

This function requires KanoaOPS module

Description

Adds calculated counts that will calculate infeed, outfeed, and waste if no entry exists.

Syntax

resetCountEvents(assetId, tStamp, userId)
  • Parameters
      assetId - Asset ID.
      tStamp (datetime) - Timestamp.
      userId - User ID.
  • Returns
    None.
  • Code Example

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