Overview

Describes the file layout for third party or other PACCAR applications to upload into the Global Truck Locator database. The file that is uploaded and processed is a ZIP file, which contains a data file, a separate image file for every truck that has a picture and a text file containing email address where the status of upload of that particular zip file could be reported back. The data file format is a comma delimited (CSV) file. Each image file must be a standard JPEG formatted image. We no longer support GIF images regardless of the upload format.

The upload process has been enhanced to allow for the addition of additional data and truck pictures, but in order to use these new features you must generate the upload file in the new format. The old format is still supported and will be until December 31, 2001, to give you time to perform any conversion on your processes to the new format.

Version

Version 1.0 – June 2001

 

ZIP File Contents

File #

File Description

File Name

1

Data File containing truck data in CSV format.

(anyname)*.CSV

2

JPG file containing a truck picture

aaaaaaaa.JPG

n

"

"

n+1

Text file containing return email address to report status of upload.

config.txt

 

DATA File Layout

All records are laid out as follows:

Position-1, position-2,; position-3, … ,position-n[CR/LF]

The DATA file records are laid out as follows:

Header-record

Detail-record-1

Detail-record-2

"

Detail-record-n

 

Header-record

This is the first row in the CSV comma separated file. The only function of this row is to indicate the order in which the information is expected. Users are welcome to describe the items in this row with more descriptive names as per their systems as long as they don’t change the sequence of the items. This top row is totally ignored by the GTL upload system.

If users decide not to have any description in this row, make sure to leave the first row blank and start listing trucks from second row.

This is an example of the header row and first row of data as contained in a comma delimited file with a .csv extension.

 

 

How to create a .CSV file

To create a comma delimited file open a new page in Microsoft Excel and type in the data sequentially as illustrated below in Column Name or leave the first row blank and start listing trucks from the second row.  Choose File - Save As option from the menu.  Choose your destination folder, enter a file name, change the File as type to:  CSV (Comma delimited) (*.csv).  When you click Save, a pop up message will appear that reads, The selected file type does not support workbooks that contain multiple sheets. click OK and proceed.

Format for VERSION 1.

Pos

Column Name

Req.

SQL Data Type

Length

Valid Values

Description

1

VERSION

Yes

Decimal

5

1

 

2

DLR_CD

Yes

VarChar

6

 

Dealer Code e.g. A265, A266, R200, R203 etc

3

TRK_MDL_YR

Yes

Int

4

 

As of now.. from 1952 to Current

4

TRK_MAK_MFG_NM

Yes

VarChar

5

 

 

5

TRK_MDL_CD

Yes

VarChar

75

 

 

6

SER_CHS_ID

Yes

VarChar

12

 

 

7

TRK_MIL_NO

Yes

Int

 

 

0 if not known.

8

TRK_MIL_TYP_DES

Yes

VarChar

5

 

 

9

TRK_ENG_HP_NO

Yes

SmallInt

 

 

0 if not known.

10

TRK_XMN_SPDS_DES

Yes

VarChar

5

 

 

11

TRK_SSP_TYP_DES

Yes

VarChar

5

 

 

12

TRK_VEH_TYP_DES

Yes

VarChar

5

 

 

13

TRK_BD_TYP_DES

Yes

VarChar

5

 

 

14

WHL_SL_AMT

No

Int

 

 

 

15

ASK_PRC_CRY_TYP

Yes

VarChar

5

 

 

16

TRK_WB_NO

Yes

Int

 

 

 

17

TRK_RR_AXL_RTO

Yes

Decimal

4,2

 

in the format nn.nn

18

TRK_CLR_DES

No

NVarChar

20

 

 

19

STK_UNT_NUM

No

VarChar

15

 

 

20

RTL_PR_AMT

Yes

Int

 

 

0 if not known. (Retail Price)

21

ALM_WHL_CNT

No

SmallInt

 

 

 

22

TRK_VEH_ID_NO

No

VarChar

17

 

 

23

ACQ_MTH_DES

Yes

VarChar

5

 

 

24

