You are here: File Descriptions > Inventory > INAIxxx - IN Alternate Items

# INAIxxx - IN Alternate Items

The Alternate Items file stores the alternate IDs for each inventory item, including aliases, vendor and customer part numbers, superseded part numbers, bar codes, and quantity alternates.

There is one record for each alternate ID for each item.

| Template: | DIM INAI:"ITEM:C(20*), SRC:C(6*), RSV1:C(1*), ALTI:C(20*), RSV2:C(1*), ATYP:C(1*), SDAT:N(7*), EDAT:N(7*), RSV3:C(1*), ISVA:C(1*), ISVN[2]:N(1*)"

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:20] + | Item ID +
|  | [6:1:1] + | Alternate Item Type +
|  | [2:1:6] + | Source ID +
|  | [4:1:20] | Alternate Item ID
| 1 | [4:1:20] + | Alternate Item ID +
|  | [2:1:6] + | Source ID +
|  | [1:1:20] | Item ID
| 2 | [6:1:1] + | Alternate Item Type +
|  | [2:1:6] + | Source ID +
|  | [4:1:20] + | Alternate Item ID +
|  | [1:1:20] | Item ID
| 3 | [1:1:20] + | Item ID +
|  | [6:1:1] + | Alternate Item Type +
|  | [2:1:6] + | Source ID +
|  | [7:1:7] + | Start Date +
|  | [4:1:20] | Alternate Item ID
|  | __________ |
|  | 16 segments |

IN Alternate Items

| File Name: | INAIxxx | Record Size: | 79(128)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 4

| Field | Field Name | Description | A/N | Length | Note
| 1 | ITEM | Item ID | A | 20 |
| 2 | SRC | Source ID | A | 6 | Cust/Vend ID
| 3 | RSV1 | Reserved for OSD | A | 1 |
| 4 | ALTI | Alternate Item ID | A | 20 |
| 5 | RSV2 | Reserved for OSD | A | 1 |
| 6 | ATYP | Alternate Item Type | A | 1 | A = Alternate
|  |  |  |  |  | C = Cust Part
|  |  |  |  |  | L = Alias
|  |  |  |  |  | S = Supercede
|  |  |  |  |  | U = UPC Bar Code
|  |  |  |  |  | V = Vend Part
| 7 | SDAT | Start Date | N | 7 | Julian
| 8 | EDAT | End Date | N | 7 | Julian
| 9 | RSV3 | Reserved for OSD | A | 1 |
| 10 | ISVA | Reserved for ISV | A | 1 |
| 11 | ISVN[1] | Reserved for ISV 1 | N | 1 |
| 12 | ISVN[2] | Reserved for ISV 2 | N | 1 |