# system.kanoa.lot.addLotOperationEvent(lotOperationEventInfo, userId)

Adds a lot operation event

---
### Parameters
**lotOperationEventInfo** `Dictionary`<br />
<table class='dictionaryKeyTable'>
	<tbody>
 	<tr><td> - assetId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - enabled</td><td>Boolean</td><td></td></tr>	
 	<tr><td> - lotOperationId</td><td>Integer</td><td></td></tr>	
 	<tr><td> - tStamp</td><td>Integer</td><td></td></tr>	
	</tbody>
</table>

**userId** `Integer`: Id of user executing the function<br />

---
### Returns
**lotOperationEventId** `Integer`<br />
**message** `String` None if success<br />

---
### Example
```python
lotOperationEventInfo = {
                            'lotOperationId': 1, 
                            'assetId': 18, 
                            'tStamp': system.date.now(), 
                            'enabled': True
                         }
userId = 5
lotOperationEventId, msg = system.kanoa.lot.addLotOperationEvent(lotOperationEventInfo, userId)
```