EXT_ONL_LIS_IND

No

Char

1

Y or N

 

25

CMT_TXT

Yes

NVarChar

2000

 

 

26

FILENAME1

No

VarChar

20

 

 

27

FILENAME2

No

VarChar

20

 

 

28

FILENAME3

No

VarChar

20

 

 

29

TRK_CLS_CHA_DES

No

VarChar

5

 

 

30

SLP_ROF_TYP_CHA_DES

No

VarChar

5

 

 

31

ENG_MAK_DES

 

VarChar

75

 

 

32

RR_AXL_CPC_MEA

No

Int

 

 

 

33

SLP_CAB_SIZ_MEA

No

Int

 

 

 

34

ENG_MDL_ID

No

VarChar

75

 

 

35

RR_TIR_SIZ_TXT

No

VarChar

20

 

 

36

ASR_PGM_TYP_CHA_DES

No

VarChar

5

 

 

37

MFG_WTY_IND

No

Char

1

 

 

38

BPR_TO_BOC_MEA

No

Int

 

 

 

39

PDF_SPEC_FILE

No

VarChar

20

 

 

40

PDF_PIC_FILE

No

VarChar

20

 

 

41

FRT_AXL_CPC_MEA

Yes

Int

 

 

 

42

FRT_TIR_SIZ_TXT

No

Int

 

 

 

43

ENG_BRK_IND

No

VarChar

1

 

 

44

SLP_BNK_TYP_CHA_ID

No

VarChar

3

 

 

45

AVL_DT

No

Date

 

 

 

 

Other Supported Version

Un-numbered version from UTL: Please refer to UTLUploadFileFormatNA.doc for details.

This version was used in old UTL version of truck upload. It will continue to be supported for backward compatibility until 12/31/2001.

Important: Since the processing of TruckUpload has changed you no longer will get the results of your upload online. You may include a text file named config.txt within your zip file that contains your email address on the first line. This email address will be used to return the status of the upload process of that particular zip file.

Inclusion of this config.txt is optional but recommended.

Valid Values

Description

Valid Codes

AUTOCAR

AUT

FORD

FRD

FREIGHTLINER

FRT

GMC

GMC

INTERNATIONAL

INT

KENWORTH

KEN

MACK

MAC

OTHER

OTH

PETERBILT

PET

STERLING

STR

VOLVO

VOL

WESTERN STAR

WST

WHITE/GMC

WHT

5.TRK_MDL_CD: Valid value of this field depends on TRK_MAK_MFG_NM.

Make

Valid Codes

AUT

ACL

AUT

ACM

AUT

OTHER

FRD

B800

FRD

CF8000

FRD

CFT8000

FRD

F700

FRD

F800

FRD

FT900

FRD

L8000

FRD

L9000

FRD

LA8000

FRD

LA9000

FRD

LL9000

FRD

LLA9000

FRD

LLS9000

FRD

LN7000

FRD

LN8000

FRD

LN9000

FRD

LNT8000

FRD

LNT9000

FRD

LS8000

FRD

LS9000

FRD

LT8000

FRD

LT9000

FRD

LTA9000

FRD

LTL9000

FRD

LTLA9000

FRD

LTLS9000

FRD

LTS8000

FRD

LTS9000

FRD

OTHER

FRT

FLB

FRT

FLC 112

FRT

FLD 112

FRT

FLD 120

FRT

FLD 132

FRT

OTHER

GMC

C-MED

GMC

D-HVY

GMC

J-HVY

GMC

N-HVY

GMC

OTHER-HVY

GMC

OTHER-MED

GMC

T-MED

GMC

W-MED

INT

2554

INT

2654

INT

4700

INT

4800

INT

4900

INT

5000

INT

8100

INT

8200

INT

9200

INT

9300

INT

9400

INT

9600

INT

9700

INT

OTHER

KEN

C500B

KEN

K100E

KEN

K300

KEN

OTHER

KEN

T2000

KEN

T300

KEN

T400B

KEN

T450

KEN

T600A

KEN

