Determining the Best Site/Warehouse to Fulfill an Order
When you fulfill customer orders, use the Multi-Site Item Sourcing form to determine the driving distance between each site/warehouse and the Ship To address, using the Google Distance API. You can use the distance, along with the quantity available at the warehouse and the planned production time, to select the best source site and warehouse for an order.
The distance calculation service provided by Google is accessed via a Web service. Specify the connection information:
Be aware of these notes about and restrictions on the use of the Google Distance API:
- The Google API used in the Multi-Site Item Sourcing form requires the information specified in the Order Entry Parameters form under "Setup," above.
- The mode of transport is set to "Driving" and cannot be changed. If the selected addresses cannot be reached by driving - for example, if there is an ocean between them - the distance is set to zero.
- Distance is calculated regardless of the shipping method specified for the order.
- The route chosen is not necessarily a truck route. There are special routing databases available from other companies for detailed truck routing and distance calculation.
- Each query sent to the
API is limited by the number of allowed elements, where the number of origins
multiplied by the number of destinations defined the number of elements. The
API has these limits:
- 100 elements per query
- 100 elements per 10 seconds
- 2500 elements per 24 hour period.
If you exceed these limits, an error message is displayed in the Message field on the Multi-Site Item Sourcing form.
Google Maps API for Business customers have higher limits (625 elements per query, 1,000 elements per 10 seconds, and 100,000 elements per 24 hour period). You can purchase additional elements through Google.