TASERVCODE – Absence Plan Service Code

System
Absence Management (LP)
Prefix
TSC
Primary key
COMPANY, SERVICE-CODE
Fields
8
Updated by
5 programs
Referenced by
81 programs

TASERVCODE is the Absence Plan Service Code table in Lawson Absence Management (prefix TSC). It is indexed by COMPANY, SERVICE-CODE (TSCSET1). It is related 1:1 to PRSYSTEM, CUCODES and TAREASCODE and 1:M to TASERVICE. It is updated by HR00.1, HR01.1, LP08.2, LP09.2 and LP208 and referenced by BN150, ES02.2, EXI2.1, EXI4.1, HR11.1, HR511, LP02.1, LP03.1 and 73 more. The table has 8 fields, 1 index and 4 documented relations.

About TASERVCODE

No description in the Lawson data dictionary.

Fields (8)

Column = COBOL field name without the TSC- 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
#TSC-COMPANY PK
COMPANY
Numeric 4—LP08.2
#TSC-SERVICE-CODE PK
SERVICE_CODE
Alpha 10—LP08.2
#TSC-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)—LP08.2
#TSC-EVENT
EVENT
Numeric 1—
  • 0 No
  • 1 Yes
LP08.2
#TSC-REASON-CODE
REASON_CODE
Alpha 4—LP08.2
#TSC-CURRENCY-CODE
CURRENCY_CODE
Alpha 5This field contains the company base currency code established in Company (GL10.1 ).LP08.2
#TSC-CURR-ND
CURR_ND
Numeric 1The number of decimals assigned to a particular account as determined by the account currency.LP08.2
#TSC-STATUS
STATUS
Numeric 1—
  • 0 Active
  • 1 Inactive
LP08.2

Indexes (1)

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
TSCSET1
  1. COMPANY
  2. SERVICE-CODE
PrimaryBN150, ES02.2, HR00.1, HR01.1, HR11.1, HR511, LT101, LT111 +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)
PRSYSTEMCUCODESTAREASCODETASERVICETASERVCODE

One to one (3) — lookups and parents

RelationTableRulesConditionField map
CompanyPRSYSTEMRequired
TSC-COMPANY→PRS-COMPANY
Spaces→PRS-PROCESS-LEVEL
CurrencyCUCODESRequiredWhen (TSC-CURRENCY-CODE != Spaces)
TSC-CURRENCY-CODE→CUC-CURRENCY-CODE
Reason CodeTAREASCODERequiredWhen (TSC-REASON-CODE != Spaces)
TSC-COMPANY→TRE-COMPANY
TSC-REASON-CODE→TRE-REASON-CODE

One to many (1) — child tables

RelationTableRulesConditionField map
Ta ServiceTASERVICEDelete Cascades
TSC-COMPANY→TSV-COMPANY
TSC-SERVICE-CODE→TSV-SERVICE-CODE
—→TSV-SERVICE-CLASS

Programs

Updated by (5)

Referenced by (81)