You are here: File Descriptions > Payroll > PAFMHDR - PA Formula Header File

# PAFMHDR - PA Formula Header File

The Formula Definitions files store the formula lines needed to process a function. There is a header file and a detail file associated with the function. These records are modified in File Maintenance.

| Template: | DIM PAFMHDR:"FORMID:C(12*), RSV1:C(2*), DESCR:C(35*), FAC1:N(14*), FAC2:N(14*), FAC3:N(14*), FAC4:N(14*), FAC5:N(14*), FAC6:N(14*), ISVA:C(1*), ISVN[2]:N(1*)"
| IOLIST: | 0999 PAFMHDR: IOLIST FH0$, FH1$, FH2$, FH1[ALL], FH99$[ALL], FH99[ALL]
| Array Sizes: | DIM FH1[6], FH99[1]
| String Sizes: | DIM FH0$(12), FH1$(2), FH2$(35)

Key Definitions

| Key Number | Field | Description
| 0 | [1:1:12] | Formula ID
| 1 | [2:1:2] + | Reserved for OSD +
|  | [1:1:12] | Formula ID
|  | __________ |
|  | 3 segments |

PA Formula Header File

| File Name: | PAFMHDR | Record Size: | 148(192)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 2

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | FORMID | FH0$ | Formula ID | A | 12 |
| 2 | RSV1 | FH1$ | Reserved for OSD | A | 2 |
| 3 | DESCR | FH2$ | Description | A | 35 |
| 4 | FAC1 | FH1[1] | Override Factor 1 | N | 14 | 8.4-
| 5 | FAC2 | FH1[2] | Override Factor 2 | N | 14 | 8.4-
| 6 | FAC3 | FH1[3] | Override Factor 3 | N | 14 | 8.4-
| 7 | FAC4 | FH1[4] | Override Factor 4 | N | 14 | 8.4-
| 8 | FAC5 | FH1[5] | Override Factor 5 | N | 14 | 8.4-
| 9 | FAC6 | FH1[6] | Override Factor 6 | N | 14 | 8.4-
| 10 | ISVA | FH99$[0] | Reserved for ISV | A | 1 |
| 11 | ISVN[1] | FH99[0] | Reserved for ISV 1 | N | 1 |
| 12 | ISVN[2] | FH99[1] | Reserved for ISV 2 | N | 1 |