BNTAEMPBAL – Emp Vacation Buy/Sell Balance

System
Absence Management (LP)
Prefix
BTE
Primary key
COMPANY, PLAN-CODE, EMPLOYEE, TA-PLAN, EMPLOYEE-GROUP, POSITION, START-DATE
Fields
17
Updated by
36 programs
Referenced by
3 programs

BNTAEMPBAL is the Emp Vacation Buy/Sell Balance table in Lawson Absence Management (prefix BTE). It is indexed by COMPANY, PLAN-CODE, EMPLOYEE, TA-PLAN, EMPLOYEE-GROUP, POSITION, START-DATE (BTESET1); alternate indexes: BTESET2 and BTESET3. It is related 1:1 to BENEFIT, PRSYSTEM, EMPLOYEE, PERSGROUP, PAEMPLOYEE, PLAN, TAEEMASTER and TAPLAN and 1:M to PAPOSITION and TASTRUCTUR. It is updated by BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 and 28 more and referenced by BN15.1, LP02.1 and LP331. The table has 17 fields, 3 indexes and 10 documented relations.

About BNTAEMPBAL

No description in the Lawson data dictionary.

Fields (17)

Column = COBOL field name without the BTE- 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
#BTE-COMPANY PK
COMPANY
Numeric 4—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-PLAN-CODE PK
PLAN_CODE
Alpha 4Contains the user-defined code that represents a benefit plan.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-EMPLOYEE PK
EMPLOYEE
Numeric 9Contains 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.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-TA-PLAN PK
TA_PLAN
Alpha 10—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-EMPLOYEE-GROUP PK
EMPLOYEE_GROUP
Alpha 10—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-POSITION PK
POSITION
Alpha 12Contains the user-defined code that represents a position in the company.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-START-DATE PK
START_DATE
Numeric 8 (yyyymmdd)—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-STOP-DATE
STOP_DATE
Numeric 8 (yyyymmdd)—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-TA-OBJ-ID
TA_OBJ_ID
Numeric 12Ties the record to teh associated BENEFIT record.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-TOTAL-HOURS
TOTAL_HOURS
Signed 8.4Store the total elected number of hours from the benefit.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-PERCENT
PERCENT
Signed 7.3Stores the percent of the total hours that apply to this group or position. Used only when there are multiple master records for a TA plan.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +11 more
#BTE-STATUS
STATUS
Numeric 1This field displays the status of the transaction.
  • 0 Not Updated
  • 1 Partial Update
  • 2 Adjusted
  • 9 Updated
BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +12 more
#BTE-UPDATED-HOURS
UPDATED_HOURS
Signed 8.4—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +12 more
#BTE-UPD-THRU-DATE
UPD_THRU_DATE
Numeric 8 (yyyymmdd)—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +12 more
#BTE-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +12 more
#BTE-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +12 more
#BTE-USER-ID
USER_ID
Alpha 10 (Lower Case)—BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +12 more

Indexes (3)

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
BTESET1
  1. COMPANY
  2. PLAN-CODE
  3. EMPLOYEE
  4. TA-PLAN
  5. EMPLOYEE-GROUP
  6. POSITION
  7. START-DATE
PrimaryBN100, BN101, BN102, BN103, BN105, BN15.1, BN31.1, BN31.2 +13 more
BTESET2
  1. COMPANY
  2. TA-PLAN
  3. EMPLOYEE-GROUP
  4. EMPLOYEE
  5. POSITION
  6. PLAN-CODE
  7. START-DATE
HR11.1, HR511, LT101, LT111, LP02.1, LP100, LP101, LP102 +10 more
BTESET3
  1. COMPANY
  2. PLAN-CODE
  3. EMPLOYEE
  4. START-DATE ↓
  5. EMPLOYEE-GROUP
  6. POSITION
BN100, BN101, BN102, BN103, BN105, BN31.1, BN31.2, BN32.1 +12 more

Relations

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

One to one (8) — lookups and parents

RelationTableRulesConditionField map
BenefitBENEFITRequired
BTE-COMPANY→BEN-COMPANY
"VA"→BEN-PLAN-TYPE
BTE-EMPLOYEE→BEN-EMPLOYEE
BTE-START-DATE→BEN-START-DATE
BTE-PLAN-CODE→BEN-PLAN-CODE
CompanyPRSYSTEMRequired
BTE-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
EmployeeEMPLOYEERequired
BTE-COMPANY→EMP-COMPANY
BTE-EMPLOYEE→EMP-EMPLOYEE
Employee GroupPERSGROUPRequired
BTE-COMPANY→PRG-COMPANY
BTE-EMPLOYEE-GROUP→PRG-GROUP-NAME
PaemployeePAEMPLOYEERequired
BTE-COMPANY→PEM-COMPANY
BTE-EMPLOYEE→PEM-EMPLOYEE
PlanPLANRequired
BTE-COMPANY→PLN-COMPANY
"VA"→PLN-PLAN-TYPE
BTE-PLAN-CODE→PLN-PLAN-CODE
Ta MasterTAEEMASTERRequired
BTE-COMPANY→TEM-COMPANY
BTE-EMPLOYEE→TEM-EMPLOYEE
BTE-TA-PLAN→TEM-PLAN
BTE-EMPLOYEE-GROUP→TEM-EMPLOYEE-GROUP
BTE-POSITION→TEM-POSITION
Ta PlanTAPLANRequired
BTE-COMPANY→TAP-COMPANY
BTE-TA-PLAN→TAP-PLAN

One to many (2) — child tables

RelationTableRulesConditionField map
PositionPAPOSITIONValid When BTE-POSITION != Spaces
BTE-COMPANY→POS-COMPANY
BTE-POSITION→POS-POSITION
—→POS-EFFECT-DATE
Ta StructureTASTRUCTUR
BTE-COMPANY→TST-COMPANY
BTE-TA-PLAN→TST-PLAN
BTE-EMPLOYEE-GROUP→TST-EMPLOYEE-GROUP
—→TST-BEGIN-DATE

Programs

Updated by (36)

Referenced by (3)