T600B

KEN

T800 SH

KEN

T800B

KEN

W900B

KEN

W900L

KEN

W900S

MAC

CH602/603

MAC

CL600/700

MAC

CS200/250/300

MAC

DM600

MAC

DMM600

MAC

LE

MAC

MR600P/S

MAC

MS200/250/300

MAC

OTHER

MAC

RB600

MAC

RD600

MAC

RD800

OTH

OTHER

PET

200

PET

310

PET

320

PET

330

PET

348

PET

349

PET

349H

PET

352

PET

353

PET

357-111

PET

357-119B

PET

357-119F

PET

357-123B

PET

357-123F

PET

357H

PET

359-113

PET

359-119

PET

359-127

PET

362-110

PET

362-54

PET

362-63

PET

362-76

PET

362-82

PET

362-90

PET

372-108

PET

372-127

PET

375

PET

376

PET

377-120B

PET

377-122F

PET

378-111

PET

378-119B

PET

378-119F

PET

379-119

PET

379-127

PET

385

PET

387

PET

OTHER

STR

7000

STR

8000

STR

A9513

STR

A9522

STR

AT9500

STR

AT9513

STR

AT9522

STR

L7501

STR

L8501

STR

L8511

STR

L9501

STR

L9511

STR

L9522

STR

LT7501

STR

LT8501

STR

LT8511

STR

LT8513

STR

LT9500

STR

LT9501

STR

LT9511

STR

LT9513

STR

LT9522

STR

SILVERSTAR

STR

ST9500

VOL

FE

VOL

OTHER

VOL

VNL

VOL

VNL429

VOL

VNL610

VOL

VNL660

VOL

VNL770

VOL

VNM

VOL

WG

VOL

WX

VOL

WXL

WHT

FE

WHT

OTHER

WHT

WCA

WHT

WG

WHT

WH

WHT

WIA

WHT

WIA-T

WHT

WIA-TES

WHT

WIA-TTES

WHT

WX

WHT

WXL

WST

4884F

WST

OTHER

6. SER_CHS_ID: A unique serial number assigned by the manufacturer of the truck, i.e. B9X6SJ674577 Acceptable values: At least six characters. Should not contain any blanks.

7. TRK_MIL_NO: Mileage.

Acceptable values: At least two-digit integer. Number zero if unknown.

 

8. TRK_MIL_TYP_DES:

Description

Valid Codes

Km

K

Miles

M

9. TRK_ENG_HP_NO: Engine HorsePower

Acceptable values: Three-digit integer in the range of 200 to 400. Number zero if unknown

10. TRK_XMN_SPDS_DES:

Description

Valid Codes

10 SPEED

10S

13 SPEED

13S

15 SPEED

15S

18 SPEED

18S

5 SPEED

5S

7 SPEED

7S

8LL 10 SPD

8LL

9 SPEED

9S

AUTOMATIC

AUT

OTHER

OTH

SUPER 10

10T

11. TRK_SSP_TYP_DES:

Description

Valid Codes

AIR

A

AIR LEAF

C

AIR TRAC

D

BEAM

B

LOW AIR

L

OTHER

OTH

SPRING

S

12. TRK_VEH_TYP_DES:

Description

Valid Codes

OTHER

OTH

SEMITRAIL

SE6

TRACT/SEMI

TR4

TRACTOR

TR2

TRAILER

TR5

TRUCK

TR1

TRUCKTRAIL

TR3

13. TRK_BD_TYP_DES

Description

Valid Codes

DUMP

D

FLAT

F

MIXER

M

NONE

N

OTHER

OTH

REFUSE

R

VAN

V

 

14. WHL_SL_AMT: Wholesale amount.

Acceptable range: Any number no greater than 9,999,999.

15. ASK_PRC_CRY_TYP

Description

Valid Codes

Canadian Dollars

CAD

United States Dollars

USD

16. TRK_WB_NO: Wheel base number.

Acceptable values: Three-digit integer in the range of 100 and 500.

17. TRK_RR_AXL_RTO: Rear Axle ratio.

