PAATTRIB – Course Attributes

System
Personnel (PA)
Prefix
TRB
Primary key
COURSE, TYPE, CODE
Fields
10
Updated by
1 program
Referenced by
142 programs

PAATTRIB is the Course Attributes table in Lawson Personnel (prefix TRB). It is indexed by COURSE, TYPE, CODE (TRBSET1); alternate indexes: TRBSET2. It is related 1:1 to PCODES and 1:M to PACOURSE. It is updated by TR03.1 and referenced by HR04.2, HR04.3, HR04.7, HR04.8, HR80.1, HR80.2, HR80.3, HR80.4 and 134 more. The table has 10 fields, 2 indexes and 6 documented relations.

About PAATTRIB

Contains the skill and proficiency acquired by completing a course. Attribute records are linked to a course by the course name, not the course date. After a completion status is entered in TR22.1 (Session Completion), the skill and proficiency fields update PA22.1 (Skills). TR03.1 (Course Attributes) is the primary program that updates this file.

Fields (10)

Column = COBOL field name without the TRB- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
TRB-COURSE PK
COURSE
Alpha 10Contains the course code.TR03.1
TRB-TYPE PK
TYPE
Alpha 2Indicates the type of attribute.
  • SK Skill
  • CE Certificate
  • AB Abilities
  • KN Knowledge
  • OA Other Attributes
TR03.1
TRB-CODE PK
CODE
Alpha 10Contains the skill or attribute acquired when an employee completes the course.TR03.1
TRB-SKILL-SOURCE
SKILL_SOURCE
Alpha 10Contains the attribute source. If a skill source was entered in TR00.1 (Training Options), that source defaults. This field updates PA21.1 (Attributes) after a completion status is selected in TR20.1 (Session Registration).TR03.1
TRB-EFFECTIVE-DATE
EFFECTIVE_DATE
Numeric 8 (yyyymmdd)Contains the date the skill becomes effective. The course start date defaults.TR03.1
TRB-END-DATE
END_DATE
Numeric 8 (yyyymmdd)Contains the ending date for the skill.TR03.1
TRB-PROFIC-LEVEL
PROFIC_LEVEL
Alpha 10Contains the level of skill proficiency acquired by taking the course.TR03.1
TRB-VALID-PERIOD
VALID_PERIOD
Numeric 3Entered in conjunction with Unit Type. Indicates length of time before certificate must be renewed.TR03.1
TRB-UNIT-TYPE
UNIT_TYPE
Alpha 1The type of period. Either Days, Months, or Years.
  • 1 Days
  • 2 Months
  • 3 Years
TR03.1
TRB-VERIFIED-FLAG
VERIFIED_FLAG
Alpha 1TR03.1

Indexes (2)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
TRBSET1COURSE, TYPE, CODEPrimaryTR01.1, TR03.1, TR05.1, TR06.1, TR201, TR205, TR21.1, TR22.1 +2 more
TRBSET2TYPE, CODE, COURSEHR04.2, HR04.3, HR04.7, HR04.8, HR80.1, HR80.2, HR80.3, HR80.4 +22 more (list truncated in source)

Relations

One to one (5) — lookups and parents

RelationTableRulesConditionField map
CertificationPCODESRequiredWhen TRB-TYPE = "CE""CE"PCO-TYPE, TRB-CODEPCO-CODE
CompetencyPCODESRequiredWhen (TRB-TYPE = "AB") Or (TRB-TYPE = "KN") Or (TRB-TYPE = "OA") Or (TRB-TYPE = "SK")TRB-TYPEPCO-TYPE, TRB-CODEPCO-CODE
ProficiencyPCODESNot RequiredValid When (TRB-PROFIC-LEVEL != Spaces)"PF"PCO-TYPE, TRB-PROFIC-LEVELPCO-CODE
SkillcodePCODESRequiredWhen TRB-TYPE = "SK""SK"PCO-TYPE, TRB-CODEPCO-CODE
SkillsourcePCODESNot RequiredValid When (TRB-SKILL-SOURCE != Spaces)"SS"PCO-TYPE, TRB-SKILL-SOURCEPCO-CODE

One to many (1) — child tables

RelationTableRulesConditionField map
CoursePACOURSETRB-COURSECRS-COURSE, CRS-EFFECTIVE-DATE

Programs

Updated by (1)

Referenced by (142)