DEPBEN – No description in the Lawson data dictionary
- System
- Benefits (BN)
- Prefix
DEP- Primary key
COMPANY,EMPLOYEE,DEPENDENT,PLAN-TYPE,PLAN-CODE,EMP-START,START-DATE- Fields
- 20
- Updated by
- 10 programs
- Referenced by
- 0 programs
DEPBEN is a Lawson Benefits table (prefix DEP); no description in the lawson data dictionary. It is indexed by COMPANY, EMPLOYEE, DEPENDENT, PLAN-TYPE, PLAN-CODE, EMP-START, START-DATE (DEPSET1); alternate indexes: DEPSET3. It is related 1:1 to BNBEN, PRSYSTEM, EMDEPEND, EMPLOYEE, PLAN and PCODES. It is updated by BS30.1, BS31.1, BS531, HR11.1, HR13.1, HR513, PA115, PA218 and 2 more. The table has 20 fields, 2 indexes and 6 documented relations.
About DEPBEN
No description in the Lawson data dictionary.
Fields (20)
Column = COBOL field name without the DEP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
DEP-COMPANY PKCOMPANY | Numeric 4 | — | BS30.1 |
DEP-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. | BS30.1 |
DEP-DEPENDENT PKDEPENDENT | Numeric 4 | — | BS30.1 |
DEP-PLAN-TYPE PKPLAN_TYPE | Alpha 2 | — | BS30.1 |
DEP-PLAN-CODE PKPLAN_CODE | Alpha 4 | Contains the user-defined code that represents a benefit plan. | BS30.1 |
DEP-EMP-START PKEMP_START | Numeric 8 (yyyymmdd) | — | BS30.1 |
DEP-START-DATE PKSTART_DATE | Numeric 8 (yyyymmdd) | — | BS30.1 |
DEP-STOP-DATESTOP_DATE | Numeric 8 (yyyymmdd) | — | BS30.1 |
DEP-FCFC | Alpha 1 | — | BS30.1 |
DEP-DATE-STAMPDATE_STAMP | Numeric 8 (yyyymmdd) | This field contains the server date (month, date, and year) of the last change to this record. | BS30.1 |
DEP-TIME-STAMPTIME_STAMP | Numeric 6 (hhmmss) | Contains the server time (hour, minute, and second) when the record was last changed. | BS30.1 |
DEP-USER-IDUSER_ID | Alpha 10 (Lower Case) | — | BS30.1 |
DEP-CREATE-TRANSCREATE_TRANS | Alpha 1 | —
| BS30.1 |
DEP-TRAN-REASONTRAN_REASON | Alpha 10 | — | BS30.1 |
DEP-MEMBER-IDMEMBER_ID | Numeric 1 | — | BS30.1 |
DEP-BN-TYPEBN_TYPE | Alpha 1 | —
| BS30.1 |
DEP-HOLD-FLAGHOLD_FLAG | Alpha 1 | —
| BS30.1 |
DEP-CREATE-DATECREATE_DATE | Numeric 8 (yyyymmdd) | — | BS30.1 |
DEP-CREATE-TIMECREATE_TIME | Numeric 6 (hhmmss) | — | BS30.1 |
DEP-CREATE-USER-IDCREATE_USER_ID | Alpha 10 (Lower Case) | — | BS30.1 |
Indexes (2)
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 |
|---|---|---|---|---|
DEPSET1 | COMPANY, EMPLOYEE, DEPENDENT, PLAN-TYPE, PLAN-CODE, EMP-START, START-DATE | Primary | BS30.1, BS31.1, ZB10.3, HR11.1, HR13.1, HR513, PA115, PA218 | |
DEPSET3 | COMPANY, EMPLOYEE, PLAN-TYPE, PLAN-CODE, EMP-START, DEPENDENT, START-DATE | BS531, ZS531 |
Relations
One to one (6) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Bnben | BNBEN | Required | DEP-COMPANY → BNB-COMPANY, DEP-EMPLOYEE → BNB-EMPLOYEE, DEP-PLAN-TYPE → BNB-PLAN-TYPE, DEP-PLAN-CODE → BNB-PLAN-CODE, DEP-EMP-START → BNB-START-DATE | |
| Company | PRSYSTEM | Required | DEP-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Dependent | EMDEPEND | Required | DEP-COMPANY → EMD-COMPANY, DEP-EMPLOYEE → EMD-EMPLOYEE, DEP-DEPENDENT → EMD-SEQ-NBR | |
| Employee | EMPLOYEE | Required | DEP-COMPANY → EMP-COMPANY, DEP-EMPLOYEE → EMP-EMPLOYEE | |
| Plan | PLAN | Required | DEP-COMPANY → PLN-COMPANY, DEP-PLAN-TYPE → PLN-PLAN-TYPE, DEP-PLAN-CODE → PLN-PLAN-CODE | |
| Reason Code | PCODES | Required | When DEP-TRAN-REASON != Spaces | "BT" → PCO-TYPE, DEP-TRAN-REASON → PCO-CODE |