Skip to main content

system.kanoa.lot.updateLotOperation(lotOperationInfo, userId)

Updates a lot operation


Parameters

lotOperationInfo Dictionary

- allowInputLotsBoolean
- allowOutputLotsBoolean
- enabledBoolean
- lotOperationColorString
- lotOperationIdInteger
- lotOperationNameString

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)