Calculating detention charges automatically

You can set up billing rates that automatically calculate detention time based on the dates/times recorded on a trip.

For individual rates, you can:

  • Limit the event types

  • Limit the stop companies

  • Specify how hours are rounded

  • Specify the amount of free detention time allowed

  • Specify whether detention time is invoiced per stop or per trip

  • Specify the types of time that affect the calculation of detention time

The detention charges feature is designed for secondary rates.

Our sample trip has two hours of detention time at the drop stop (from 16:00 to 18:00).

image7

When the system calculates the invoice, it automatically creates an invoice detail for two hours of detention.

image8

Setting up a charge type

Create an accessorial charge type similar to the one shown here with these options set:

Field Definition

Basis

Accessorial

Basis Unit

Time

Rate Unit

$/Hour

Charge Units

Hours

image9

Setting up a detention rate

Create a secondary billing rate based on the charge type you created for detention.

image10

You must link the secondary rate to the appropriate primary billing rate(s).

After you save the rate, click the Time tab to complete the set up procedures.

image11

The Time tab is available only when you select a time-based charge type in the Item code field.

Specifying the method used to create detention charges

To specify how detention time is billed, select one of these options in the Method field on the Time tab:

  • Delay cumulative
    The system creates one invoice detail for all detention time on the order.

  • Delay per stop
    The system creates a separate invoice detail for each stop’s detention time.

    Note: This option requires that you have [Tariff]HandlingOfDuplicateSecondaryCharges=AddAdditional set in your TTS50.

The Detention feature does not use any of the other options in the Method field. All other options are used by the hourly pay feature.

Specifying how detention time is counted

In the Option field on the Time tab, select the method used to calculate detention time.

  • Compute Arrival/Departure difference only
    The detention time begins at the time recorded for the stop’s arrival and ends at the time recorded for the stop’s departure (minus any free time).

  • Use 'greater' of Arrival or Scheduled Earliest time to compute time
    The detention time begins at the time recorded in the stop’s Arrival field or in the Earliest field, whichever is later, and ends at the time recorded for the stop’s departure (minus any free time).

  • Add Arrival Time difference 'outside' scheduled Earliest/Latest time to 'Free Time'
    The system calculates detention time like this:

    1. Calculate the number of hours between the times recorded for the stop’s arrival and the stop’s departure

    2. Determine whether the stop’s arrival time is outside the earliest/latest times recorded for the stop

    3. If the stop’s arrival is outside the earliest/latest times, the system subtracts that amount as well as any free time from the detention time calculated in Step 1.

  • Use 'greater' of Arrival or Scheduled Latest time to compute time
    The detention time begins at the time recorded in the stop’s Arrival field or in the Latest field, whichever is later, and ends at the time recorded for the stop’s departure (minus any free time).

  • Conditions
    See Setting conditions for the detention start time.

Setting conditions for the detention start time

First available in TMW Back Office: 2019.3

You can set conditions that determine which type of time the system uses for the detention start time when calculating detention time.

  1. Select Condition in the Option field on the Time tab.

  2. Click Add to add a condition.
    The system adds a new row.

  3. Select the condition in the Condition column.

    • Early
      The arrival is earlier than the Earliest scheduled time

    • Late
      The arrival is later than the Latest scheduled time

    • On Time
      The pickup is between the Earliest and the Latest scheduled times

  4. Select when the detention time begins in the Begin Detention From column.

    Note: The condition you selected in the Conditions column determines the options available in this column.

    • Arrival
      Start detention time at the Arrival time

    • Activity Start
      Start detention time at the Activity Start time

    • Scheduled Earliest
      Start detention time at the Scheduled Earliest time

    • Scheduled Latest
      Start detention time at the Scheduled Latest time

Specifying how the system rounds hours

By default, the hours in time-based charges round down to the nearest hundredth, that is, 0.01. If you want, you can specify a different rounding method and rounding amount in a detention rate.

You specify rounding options in the Rounding section on the Time tab.

