Skip to main content

system.kanoa.lot.addLotState(lotStateInfo, userId)

Add a lot state


Parameters

lotStateInfo Dictionary

- enabledBoolean
- lotStateNameString

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)