Skip to main content

system.kanoa.lot.updateRouteField(routeId, field, value, userId)

Updates the passed field value for the given routeId


Parameters

routeId Integer
field String: Name of column
value pyObject: Datatype of referenced field
userId Integer


Returns

# of records modified Integer
message String None if success


Example

# Update the route name
recordsModified, msg = system.kanoa.lot.updateRouteField(5, 'routeName', 'Assembly Line 3 - Revised', 123)

# Disable a route
recordsModified, msg = system.kanoa.lot.updateRouteField(5, 'enabled', False, 123)