Skip to main content

system.kanoa.quality.config.addPickList(pickListInfo, userId)

Adds a new pick list. pickListName, enabled, and isNumeric are required.


Parameters​

pickListInfo Dictionary

- pickListNameString
- descriptionString
- enabledBoolean
- isNumericBoolean
- dataTypeIdInteger
- exampleString

userId Integer: Id of the user executing the function


Returns​

Tuple pickListId (Integer: ; msg (String): None if success)


Example​

pickListInfo = {'pickListName': 'pickListName', 'description': 'description', 'enabled': True, 'isNumeric': True, 'dataTypeId': 1}
userId = 5
Tuple = system.kanoa.quality.config.addPickList(pickListInfo, userId)