Lawson Software

Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Elements Libraries App Forms


                            PAEMPAPTST FILE

Contains employee test information. This file is maintained primarily by
PA49.1 (Employee Tests).

REFERENCED BY

PA249     PA81.1    PA81.2    PA248     PA48.1

UPDATED BY

HR54.1    HRS1.1    HRSC.1    PA120     PA149     PA349
PA49.1    PA49.3    PA54.1    PA549     HR00.1    HR01.1
PR197

FIELD NAME           DESCRIPTION/VALID VALUES                    UPDATED BY

PTS-COMPANY          Numeric 4                                   PA149   PA49.1
Company              The company number represents an            PA49.3  PA549
                     established company and is entered on
                     all function codes.

PTS-EMP-APP          Numeric 1                                   HR54.1  HRS1.1
Type                 Indicates whether the person is an          HRSC.1  PA149
                     external or internal applicant.             PA49.1  PA49.3
                                                                 PA54.1  PA549
                     An external applicant is a person
                     applying from outside the company; an
                     internal applicant is an employee
                     applying from inside the company.
                     0 = Employee
                     1 = Applicant

PTS-EMPLOYEE         Numeric 9                                   PA149   PA49.1
Employee             Contains the employee number. Each          PA49.3  PA549
                     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.

PTS-TEST             Alpha 10                                    PA149   PA49.1
Test                 Contains the test.                          PA49.3  PA549

PTS-SEQ-NBR          Numeric 4                                   PA149   PA49.1
Sequence Number      An automatically assigned sequence          PA49.3  PA549
                     number.

PTS-SCHED-DATE       Numeric 8  (yyyymmdd)                       PA149   PA49.1
Scheduled Date       Contains the date on which the test is      PA49.3  PA549
                     scheduled.

PTS-STATUS           Numeric 1                                   PA149   PA49.1
Status               Contains the status for the test.           PA49.3  PA549
                     1 = Scheduled
                     2 = In Process
                     3 = Refused
                     4 = Withdrawn
                     5 = Completed

PTS-EFFECT-DATE      Numeric 8  (yyyymmdd)                       PA149   PA49.1
Effective Date       Contains the date on which the status       PA49.3  PA549
                     is effective.

PTS-RESULT1          Alpha 10                                    PA149   PA49.1
Result1              Contains the test result.                   PA49.3  PA549

PTS-RESULT-DESC      Alpha 40  (Lower Case)                      PA149   PA49.1
Result Desc          Contains the result description.            PA49.3  PA549

PTS-NEXT-DATE        Numeric 8  (yyyymmdd)                       PA149   PA49.1
Next Date            Contains the date of the next follow up     PA49.3  PA549
                     test.

PTS-REASON           Alpha 10                                    PA149   PA49.1
Reason               Contains the reason for the test.           PA49.3  PA549

PTS-NOTIFY-DATE      Numeric 8  (yyyymmdd)                       PA149   PA49.1
Notify Date          Contains the date on which the employee     PA49.3  PA549
                     is notified.

PTS-NOTIFY-TYPE      Alpha 10                                    PA149   PA49.1
Notify Type          Contains the method by which the            PA49.3  PA549
                     employee is notified of the test.

PTS-ESTABLISHMENT    Alpha 10                                    PA149   PA49.1
Establishment        If the test is the result of an             PA49.3  PA549
                     incident, this field contains the
                     establishment where the incident
                     occurred.

PTS-INCIDENT-NBR     Numeric 4                                   PA149   PA49.1
Incident Nbr         If the test is a result of an incident,     PA49.3  PA549
                     this field contains the incident number.

PTS-REFUSE-REASON    Alpha 10                                    PA149   PA49.1
Refuse Reason        Contains the reason the employee            PA49.3  PA549
                     refused to take the test.

PTS-RENEW-DATE       Numeric 8  (yyyymmdd)                       PA149   PA49.1
License Renewal Date Contains the date for the renewal test.     PA49.3  PA549

PTS-RENEW-TEST       Alpha 10                                    PA149   PA49.1
Renew Test           Contains the renewal test.                  PA49.3  PA549

PTS-FOLLOW-DATE      Numeric 8  (yyyymmdd)                       PA149   PA49.1
Follow Date          Contains the date for the follow up         PA49.3  PA549
                     test.

PTS-FOLLOW-TEST      Alpha 10                                    PA149   PA49.1
Follow Test          Contains the follow up test.                PA49.3  PA549

PTS-COMMENT          Alpha 40  (Lower Case)                      PA149   PA49.1
Comment Line         Contains comments about the follow up       PA49.3  PA549
                     test.

PTS-OBJ-ID           Numeric 12                                  HR54.1  HRS1.1
Object               This is the object identifier. It is        HRSC.1  PA149
Identification       used to relate commitments or posted        PA49.1  PA49.3
                     transactions back to the originating        PA54.1  PA549
                     subsystems. Each subsystem record that
                     is updated as a commitment or posted
                     transaction is assigned an object
                     identifier. The object identifier is
                     maintained in the subsystem files and in
                     the Activity Commitments Detail and
                     Activity Transaction files. The object
                     identifier is a unique key used to drill
                     back from Activity Management to the
                     subsystems.

