Format a CSV File for LTL Tiers
Overview
Contract Manager expects a specific format for the CSV files it uses to look up discounts and minimums for LTL shipments. These CSV files are created in Microsoft Excel and saved as CSV (Comma delimited) files.
Header Row
The first row of the file must contain the column labels. The name of the label is not important, but the order of the data cannot change.
- Origin Warehouse Code (Wcode) - the Contract Manager ID code for a specific origin location
- Origin City (OrgCity) - a specific origin city
- Origin State (OrgState) - a specific origin state
- Origin ZIP From (OrgZipFrom) - the low value of a range of ZIP codes for the origin
- Origin ZIP To (OrgZipTo) - the high value of a range of ZIP codes for the origin
- Destination Warehouse Code (Wcode) - the Contract Manager ID code for a specific destination location
- Destination City (DstCity) - a specific destination city
- Destination State (DstState) - a specific destination state
- Destination ZIP From (DstZipFrom) - the low value of a range of ZIP codes for the destination
- Destination ZIP To (DstZipTo) - the high value of a range of ZIP codes for the destination
- Weight From (WtFrom) - the lowest valid weight for a shipment
- Weight To (WtTo) - the highest valid weight for a shipment
- Pallet Positions From (PalFrom) - the lowest valid number of pallet positions for a shipment
- Pallet Positions To (PalTo) - the highest valid number of pallet positions for a shipment
- Cube From (CubeFrom) - the lowest valid cubic capacity for a shipment
- Cube To (CubeTo) - the highest valid cubic capacity for a shipment
- Feet From (LinFtFrom) - the lowest valid lineal footage for a shipment
- Feet To (LinFtTo) - the highest valid lineal footage for a shipment
- Miles From (MilesFrom) - the lowest valid mileage for a shipment
- Miles To (MilesTo) - the highest valid mileage for a shipment
- Direct Discount (DirDisc) - the discount if the carrier moves the freight direct
- Direct Floor Minimum (DirMin) - the minimum cost if the carrier move the freight direct
- Origin Partner Discount (OrgIntDisc) - the discount if an advance interline partner is used
- Origin Partner Floor Minimum (OrgIntMin) - the minimum cost if an advance interline partner is used
- Destination Partner Discount (DstIntDisc) - the discount if a beyond interline partner is used
- Destination Partner Floor Minimum (DstIntMin) - the minimum cost if a beyond interline partner is used
- Origin and Destination Partner Discount (Org&DstIntDisc) - the discount if two interline partners are used
- Origin and Destination Partner Floor Minimum (Org&DstIntMin) - the minimum cost if two interline partners are used
Data Rows
Every origin and destination pair from the contract must be entered as a separate line in the CSV file. For a typical LTL rate matrix, which includes rates for each state to every other state, this can result in files of over 2,400 lines. For an easy way to convert a standard LTL rate matrix to a list that can be used in a Contract Manager CSV file, see Convert an LTL Rate Matrix to a List.
Some important considerations in entering data:
- Columns A through J can be left blank if the field is not being used.
- Columns K through AB must include a 0 if the field is not being used. Contract Manager will treat a 0 as "ANY."
- All values are inclusive. For example, if a shipment is considered a TL shipment instead of LTL at 20,000 lbs, the Weight To column should list 19,999, not 20,000, since the maximum valid weight is 19,999 pounds.
- Consider leaving columns M through T as 0. Contract Manager does not always return correct rates to Optimiz if the expected variables are not used during rating calls when limits exist on these values.
- Even if interline partners are not being used, copy the direct discount and minimum rates to all interline options to ensure that rates are always returned.
- If a discount exists, it must be entered as text equivalent of its value. Values recorded as percentages are often transferred to the CSV file as decimals. That is, 75.3% may be recorded as 0.753, which Contract Manager will treat as a discount of 0.753%.
Saving the File
Once the headers have been defined and the data has been entered, the file needs to be saved in a format Contract Manager can read, namely CSV, or comma-separated values. Microsoft Excel has the ability to create a CSV file.
It is important to follow a consistent naming format for these CSV files, since the file name must be accurately typed into Contract Manager; it is not possible to select available files from a list. The standard naming convention for these files is CustomerName-TransportationMode-ShipmentType-CarrierSCAC-EffectiveDate.csv. For example, a CSV file detailing Robert Bosch's LTL direct rates with Con-Way Freight effective January 1, 2015, would be named Bosch-LTL-Direct-CNWY-01012015.csv.
To Save an Excel File as a CSV File:
- Open the Microsoft Excel spreadsheet.
- Click File.
- Click Save As.
- Enter the File name according to the naming convention described above.
- Select CSV (Comma delimited) (*.csv) from the Save as type dropdown.
- Click Save.
If the original spreadsheet has more than one tab, a warning message will appear, explaining that a CSV file cannot have multiple tabs and only the current tab will be saved.
- Click OK.
A warning message will appear, explaining that special formatting will be lost in the conversion to CSV.
- Click Yes.
Result
The rate template is saved in a format that can be read by Contract Manager. It can now be sent to Help Desk to upload to the Contract Manager server so it can be used in contracts.

When receiving a CSV file for upload as an LTL tariff, it must be placed in a specific folder on the Contract Manager manager application server, specifically $C\CSVFiles\[carrierSCAC]\. Make sure the file name matches the naming convention described above before it is uploaded.