system.kanoa.lot.updateRouteEvent(routeEventInfo, userId)
Updates a route event. Route events are instances of a route created for a lot
Parameters
routeEventInfo Dictionary: All keys are required unless otherwise stated.
| - enabled | Boolean | Not Required |
| - lotId | Integer | Not required |
| - routeDescription | String | Not required |
| - routeEventId | Integer | |
| - routeId | Integer |
userId Integer
Returns
# of records modified Integer
message String None if success
Example
# Update an existing route event with a new description
routeEventInfo = {
"routeEventId": 12,
"routeDescription": "Updated assembly flow for Widget C"
}
recordsModified, msg = system.kanoa.lot.updateRoute(routeEventInfo, userId=123)