system.kanoa.lot.addLotState(lotStateInfo, userId)
Add a lot state
Parameters
lotStateInfo Dictionary
| - enabled | Boolean | |
| - lotStateName | String |
userId Integer
Returns
lotStateId Integer
message String None if success
Example
>lotStateInfo = {'lotStateName': 'QA Hold', 'enabled': True}
>userId = 5
>lotStateId,msg = system.kanoa.lot.addLotState(lotStateInfo, userId)
>print(lotId)