Skip to main content

system.kanoa.lot.deleteLotEvent

This function is part of the kanoaOPS module

Description

Deletes a lot event.

Syntax

deleteLotEvent(lotEventId, userId)
  • Parameters
      lotEventId (int)
      userId (int)
  • Returns
      Number of records modified (int)
      message (string): None if success
  • Code Examples

    # Example usage
    >lotEventId = 76
    >userId = 5
    >retVal, msg = system.kanoa.lot.deleteLotEvent(lotEventId, userId)
    >print(retVal) # Print the number of records modified