Page 1 of 1

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

Posted: Mon Nov 30, 2020 3:24 pm
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)

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

Posted: Mon Nov 30, 2020 3:46 pm
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.

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

Posted: Tue Dec 01, 2020 7:14 am
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!