PATSTRESLT – Contains test results.

System
Personnel (PA)
Prefix
PTR
Primary key
COMPANY, TEST, CODE
Fields
8
Updated by
4 programs
Referenced by
8 programs

PATSTRESLT is the Contains test results. table in Lawson Personnel (prefix PTR). It is indexed by COMPANY, TEST, CODE (PTRSET1). It is related 1:1 to PRSYSTEM and PATSTSETUP. It is updated by HR00.1, HR01.1, PA48.1 and PA48.2 and referenced by PA149, PA248, PA249, PA349, PA49.1, PA49.3, PA549 and PA81.2. The table has 8 fields, 1 index and 2 documented relations.

About PATSTRESLT

Contains test results.

Fields (8)

Column = COBOL field name without the PTR- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
PTR-COMPANY PK
COMPANY
Numeric 4PA48.1, PA48.2
PTR-TEST PK
TEST
Alpha 10Contains the test.PA48.1, PA48.2
PTR-CODE PK
CODE
Alpha 10Contains the code for the test result.PA48.1, PA48.2
PTR-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)Contains the test result description.PA48.1, PA48.2
PTR-ACTIVE-FLAG
ACTIVE_FLAG
Alpha 1Indicates whether the result is active or inactive.
  • A Active
  • I Inactive
PA48.1, PA48.2
PTR-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.PA48.1, PA48.2
PTR-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.PA48.1, PA48.2
PTR-USER-ID
USER_ID
Alpha 10 (Lower Case)PA48.1, PA48.2

Indexes (1)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
PTRSET1COMPANY, TEST, CODEPrimaryHR00.1, HR01.1, PA149, PA248, PA249, PA349, PA48.1, PA48.2 +4 more

Relations

One to one (2) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPTR-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
TestPATSTSETUPRequiredPTR-COMPANYPAP-COMPANY, PTR-TESTPAP-TEST

Programs

Updated by (4)

Referenced by (8)