Routing Logic Directives (RLD) built into EPISHIP control shipments through the rate and label manifest processes of the supply chain.
The purpose of this article is to detail the Max Days in Transit Rule, a specific RLD Rule type, that targets the restriction of shipping options based on maximum allowable transit times.
Overview
A rate response request includes a list of all service types across multiple carriers in a distributed network. Sometimes, specific service types take too long to deliver based on certain order variables, according to business rules. This is where the Max Days in Transit Rule comes in. The Max Days in Transit Rule post-processes the rate response to explicitly exclude services whose transit times exceed the maximum allowed duration (e.g., removing any service that takes more than 4 days) to make better routing decisions in your supply chain. The Max Days in Transit Rule is one rule type within an RLD Template.
Max Days in Transit Rule Components
Any number of Max Days in Transit Rules can be built within an RLD Template to match business objectives. Each Max Days in Transit Rule includes the following components.
Match conditions
Match conditions of criteria operators include the following types: All (AND), Any (OR), None (Not).
Match criteria
1. Sender
Sender fields available for match criteria include the follow properties:
- Sender Name
- Sender Company
- Sender Address 1
- Sender City
- Sender State
- Sender Postal Code
- Sender Country
- Sender Residential
2. Receiver
Receiver fields available for match criteria include the follow properties:
- Receiver Name
- Receiver Company
- Receiver Address 1
- Receiver City
- Receiver State
- Receiver Postal Code
- Receiver Country
- Receiver Residential
3. Package
Package fields available for match criteria include the follow properties:
- Package Type
- Package Quantity
- Declared Value
- Actual Weight
- Package Length
- Package Width
- Package Height
4. Line Items
Line Items fields available for match criteria include the follow properties:
- Line Item SKU
- Line Item HS Code
- Country of Origin
5. Options
Options fields available for match criteria include the follow properties:
- Saturday Delivery
- Cash on Delivery
- Cash on Delivery Amount
- Dropoff Type
6. References
References fields available for match criteria include the follow properties:
- Reference 1
- Reference 2
- Reference 3
7. Rate
Rate fields available for match criteria include the follow properties:
- Carrier
- Service Name
- Total Cost
- Zone
- Estimated Delivery Days
8. Time
Time fields available for match criteria include the follow properties:
- Day of Week
- Time of Day
The match criteria types listed above are used within individual rules or can be combined into a single rule to target specific conditions that include several match criteria.
Transformation
The carrier rate response is modified according to the rules defined within the Max Days in Transit Rule matched within the RLD Template. The transformation functionality available to be included within the RLD template is as follows.
Max Days Threshold Selection
This configuration dictates the maximum allowable transit days for a carrier service to be permitted. Once the match criteria are met, the rate request response is transformed to filter out any carrier services whose stated transit time exceeds the explicitly defined maximum days threshold, ensuring only services that meet the speed requirement pass through before the final rates are presented or the label is manifested.
Max Days in Transit Rule Use Cases
Usual use cases for Max Days in Transit Rules within an RLD Template are numerous. Some common use cases include the following:
-
Exclude service types where the transit time exceeds 2 days for priority or premium-tier orders.
-
Ensure perishable goods or temperature-controlled items are only shipped using services that guarantee a transit time of 48 hours or less.
-
Filter out slower economy delivery options when a specific customer SLA (Service Level Agreement) dictates delivery within a set number of days.