Transportation Manager can support both of the PC*Miler products: North America and Worldwide. Using the PC*Miler Multi-Version Switch, you can simultaneously use multiple versions of a PC*Miler product (for example,26.1, 27, and 28).
Route Types
The following Route Types (Parameter Name PMRouteType) are supported for TM / PC*Miler integration:
Options
The following options are supported for TM / PC*Miler integration:
Option (Parameter Name) |
Values |
Details |
BorderRestriction |
T/F |
(F means BordersOpen true; T means BordersOpen false) |
National |
T/F |
|
CustomMode |
T/F |
Allows routing using prefer/avoid segments defined by customer using PC*Miler (through UI) |
AvoidTollRoad |
T/F |
|
53TruckLength |
T/F |
|
ComputeEstimateAfterFailure |
T/F |
Default True. This parameter will determine how to handle the situation where the distance engine fails to compute a distance/transit time for any reason, including the case where the distance engine is not available. If True, an approximate distance and time will be computed based on the difference in latitude/longitude between the two locations; if False, the distance/transit time retrieval request will fail. |
BreakdownRequired |
T/F |
Default False. If True, when the two locations are in different regions (different states/provinces in North America or different countries in the rest of the world), breakdown by region will be retrieved from PC*Miler and breakdown must be defined for overrides. |
UseStreetLevelData |
T/F |
Default False. If True, Block and Street will be included when establishing the applicable granularity for a distance / transit time retrieval request. Street Level data must have been purchased from ALK Associates. |
Version |
free format string |
Optional. PC*Miler Version. The designated version of PC*Miler will be used when interacting with the TM Distance Server. If specified, value must match the version specified in pcmmv.ini under the ALKMVS folder where PC*Miler Multi-Version Switch is installed (for example, 26.1, 27, and 28). For more information on the supported versions of PC*Miler MVS, see the Transportation Installation/Administration Guide. |
While PC*Miler supports three additional Route Types (National, Avoid Tolls and Fifty Three) using their simple interface, these equate to a request that combines the Practical Route Type with just one of the three applicable options when using the PC*Miler trip interface. To configure TM to use the PC*Miler simple interface using one of these three Route Types, define the Data field as follows:
Retrieval Hierarchy
Logic used to retrieve distance and transit time from PC*Miler will make separate calls to establish the appropriate granularity of each of the two applicable addresses before performing the actual distance / transit time retrieval request.
The hierarchy will be as described below. For each location, the process will end once PCMSCheckPlaceName has been triggered successfully. If this process fails for either location, the distance / transit time request will also fail.
When handling addresses outside North America (i.e. country is not CAN, USA or MEX):
When handling any address:
Latitude / Longitude Overrides
If the Latitude / Longitude for the address has been overridden, then the Latitude / Longitude will be used to trigger PCMSCheckPlaceName. It this call is successful, latitude and longitude for the applicable location will be used when making the distance / transit time request.
Street Level
If the UseStreetLevelData parameter is True for the applicable PC*Miler version, the full address for the location (Block Number, Street Name, City Name, State/Province, Country, Zip/Postal Code) will be used to trigger PCMSCheckPlaceName. It this call is successful, the full address for the applicable location will be used when making the distance / transit time request.
Zip/Postal Code / City / State / [Country]
Next:
If this call is successful, this partial address info for the applicable location will be used when making the distance / transit time request.
Zip/Postal Code & State or Country
Next:
If this call is successful, this partial address info for the applicable location will be used when making the distance / transit time request.
City / State / [Country]
Next:
If this call is successful, this partial address info for the applicable location will be used when making the distance / transit time request.
If this call is not successful and location is outside North America and previous attempt was made using State Name, try again without State Name.
Latitude / Longitude Non-Overrides
If the Latitude / Longitude for the address has not been overridden, then the Latitude / Longitude will be used to trigger PCMSCheckPlaceName. It this call is successful, latitude and longitude for the applicable location will be used when making the distance / transit time request.
Multi-Version Switch
If a distance engine version that refers to a PC*Miler Version is defined for a tariff, distances will be retrieved from the designated PC*Miler Version when the tariff is used to route/rate/schedule a load, trip, etc. This is useful in cases where negotiated carrier rates are based on a specific version of PC*Miler.
PC*Miler Multi-Version Switch is only available on Windows and runs as a 32 bit application. TM can support this feature on Windows with a 32 bit distance server. The TM 64 bit distance server (DistSrv) will interact with the 32 bit counterpart (DistSrv32).
The PC*Miler Breakdown feature is not supported by the TM Distance server when using the PC*Miler Multi-Version Switch. The BreakdownRequired option is used by scheduling to identify distances and transit times associated with travel in each country on a multi-national voyage. It is useful in cases where driving regulations vary between countries.
Distance engine versions for PC*Miler where Version is not defined are treated as if they are defined with the default PC*Miler Version. The default PC*Miler Version is the version specified under the “[default]” section in pcmmv.ini under C:\ALK Technologies\ALKMVS (assuming installation was performed using default folders).
If Version is defined in an engine version of TM and PC*Miler Multi-Version Switch is not available (e.g. PC*Miler Multi-Version Switch not installed but regular PC*Miler is present, or distance engine is running on Unix), the Version in the distance engine version will be ignored and error message will be logged in the distance server log during server start up. Otherwise, TM Distance Server will continue to work as usual.
If PC*Miler Multi-Version Switch is available, but the particular Version specified has not been installed or is not running, TM Distance Server will fail to initialize. The problem must be resolved first before TM Distance Server can function properly. TM Distance Server should be restarted after the problem is resolved.