You are here: File Descriptions > Sales Order > SOHTxxx - Sales Order History Tracking

# SOHTxxx - Sales Order History Tracking

The History Tracking file stores historical information about Sales Orders and the shipment tracking numbers used on them.

| Template: | DIM SOHT:"SEQ:C(8*), ORD:C(8*), LINE:C(3*), METHOD:C(6*), TRACKING_NUMBER:C(25*), ISVA:C(1*), ISVN[2]:N(1*)"
| IOLIST: | 0999 SOHTXXX: IOLIST HT0$, HT1$, HT2$, HT3$, HT4$, HT99$[ALL], HT99[ALL]
| Array Sizes: | DIM HT99$[0], HT99[1]
| String Sizes: | DIM HT0$(8), HT1$(8), HT2$(3), HT3$(6), HT4$(25)

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:8] + | Sequence Number +
|  | [3:1:3] | Line Number
| 1 | [2:1:8] + | Order Number +
|  | [3:1:3] + | Line Number +
|  | [1:1:8] | Sequence Number
|  | __________ |
|  | 5 segments |

Sales Order History Tracking

| File Name: | SOHTxxx | Record Size: | 61(128)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 2

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | SEQ | HT0$ | Sequence Number | A | 8 | "00000000"
| 2 | ORD | HT1$ | Order Number | A | 8 |
| 3 | LINE | HT2$ | Line Number | A | 3 |
| 4 | METHOD | HT3$ | Shipping Method | A | 6 |
| 5 | TRACKING_NUMBER | HT4$ | Tracking Number | A | 25 |
| 6 | ISVA | HT99$[0] | Reserved for ISV | A | 1 |
| 7 | ISVN[1] | HT99[0] | Reserved for ISV Numeric 1 | N | 1 |
| 8 | ISVN[2] | HT99[1] | Reserved for ISV Numeric 2 | N | 1 |