You are here: File Descriptions > Purchase Order > POPYxxx - Order Totals Prepay Record

# POPYxxx - Order Totals Prepay Record

The Order Totals Prepay file stores the information on prepayments that we have made for the order.

| Template: | DIM POPY:"BATCH:C(6*), ORDER:C(8*), SEQ:C(3*), PREAMT:N(14*), MOP:C(3*), PREDAT:N(7*), CNUM:C(7*), POST:C(1*), ONLINE:C(1*), PREPD:C(2*), PREYR:C(4*), ISVA:C(1*), ISVN[2]:N(1*)"

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:6] + | Batch ID +
|  | [2:1:8] + | Order Number +
|  | [3:1:3] | Sequence Number
| 1 | [8:1:1] + | Posted to APIN Flag +
|  | [1:1:6] + | Batch ID +
|  | [2:1:8] + | Order Number +
|  | [3:1:3] | Sequence Number
|  | __________ |
|  | 7 segments |

Order Totals Prepay Record

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

| Field | Field Name | Description | A/N | Length | Note
| 1 | BATCH | Batch ID | A | 6 |
| 2 | ORDER | Order Number | A | 8 |
| 3 | SEQ | Sequence Number | A | 3 | "000"
| 4 | PREAMT | Prepaid Amount | N | 14 | DOLL
| 5 | MOP | Method of Payment | A | 3 |
| 6 | PREDAT | Prepayment Date | N | 7 | Julian
| 7 | CNUM | Check Number | A | 7 |
| 8 | POST | Posted to APIN Flag | A | 1 | Y or N
| 9 | ONLINE | Printed Online Check? | A | 1 | Y or N
| 10 | PREPD | Prepayment Period | A | 2 | "00"
| 11 | PREYR | Prepayment Year | A | 4 | "0000"
| 12 | ISVA | Reserved for ISV | A | 1 |
| 13 | ISVN[1] | Reserved for ISV | N | 1 |
| 14 | ISVN[2] | Reserved for ISV | N | 1 |