# 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`<br />
**userId** `Integer`: Id of user executing the function<br />

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

---
### Example
```python
lotOperationId = 2
userId = 5
retVal, msg = system.kanoa.lot.deleteLotOperation(lotOperationId, userId)
```
