system.kanoa.lot.addLot(lotInfo, userId)
Adds a lot
Parameters
lotInfo Dictionary
| - itemId | Integer | |
| - itemUnitId | Integer | |
| - lotName | String | 
userId Integer
Returns
lotId Integer
message String None if success
Example
lotInfo={
    "lotName": "Batch_2025A",
    "itemId": 42,
    "itemUnitId": 3
}
userId, 5
lotId, msg = system.kanoa.lot.addLot(lotInfo, userId)