Make entries in these fields.

Field Definition

Method

Select one of the following options:

  • Round Up
    Round up to the nearest increment specified in the Increment field

  • Round Down
    Round down to the nearest increment specified in the Increment field

  • Round Nearest
    Round to the nearest increment specified in the Increment field, either up or down, whichever is closest

  • No Rounding
    Do not round the hours

Increment

In decimal hours, enter the increment used for rounding time.

Note: Here is a list of common increments in decimal hours:

  • .083
    Rounds to 5 minutes

  • .1666
    Rounds to 10 minutes

  • .25
    Rounds to 15 minutes

  • .50
    Rounds to 30 minutes

Note: By default, the [Misc]RoundTo setting in your TTS50 rounds charge amounts and pay amounts to two decimal places. You can use the setting to round amounts from zero to four decimal places.

Examples showing how the system displays rounded hours

The following illustrations show how the system rounds hours for each of the rounding methods.
For each of the examples we used:

  • This trip with a detention duration of 3 hours and 11 minutes (or 3.18 hours)

    image12

  • A 15-minute increment for rounding

    image13

Rounding method Description

No Rounding

The invoice quantity remains at 3.18 hours.

image14

Round Up

The invoice quantity rounds up to the next higher 15-minute increment from 3.18 hours to 3.25 hours (3 hours and 15 min).

image15

Round Down

The invoice quantity rounds down to the previous 15-minute increment from 3.18 hours to 3.00 hours (3 hours and 0 min).

image16

Round Nearest Increment

This option rounds the time up or down to the next 15-minute increment, whichever is closer.

For this example, the invoice quantity rounds up to the next higher 15-minute increment from 3.18 hours to 3.25 hours (3 hours and 15 min).

image15

Specifying free time

Free time is the amount of time allowed at a stop before detention time begins to accumulate. You specify free time options in the Free Time section on the Time tab.

Setting the default free time per stop

In the Per Stop field, enter in decimal hours the amount of free time allowed at each stop.
For example, enter 0.2500 to allow 15 minutes of free time per stop.

Setting a different amount of free time for the first and/or last stop

You can specify a different amount of free time for the first and/or last stop than the amount specified for other stops.

  • To specify a different amount of free time for the first stop:

    1. Select the First Event check box.

    2. In decimal hours, enter the amount of free time allowed at the first stop.
      For example, enter 0.5000 for 30 minutes of free time.

  • To specify a different amount of free time for the last stop:

    1. Select the Last Event check box.

    2. In decimal hours, enter the amount of free time allowed at the last stop.
      For example, enter 1.0000 for one hour of free time.

Setting the minimum and/or maximum amount of free time per trip

You can set a minimum and/or maximum amount of free time per trip if you have Delay cumulative selected in the Method field.

  • In the Min total field, enter the minimum free time per trip in decimal hours.
    For example, to allow for a minimum of one hour of free time per trip enter 1.0000.

  • In the Max total field, enter the maximum free time per trip in decimal hours.
    For example, to allow for a maximum of two and a half hours of free time per trip enter 2.5000.

Limiting stop companies

In the Companies section of the Time tab, you can specify which stop companies are included in or excluded from the calculation of detention time.

When no company is listed in the CompanyID field, the rate is available for all stop companies.

Follow these steps to create a list of companies to include or exclude from this rate.

  1. In the Include/exclude field, select either:

    • Include
      This rate is available only for the listed companies.

    • Exclude
      This rate is not available for the listed companies.

  2. In the Available field, enter the company’s ID.

  3. Click image17 Add.
    The system adds the company to your list.

  4. Click Save.

Limiting the event types

By default, the system calculates detention time for all stops with a billable pickup or drop event. However, on a rate-by-rate basis, you can limit the event types included in the rate.

In the Events section of the Time tab, clear the Selected check box of any events for which you do not want to calculate detention time.

image18

When you clear the row’s check box, the system immediately moves the row to the bottom of the grid.