Shipment Management

Trailer Build Processing Logic

As part of the bulk planning of orders in Oracle Transportation Management, a post process runs to attempt to build shipment groups followed by a second bulk plan post process to build LTL loads using a variation of the existing shipment group functionality. Shipment group rules contain specified criteria that make them applicable or not to shipments exiting bulk plan. This post process will only consider shipment group rules that have the Type ID of "Trailer Build". These rules have mandatory criteria, such as service provider, equipment group ID, and break bulk location. If these values match the shipments exiting the bulk plan and other rule integrity is also met, then the shipments exiting bulk plan are built into shipment groups. Each group is intended to represent an LTL Load.

The following properties impact trailer builds:

At the end of the bulk plan, after the current shipment group builder is run, the following processing logic takes place for Trailer Build functionality:

  • For the collection of shipment graphs (related shipments), check that each graph only contains one shipment. Otherwise, do not process the graph.
  • Find all of the shipment group rules that have the type ID of TRAILER BUILD.
  • For each shipment group rule, find all of the shipments that match the mode, itinerary, x_lane, effective date, expiration date, and service provider ID specified on the rule.
  • If the minimum weight or minimum volume is specified on the rule, calculate the total weight or volume of all the shipments that matched. If it is less than the minimum weight or volume, stop processing and go to the next Shipment Group Rule.
  • Take the shipments that matched and sort on the latest start time from earliest to latest. The sorting here will be based on the date of the latest start time, ignoring the time of day.
  • For the shipments within the same day, sort on volume, from largest to smallest.
  • Using the Equipment Group that is specified on the Shipment Group Rule, pack the sorted shipments into the equipment until it is full (until the weight/volume/ERU capacity of the equipment is full). If the weight/volume/ERU of a shipment is too large to fit in the equipment, OTM checks the next smallest until one fits.
  • Check whether the weight or volume of the remaining shipments is less than the minimum weight or volume specified on the Shipment Group Rule. If it is not, pack the next equipment. The number of pieces of equipment that results is the number of shipment groups that are needed.
  • Once a shipment is in a shipment group, set the shipment In Trailer Build flag on the Shipment Manager.
  • Get the earliest start time of all the shipments in a group and use it as the shipment group start time. Get the latest end time of all the shipments in a group and use it as the shipment group end time.
  • Get the Source Location ID of the first shipment and use it as the shipment group Source Location ID. Get the Break Bulk Location ID from the Shipment Group Rule and use it as the shipment group Destination Location ID.

Related Topics