You are here: File Descriptions > Purchase Order > POPOxxx - Restart FIle

# POPOxxx - Restart FIle

The Restart file temporarily stores the purchase orders printed in the last run of the Print Orders function so that you can restart printing if necessary. The information is replaced the next time you print purchase orders without specifying a last good order number.

There is one record for each purchase order processed in the last run of the Print Orders function. The first record of the file (Index Number 0) indicates which option you chose on the last run (New Orders, Lost Orders, or a List of Orders). The logical end of the file is indicated by a record with an order number of END.

| Template: | DIM POPO:"SEQ:C(6*), BATCH:C(6), TRANS:C(8*)"
| IOLIST: | 0999 POPOXXX: IOLIST W0$, W1$
| String Sizes: | DIM W0$(6), W1$(14)

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:6] | Sequence Number
| 1 | [2:1:6] + | Batch ID +
|  | [2:7:8] | Transaction Number
|  | __________ |
|  | 3 segments |

Restart FIle

| File Name: | POPOxxx | Record Size: | 22(32)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 2

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | SEQ | W0$ | Sequence Number | A | 6 | "000000"
| 2(1,6) | BATCH | W1$(1,6) | Batch ID | A | 6 |
| 2(7,8) | TRANS | W1$(7,8) | Transaction Number | A | 8 | "00000000"