PTS-PARENT-OBJ-ID    Numeric 12                                  HR54.1  HRS1.1
Parent Obj Id        The Parent Object Identifier field          HRSC.1  PA149
                     contains the object identifier of the       PA49.1  PA49.3
                     member parent.                              PA54.1  PA549


PTS-DATE-STAMP       Numeric 8  (yyyymmdd)                       PA149   PA49.1
Date Stamp           This field contains the server date         PA49.3  PA549
                     (month, date, and year) of the last
                     change to this record.

PTS-TIME-STAMP       Numeric 6  (hhmmss)                         PA149   PA49.1
Time Stamp           Contains the server time (hour, minute,     PA49.3  PA549
                     and second) when the record was last
                     changed.

PTS-USER-ID          Alpha 10  (Lower Case)                      PA149   PA49.1
User ID Name         Contains the user ID of the person who      PA49.3  PA549
                     last changed this record.

PTS-WF-EMP-TST-SEQ   Derived
Wf Emp Tst Seq

                         PAEMPAPTST FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

PTSSET1   COMPANY                                                HR00.1  HR01.1
          EMP-APP                                                HR54.1  HRS1.1
          EMPLOYEE                                               HRSC.1  PA120
          TEST                                                   PA149   PA249
          SEQ-NBR                                                PA349   PA49.1
                                                                 PA49.3  PA54.1
                                                                 PA549   PA81.1
                                                                 PR197

PTSSET2   PARENT-OBJ-ID KeyChange                                PA149   PA248
          OBJ-ID                                                 PA249   PA349
                                                                 PA49.1  PA49.3
                                                                 PA549

PTSSET3   COMPANY       KeyChange, Subset                        PA149
          NEXT-DATE     Where (NEXT-DATE != Zeroes )
          TEST
          EMP-APP
          EMPLOYEE
          SEQ-NBR

PTSSET4   COMPANY       KeyChange                                PA149   PA248
          TEST                                                   PA349   PA48.1
          EMP-APP                                                PA49.1  PA49.3
          EMPLOYEE                                               PA549   PA81.2
          SEQ-NBR*

PTSSET5   COMPANY       KeyChange                                PA149   PA249
          EMP-APP                                                PA49.1  PA49.2
          EMPLOYEE                                               PA49.3  PA549
          TEST                                                   PA81.1
          SCHED-DATE*
          SEQ-NBR

PTSSET6   COMPANY       KeyChange, Subset                        PA149
          SCHED-DATE    Where STATUS < 3
          TEST
          EMP-APP
          EMPLOYEE
          SEQ-NBR

                         PAEMPAPTST FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Applicant      APPLICANT    Required
                            When (PTS-EMP-APP = 1 )

                            PTS-COMPANY          -> APL-COMPANY
                            PTS-EMPLOYEE         -> APL-APPLICANT

Company        PRSYSTEM     Required

                            PTS-COMPANY          -> PRS-COMPANY
                            Spaces               -> PRS-PROCESS-LEVEL

Employee       EMPLOYEE     Required
                            When (PTS-EMP-APP = Zeroes )

                            PTS-COMPANY          -> EMP-COMPANY
                            PTS-EMPLOYEE         -> EMP-EMPLOYEE

Establishment  PCODES       Required
                            When (PTS-ESTABLISHMENT != Spaces )

                            "ET"                 -> PCO-TYPE
                            PTS-ESTABLISHMENT    -> PCO-CODE

Follow Test    PATSTSETUP   Required
                            When (PTS-FOLLOW-TEST != Spaces )

                            PTS-COMPANY          -> PAP-COMPANY
                            PTS-FOLLOW-TEST      -> PAP-TEST

Incident       OSHA         Required
                            When (PTS-INCIDENT-NBR != Zeroes )

                            PTS-COMPANY          -> OSH-COMPANY
                            PTS-EMPLOYEE         -> OSH-EMPLOYEE
                            PTS-ESTABLISHMENT    -> OSH-ESTABLISHMENT
                            PTS-INCIDENT-NBR     -> OSH-SEQ-NBR

Notify Type    PCODES       Required

                            "TN"                 -> PCO-TYPE
                            PTS-NOTIFY-TYPE      -> PCO-CODE

Reason         PCODES       Required
                            When (PTS-REASON != Spaces )

                            "TA"                 -> PCO-TYPE
                            PTS-REASON           -> PCO-CODE

Refusal        PCODES       Required
                            When (PTS-REFUSE-REASON != Spaces )

                            "TF"                 -> PCO-TYPE
                            PTS-REFUSE-REASON    -> PCO-CODE

Renew Test     PATSTSETUP   Required
                            When (PTS-RENEW-TEST != Spaces )

                            PTS-COMPANY          -> PAP-COMPANY
                            PTS-RENEW-TEST       -> PAP-TEST

Results        PATSTRESLT   Required
                            When (PTS-RESULT1 != Spaces )

                            PTS-COMPANY          -> PTR-COMPANY
                            PTS-TEST             -> PTR-TEST
                            PTS-RESULT1          -> PTR-CODE

Test           PATSTSETUP   Required

                            PTS-COMPANY          -> PAP-COMPANY
                            PTS-TEST             -> PAP-TEST