You are here: File Descriptions > Purchase Order > POSHxxx - Ship-to Address File

# POSHxxx - Ship-to Address File

The Ship-to Address file stores shipping addresses for use on purchase orders.

There is one record for each shipping address.

| Template: | DIM POSH:"SHIP:C(6*), SNAME:C(30), SADD1:C(30), SADD2:C(30), SADD3:C(30), SADD4:C(30*), SVIA:C(20*), ISVA:C(1*), ISVN[2]:N(1*)"
| IOLIST: | 0999 POSHXXX: IOLIST SH0$, SH1$, SH2$, SH99$[ALL], SH99[ALL]
| Array Sizes: | DIM SH99$[0], SH99[1]
| String Sizes: | DIM SH0$(6), SH1$(150), SH2$(20)

Key Definitions

| Field | Length | Description
| SH0$ | 6 | Ship-to ID

Ship-to Address File

| File Name: | POSHxxx | Record Size: | 185(192)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 7

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | SHIP | SH0$ | Ship-to ID | A | 6 |
| 2(1,30) | SNAME | SH1$(1,30) | Ship-to Name | A | 30 |
| 2(31,30) | SADD1 | SH1$(31,30) | Ship-to Address Line 1 | A | 30 |
| 2(61,30) | SADD2 | SH1$(61,30) | Ship-to Address Line 2 | A | 30 |
| 2(91,30) | SADD3 | SH1$(91,30) | Ship-to Address Line 3 | A | 30 |
| 2(121,30) | SADD4 | SH1$(121,30) | Ship-to Address Line 4 | A | 30 |
| 3 | SVIA | SH2$ | Ship Via | A | 20 |
| 4 | ISVA | SH99$[0] | Reserved for ISV | A | 1 |
| 5 | ISVN[1] | SH99[0] | Reserved for ISV | N | 1 |
| 6 | ISVN[2] | SH99[1] | Reserved for ISV | N | 1 |