You are here: File Descriptions > Contractors' Job Cost > APSCxxx - AP Subcontract File

# APSCxxx - AP Subcontract File

The Accounts Payable Subcontract file contains information relating to subcontracts. This information can be used to produce the Subcontract Report, which shows subcontract amounts, change order amounts, and previous invoice, payment, and retainage amounts not in the AP Detail History file.

| Template: |
| IOLIST: | 0999 APSCXXX: IOLIST SC0$, SC1$, SC2$, SC3[ALL], SC99$[ALL], SC99[ALL]
| Array Sizes: | DIM SC3[6], SC99[1]
| String Sizes: | DIM SC0$(18), SC1$(8), SC2$(1)

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:6] + | Job ID +
|  | [1:7:6] + | Phase ID +
|  | [1:13:6] | Vendor ID
| 1 | [1:13:6] + | Vendor ID +
|  | [1:1:6] + | Job ID +
|  | [1:7:6] | Phase ID
|  | __________ |
|  | 6 segments |

AP Subcontract File

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

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1(1,6) | JOB | SC0$(1,6) | Job ID | A | 6 |
| 1(7,6) | PHASE | SC0$(7,6) | Phase ID | A | 6 |
| 1(13,6) | VEND | SC0$(13,6) | Vendor ID | A | 6 |
| 2 | REF | SC1$ | Reference Number | A | 8 |
| 3 | RSV1 | SC2$ | Reserved for OSD | A | 1 |
| 4 | TDATE | SC3[0] | Transaction Date | N | 7 | Julian
| 5 | SUBAMT | SC3[1] | Subcontract Amount | N | 14 | 8.2
| 6 | CHGAMT | SC3[2] | Change Order Amount | N | 14 | 8.2
| 7 | PINV | SC3[3] | Previous Invoice Amount | N | 14 | 8.2
| 8 | PPAY | SC3[4] | Previous Payment | N | 14 | 8.2
| 9 | PRET | SC3[5] | Previous Retainage | N | 14 | 8.2
| 10 | RSV2 | SC3[6] | Reserved for OSD | N | 1 |
| 11 | ISVA | SC99$[0] | Reserved for ISV | A | 1 |
| 12 | ISVN[1] | SC99[0] | Reserved for ISV | N | 1 |
| 13 | ISVN[2] | SC99[1] | Reserved for ISV | N | 1 |