system.kanoa.quality.config.addPickList(pickListInfo, userId)
Adds a new pick list. pickListName, enabled, and isNumeric are required.
Parameters
pickListInfo Dictionary
| - pickListName | String | |
| - description | String | |
| - enabled | Boolean | |
| - isNumeric | Boolean | |
| - dataTypeId | Integer | |
| - example | String |
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)