system.kanoa.lot.updateRouteStepField(routeStepId, field, value, userId)
Updates the passed field value for the given routeStepId
Parameters
routeStepId 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
# Change the step number
recordsModified, msg = system.kanoa.lot.updateRouteStepField(5001, "stepNum", 4, 123)
# Disable a route step
recordsModified, msg = system.kanoa.lot.updateRouteStepField(5002, "enabled", False, 123)
# Update the step description
recordsModified, msg = system.kanoa.lot.updateRouteStepField(5003, "stepDescription", "Final inspection before packaging", 123)