You are here: File Descriptions > Payroll > PAFMLIN - PA Formula Detail File

# PAFMLIN - PA Formula Detail File

The Formula Definitions Line-Item file stores separate lines of a complete formula. Formula lines can be string or numeric.

| Template: | DIM PAFMLIN:"FORMID:C(12*), SEQ:C(3*), RSV1:C(1*), FORM:C(100*), ISVA:C(1*), ISVN[2]:N(1*)"
| IOLIST: | 0999 PAFMLIN: IOLIST FL0$, FL1$, FL2$, FL3$, FL99$[ALL], FL99[ALL]
| Array Sizes: | DIM FL99$[0], FL99[1]
| String Sizes: | DIM FL0$(12), FL1$(3), FL2$(1), FL3$(100)

Key Definitions

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

PA Formula Detail File

| File Name: | PAFMLIN | Record Size: | 126(128)
| File Type: | Mkeyed - Dynamic | Number of Keys: | 1

| Field | Field Name | Variable | Description | A/N | Length | Note
| 1 | FORMID | FL0$ | Formula ID | A | 12 |
| 2 | SEQ | FL1$ | Sequence Number | A | 3 |
| 3 | RSV1 | FL2$ | Reserved for OSD | A | 1 | N
| 4 | FORM | FL3$ | Formula | A | 100 |
| 5 | ISVA | FL99$[0] | Reserved for ISV | A | 1 |
| 6 | ISVN[1] | FL99[0] | Reserved for ISV 1 | N | 1 |
| 7 | ISVN[2] | FL99[1] | Reserved for ISV 2 | N | 1 |