# system.kanoa.lot.deleteLot(lotId, userId)

Deletes a lot. This function will also delete any lotOperationEvents and lotEvents asociated with this lotId

---
### Parameters
**lotId** `Integer`<br />
**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**# of records modified** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
lotId = 1
userId = 5
retVal, msg = system.kanoa.lot.deleteLot(lotId, userId)
print retVal, msg
```
