Documentation Index

Fetch the complete documentation index at: https://documents.revenova.com/llms.txt

Use this file to discover all available pages before exploring further.

Trip Plan Validations

Prev Next

A Trip Plan Validation is a type of data verification record that checks whether your Trip Plans, Drivers, and Fleet Assets are configured accurately and prevents process flow errors when building Trip Plans.

Caution: Any active Trip Plans that were in progress before the validation records were created that would affect the trips will warn or prevent users from saving or dispatching them until the hard validation issues are resolved.

For Trip Plans in Dispatched or Pending Final status, users will not be able to enter actuals and save to complete the Trip Plan until the hard validation issues are resolved.

These validations run when opening or saving a Trip Plan in the Trip Planner Lightning Web Component (LWC), as well as when dispatching a Trip Plan Segment in the LWC. Validations are shown only for active Trip Plans—once a Trip Plan has a Completed or Canceled status, the validation banner disappears.

Trip Planner LWC showing an active hard validation alert above the segment with the error.

Create these validation rules in the Carrier Transportation Profile used by the Company/Division Account for the Driver and Fleet Asset records.

Caution: Only create Trip Plan Validation records that primarily apply for the Company/Division on the Transportation Profile.

The number of validations impacts the speed the Trip Planner LWC is opened and saved. The most impactful validation types are:

  • Overlapping Trip Plans

  • Calendar Events

  • Trailer Action

Alert Types

A Trip Plan Validation record can have one of two Alert Types: Soft or Hard.

The banner in the Trip Planner LWC and the alert list introduction in bold change based on the alert type triggered when opening or saving a Trip Plan.

If the Trip Plan triggers both soft and hard alerts, the banner displays as a hard alert, but the failed validations show both alert types to differentiate between them.

Multi-Segment Note: The banner appears above the Trip Plan Segment that triggered the validation check. For Trip Plans with multiple segments, each banner displays the list of warnings and errors that are specific to that segment.

If the alert message includes a date, it formats it based on the User’s Locale setting. For example, if the user’s locale is English (United States), the message will format the date as (MM/DD/YYYY), whereas if the user’s locale is English (United Kingdom), the message will format the date as (DD/MM/YYYY).

Trip Plan Validation Caution: As part of implementation, customers may want to initially configure Trip Plan Validations as soft validations instead of hard validations. This allows users to continue operational workflows while identifying missing or invalid date and understanding which scenarios trigger validation alerts.

Any active Trip Plans that were in progress before the validation records were created that would affect the trips will warn or prevent users from saving or dispatching them until the hard validation issues are resolved.

For Trip Plans in Dispatched or Pending Final status, users will not be able to enter actuals and save to complete the Trip Plan until the hard validation issues are resolved.

Soft Alerts

For soft alerts, an orange banner appears indicating that at least one soft validation has been triggered, and the failed checks can be viewed via the link in the banner. The orange banner appears only when all validation checks for that Trip Plan Segment are soft alert types.

Notification indicating trip plan segment has triggered validations for review.

Clicking the link to view the failed validations opens a modal that lists all soft alerts triggered for the Trip Plan. The alert list introduction recommends reviewing the activated validation checks, as soft alerts do not prevent you from dispatching the Trip Plan Segment.

License validation notice indicating Joe Revenova's license has expired and needs review.

Hard Alerts

For hard alerts, a red banner appears, indicating that at least one hard validation has been triggered and that the failed checks can be viewed via the link in the banner.

Notification about trip plan segment validations preventing dispatch, with a clickable link.

Clicking the link to view the failed validations opens a modal that lists all hard alerts triggered for the Trip Plan. The alert list introduction warns that the following activated validation checks will prevent you from dispatching the Trip Plan Segment until the error is fixed.

License validation error message indicating Joe Revenova's license has expired.

While these validations are active, the Dispatch button does not render when the Trip Plan Segment status is Configured. Manually changing the Status field for the segment prevents saving the Trip Plan and prevents redispatching or undispatching a Driver until the validation alerts are addressed.

