Routing Logic Directives (RLD) build into EPISHIP control shipments through the rate and label manifest processes of the supply chain.
The purpose of this article is to detail Efferent Rules, a class of RLD Rules, that target the transformation and control of shipping labels intended for use.
Overview
A rate response request includes a list of all service types across multiple carriers in a distributed network. Some service types and carriers are not target for use in shipment label creation, according to business rules. This is where Efferent Rules come in. Efferent Rules post-process the rate response to include only the services and related information to make better routing decisions in your supply chain. Efferent Rules are one rule type within a RLD Template.
Efferent Rule Components
Any number of Efferent Rules can be built within a RLD Template to match business objectives. Each Efferent 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 transformation rules defined within the Efferent Rule matched within the RLD Template. Each transformation rule available to be included within the RLD template is as follows.
Custom RLD Output
This optional field allows for a custom RLD property to be included in the rate request response. This is useful for targeting a different named RLD Rule Type, even one not specified as the original RLD rule specified in the rate response.
Filter by Carrier
For each carrier enabled within Filter by Carrier, a list of available services included within the rate request are included within the rate request response.
Efferent Rule Use Case
Usual use cases for Efferent Rules within a RLD Template are numerous. Some common use cases include the following:
- Exclude service types where the Estimated Days of Delivery exceeds 2 days.
- Exclude service types where shipments exceed 9 pounds (4.1 kg).
- Exclude all service types except just one service type where a named service type is expected.