TASTRUCTUR – Absence Plan Structure

System
Absence Management (LP)
Prefix
TST
Primary key
COMPANY, PLAN, EMPLOYEE-GROUP, BEGIN-DATE
Fields
21
Updated by
63 programs
Referenced by
34 programs

TASTRUCTUR is the Absence Plan Structure table in Lawson Absence Management (prefix TST). It is indexed by COMPANY, PLAN, EMPLOYEE-GROUP, BEGIN-DATE (TSTSET1); alternate indexes: TSTSET2 and TSTSET3. It is related 1:1 to TAACCRUAL, PRSYSTEM, CUCODES, TAELIGIBLE, PERSGROUP, TAGENLEDGR, TALIMIT, TAPAYROLL and 2 more and 1:M to BNTAGROUP, BNTAEMPBAL and TAEEMASTER. It is updated by BN150, EXI2.1, EXI4.1, HR00.1, HR01.1, HR11.1, HR511, LP02.1 and 55 more and referenced by BN15.1, ES02.2, HR55.1, HR55.2, HR55.3, HS19.1, HS706, LP01.1 and 26 more. The table has 21 fields, 3 indexes and 13 documented relations.

About TASTRUCTUR

Plan Structure is used to assign a specific set of rules to each Accrual Plan and Employee Group combination. This allows different rules to be applied to different employee goups within the same accrual plan. The only rule that is not required is the general ledger rule.

Fields (21)

Column = COBOL field name without the TST- 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
#TST-COMPANY PK
COMPANY
Numeric 4—LP02.1
#TST-PLAN PK
PLAN
Alpha 10—LP02.1
#TST-EMPLOYEE-GROUP PK
EMPLOYEE_GROUP
Alpha 10—LP02.1
#TST-BEGIN-DATE PK
BEGIN_DATE
Numeric 8 (yyyymmdd)—LP02.1
#TST-END-DATE
END_DATE
Numeric 8 (yyyymmdd)—LP02.1, LP103
#TST-ACCRUAL-OPTION
ACCRUAL_OPTION
Numeric 1—
  • 1 Hours
  • 2 Earnings
  • 3 Hours and Earnings
LP02.1
#TST-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).LP02.1
#TST-SERVICE-RULE
SERVICE_RULE
Alpha 10—LP02.1
#TST-ACCRUAL-RULE
ACCRUAL_RULE
Alpha 10—LP02.1
#TST-ELIGIBLE-RULE
ELIGIBLE_RULE
Alpha 10—LP02.1
#TST-LIMIT-RULE
LIMIT_RULE
Alpha 10—LP02.1
#TST-PAYROLL-RULE
PAYROLL_RULE
Alpha 10—LP02.1
#TST-GL-RULE
GL_RULE
Alpha 10—LP02.1
#TST-ROUND-METH-HRS
ROUND_METH_HRS
Numeric 1—
  • 0 None
  • 1 Normal
  • 2 High
  • 3 Low
LP02.1
#TST-ROUND-TO-HRS
ROUND_TO_HRS
Signed 18.6—LP02.1
#TST-ROUND-METH-ERN
ROUND_METH_ERN
Numeric 1—
  • 0 None
  • 1 Normal
  • 2 High
  • 3 Low
LP02.1
#TST-ROUND-TO-ERN
ROUND_TO_ERN
Signed 18.6—LP02.1
#TST-DATE-STAMP
DATE_STAMP
Numeric 8 (yyyymmdd)This field contains the server date (month, date, and year) of the last change to this record.LP02.1, LP103
#TST-TIME-STAMP
TIME_STAMP
Numeric 6 (hhmmss)Contains the server time (hour, minute, and second) when the record was last changed.LP02.1, LP103
#TST-USER-ID
USER_ID
Alpha 10 (Lower Case)—LP02.1, LP103
#TST-BAL-TRANSFER
BAL_TRANSFER
Numeric 1—LP02.2

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
TSTSET1
  1. COMPANY
  2. PLAN
  3. EMPLOYEE-GROUP
  4. BEGIN-DATE
