system.kanoa.lot.updateRouteStepEvent(routeStepEventInfo, userId)
Updates a route step event
Parameters
routeStepEventInfo Dictionary: Key values are required
| - enabled | Boolean | |
| - lotOperationEventId | Integer | |
| - lotOperationId | Integer | |
| - routeEventId | Integer | |
| - routeStepEventId | Integer | |
| - stepDescription | String | |
| - stepNum | Integer | |
| - stepParams | String |
userId Integer
Returns
# of records modified Integer
message String None if success
Example
# Update a route step event's operation and description
routeStepEventInfo = {
"routeStepEventId": 54,
"routeEventId": 101,
"stepNum": 3,
"lotOperationId": 55,
"enabled": True,
"lotOperationEventId": 50,
"stepDescription": None,
"stepParams"; None
}
recordsModified, msg = system.kanoa.lot.updateRouteStep(routeStepEventInfo, 123)