system.kanoa.lot.addLotOperation(lotOperationInfo, userId)
Adds a lot operation
Parameters
lotOperationInfo Dictionary
| - allowInputLots | Boolean | |
| - allowOutputLots | Boolean | |
| - enabled | Boolean | |
| - lotOperationColor | String | |
| - lotOperationName | String | 
userId Integer
Returns
lotOperationId Integer
message String None if success
Example
lotOperationInfo = {
                        'lotOperationName': 'Scrap', 
                        'lotOperationColor': '#0000FF', 
                        'allowInputLots': True, 
                        'allowOutputLots': False, 
                        'enabled': True
                   }
userId = 5
lotOperationId, msg = system.kanoa.lot.addLotOperation(lotOperationInfo, userId)