system.kanoa.event.deleteLot(lotId, userId)
Deletes a lot. This function will also delete any lotOperationEvents and lotEvents asociated with this lotId
Parameters
lotId Integer
userId Integer
Returns
# of records modified Integer
message String None if success
Example
lotId = 1
userId = 5
retVal, msg = system.kanoa.lot.deleteLot(lotId, userId)
print retVal, msg