Engine error: Invalid partner stop tour position (code: -106

This forum deals with any kind of trip optimization based on xTour1, xTour2 and the Developer APIs "RouteOptimization" and "SequenceOptimization". No matter whether it is automatic planning or manual dispatching, refering to transport orders or service planning.
Attention: this does not refer to PTV Optiflow SaaS and PTV Developer RouteOptimization Optiflow.
Post Reply
User avatar
ptvs-ff
Posts: 5
Joined: Mon Jun 19, 2017 12:38 pm

Engine error: Invalid partner stop tour position (code: -106

Post by ptvs-ff »

Hallo liebes Supportteam,

Bei folgendem Request erhalten wir sowohl auf dem Test als auch auf dem Prod xTour Server einen Engine error. Seht Ihr einen Grund, weshalb?
Engine error: Invalid partner stop tour position (code: -1063)
Attachments
Request.xml
(14.78 KiB) Downloaded 364 times
Response.xml
(1.24 KiB) Downloaded 361 times
when in danger or in doubt, run in circles, scream and shout!
Joost
Posts: 310
Joined: Fri Apr 25, 2014 1:46 pm

Re: Engine error: Invalid partner stop tour position (code:

Post by Joost »

Your delivery locations, TransportPointB of the orders, require tourSection 1. The value of 1 is special that there can only be a single toursection1 location in a tour and it must be the the first location in the tour.

To translate this into more human term: your request requires that your deliveries are the first thing that will be done, even before the pickup. This cannot be and thus xTour throws an exception.
Joost Claessen
Senior Technical Consultant
PTV Benelux
User avatar
ptvs-ff
Posts: 5
Joined: Mon Jun 19, 2017 12:38 pm

Re: Engine error: Invalid partner stop tour position (code:

Post by ptvs-ff »

Ah, a classical case of RTFM. Here's the appropriate documentation for this, for those that come after me: https://xtour-eu-n.cloud.ptvgroup.com/m ... ourSection
Transport points with tourSection 0 will be placed anywhere. TourSection 1 will be the first stop within a tour, and 1000 will be the last stop. There will be not more than one transport points within a tour with tourSection 1 or 1000, respectively.
Thanks for the help, Joost!
when in danger or in doubt, run in circles, scream and shout!
Post Reply