Trip Planner LWC showing status, driver details, and validation warnings for dispatch.

Validation Type Logic

The possible validations listed in the banner display a message based on the Validation Type and additional conditions, such as dates.

Use the following flowcharts and screenshots to see how these Trip Plan Validation types are triggered in the TMS.

Note: The flowcharts assume that the End Date/Time field on the last Trip Plan Leg record has a value.

Caution: If the last Trip Plan Leg for a Trip Plan Segment does not have a value in the End Date/Time field (Appointment Date) on the leg’s record, then the value in the Start Date/Time field (Due Out) is used instead.

If no times are provided along with the dates, the system defaults the time for the Start and End Date/Time to noon (12:00 PM).

Logistics details including driver, load stops, and appointment dates for transportation.

If both fields on the last Trip Plan Leg are blank, then the following Trip Plan Validations are not checked:

  • CDL

  • Medical Cert

  • License

  • Hazmat Cert

  • T-Endorsement for Towing Double/Triple Trailers

  • Tanker

  • Border Crossing

  • Port

  • Out of Service

  • Registration Expiration

The Date/Time fields are only populated once a location is selected and saved for both the Start Type and End Type in the Trip Planner LWC.

Logistics segment showing driver details, stops, and distances for a delivery route.

Driver

Some validations depend on specific fields in the Driver record, while others depend on the Expiration Date field of the Travel Credential records related to the Driver.

The Trip Plan Validations for a Driver come from the Transportation Profile with the following relationship:

Contact field on the Driver record

Account Name field on the Contact record

Transportation Profile field on the Account record

Validation on Driver Record

The following fields on the Driver record are checked for their respective validation type.

Driver Field

Validation Type

CDL Expiration Date

CDL

Medical Card Expiration Date

Medical Cert

Drivers License Expiration

License

Employment Status

Employment Status

Status

Driver Unavailable

The CDL, Medical Cert, and License validation messages can change based on whether the field is blank and whether the expiration date has passed today’s date.

Note: For the CDL, Medical Cert, and License validations, the Driver’s expiration date fields are not inclusive. That is, if the last leg’s end date (or if blank, the last leg’s start date) is the same as the Driver’s expiration date, the validation will not trigger.

Validation Type: CDL

Flowchart illustrating CDL expiration date validation process with alert messages for drivers.

Validation Type: Medical Cert

Flowchart illustrating medical card expiration date validation process and alert messages.

Validation Type: License

Flowchart illustrating driver license expiration validation process with alert messages.

Validation Type: Employment Status

Flowchart showing employment status validation with alert message for non-hired drivers.

Validation Type: Driver Unavailable

Flowchart illustrating validation alert process based on driver status availability.

Validation on Travel Credential Record

These Trip Plan Validations review specific types of Travel Credentials and their expiration date. Create or update these Travel Credentials with the Travel Credentials for Parent Contact related list in the Driver record.

List of travel credentials for parent contact on the Driver record, including types and document numbers.

The following Validation Types check for specific Travel Credential types and Trip Plan Segment conditions.

Validation Type

Travel Credential Types

Trip Plan Segment Conditions

Hazmat Cert

  • [H] Hazardous Material Endorsement

  • [X] Combines HazMat and Tanker Endorsement for transportation of liquids or gases in tankers

The Load on the Trip Plan Segment is a HazMat Load
(the HazMat field on the Load record is checked).

T-Endorsement for Towing Double/Triple Trailers

  • [T] Endorsement for Towing Double/Triple Trailers

The Trip Plan Segment contains more than one Trailer as a Trip Plan Leg Asset.

Tanker

  • [N] Tanker Non dangerous Liquid or Gas

  • [X] Combines HazMat and Tanker Endorsement for transportation of liquids or gases in tankers

The Trip Plan Segment contains at least one Trip Plan Leg Asset that is a Tanker.

Border Crossing

  • [PP] Passport

  • [PPC] US Passport Card

  • [FC] FAST - Free and Secure Trade

