This guide explains how to configure the Calculate Time & Transit (TNT) action to select the optimal warehouse based on your defined priority and the transit time returned by techSHIP.
NOTE: For details about the action's retry policy, refer to Understanding Time and Transit (TNT) Retry Policy [Information].
This article is divided into the following sections:
- Getting started
 - Use Case: Consider TNT for the entire order
 - Final Considerations
 
I. GETTING STARTED
Before you begin, please ensure you are familiar with the following procedure, its settings and limitations:
- How to Create Sales/Purchase Order Rules [Step-by-step guide].
 - Rules Conditions and Actions Guide [Information]. Use this guide throughout all steps for a detailed description of each action's available options.
 
To get started:
1. Create a new sales order rule and select the desired Trigger.
This ensures that your shipment splitting workflow will be activated each time the trigger condition is met.

2. Edit the newly created rule.

Continue configuring the rule by adding additional actions and conditions.
II. USE CASE: CONSIDER TNT FOR THE ENTIRE ORDER
You can select the warehouse with the best carrier time, considering only those locations with enough stock to fulfill the entire order:
1. Add a Calculate Enough Stock Action.
This action generates a prioritized list of warehouses based on stock availability.
2. Add a Calculate Time & Transit Action.
This action reorders the list from step 1 based on transit time provided by techSHIP.
NOTE: This action only applies when the entire order can be fulfilled by a single location. If not, it is automatically skipped.3. Add a Select Warehouse Action.
This action selects the optimal warehouse from the updated list, using filters such as stock sufficiency, estimated delivery times, etc.

NOTE: You can append a Split Shipment action to split orders when they cannot be fulfilled from a single location. This acts as a fallback and does not apply TNT while splitting. For more information, refer to: How to Split Shipments Automatically [Guide].
III. FINAL CONSIDERATIONS
To finish:
1. Check Enabled, if you would like to try it.
2. Set the desired priority.
3. Press Save.

At the end of the order processing, you can review the results in two ways:
- Review the Order Log:
This provides detailed, step-by-step insights into the decision-making process for a specific order. For more information, see: How to review the Sales Orders Log [Step-by-Step Guide].
 - Generate the TNT Report:
To analyze the shipping options considered and quantify the cost savings achieved across multiple orders, you can generate a specialized report. For instructions, refer to: How to Generate a TNT Rate Shop Comparison Table Report [Step-by-Step Guide]. 
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article