LPEMPLEAVE – Employee Leave of Absence
- System
- Absence Management (LP)
- Prefix
LEL- Primary key
COMPANY,EMPLOYEE,SEQ-NBR- Fields
- 64
- Updated by
- 6 programs
- Referenced by
- 4 programs
LPEMPLEAVE is the Employee Leave of Absence table in Lawson Absence Management (prefix LEL). It is indexed by COMPANY, EMPLOYEE, SEQ-NBR (LELSET1); alternate indexes: LELSET2, LELSET3 and LELSET4. It is related 1:1 to PRSYSTEM, INSTCTRYCD, EMPLOYEE, PCODES, PAEMPLOYEE and TAREASCLSS and 1:M to HRHISTORY. It is updated by HR11.1, HR93.9, LP09.1, LP251, LP51.1 and PA115 and referenced by HR170, HR70.1, LP151 and LP220. The table has 64 fields, 4 indexes and 8 documented relations.
About LPEMPLEAVE
No description in the Lawson data dictionary.
Fields (64)
Column = COBOL field name without the LEL- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
LEL-COMPANY PKCOMPANY | Numeric 4 | — | LP51.1 |
LEL-EMPLOYEE PKEMPLOYEE | Numeric 9 | Contains 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. | LP51.1 |
LEL-SEQ-NBR PKSEQ_NBR | Numeric 4 | An automatically assigned sequence number. | LP51.1 |
LEL-BEGIN-DATEBEGIN_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-END-DATEEND_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-REQUEST-DATEREQUEST_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-INTERMITTENTINTERMITTENT | Numeric 1 | —
| LP51.1 |
LEL-LEAVE-REASONLEAVE_REASON | Alpha 10 | — | LP51.1 |
LEL-REASON-CLASSREASON_CLASS | Alpha 3 | — | LP51.1 |
LEL-EMP-NOTIFY-DTEMP_NOTIFY_DT | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-EMP-RESP-DTEMP_RESP_DT | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-MGR-NOTIFY-DTMGR_NOTIFY_DT | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-STATUSSTATUS | Alpha 10 | — | LP51.1 |
LEL-SERVICE-DATESERVICE_DATE | Numeric 2 | —
| LP51.1 |
LEL-GOVT-QUALIFYGOVT_QUALIFY | Numeric 1 | —
| LP51.1 |
LEL-ELIGIBLE-DATEELIGIBLE_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-STATE-QUALIFYSTATE_QUALIFY | Numeric 1 | —
| LP51.1 |
LEL-ST-ELIG-DATEST_ELIG_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-BN-QUALIFYBN_QUALIFY | Numeric 1 | —
| LP51.1 |
LEL-BN-PAID-THRUBN_PAID_THRU | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-PAY-STATUSPAY_STATUS | Numeric 1 | —
| LP51.1 |
LEL-PAY-THRU-DATEPAY_THRU_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-DISABILITYDISABILITY | Numeric 1 | —
| LP51.1 |
LEL-DISABLE-EFFECTDISABLE_EFFECT | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-WORKERS-COMPWORKERS_COMP | Numeric 1 | —
| LP51.1 |
LEL-EXPECT-RETURNEXPECT_RETURN | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-RETURN-TO-WORKRETURN_TO_WORK | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-RESTRICT-DUTYRESTRICT_DUTY | Numeric 1 | —
| LP51.1 |
LEL-RESTRICT-THRURESTRICT_THRU | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-PHYS-RELEASEPHYS_RELEASE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-CONTACT-ADDRCONTACT_ADDR | Alpha 1 | —
| LP51.1 |
LEL-ADDR1ADDR1 | Alpha 30 (Lower Case) | This field contains the first line of address information. | LP51.1 |
LEL-ADDR2ADDR2 | Alpha 30 (Lower Case) | This field contains the second line of address information. | LP51.1 |
LEL-ADDR3ADDR3 | Alpha 30 (Lower Case) | This field contains the third line of address information. | LP51.1 |
LEL-CITYCITY | Alpha 58 (Lower Case) | This field contains the city of the address. | LP51.1 |
LEL-STATE-OR-PROVSTATE_OR_PROV | Alpha 2 | This field contains the two-character state code of the address. | LP51.1 |
LEL-POSTAL-CODEPOSTAL_CODE | Alpha 10 | This field contains the postal code of the address. | LP51.1 |
LEL-COUNTRY-CODECOUNTRY_CODE | Alpha 2 | The country code. Required for VAT and intrastat reporting. Must be defined in IN01.1 (Country Maintenance). | LP51.1 |
LEL-PHONE-CNTRYPHONE_CNTRY | Alpha 6 | — | LP51.1 |
LEL-PHONE-NBRPHONE_NBR | Alpha 15 | — | LP51.1 |
LEL-LOA-DATE-1LOA_DATE_1 | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-LOA-DATE-2LOA_DATE_2 | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-LOA-DATE-3LOA_DATE_3 | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-LOA-DATE-4LOA_DATE_4 | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-LOA-DATE-5LOA_DATE_5 | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | LP51.1 |
LEL-CREATE-TIMECREATE_TIME | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | LP51.1 |
LEL-CREATE-USER-IDCREATE_USER_ID | Alpha 10 (Lower Case) | — | LP51.1 |
LEL-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | LP51.1 |
LEL-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | LP51.1 |
LEL-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | LP51.1 |
LEL-EE-GOVT-QUALEE_GOVT_QUAL | Numeric 1 | —
| LP51.1 |
LEL-EE-STATE-QUALEE_STATE_QUAL | Numeric 1 | —
| LP51.1 |
LEL-COMP-QUALIFYCOMP_QUALIFY | Numeric 1 | —
| LP51.1 |
LEL-EE-COMP-QUALEE_COMP_QUAL | Numeric 1 | —
| LP51.1 |
LEL-COMP-ELIG-DATECOMP_ELIG_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-LEAVE-END-DATELEAVE_END_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-ST-LV-END-DATEST_LV_END_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-CO-LV-END-DATECO_LV_END_DATE | Numeric 8 (yyyymmdd) | — | LP51.1 |
LEL-HRH-OBJ-IDHRH_OBJ_ID | Numeric 12 | — | LP51.1 |
LEL-USE-WORK-EMAILUSE_WORK_EMAIL | Numeric 1 | —
| LP51.1 |
LEL-EMAIL-ADDRESSEMAIL_ADDRESS | Alpha 60 (Lower Case) | — | LP51.1 |
LEL-MEMOMEMO | Alpha 60 (Lower Case) | — | LP51.1 |
LEL-ACTION-CODEACTION_CODE | Alpha 10 | — | LP51.1 |
Indexes (4)
Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.
| Index | Keys | Flags | Condition | Used in |
|---|---|---|---|---|
LELSET1 | COMPANY, EMPLOYEE, SEQ-NBR | Primary | HR11.1, HR170, HR70.1, HR93.9, LP09.1, LP220, LP251, LP51.1 +1 more | |
LELSET2 | COMPANY, EMPLOYEE, BEGIN-DATE, SEQ-NBR | KeyChange | LP251 | |
LELSET3 | COMPANY, REASON-CLASS, LEAVE-REASON, EMPLOYEE, BEGIN-DATE, SEQ-NBR | KeyChange | LP151 | |
LELSET4 | COMPANY, CREATE-DATE*, DATE-STAMP*, EMPLOYEE, SEQ-NBR | KeyChange | — |
Relations
One to one (7) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | LEL-COMPANY → PRS-COMPANY (PRSSET1), Spaces → PRS-PROCESS-LEVEL | |
| Country Code | INSTCTRYCD | Required | When LEL-COUNTRY-CODE != Spaces | LEL-COUNTRY-CODE → INT-COUNTRY-CODE |
| Employee | EMPLOYEE | Required | LEL-COMPANY → EMP-COMPANY, LEL-EMPLOYEE → EMP-EMPLOYEE | |
| Leave Reason | PCODES | Required | When LEL-LEAVE-REASON != Spaces | "LR" → PCO-TYPE, LEL-LEAVE-REASON → PCO-CODE |
| Leave Status | PCODES | Required | When (LEL-STATUS != Spaces) | "LS" → PCO-TYPE, LEL-STATUS → PCO-CODE |
| Paemployee | PAEMPLOYEE | Required | LEL-COMPANY → PEM-COMPANY, LEL-EMPLOYEE → PEM-EMPLOYEE | |
| Reason Class | TAREASCLSS | Required | When (LEL-REASON-CLASS != Spaces) | LEL-COMPANY → TRL-COMPANY, LEL-REASON-CLASS → TRL-REASON-CLASS |
One to many (1) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Hrhistory | HRHISTORY | Delete Cascades | Valid When LEL-HRH-OBJ-ID != Zeroes | LEL-COMPANY → HRH-COMPANY, LEL-EMPLOYEE → HRH-EMPLOYEE, LEL-HRH-OBJ-ID → HRH-OBJ-ID, → HRH-FLD-NBR, → HRH-POS-LEVEL, → HRH-BEG-DATE, → HRH-SEQ-NBR |
Programs
Updated by (6)
- HR11.1 Employee
- HR93.9 Employee Leave of Absence Audit Inquiry
- LP09.1 Reason Class
- LP251 Employee Leave of Absence Report
- LP51.1 Employee Leave of Absence
- PA115 Employee Purge