PRPENHIST – No description in the Lawson data dictionary
- System
- Payroll (PR)
- Prefix
PNH- Primary key
COMPANY,EMPLOYEE,CHECK-ID,PENS-SEQ-NBR- Fields
- 25
- Updated by
- 18 programs
- Referenced by
- 1 program
PRPENHIST is a Lawson Payroll table (prefix PNH); no description in the lawson data dictionary. It is indexed by COMPANY, EMPLOYEE, CHECK-ID, PENS-SEQ-NBR (PNHSET1); alternate indexes: PNHSET2. It is related 1:1 to PRSYSTEM, EMPLOYEE, PAYMASTR and PRCHECK. It is updated by BN66.1, PR140, PR160, PR180, PR189, PR195, PR29.1, PR300 and 10 more and referenced by PR197. The table has 25 fields, 2 indexes and 4 documented relations.
About PRPENHIST
No description in the Lawson data dictionary.
Fields (25)
Column = COBOL field name without the PNH- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
PNH-COMPANY PKCOMPANY | Numeric 4 | — | PR160, PR180, PR560, PR582, PR80.2, PR82.1 |
PNH-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains the employee number. Each person employed by the company is assigned a unique number. The system uses the employee number to correlate all of the information related to that person. | PR160, PR180, PR560, PR582, PR80.2, PR82.1 |
PNH-CHECK-ID PKCHECK_ID | Numeric 12 | Contains the payment identification number (unique payment identifier used in tracking payment information). | PR160, PR180, PR560, PR582, PR80.2, PR82.1, PR85.1 |
PNH-PENS-SEQ-NBR PKPENS_SEQ_NBR | Numeric 4 | — | PR160, PR180, PR560, PR582, PR80.2, PR82.1 |
PNH-PENS-DIST-TYPEPENS_DIST_TYPE | Numeric 2 | —
| PR160, PR180, PR560, PR582, PR80.2, PR82.1 |
PNH-PENS-DIST-CODEPENS_DIST_CODE | Alpha 1 | —
| PR160, PR180, PR560, PR582, PR80.2, PR82.1 |
PNH-PENS-DST-CODE2PENS_DST_CODE2 | Alpha 1 | —
| PR160, PR180, PR560, PR582, PR80.2, PR82.1 |
PNH-TAX-CATEGORYTAX_CATEGORY | Numeric 2 | —
| PR160, PR180, PR560, PR80.2 |
PNH-ADDL-FED-TAXADDL_FED_TAX | Signed 9.2 | — | PR160, PR180, PR560, PR80.2 |
PNH-PERC-TOT-DISTPERC_TOT_DIST | Numeric 3 | — | PR160, PR180, PR560, PR582, PR80.2, PR82.1 |
PNH-PAYABLE-TOPAYABLE_TO | Alpha 38 (Lower Case) | — | PR160, PR180, PR560, PR80.2 |
PNH-FBO-NAMEFBO_NAME | Alpha 38 (Lower Case) | — | PR160, PR180, PR560, PR80.2 |
PNH-ADDR1ADDR1 | Alpha 30 (Lower Case) | This field contains the first line of address information. | PR160, PR180, PR560, PR80.2 |
PNH-ADDR2ADDR2 | Alpha 30 (Lower Case) | This field contains the first line of address information. | PR160, PR180, PR560, PR80.2 |
PNH-ADDR3ADDR3 | Alpha 30 (Lower Case) | This field contains the first line of address information. | PR160, PR180, PR560, PR80.2 |
PNH-ADDR4ADDR4 | Alpha 30 (Lower Case) | This field contains the first line of address information. | PR160, PR180, PR560, PR80.2 |
PNH-CITYCITY | Alpha 58 (Lower Case) | This field contains the city of the address. | PR160, PR180, PR560, PR80.2 |
PNH-STATESTATE | Alpha 2 | This field contains the two-character state code of the address. | PR160, PR180, PR560, PR80.2 |
PNH-POSTAL-CODEPOSTAL_CODE | Alpha 10 (Lower Case) | This field contains the postal code. | PR160, PR180, PR560, PR80.2 |
PNH-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | PR160, PR180, PR560, PR80.2 |
PNH-ROLLOVER-ACCTROLLOVER_ACCT | Alpha 17 | — | PR160, PR180, PR560, PR80.2 |
PNH-MISCELLANEOUSMISCELLANEOUS | Alpha 6 | — | PR160, PR180, PR560, PR80.2 |
PNH-MISCELLANEOUS2MISCELLANEOUS2 | Alpha 6 | — | PR160, PR180, PR560, PR80.2 |
PNH-WIRE-INDWIRE_IND | Numeric 1 | —
| PR160, PR180, PR560, PR80.2 |
PNH-CA-EFTCA_EFT | Alpha 1 | —
| PR160, PR180, PR560, PR80.2 |
Indexes (2)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
PNHSET1 | COMPANY, EMPLOYEE, CHECK-ID, PENS-SEQ-NBR | Primary | BN66.1, PR140, PR160, PR180, PR189, PR195, PR197, PR29.1 +11 more | |
PNHSET2 | COMPANY, EMPLOYEE, PENS-SEQ-NBR*, CHECK-ID | PR29.1, PR529, PR560, PR582, PR82.1 |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | PNH-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Employee | EMPLOYEE | Required | PNH-COMPANY → EMP-COMPANY, PNH-EMPLOYEE → EMP-EMPLOYEE | |
| Paymastr | PAYMASTR | Not Required | PNH-COMPANY → PYM-COMPANY, PNH-EMPLOYEE → PYM-EMPLOYEE, PNH-CHECK-ID → PYM-CHECK-ID | |
| Prcheck | PRCHECK | Not Required | PNH-COMPANY → PCH-COMPANY, PNH-EMPLOYEE → PCH-EMPLOYEE, PNH-PENS-SEQ-NBR → PCH-PENS-SEQ-NBR, PNH-CHECK-ID → PCH-CHECK-ID |
Programs
Updated by (18)
- BN66.1 Estimated Pay Calculation
- PR140 Earnings and Deductions Calculation
- PR160 Payment Print
- PR180 Manual Payment Print
- PR189 Gross Up Calculation
- PR195 Accrual Program
- PR29.1 Pension Payment Maintenance
- PR300 History Purge
- PR529 Pension Payroll Conversion
- PR560 Payroll History Load CSV
- PR582 Mass Adjustment Load
- PR80.1 Manual Check
- PR80.2 Manual Payment Print
- PR80.4 Manual Payment
- PR82.1 Adjustment
- PR85.1 Bank Account Reconciliation
- PR89.1 Payment Modeling
- PRAT.1 Alltax connection test
Referenced by (1)
- PR197 Payroll Close