I' m facing the following issue when trying to load a shapefile as orders in VRP solver using arcpy.
The code that i m using:
inOrders = "sortedStops"
orders = arcpy.GetParameterValue("SolveVehicleRoutingProblem_na",0)
the errror message that i get;
File "C:\Program Files (x86)\ArcGIS\Desktop10.4\ArcPy\arcpy\arcobjects\arcobjects.py", line 1042, in load
RuntimeError: RecordSetObject: Cannot open table for Load
The input shapefile has the following attribute table, which is of course doesn't resemble orders attribute table.
Solved! Go to Solution.