TAPLAN – Absence Plan

System
Absence Management (LP)
Prefix
TAP
Primary key
COMPANY, PLAN
Fields
14
Updated by
98 programs
Referenced by
103 programs

TAPLAN is the Absence Plan table in Lawson Absence Management (prefix TAP). It is indexed by COMPANY, PLAN (TAPSET1); alternate indexes: TAPSET2, TAPSET3 and TAPSET4. It is related 1:1 to PCODES and PRSYSTEM and 1:M to BNTAGROUP, BNTAEMPBAL, TAEEMASTER and TASTRUCTUR. It is updated by HR00.1, HR01.1, HR04.2, HR04.3, HR04.7, HR04.8, HR80.1, HR80.2 and 90 more and referenced by BN15.1, BN150, BN215, ES02.2, EXI2.1, EXI4.1, HR11.1, HR511 and 95 more. The table has 14 fields, 4 indexes and 6 documented relations.

About TAPLAN

No description in the Lawson data dictionary.

Fields (14)

Column = COBOL field name without the TAP- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored. PK = primary key (present in every index); SETn = leading/alternate key of that index.

Field / columnTypeDescription & valuesUpdated by
#TAP-COMPANY PK
COMPANY
Numeric 4—LP01.1
#TAP-PLAN PK
PLAN
Alpha 10—LP01.1
#TAP-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)—LP01.1
#TAP-STATUS
STATUS
Numeric 1—
  • 1 Active
  • 2 Inactive
LP01.1
#TAP-AUTO-ENROLL
AUTO_ENROLL
Numeric 1—
  • 0 No
  • 1 Yes
LP01.1
#TAP-BALANCE-TYPE
BALANCE_TYPE
Numeric 1—
  • 1 Employee group
  • 2 Position code
LP01.1
#TAP-ENROLL-TYPE
ENROLL_TYPE
Numeric 1—
  • 1 Employee Group
  • 2 Employee group; position code
  • 3 Employee group; position level
LP01.1
#TAP-TABLE-BASIS
TABLE_BASIS
Numeric 1—
  • 1 Cycle based
  • 2 Hours based
LP01.1
#TAP-CATEGORY
CATEGORY
Alpha 10—LP01.1, LP180
#TAP-WEB-AVAILABLE
WEB_AVAILABLE
Alpha 1—
  • 1 Not Available
  • 2 Available
LP01.1
#TAP-WEB-AVAIL-SUPV
WEB_AVAIL_SUPV
Alpha 1—
  • 1 Not Available
  • 2 Available
LP01.1
#TAP-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.LP01.1
#TAP-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.LP01.1
#TAP-USER-ID
USER_ID
Alpha 10 (Lower Case)—LP01.1

Indexes (4)

Keys are listed in index order; ↓ marks a descending key. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
TAPSET1
  1. COMPANY
  2. PLAN
PrimaryBN15.1, BN215, ES02.2, HR00.1, HR01.1, HR04.2, HR04.3, HR04.7 +22 more (list truncated in source)
TAPSET2
  1. COMPANY
  2. PLAN
SubsetWhere (WEB-AVAILABLE = "2")—
TAPSET3
  1. COMPANY
  2. PLAN
SubsetWhere (WEB-AVAIL-SUPV = "2")—
TAPSET4
  1. COMPANY
  2. PLAN
SubsetWhere (STATUS = 1)BN150, HR11.1, HR511, LT101, LT111, PR521, EXI2.1, EXI4.1 +22 more (list truncated in source)

Relations

Relationship map — 1:1 lookups/parents on the left, 1:M children on the right (up to 14 each)
PCODESPRSYSTEMBNTAGROUPBNTAEMPBALTAEEMASTERTASTRUCTURTAPLAN

One to one (2) — lookups and parents

RelationTableRulesConditionField map
CategoryPCODESRequiredWhen (TAP-CATEGORY != Spaces)
"TC"→PCO-TYPE
TAP-CATEGORY→PCO-CODE
CompanyPRSYSTEMRequired
TAP-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL

One to many (4) — child tables

RelationTableRulesConditionField map
Bn Plan GroupBNTAGROUP
TAP-COMPANY→BTG-COMPANY
TAP-PLAN→BTG-TA-PLAN
—→BTG-EMPLOYEE-GROUP
—→BTG-PLAN-CODE
Bn Ta EmployeeBNTAEMPBALDelete Restricted
TAP-COMPANY→BTE-COMPANY
TAP-PLAN→BTE-TA-PLAN
—→BTE-EMPLOYEE-GROUP
—→BTE-EMPLOYEE
—→BTE-POSITION
—→BTE-PLAN-CODE
—→BTE-START-DATE
EmployeesTAEEMASTERDelete Restricted
TAP-COMPANY→TEM-COMPANY
TAP-PLAN→TEM-PLAN
—→TEM-EMPLOYEE-GROUP
—→TEM-EMPLOYEE
—→TEM-POSITION
StructureTASTRUCTUR
TAP-COMPANY→TST-COMPANY
TAP-PLAN→TST-PLAN
—→TST-EMPLOYEE-GROUP
—→TST-BEGIN-DATE

Programs

Updated by (98)

Referenced by (103)