PrimaryBN15.1, BN150, ES02.2, HR00.1, HR01.1, PR521, EXI2.1, EXI4.1 +22 more (list truncated in source)
TSTSET2
  1. COMPANY
  2. EMPLOYEE-GROUP
  3. PLAN
  4. BEGIN-DATE ↓
HR11.1, HR511, HR55.1, HR55.2, HR55.3, HS19.1, LT101, LT111 +22 more (list truncated in source)
TSTSET3
  1. COMPANY
  2. PLAN
  3. EMPLOYEE-GROUP
  4. BEGIN-DATE ↓
BN150, PR521, EXI2.1, EXI4.1, LP01.1, LP10.1, LP130, LP145 +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)
TAACCRUALPRSYSTEMCUCODESTAELIGIBLEPERSGROUPTAGENLEDGRTALIMITTAPAYROLLTAPLANTASERVRULEBNTAGROUPBNTAEMPBALTAEEMASTERTASTRUCTUR

One to one (10) — lookups and parents

RelationTableRulesConditionField map
Accrual RuleTAACCRUALRequired
TST-COMPANY→TAR-COMPANY
TST-ACCRUAL-RULE→TAR-ACCRUAL-RULE
CompanyPRSYSTEMRequired
TST-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
CurrencyCUCODESRequiredWhen (TST-CURRENCY-CODE != Spaces)
TST-CURRENCY-CODE→CUC-CURRENCY-CODE
Eligible RuleTAELIGIBLERequiredWhen (TST-ELIGIBLE-RULE != Spaces)
TST-COMPANY→TEG-COMPANY
TST-ELIGIBLE-RULE→TEG-ELIGIBLE-RULE
Employee GroupPERSGROUPRequired
TST-COMPANY→PRG-COMPANY
TST-EMPLOYEE-GROUP→PRG-GROUP-NAME
Gl RuleTAGENLEDGRRequiredWhen (TST-GL-RULE != Spaces)
TST-COMPANY→TGE-COMPANY
TST-GL-RULE→TGE-GL-RULE
Limit RuleTALIMITRequired
TST-COMPANY→TLM-COMPANY
TST-LIMIT-RULE→TLM-LIMIT-RULE
Payroll RuleTAPAYROLLRequiredWhen (TST-PAYROLL-RULE != Spaces)
TST-COMPANY→TPR-COMPANY
TST-PAYROLL-RULE→TPR-PAYROLL-RULE
PlanTAPLANRequired
TST-COMPANY→TAP-COMPANY
TST-PLAN→TAP-PLAN
Service RuleTASERVRULERequired
TST-COMPANY→TSR-COMPANY
TST-SERVICE-RULE→TSR-SERVICE-RULE

One to many (3) — child tables

RelationTableRulesConditionField map
Bn Plan GroupBNTAGROUP
TST-COMPANY→BTG-COMPANY
TST-PLAN→BTG-TA-PLAN
TST-EMPLOYEE-GROUP→BTG-EMPLOYEE-GROUP
—→BTG-PLAN-CODE
Bn Ta EmployeeBNTAEMPBAL
TST-COMPANY→BTE-COMPANY
TST-PLAN→BTE-TA-PLAN
TST-EMPLOYEE-GROUP→BTE-EMPLOYEE-GROUP
—→BTE-EMPLOYEE
—→BTE-POSITION
—→BTE-PLAN-CODE
—→BTE-START-DATE
TaeemasterTAEEMASTERDelete Restricted
TST-COMPANY→TEM-COMPANY
TST-PLAN→TEM-PLAN
TST-EMPLOYEE-GROUP→TEM-EMPLOYEE-GROUP
—→TEM-EMPLOYEE
—→TEM-POSITION

Programs

Updated by (63)

Referenced by (34)