TAREASONS – Reason Class & Code Relations
- System
- Absence Management (LP)
- Prefix
TRO- Primary key
COMPANY,REASON-CLASS,REASON-CODE- Fields
- 3
- Updated by
- 6 programs
- Referenced by
- 11 programs
TAREASONS is the Reason Class & Code Relations table in Lawson Absence Management (prefix TRO). It is indexed by COMPANY, REASON-CLASS, REASON-CODE (TROSET1); alternate indexes: TROSET2. It is related 1:1 to PRSYSTEM, TAREASCLSS and TAREASCODE. It is updated by HR00.1, HR01.1, LP09.1, LP09.2, LP09.3 and LP09.4 and referenced by LP199, LP211, LP251, LP260, LP262, LP353, LP60.2, LP60.4 and 3 more. The table has 3 fields, 2 indexes and 3 documented relations.
About TAREASONS
No description in the Lawson data dictionary.
Fields (3)
Column = COBOL field name without the TRO- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
TRO-COMPANY PKCOMPANY | Numeric 4 | — | LP09.3, LP09.4 |
TRO-REASON-CLASS PKREASON_CLASS | Alpha 3 | — | LP09.3, LP09.4 |
TRO-REASON-CODE PKREASON_CODE | Alpha 4 | — | LP09.3, LP09.4 |
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 |
|---|---|---|---|---|
TROSET1 | COMPANY, REASON-CLASS, REASON-CODE | Primary | HR00.1, HR01.1, LP09.1, LP09.3, LP211, LP251, LP260, LP262 +6 more | |
TROSET2 | COMPANY, REASON-CODE, REASON-CLASS | LP09.2, LP09.4, LP199 |
Relations
One to one (3) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Company | PRSYSTEM | Required | TRO-COMPANY → PRS-COMPANY, Spaces → PRS-PROCESS-LEVEL | |
| Reason Class | TAREASCLSS | Required | TRO-COMPANY → TRL-COMPANY, TRO-REASON-CLASS → TRL-REASON-CLASS | |
| Reason Code | TAREASCODE | Required | TRO-COMPANY → TRE-COMPANY, TRO-REASON-CODE → TRE-REASON-CODE |
Programs
Updated by (6)
- HR00.1 Company
- HR01.1 Process Level
- LP09.1 Reason Class
- LP09.2 Reason Code
- LP09.3 Reason Class and Code Relationships
- LP09.4 Reason Code and Class Relationships
Referenced by (11)
- LP199 Close Unprocessed Service Records
- LP211 Reason Class Listing
- LP251 Employee Leave of Absence Report
- LP260 Employee Service and Event Report
- LP262 Employee Event Audit Report
- LP353 Employee Service History Purge
- LP60.2 Employee Event Inquiry
- LP60.4 Employee Event Totals
- LP61.1 Company Event Inquiry
- LP62.1 Employee Date Calendar
- LP62.2 Employee Days Calendar