Skip to main content

system.kanoa.lot.deleteLot

Description

Deletes a lot.

Syntax

deleteLot(lotId, userId)

Parameters:
  • lotId (int)
  • userId (int)

  • Returns:
  • Number of records modified (int)
  • message (string): None if success
  • Code Examples

    # Example usage
    >lotId = 1
    >userId = 5
    >retVal, msg = system.kanoa.lot.deleteLot(lotId, userId)
    >print(retVal) # Print the number of records modified