PAEMERGCNT – Employee Emergency Contact

System
Personnel (PA)
Prefix
PAE
Primary key
COMPANY, EMPLOYEE, SEQ-NBR
Fields
27
Updated by
4 programs
Referenced by
8 programs

PAEMERGCNT is the Employee Emergency Contact table in Lawson Personnel (prefix PAE). It is indexed by COMPANY, EMPLOYEE, SEQ-NBR (PAESET1). It is related 1:1 to PRSYSTEM, INSTCTRYCD, EMPLOYEE and PAEMPLOYEE and 1:M to PACOMMENTS. It is updated by HR11.1, PA115, PA12.1 and PA512 and referenced by HPAE.1, HR170, HR70.1, HR90.1, HS705, PA212, PA311 and ZH500. The table has 27 fields, 1 index and 5 documented relations.

About PAEMERGCNT

The Employee Emergency Contact file contains emergency contact information for employees.

Fields (27)

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

Field / columnTypeDescription & valuesUpdated by
PAE-COMPANY PK
COMPANY
Numeric 4PA12.1, PA512
PAE-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains the employee's number. It is use to correlate all information related to the employee.PA12.1, PA512
PAE-SEQ-NBR PK
SEQ_NBR
Numeric 4Contains a sequence number that keeps records unique. It is automatically assigned.PA12.1, PA512
PAE-LAST-NAME
LAST_NAME
Alpha 30 (Lower Case)Contains the last name of the emergency contact person.PA12.1, PA512
PAE-FIRST-NAME
FIRST_NAME
Alpha 15 (Lower Case)Contains the first name of the emergency contact person.PA12.1, PA512
PAE-MIDDLE-INIT
MIDDLE_INIT
Alpha 1Contains the middle initial of the emergency contact person.PA12.1, PA512
PAE-ADDR1
ADDR1
Alpha 30 (Lower Case)Contains the first line of address.PA12.1, PA512
PAE-ADDR2
ADDR2
Alpha 30 (Lower Case)Contains the second line of the address.PA12.1, PA512
PAE-ADDR3
ADDR3
Alpha 30 (Lower Case)Contains the third line of address.PA12.1, PA512
PAE-ADDR4
ADDR4
Alpha 30 (Lower Case)Contains the fourth line of address.PA12.1, PA512
PAE-CITY
CITY
Alpha 58 (Lower Case)Contains the city of the address.PA12.1, PA512
PAE-STATE
STATE
Alpha 2Contains the state of the emergency contact's address.PA12.1, PA512
PAE-ZIP
ZIP
Alpha 10Contains the postal code of the address.PA12.1, PA512
PAE-RELATIONSHIP
RELATIONSHIP
Alpha 30 (Lower Case)Contains the relationship of the emergency contact person to the employee.PA12.1, PA512
PAE-HM-PHONE-CNTRY
HM_PHONE_CNTRY
Alpha 6Contains the prefix of the emergency contact's home telephone number.PA12.1, PA512
PAE-HM-PHONE-NBR
HM_PHONE_NBR
Alpha 15Contains the emergency contact's home telephone number.PA12.1, PA512
PAE-WK-PHONE-CNTRY
WK_PHONE_CNTRY
Alpha 6Contains the prefix of the emergency contact's work telephone number.PA12.1, PA512
PAE-WK-PHONE-NBR
WK_PHONE_NBR
Alpha 15Contains the emergency contact's work telephone number.PA12.1, PA512
PAE-WK-PHONE-EXT
WK_PHONE_EXT
Alpha 5Contains the extension of the emergency contact's telephone number.PA12.1, PA512
PAE-CL-PHONE-CNTRY
CL_PHONE_CNTRY
Alpha 6This field contains the prefix of the telephone number. For example, the country or city code.PA12.1, PA512
PAE-CL-PHONE-NBR
CL_PHONE_NBR
Alpha 15Phone number.PA12.1, PA512
PAE-FULL-NAME
FULL_NAME
Derived
PAE-COUNTRY-CODE
COUNTRY_CODE
Alpha 2Contains the country of the address.PA12.1, PA512
PAE-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.PA12.1, PA512
PAE-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.PA12.1, PA512
PAE-USER-ID
USER_ID
Alpha 10 (Lower Case)PA12.1, PA512
PAE-LABEL-NAME
LABEL_NAME
Derived

Indexes (1)

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

IndexKeysFlagsConditionUsed in
PAESET1COMPANY, EMPLOYEE, SEQ-NBRPrimaryHPAE.1, HR11.1, HR170, HR70.1, HR90.1, HS705, ZH500, PA115 +4 more

Relations

One to one (4) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequiredPAE-COMPANYPRS-COMPANY, SpacesPRS-PROCESS-LEVEL
CountryINSTCTRYCDRequiredWhen (PAE-COUNTRY-CODE != Spaces)PAE-COUNTRY-CODEINT-COUNTRY-CODE
EmployeeEMPLOYEERequiredPAE-COMPANYEMP-COMPANY, PAE-EMPLOYEEEMP-EMPLOYEE
Pa EmployeePAEMPLOYEERequiredPAE-COMPANYPEM-COMPANY, PAE-EMPLOYEEPEM-EMPLOYEE

One to many (1) — child tables

RelationTableRulesConditionField map
CommentsPACOMMENTSDelete CascadesPAE-COMPANYPAC-COMPANY, ZeroesPAC-EMP-APP, "EC"PAC-CMT-TYPE, PAE-EMPLOYEEPAC-EMPLOYEE, SpacesPAC-JOB-CODE, SpacesPAC-ACTION-CODE, PAE-SEQ-NBRPAC-LN-NBR, PAC-SEQ-NBR, PAC-DATE

Programs

Updated by (4)

Referenced by (8)