BNTAGROUP – Vacation Buy/Sell Emp Groups

System
Absence Management (LP)
Prefix
BTG
Primary key
COMPANY, PLAN-CODE, TA-PLAN, EMPLOYEE-GROUP
Fields
8
Updated by
3 programs
Referenced by
18 programs

BNTAGROUP is the Vacation Buy/Sell Emp Groups table in Lawson Absence Management (prefix BTG). It is indexed by COMPANY, PLAN-CODE, TA-PLAN, EMPLOYEE-GROUP (BTGSET1); alternate indexes: BTGSET2. It is related 1:1 to PLAN, PRSYSTEM, PERSGROUP and TAPLAN and 1:M to TASTRUCTUR. It is updated by BN15.1, LP02.1 and LP15.1 and referenced by BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 and 10 more. The table has 8 fields, 2 indexes and 5 documented relations.

About BNTAGROUP

Holds records identifying which employee groups within a plan will allow hours to be bought or sold. When an employee enrolls in a vacation buy/sell benefit plan, the TA master records will be checked to ensure that a valid plan-group combination exists for the employee.

Fields (8)

Column = COBOL field name without the BTG- 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
#BTG-COMPANY PK
COMPANY
Numeric 4—BN15.1, LP02.1
#BTG-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the user-defined code that represents a benefit plan.BN15.1, LP02.1
#BTG-TA-PLAN PK
TA_PLAN
Alpha 10—BN15.1, LP02.1
#BTG-EMPLOYEE-GROUP PK
EMPLOYEE_GROUP
Alpha 10—BN15.1, LP02.1
#BTG-EMP-GRP-STATUS
EMP_GRP_STATUS
Numeric 1Allows user to set up a benefit plan and identify which groups within the TAplan structure are allowed to buy or sell hours.
  • 1 Active
  • 2 Inactive
BN15.1, LP02.1, LP15.1
#BTG-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.BN15.1, LP02.1
#BTG-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.BN15.1, LP02.1
#BTG-USER-ID
USER_ID
Alpha 10 (Lower Case)—BN15.1, LP02.1

Indexes (2)

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
BTGSET1
  1. COMPANY
  2. PLAN-CODE
  3. TA-PLAN
  4. EMPLOYEE-GROUP
PrimaryBN100, BN101, BN102, BN103, BN105, BN15.1, BN31.1, BN31.2 +12 more
BTGSET2
  1. COMPANY
  2. TA-PLAN
  3. EMPLOYEE-GROUP
  4. PLAN-CODE
LP02.1

Relations

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

One to one (4) — lookups and parents

RelationTableRulesConditionField map
Bn PlanPLANRequired
BTG-COMPANY→PLN-COMPANY
"VA"→PLN-PLAN-TYPE
BTG-PLAN-CODE→PLN-PLAN-CODE
CompanyPRSYSTEMRequired
BTG-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
Employee GroupPERSGROUPRequired
BTG-COMPANY→PRG-COMPANY
BTG-EMPLOYEE-GROUP→PRG-GROUP-NAME
Ta PlanTAPLANRequired
BTG-COMPANY→TAP-COMPANY
BTG-TA-PLAN→TAP-PLAN

One to many (1) — child tables

RelationTableRulesConditionField map
Ta StructureTASTRUCTUR
BTG-COMPANY→TST-COMPANY
BTG-TA-PLAN→TST-PLAN
BTG-EMPLOYEE-GROUP→TST-EMPLOYEE-GROUP
—→TST-BEGIN-DATE

Programs

Updated by (3)

Referenced by (18)