Acceptable values: Number zero if unknown or three digit integer in the format of n.nn. Valid range is from 2.00 to 5.00

18. TRK_CLR_DES: Color description of the vehicle.

19. STK_UNT_NUM: Unit Stock number. Free format text field for dealer’s usage.

20. RTL_PR_AMT: Retail Price Amount or Asking Price

Acceptable values: Number zero if unknown or any number no greater than 999,999.

21. ALM_WHL_CNT: Aluminum wheel count.

Acceptable values: Must be a one or two digit integer in the range of 2 to 20.

22. TRK_VEH_ID_NO: Vehicle Identification number. Must be no more than 17-character string.

23. ACQ_MTH_DES: Acquisition Method.

Description

Valid Code

Other

OTH

Purchase

PUR

Repossession

REP

Trade-In

TRD

24. EXT_ONL_LIS_IND

Description

Valid Code

Yes

Y

No

N

25. CMT_TXT: General comments.

26. FILENAME1: Picture File name.

27. FILENAME2: Picture File name.

28. FILENAME3: Picture File name.

29. TRK_CLS_CHA_DES

Description

Valid Code

Cab Over Engine

COE

Conventional

CONV

30. SLP_ROF_TYP_CHA_DES

Description

Valid Codes

FLAT

FLA

HIGH

HIG

MID

MID

NONE

NON

31. ENG_MAK_DES

#

Valid Codes & Descriptions

1

CATERPILLAR

2

CUMMINS

3

DETROIT DIESEL

4

FORD

5

INTERNATIONAL

6

ISUZU

7

MACK

8

OTHER

9

VOLVO

32. RR_AXL_CPC_MEA: Rear Axle Capacity.

Acceptable values: At least five-digit integer in the range of 10,000 to 70,000. Number zero if unknown.

33. SLP_CAB_SIZ_MEA: Special Cab Size measurement.

Acceptable values: Number zero (0) if unknown or any integer in the range of 36 to 192.

34. ENG_MDL_ID: Engine Model ID. Free form text field.

35. RR_TIR_SIZ_TXT: Rear Tire size. Free form text.

36. ASR_PGM_TYP_CHA_DES

Description

Valid Codes

BRONZE

B

GOLD

G

NO

N

NONE

NK

SILVER

S

YES

Y

37. MFG_WTY_IND

Description

Valid Code

Yes

Y

No

N

38. BPR_TO_BOC_MEA: Number of inches from truck bumper to back of cab.

Acceptable values: This is not a required field but if provided should be two-digit integer in the range of 60 to 600.

39. PDF_SPEC_FILE: Truck Specification. This is optional. If provided, it should be a PDF file containing additional specifications of the truck. Truck upload is the only way to provide this file to GTL. This file shows up as a hyperlink on the Detail page within GTL web site.

40. PDF_PIC_FILE: Additional pictures (more than 3 that GTL can already accept) of the vehicle. This PDF file shows up as a hyperlink on the Detail page within GTL web site.

41. FRT_AXL_CPC_MEA: Front Axle Capacity. Must be 5-digit number between 10000 and 70000. Another acceptable value is 0 (zero) if the value is not known.

42. FRT_TIR_SIZ_TXT: Front Tire Size. Integer number.

43. ENG_BRK_IND: Engine Brake Indicator.

Description

Valid Code

Yes

Y

No

N

44. SLP_BNK_TYP_CHA_ID: Sleeper Bunk Type.

Description

Valid Code

None

NON

Single

SIN

Double

DOU

45. AVL_DT: Available date. Date in the format of mm/dd/yy

 

Config File Layout

Upload looks for a specific text file with the name config.txt. This text file is expected to contain return email addresses (one or more) on the first line separated with semi colons (;) to report status of the upload.

E.g.: johndoe@somewhere.com;janedoe@somewhere.com

Upload process goes ahead processing the zip CSV file even if Config.txt file is missing from the zip file or if doesn’t have proper email addresses on the first line. Just the status reporting of the upload is ignored.