Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

PAEMPAPTST


                            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

HAP3.1    HEP4.1    HPOS.1    HPQC.1    HPRS.1    HR54.1
HRS1.1    HRSC.1    PA100     PA102     PA120     PA149
PA349     PA49.1    PA49.3    PA52.1    PA52.3    PA52.4
PA52.5    PA54.1    PA549     PRSC.1    HR00.1    HR01.1
HR11.1    PA115     PBIP.1    PR197

FIELD NAME             DESCRIPTION/VALID VALUES                  UPDATED BY

PTS-COMPANY            Numeric 4                                 PA149   PA49.1
Element: Company Hr    Identifies the AP company if the          PA49.3  PA549
                       resource type = V.  Identifies the HR
                       company if the resource type = E.  It is
                       blank for type A, P or Q resources.

PTS-EMP-APP            Numeric 1                                 HAP3.1  HEP4.1
Element: Type          Indicates whether the person is an        HPOS.1  HPQC.1
                       external or internal applicant.           HPRS.1  HR54.1
                                                                 HRS1.1  HRSC.1
                       An external applicant is a person         PA100   PA102
                       applying from outside the company; an     PA149   PA49.1
                       internal applicant is an employee         PA49.3  PA52.1
                       applying from inside the company.         PA52.3  PA52.4
                       0 = Employee                              PA52.5  PA54.1
                       1 = Applicant                             PA549   PRSC.1

PTS-EMPLOYEE           Numeric 9                                 HAP3.1  HEP4.1
Element: Employee      Contains the employee number. Each        HPOS.1  HPQC.1
                       person employed by the company is         HPRS.1  HR54.1
                       assigned a unique number. The system      HRS1.1  HRSC.1
                       uses the employee number to correlate     PA100   PA102
                       all of the information related to that    PA149   PA49.1
                       person.                                   PA49.3  PA52.1
                                                                 PA52.3  PA52.4
                                                                 PA52.5  PA54.1
                                                                 PA549   PRSC.1

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

PTS-SEQ-NBR            Numeric 4                                 PA149   PA49.1
Element: Sequence NumbeAn automatically assigned sequence        PA49.3  PA549
                       number.

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

PTS-STATUS             Numeric 1                                 PA149   PA49.1
Element: 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
Element: Effective DateContains the date on which the status     PA49.3  PA549
                       is effective.

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

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

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

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

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

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

PTS-ESTABLISHMENT      Alpha 10                                  PA149   PA49.1
Element: 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
Element: 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
Element: Refuse Reason Contains the reason the employee          PA49.3  PA549
                       refused to take the test.

PTS-RENEW-DATE         Numeric 8  (yyyymmdd)                     PA149   PA49.1
Element: License RenewaContains the date for the renewal test.   PA49.3  PA549

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

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

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

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

PTS-OBJ-ID             Numeric 12                                HAP3.1  HEP4.1
Object                 This is the object identifier. It is      HPOS.1  HPQC.1
Identification         used to relate commitments or posted      HPRS.1  HR54.1
                       transactions back to the originating      HRS1.1  HRSC.1
                       subsystems. Each subsystem record that    PA100   PA102
                       is updated as a commitment or posted      PA149   PA49.1
                       transaction is assigned an object         PA49.3  PA52.1
                       identifier. The object identifier is      PA52.3  PA52.4
                       maintained in the subsystem files and in  PA52.5  PA54.1
                       the Activity Commitments Detail and       PA549   PRSC.1
                       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                                HAP3.1  HEP4.1
Object                 The Parent Object Identifier field        HPOS.1  HPQC.1
Identification         contains the object identifier of the     HPRS.1  HR54.1
                       member parent.                            HRS1.1  HRSC.1
                                                                 PA100   PA102
                                                                 PA149   PA49.1
                                                                 PA49.3  PA52.1
                                                                 PA52.3  PA52.4
                                                                 PA52.5  PA54.1
                                                                 PA549   PRSC.1

PTS-DATE-STAMP         Numeric 8  (yyyymmdd)                     PA149   PA49.1
Element: 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
Element: 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
Element: User          Contains the user ID of the person who    PA49.3  PA549
                       last changed this record.

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

                         PAEMPAPTST FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

PTSSET1   COMPANY                                                HAP3.1  HEP4.1
          EMP-APP                                                HPOS.1  HPQC.1
          EMPLOYEE                                               HPRS.1  HR00.1
          TEST                                                   HR01.1  HR11.1
          SEQ-NBR                                                HR54.1  HRS1.1
                                                                 HRSC.1  PA100
                                                                 PA102   PA115
                                                                 PA120   PA149
                                                                 PA249   PA349
                                                                 PA49.1  PA49.3
                                                                 PA52.1  PA52.3
                                                                 PA52.4  PA52.5
                                                                 PA54.1  PA549
                                                                 PA81.1  PBIP.1
                                                                 PR197   PRSC.1

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  OSHESTAB     Required
                            When (PTS-ESTABLISHMENT != Spaces )

                            PTS-COMPANY          -> OTB-COMPANY
                            PTS-ESTABLISHMENT    -> OTB-ESTABLISHMENT

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
                            When (PTS-NOTIFY-TYPE != Spaces )

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

Paemployee     PAEMPLOYEE   Required
                            When (PTS-EMP-APP = Zeroes )

                            PTS-COMPANY          -> PEM-COMPANY
                            PTS-EMPLOYEE         -> PEM-EMPLOYEE

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