Skip to main content

system.kanoa.lot.addLot(lotInfo, userId)

Adds a lot


Parameters

lotInfo Dictionary

- itemIdInteger
- itemUnitIdInteger
- lotNameString

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)