The first leg of the Trip Plan Segment has a Start Type of Border Crossing

OR

Any leg on the segment has an End Type of Border Crossing.

Port

  • [TWIC] Transportation Worker Identification Credential required for Port Entry

The first leg of the Trip Plan Segment has a start location where the Account selected has the Seaport or Seaport Terminal values in the TMS Type field

OR

Any leg on the segment has an end location where the Account selected has the Seaport or Seaport Terminal values in the TMS Type field.

The Start/End Type can be any of the following:

  • Location

  • Waypoint Location

  • Terminal

  • Distribution Center

  • Load Stop

Note: For the Port validation type, TWIC cards are only required in the United States.

Users operating at ports outside of the U.S. will not want to enable this validation. This validation does not have a country filter.

The Trip Plan Validation checks the Expiration Date field on the Travel Credential record associated with the Driver. At least one type of Travel Credential must be valid to not trigger a validation warning/error when opening the Trip Planner LWC.

Caution: If the Expiration Date field on the Travel Credential record is blank, the validation alert will be triggered and uses the Alert Type with the following message:

“{Validation Type} is missing the expiration date for {Driver Name}”

Validation Type: Hazmat Cert

Flowchart outlining HazMat load validation process for drivers and their endorsements.

Validation Type: T-Endorsement for Towing Double/Triple Trailers

Flowchart illustrating validation checks for multi-trailer endorsements for drivers.

Validation Type: Tanker

Flowchart illustrating validation checks for tanker endorsements and driver credentials.

Validation Type: Border Crossing

Flowchart outlining border crossing validation steps for drivers and their credentials.

Validation Type: Port

Flowchart illustrating validation checks for TWIC credentials in trip planning.

Fleet Asset

Some validations depend on specific fields in the Fleet Asset record for any asset type, while others are focused on Trailer-specific Fleet Asset types (also known as Trip Plan Leg Asset).

The Trip Plan Validations for a Fleet Asset come from the Transportation Profile with the following relationship:

Company/Division field on the Fleet Asset record

Transportation Profile field on the Account record

Validation on Fleet Asset Record

The following fields on the Fleet Asset record are checked for their respective validation type.

Fleet Asset Field

Validation Type

Out of Service Date

Out of Service

Registration Expiration

Registration Expiration

The Registration Expiration validation message can change based on whether the field is blank and whether the expiration date has passed today’s date.

Note: For the Out of Service Date and Registration Expiration validations, the Fleet Asset’s expiration date fields are not inclusive. That is, if the last leg’s end date (or if blank, the last leg’s start date) is the same as the Fleet Asset’s expiration date, the validation will not trigger.

Caution: If the Out of Service Date field is blank for the validation, the validation alert will not be triggered, even if the Status of the Fleet Asset is Out of Service.

Validation Type: Out of Service

Flowchart illustrating validation checks for out of service dates and alert messages.

Validation Type: Registration Expiration

Flowchart illustrating registration expiration checks and alert messages for fleet assets.

Validation on Trailer-Type Fleet Assets

These Trip Plan Validations review specific types of Fleet Assets that are attached to Trip Plan Legs, known as Trip Plan Leg Assets. These Fleet Assets will be referred to as Trailers throughout this section.

The following Validation Types check for specific conditions to trigger the alert.

Validation Type

Condition

Trailer Location - 1 Mile

  • The Trailer’s Action on the Trip Plan Leg is Pickup

  • The Fleet Asset record for the Trailer has a value in the Geolocation field

  • The Trip Plan Leg record has a value in the End Geolocation field

Trailer Dropoff

  • The Trailer’s Action on the Trip Plan Leg is Dropoff

  • The Trip Plan Leg has an end location, and the related Transportation Profile has the Is Drop Location field checked

Trailer Action

Ensures that Trailers are used in a valid sequence of pickup, hook, and drop actions across Trip Plan Segments and Trip Plan Legs.

