Hello,
is it possible to set priority to TransportPoint ?
I need to prioritize the TransportPoint between them.
Some place have to be deliver before other.
I already use the product priority whose purpose is different.
Thank you
TransportPoint Priority
Re: TransportPoint Priority
I believe what you are looking for is the toursection attribute. From the documentation:
General remark: with in xTour priority does nothing with the order points are inserted into a tour. Priority only raises the chance an order will be planned in, it has no effect where in the plan is will end up.Position of the transport point in a tour (0 <= tourSection <= 1000). Within a tour the tourSection values != 0 of the transport points will be sorted ascending so that it is possible to pre-order the transport points. 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.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
-
- Posts: 46
- Joined: Wed Jul 05, 2017 10:27 am
Re: TransportPoint Priority
When I use tourSection with transportAB I have the following message.
Could not plan basic tours (Reason: Could not set partner relation). Engine error: Invalid partner stop tour position (code: -1063) in transport order 2000.
How I have to fill tourSection ? How it works exactly ?
Thank you
Could not plan basic tours (Reason: Could not set partner relation). Engine error: Invalid partner stop tour position (code: -1063) in transport order 2000.
How I have to fill tourSection ? How it works exactly ?
Thank you
Re: TransportPoint Priority
In case of an AB order, transportpointA.toursection should be smaller or equal to transportpointB.toursection. I'm not sure how a value of 0 is allowed for only one of them since 0 is special value for anywhere. I'll check this further.
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
Re: TransportPoint Priority
0 values are allowed and do not violate the a.toursection <= b.toursection rule. B.toursection should be greater then 1 since 1 means "has to be at the begin of the tour" which does not leave room for A to be inserted before.
Examples:
A.toursection = 0, B.toursection = 0 => valid
A.toursection = 0, B.toursection = 5 => valid
A.toursection = 5, B.toursection = 0 => valid
A.toursection = 5, B.toursection = 5 => valid
A.toursection = 8, B.toursection = 5 => invalid
A.toursection = 0, B.toursection = 1 => invalid
Examples:
A.toursection = 0, B.toursection = 0 => valid
A.toursection = 0, B.toursection = 5 => valid
A.toursection = 5, B.toursection = 0 => valid
A.toursection = 5, B.toursection = 5 => valid
A.toursection = 8, B.toursection = 5 => invalid
A.toursection = 0, B.toursection = 1 => invalid
Joost Claessen
Senior Technical Consultant
PTV Benelux
Senior Technical Consultant
PTV Benelux
-
- Posts: 46
- Joined: Wed Jul 05, 2017 10:27 am
Re: TransportPoint Priority
very clear.
Thank you
Thank you
- Bernd Welter
- Site Admin
- Posts: 2696
- Joined: Mon Apr 14, 2014 10:28 am
- Contact:
Re: TransportPoint Priority
Hello Michele,Joost,
@Joost: thanks for the detailed comments.
@Michele: be aware that the tour section handling as described by Joost is easy to use within a planning of a single tour.
But: it could get challenging if you want to dispatch various AB-Orders over a set of vehicles and you still want to ensure some kind of internal sequences. Maybe it is a good idea to get in touch with Clement to check this usecase in detail.
Of course Joosts hints are great to know but sometimes a full picture of the "requirement" gives us important info for an optimal paramneter set.
Best regards,
Bernd
By the way: here's a post about priorities
http://xserver.ptvgroup.com/forum/viewt ... ?f=6&t=719
@Joost: thanks for the detailed comments.
@Michele: be aware that the tour section handling as described by Joost is easy to use within a planning of a single tour.
But: it could get challenging if you want to dispatch various AB-Orders over a set of vehicles and you still want to ensure some kind of internal sequences. Maybe it is a good idea to get in touch with Clement to check this usecase in detail.
Of course Joosts hints are great to know but sometimes a full picture of the "requirement" gives us important info for an optimal paramneter set.
Best regards,
Bernd
By the way: here's a post about priorities
http://xserver.ptvgroup.com/forum/viewt ... ?f=6&t=719
Bernd Welter
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...
Technical Partner Manager Developer Components
PTV Logistics - Germany
Bernd at... The Forum,LinkedIn, Youtube, StackOverflow
I like the smell of PTV Developer in the morning...