PR1099RHST – No description in the Lawson data dictionary

System
Payroll (PR)
Prefix
PHR
Primary key
COMPANY, EMPLOYEE, PAYROLL-YEAR, QUARTER, REPORT-ENTITY, PROCESS-LEVEL, PENS-DIST-CODE, PENS-DST-CODE2, CHECK-ID, PENS-SEQ-NBR
Fields
21
Updated by
10 programs
Referenced by
0 programs

PR1099RHST is a Lawson Payroll table (prefix PHR); no description in the lawson data dictionary. It is indexed by COMPANY, EMPLOYEE, PAYROLL-YEAR, QUARTER, REPORT-ENTITY, PROCESS-LEVEL, PENS-DIST-CODE, PENS-DST-CODE2, CHECK-ID, PENS-SEQ-NBR (PHRSET1); alternate indexes: PHRSET2, PHRSET3 and PHRSET4. It is related 1:1 to PRSYSTEM, EMPLOYEE, PAYMASTR, PRCHECK and PRPENHIST and 1:M to PRPENFSRCH. It is updated by PR195, PR197, PR250, PR251, PR253, PR300, PR560, PR582 and 2 more. The table has 21 fields, 4 indexes and 7 documented relations.

About PR1099RHST

No description in the Lawson data dictionary.

Fields (21)

Column = COBOL field name without the PHR- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#PHR-COMPANY PK
COMPANY
Numeric 4—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains 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.PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-PAYROLL-YEAR PK
PAYROLL_YEAR
Numeric 4Contains the payroll year in which the allocation was taken.PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-QUARTER PK
QUARTER
Numeric 1Contains the fiscal quarter for the data stored in this record.PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-REPORT-ENTITY PK
REPORT_ENTITY
Alpha 5—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-PROCESS-LEVEL PK
PROCESS_LEVEL
Alpha 5—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-CHECK-ID PK
CHECK_ID
Numeric 12Contains the payment identification number (unique payment identifier used in tracking payment information).PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-PENS-DIST-CODE PK
PENS_DIST_CODE
Alpha 1—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-PENS-DST-CODE2 PK
PENS_DST_CODE2
Alpha 1—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-PENS-SEQ-NBR PK
PENS_SEQ_NBR
Numeric 4—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-PENS-DIST-TYPE
PENS_DIST_TYPE
Numeric 2—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-GROSS-DIST
GROSS_DIST
Signed 15.2—PR82.1, PR85.1
#PHR-TAXABLE-AMT
TAXABLE_AMT
Signed 15.2This is the taxable amount.PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-ORD-INCOME
ORD_INCOME
Signed 15.2—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-CAPITAL-GAIN
CAPITAL_GAIN
Signed 15.2—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-FED-INC-TAX
FED_INC_TAX
Signed 15.2—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-EMP-CONTRIBUT
EMP_CONTRIBUT
Signed 15.2—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-NET-UNR-GAIN
NET_UNR_GAIN
Signed 15.2—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-PCT-TOTAL-DIST
PCT_TOTAL_DIST
Numeric 3—PR195, PR197, PR560, PR582, PR82.1, PR85.1
#PHR-LAST-RUN-DATE
LAST_RUN_DATE
Numeric 8 (yyyymmdd)—PR250, PR251, PR253, PR560
#PHR-OTHER
OTHER
Signed 15.2—PR195, PR197, PR560, PR582, PR82.1, PR85.1

Indexes (4)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
PHRSET1
  1. COMPANY
  2. EMPLOYEE
  3. PAYROLL-YEAR
  4. QUARTER
  5. REPORT-ENTITY
  6. PROCESS-LEVEL
  7. PENS-DIST-CODE
  8. PENS-DST-CODE2
  9. CHECK-ID
  10. PENS-SEQ-NBR
PrimaryPR250, PR251, PR253, PR300, PR560
PHRSET2
  1. COMPANY
  2. PAYROLL-YEAR
  3. REPORT-ENTITY
  4. PROCESS-LEVEL
  5. EMPLOYEE
  6. PENS-DIST-CODE
  7. PENS-DST-CODE2
  8. CHECK-ID
  9. PENS-SEQ-NBR
PR250, PR251, PR253
PHRSET3
  1. COMPANY
  2. PAYROLL-YEAR
  3. EMPLOYEE
  4. REPORT-ENTITY
  5. PROCESS-LEVEL
  6. PENS-DIST-CODE
  7. PENS-DST-CODE2
  8. CHECK-ID
  9. PENS-SEQ-NBR
PR250, PR251, PR253
PHRSET4
  1. COMPANY
  2. EMPLOYEE
  3. CHECK-ID
  4. PENS-SEQ-NBR
PR195, PR197, PR560, PR582, PR82.1, PR85.1

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
PRSYSTEMEMPLOYEEPAYMASTRPRCHECKPRPENHISTPRPENFSRCHPR1099RHST

One to one (6) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequired
PHR-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
EmployeeEMPLOYEERequired
PHR-COMPANY→EMP-COMPANY
PHR-EMPLOYEE→EMP-EMPLOYEE
PaymastrPAYMASTRNot Required
PHR-COMPANY→PYM-COMPANY
PHR-EMPLOYEE→PYM-EMPLOYEE
PHR-CHECK-ID→PYM-CHECK-ID
PrcheckPRCHECKNot Required
PHR-COMPANY→PCH-COMPANY
PHR-EMPLOYEE→PCH-EMPLOYEE
PHR-PENS-SEQ-NBR→PCH-PENS-SEQ-NBR
PHR-CHECK-ID→PCH-CHECK-ID
Process LevelPRSYSTEMRequired
PHR-COMPANY→PRS-COMPANY
PHR-PROCESS-LEVEL→PRS-PROCESS-LEVEL
PrpenhistPRPENHISTNot Required
PHR-COMPANY→PNH-COMPANY
PHR-EMPLOYEE→PNH-EMPLOYEE
PHR-CHECK-ID→PNH-CHECK-ID
PHR-PENS-SEQ-NBR→PNH-PENS-SEQ-NBR

One to many (1) — child tables

RelationTableRulesConditionField map
PrpenfsrchPRPENFSRCH
PHR-COMPANY→PFH-COMPANY
PHR-EMPLOYEE→PFH-EMPLOYEE
PHR-CHECK-ID→PFH-CHECK-ID
PHR-PENS-SEQ-NBR→PFH-PENS-SEQ-NBR
—→PFH-FUNDING-SOURCE

Programs

Updated by (10)