You are here: File Descriptions > Payroll > PAHDxxx - PA Check History Deductions File

# PAHDxxx - PA Check History Deductions File

The Check History Deductions file stores deduction information for paychecks generated in the Calculate Checks function or entered manually in the Manual Checks function. Records are appended to this file during the Post Checks function. You can delete records through the Quarter/Year-End Maintenance function.

| Template: | DIM PAHD:"SEQ:C(8*), INTNO:C(3*), EMPL:C(6*), DEDUC:C(3*), EMPLR:C(1*), CHKNO:C(7*), CALC:C(1*), PEXP:C(1*), DEDHRS:N(9*), DEDAMT:N(12*), HRSDED:N(9*), ISVA:C(1*), ISVN[2]:N(1*)"
| IOLIST: | 0999 PAHDXXX: IOLIST HD0$, HD1$, HD2$, HD3$, HD4$, HD5$, HD5$, HD7$, HD1[ALL], HD99$[ALL], HD99[ALL]
| Array Sizes: | DIM HD1[2], HD99[1]
| String Sizes: | DIM HD0$(8), HD1$(3), HD2$(6), HD3$(3), HD4$(1), HD5$(8), HD7$(1)

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:8] + | Sequence Number +
|  | [2:1:3] | Internal Number
| 1 | [3:1:6] + | Employee ID +
|  | [1:1:8] + | Sequence Number +
|  | [2:1:3] | Internal Number
| 2 | [8:1:1] + | Post Expense Flag +
|  | [4:1:3] + | Deduction Code +
|  | [1:1:8] + | Sequence Number +
|  | [2:1:3] | Internal Number
|  | __________ |
|  | 9 segments |

PA Check History Deductions File

| File Name: | PAHDxxx | Record Size: | 77(128)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 3

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | SEQ | HD0$ | Sequence Number | A | 8 | "00000000"
| 2 | INTNO | HD1$ | Internal Number | A | 3 | "000"
| 3 | EMPL | HD2$ | Employee ID | A | 6 |
| 4 | DEDUC | HD3$ | Deduction Code | A | 3 |
| 5 | EMPLR | HD4$ | Employer Paid? | A | 1 | Y or N
| 6 | CHKNO | HD5$ | Check Number | A | 7 |
| 7 | CALC | HD5$ | Calculate Deduction Flag | A | 1 | G = Gross
|  |  |  |  |  |  | N = Net
| 8 | PEXP | HD7$ | Post Expense Flag | A | 1 | Y or N
| 9 | DEDHRS | HD1[0] | Deduction Hours | N | 9 | HOUR
| 10 | DEDAMT | HD1[1] | Deduction Amount | N | 12 | DOLL
| 11 | HRSDED | HD1[2] | Hours for Deduction | N | 9 | HOUR
| 12 | ISVA | HD99$[0] | Reserved for ISV | A | 1 |
| 13 | ISVN[1] | HD99[0] | Reserved for ISV 1 | N | 1 |
| 14 | ISVN[2] | HD99[1] | Reserved for ISV 2 | N | 1 |