Checks for these specific actions:

  1. Checks that the new Action is valid for a Trailer from a previous segment or leg.

  2. Checks that the same Trailer is not added multiple times to the same leg.

  3. Checks that the Trailer is picked up or dropped off appropriately across legs within a segment or across multiple segments.

  4. Checks that the Trailer cannot be dropped unless it was either included in the first leg or has been previously picked up in a different segment.

Validation Type: Trailer Location - 1 Mile

Flowchart illustrating validation checks for trailer pickup and geolocation accuracy.

Validation Type: Trailer Dropoff

Note: The Is Drop Location field for a Trailer come from the Transportation Profile with the following relationship:

End Location field on the Trip Plan Leg record

Transportation Profile field on the Account record

Is Drop Location field on the Transportation Profile record

Flowchart illustrating trailer drop-off validation process with alert conditions and outcomes.

The following screenshots illustrate the different possible scenarios that the Trailer Action validation checks.

When checking the Action for a multi-segment Trip Plan or across different Trip Plans, use the following table to see the valid Trailer actions when moving a Trailer from one segment to another.

Valid Trailer Action Flow

Previous Trailer Action

Next Trailer Action

Description

Action: Pickup

Action: Hooked or Dropoff

A Trailer is picked up and moves into a hooked state or is dropped off at the next location.

Action: Hooked

Action: Hooked or Dropoff

A Trailer remains hooked or is dropped off at the next location.

Action: Dropoff

Action: Pickup

Once a Trailer is dropped off, it must be picked up again.

Caution: The Trailer Action validations trigger for the Action/Cargo Status flow when the following are true:

  • The previous to next Trailer Action is invalid across Trip Plan Segments OR Trip Plan Legs within a segment

  • If a trailer is used across Trip Plan Segments, at least one date (Due Out or Appointment Date) must be provided in the previous segment

  • At least one Due Out date needs to be provided in a leg of the current segment to check the Trailer Action flow validation from the last leg of the  previous segment and next legs in the current segment

Trip plan segments showing locations, dates, and cargo status for transportation logistics.

If these conditions are not met, the Trailer Action validation will not be triggered.

Trailer Action Validation: Trailer has been added multiple times to the same Trip Plan Leg

Trip plan details including driver, trailer status, and validation warnings for dispatch.

Alert Message

Cannot have the same trailer on the same leg: {Trailer Name}

Trailer Action Validation: Trailer on a Trip Plan Segment has duplicate Dropoff actions on different legs

Trip plan details including segments, locations, and cargo status for transportation.

Alert Message

Asset {Trailer Name} on leg {Leg Number} has already been dropped off

Trailer Action Validation: Trailer on a Trip Plan Segment has duplicate Pickup actions on different legs

Trip plan details including segments, locations, and cargo status for transportation.

Alert Message

Asset {Trailer Name} on leg {Leg Number} has already been picked up

Trailer Action Validation: Trailer on a Trip Plan Leg has not been picked up in a previous segment or not picked up in the first leg before Dropoff

Trip plan details including driver, locations, and cargo status for transportation.

Alert Message

Cannot drop off asset {Trailer Name} because it was not picked up or included in the first leg: Leg {Leg Number}

Note: If more than 1,000 Trip Plan Leg records are returned for a specific Trailer with the same Calculated Datetime value while using the Trailer Action validation rule, a message is shown stating “More than 1000 most recent Trip Plan Legs found for trailer action validation: Segment {Segment Number}. Validation may not be fully accurate.”

Dispatch Trip Plan Segment

These Trip Plan Validations check whether the Driver or Power Unit is already on a dispatched Trip Plan Segment, or whether a Trailer (or any other Trip Plan Leg Asset) to be hooked to a Power Unit is within a 1-mile radius of the pickup location before dispatching the segment.

Caution: These validations prevent dispatching a Trip Plan Segment only when the Dispatch button is selected, not by manually changing the Trip Plan Segment Status to Dispatched.

Validation Type: Single Dispatch

Flowchart illustrating driver status checks for trip plans and dispatch alerts.

Validation Type: Dispatch - Preloaded Trailer

