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