system.kanoa.lot.deleteLotOperation(lotId, userId)
Deletes a lot Operation. 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
lotOperationId = 2
userId = 5
retVal, msg = system.kanoa.lot.deleteLotOperation(lotOperationId, userId)