Flowchart illustrating validation checks for trailer pickup and geolocation distance.

Overlapping Dates

Two Trip Plan Validations can check whether a record has an overlapping date range:

  • Overlapping Trip Plans: This validation checks whether any Drivers, Fleet Assets, or Loads on a Trip Plan have an overlapping date range with another Trip Plan Segment (either on the same Trip Plan or a different Trip Plan).

    Note: If any Transportation Profile in the TMS has an Overlapping Trip Plans validation record, then any Loads on a Trip Plan Segment that have an overlapping date range with another Trip Plan Segment will trigger an alert.

  • Calendar Events: This validation checks whether a Driver or Fleet Asset has a Fleet Calendar Entry (such as PTO or Maintenance) and whether the calendar date overlaps with a Trip Plan.

The Trip Plan Segments with an overlapping date range that do not have a Status set to Configured or Dispatched will trigger a validation alert.

Caution: If the last leg on the previous Trip Plan Segment record does not have a value in the End Date/Time field (Appointment Date), then the Start Date/Time field (Due Out) is used instead. If no times are provided along with the dates, the system defaults the time for the Start and End Date/Time to noon (12:00 PM).

If two Trip Plan Segments have the same Due Out date but with no time entered, the overlapping Trip Plan Validation will trigger, since both will overlap by the same date and time. If explicit Due Out times are entered—for example, 8:00 PM for Segment 1 and 12:00 PM for Segment 2—the validation will not trigger because the times do not overlap.

If a Trip Plan Segment has only one leg, then the overlapping date range is one day, for example, April 23rd to April 23rd.

For the Overlapping Trip Plans Validation, both segments must have either a Configured or Dispatched status, and only the previous segment receives the validation alerts.

Trip plan details including locations, due dates, and driver information for transportation.

Warning

The overlapping validations will not trigger if any of the following are true:

  • If the last leg of the current Trip Plan Segment does not have an Appointment Date or Due Out date

  • If the current Trip Plan Segment record does not have a value in the Start Date/Time field. This field is derived from the earliest Due Out date out of all the Trip Plan Legs of the segment

Overlapping Trip Plans Validation: Overlapping Trip Plan Segments in the same Trip Plan for the Power Unit, Driver, and Trailer

Example of Overlapping Trip Plan Segments:

  • Same Trip Plan

  • Configured Segment Status

  • Same Power Unit, Driver, and Trailer on both segments

  • Overlapping Date Range

Trip plan details including segments, drivers, and appointment dates for transportation.

Alert Message

{Driver/Fleet Asset/Load Name} has overlapping scheduled assignments on {Trip Plan Name}

Overlapping Trip Plans Validation: Overlapping Trip Plans for the Power Unit, Load, Driver, and Trailer

Example of Overlapping Trip Plans:

  • Two different Trip Plans

  • Configured Segment Status

  • Same Power Unit, Load, Driver, and Trailer

  • Overlapping Date Range

Trip Plan One:

Trip planning interface showing details for segments, drivers, and load stops.

Trip Plan Two:

Trip planning interface showing segments, driver details, and validation warnings for a transport route.

Alert Message

{Driver/Fleet Asset/Load Name} has overlapping scheduled assignments on {Trip Plan Name with Configured segment}

Validation Type: Calendar Events

Example of Overlapping Calendar Event:

  • Fleet Calendar Entry where the Driver has PTO on April 2, 2026

  • Trip Plan scheduled from April 1, 2026, to April 8, 2026

Trip Planner LWC:

Trip plan details including driver, distance, and appointment information for delivery.

Calendar on the Driver Record:

Calendar view showing scheduled times for Joe Revenova on April 2, 2026.

Alert Message

{Driver/Fleet Asset Name} has a scheduled calendar event - {Fleet Calendar Event Reason} between YYYY-MM-DD HH:MM:SS and YYYY-MM-DD HH:MM:SS

Note: The date and time displayed in the message is in UTC using the Start Time and End Time of the Fleet Calendar Entry.