system.kanoa.lot.updateRouteStep(routeStepInfo, userId)
Updates a route step
Parameters
routeStepInfo Dictionary
| - enabled | Boolean | |
| - lotOperationId | Integer | |
| - routeId | Integer | |
| - routeStepId | Integer | |
| - stepDescription | String | |
| - stepNum | Integer | |
| - stepParams | String | 
userId Integer
Returns
# of records modified Integer
message String None if success
Example
# Update a route step's operation and description
routeStepInfo = {
    "routeStepId": 5001,
    "routeId": 101,
    "stepNum": 3,
    "lotOperationId": 58,
    "stepDescription": "Re-inspection before packaging",
    "enabled": True
}
recordsModified, msg = system.kanoa.lot.updateRouteStep(routeStepInfo, 123)
# Disable a step
routeStepInfo = {
    "routeStepId": 5002,
    "routeId": 101,
    "stepNum": 4,
    "lotOperationId": 59,
    "stepDescription": "Final assembly (temporarily disabled)",
    "enabled": False
}
recordsModified, msg = system.kanoa.lot.updateRouteStep(routeStepInfo, 123)