Skip to main content

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.

- enabledBooleanNot Required
- lotIdIntegerNot required
- routeDescriptionStringNot required
- routeEventIdInteger
- routeIdInteger

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)