PAINSCOURS – Course Instructors

System
Personnel (PA)
Prefix
INC
Primary key
COURSE, INSTRUCT
Fields
4
Updated by
4 programs
Referenced by
3 programs

PAINSCOURS is the Course Instructors table in Lawson Personnel (prefix INC). It is indexed by COURSE, INSTRUCT (INCSET1); alternate indexes: INCSET3. It is related 1:1 to PAINSTRUCT and 1:M to PACOURSE and PAINSTSES. It is updated by TR01.1, TR07.1, TR08.1 and TR14.1 and referenced by TR09.1, TR201 and TR207. The table has 4 fields, 2 indexes and 3 documented relations.

About PAINSCOURS

Contains the names of the instructors who can teach each course. TR08.1 (Instructor Courses) is the primary program that updates this file.

Fields (4)

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

Field / columnTypeDescription & valuesUpdated by
INC-INSTRUCT PK
INSTRUCT
Numeric 10Contains the instructor's identification number.TR08.1, TR14.1
INC-COURSE PK
COURSE
Alpha 10Contains the course code.TR08.1, TR14.1
INC-EFFECTIVE-DATE
EFFECTIVE_DATE
Numeric 8 (yyyymmdd)Contains the first date the instructor can teach the course.TR08.1, TR14.1
INC-END-DATE
END_DATE
Numeric 8 (yyyymmdd)Contains the last date the instructor can teach the course.TR08.1, TR14.1

Indexes (2)

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

IndexKeysFlagsConditionUsed in
INCSET1COURSE, INSTRUCTPrimaryTR01.1, TR08.1, TR09.1, TR14.1, TR201
INCSET3INSTRUCT, COURSETR07.1, TR09.1, TR14.1, TR207

Relations

One to one (1) — lookups and parents

RelationTableRulesConditionField map
InstructorPAINSTRUCTRequiredINC-INSTRUCTINS-INSTRUCT

One to many (2) — child tables

RelationTableRulesConditionField map
CoursePACOURSEINC-COURSECRS-COURSE, CRS-EFFECTIVE-DATE
Session InstrPAINSTSESDelete RestrictedINC-COURSEISE-COURSE, ISE-SESSION, ISE-START-DATE, ISE-INSTR-TYPE, ISE-INSTRUCT

Programs

Updated by (4)

Referenced by (3)