PASESSION – Sessions
- System
- Personnel (PA)
- Prefix
SES- Primary key
COURSE,SESSION,START-DATE- Fields
- 26
- Updated by
- 8 programs
- Referenced by
- 15 programs
PASESSION is the Sessions table in Lawson Personnel (prefix SES). It is indexed by COURSE, SESSION, START-DATE (SESSET1); alternate indexes: SESSET2 and SESSET3. It is related 1:1 to PCODES and 1:M to PASCOST, PACOURSE, PAINSCOURS, PAINSTSES, PAREGISTER, PATRNHIST and EMPCODES. It is updated by TR04.1, TR04.3, TR120, TR121, TR20.1, TR20.2, TR20.3 and TR20.4 and referenced by HS50.3, HS50.4, TR01.1, TR09.1, TR11.1, TR200, TR201, TR202 and 7 more. The table has 26 fields, 3 indexes and 13 documented relations.
About PASESSION
Contains session information for each course. Each course can have an unlimited number of sessions. A session record remains in place as long as there is registration information for the session. A session cannot be deleted until all registration information is removed from the Registration Information file. TR04.1 (Session) is the primary program that updates this file.
Fields (26)
Column = COBOL field name without the SES- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.
| Field / column | Type | Description & values | Updated by |
|---|---|---|---|
SES-COURSE PKCOURSE | Alpha 10 | Contains the course code. | TR04.1 |
SES-SESSION PKSESSION | Numeric 5 | Contains the session number. | TR04.1 |
SES-START-DATE PKSTART_DATE | Numeric 8 (yyyymmdd) | Contains the session start date. The course start date defaults. | TR04.1 |
SES-END-DATEEND_DATE | Numeric 8 (yyyymmdd) | Contains the session end date. | TR04.1 |
SES-FACILITYFACILITY | Alpha 10 | Contains the facility in which the session will be held. | TR04.1 |
SES-SITESITE | Alpha 30 (Lower Case) | Contains the session location. | TR04.1 |
SES-SESSION-STATUSSESSION_STATUS | Alpha 2 | Indicates the session status.
| TR04.1, TR120, TR121, TR20.1, TR20.2, TR20.3, TR20.4 |
SES-DURATIONDURATION | Alpha 60 (Lower Case) | Contains additional information on session dates and times. | TR04.1 |
SES-START-TIMESTART_TIME | Numeric 6 (hhmmss) | Contains the starting time for the first day of the session. | TR04.1 |
SES-END-TIMEEND_TIME | Numeric 6 (hhmmss) | Contains the ending time for the last day of the session. | TR04.1 |
SES-COURSE-TYPECOURSE_TYPE | Alpha 10 | Indicates the type of course. | TR04.1 |
SES-ENROLL-MINENROLL_MIN | Numeric 3 | Indicates the minimum number of session participants. | TR04.1 |
SES-ENROLL-MAXENROLL_MAX | Numeric 3 | Indicates the maximum number of session participants. | TR04.1, TR120, TR121 |
SES-COURSE-FILL-DTCOURSE_FILL_DT | Numeric 8 (yyyymmdd) | Contains the date the course is filled. | TR04.1, TR120, TR121, TR20.1, TR20.2, TR20.3, TR20.4 |
SES-START-REG-DATESTART_REG_DATE | Numeric 8 (yyyymmdd) | Contains the date registration begins. | TR04.1 |
SES-END-REG-DATEEND_REG_DATE | Numeric 8 (yyyymmdd) | Contains the date registration ends. | TR04.1 |
SES-CONFIRMED-PARTCONFIRMED_PART | Numeric 3 | Contains the number of confirmed participants. | TR04.1, TR120, TR121, TR20.1, TR20.2, TR20.3, TR20.4 |
SES-WAITLISTWAITLIST | Numeric 3 | Contains the number of registrants on the wait list. | TR04.1, TR120, TR121, TR20.1, TR20.2, TR20.3, TR20.4 |
SES-REASONREASON | Alpha 10 | Contains the reason the session was canceled. | TR04.1 |
SES-OVERALL-EVALOVERALL_EVAL | Signed 7.2 | Indicates the session's quality or usefulness. | TR04.1, TR04.3 |
SES-OVERLL-EVAL-BSOVERLL_EVAL_BS | Signed 7.2 | Contains the total number upon which the overall evaluation is based. | TR04.1, TR04.3 |
SES-MATERIALS-EVALMATERIALS_EVAL | Signed 7.2 | Indicates the materials' quality or usefulness. | TR04.1, TR04.3 |
SES-MATERL-EVAL-BSMATERL_EVAL_BS | Signed 7.2 | Contains the total number on which the materials evaluation is based. | TR04.1, TR04.3 |
SES-PERPETUALPERPETUAL | Alpha 1 | Indicates whether this is an on-going class.
| TR04.1 |
SES-OBJ-IDOBJ_ID | Numeric 12 | This is the object identifier. It is used to relate commitments or posted transactions back to the originating subsystems. Each subsystem record that is updated as a commitment or posted transaction is assigned an object identifier. The object identifier is maintained in the subsystem files and in the Activity Commitments Detail and Activity Transaction files. The object identifier is a unique key used to drill back from Activity Management to the subsystems. | TR04.1 |
SES-SHORT-DURATIONSHORT_DURATION | Derived | Contains a short form of the duration. Used for the Drill Around feature. | — |
Indexes (3)
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 |
|---|---|---|---|---|
SESSET1 | COURSE, SESSION, START-DATE | Primary | HS50.3, HS50.4, TR04.1, TR04.2, TR04.3, TR09.1, TR11.1, TR120 +14 more | |
SESSET2 | COURSE, START-DATE, SESSION | TR01.1 | ||
SESSET3 | OBJ-ID | TR21.1 |
Relations
One to one (4) — lookups and parents
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Cancel | PCODES | Not Required | "RC" → PCO-TYPE, SES-REASON → PCO-CODE | |
| Cancel Reason | PCODES | Required | When (SES-REASON != Spaces) | "RC" → PCO-TYPE, SES-REASON → PCO-CODE |
| Course Type | PCODES | Required | When (SES-COURSE-TYPE != Spaces) | "CT" → PCO-TYPE, SES-COURSE-TYPE → PCO-CODE |
| Facility | PCODES | Required | When SES-FACILITY != Spaces | "FC" → PCO-TYPE, SES-FACILITY → PCO-CODE |
One to many (9) — child tables
| Relation | Table | Rules | Condition | Field map |
|---|---|---|---|---|
| Cost | PASCOST | Delete Cascades | SES-COURSE → COS-COURSE, SES-SESSION → COS-SESSION, SES-START-DATE → COS-START-DATE, → COS-COST-TYPE, → COS-COST-CAT | |
| Course | PACOURSE | SES-COURSE → CRS-COURSE, → CRS-EFFECTIVE-DATE | ||
| Course Instr | PAINSCOURS | SES-COURSE → INC-COURSE, → INC-INSTRUCT | ||
| Inst Objid | PAINSTSES | SES-OBJ-ID → ISE-OBJ-ID, → ISE-INSTRUCT, → ISE-INSTR-TYPE | ||
| Instructor | PAINSTSES | Delete Cascades | SES-COURSE → ISE-COURSE, SES-SESSION → ISE-SESSION, SES-START-DATE → ISE-START-DATE, → ISE-INSTR-TYPE, → ISE-INSTRUCT | |
| Reg Objid | PAREGISTER | SES-OBJ-ID → REG-OBJ-ID, → REG-COMPANY, → REG-EMPLOYEE | ||
| Register | PAREGISTER | Delete Cascades | SES-COURSE → REG-COURSE, SES-SESSION → REG-SESSION, SES-START-DATE → REG-START-DATE, → REG-COMPANY, → REG-EMPLOYEE | |
| Train Hist | PATRNHIST | SES-OBJ-ID → TRH-OBJ-ID, → TRH-COMPANY, → TRH-EMPLOYEE | ||
| Trng Compet | EMPCODES | SES-OBJ-ID → EPC-OBJ-ID, → EPC-COMPANY, → EPC-EMP-APP, → EPC-EMPLOYEE, → EPC-TYPE, → EPC-CODE |
Programs
Updated by (8)
- TR04.1 Session
- TR04.3 Session Evaluations
- TR120 Group Session Registration
- TR121 Job Code Session Registration
- TR20.1 Session Registration
- TR20.2 Mass Registration
- TR20.3 Session Registration Override
- TR20.4 Employee Session Registration
Referenced by (15)
- HS50.3 Training Courses
- HS50.4 Training Courses
- TR01.1 Course
- TR09.1 Instructor Session
- TR11.1 Session Costs
- TR200 Notification Letter Extract
- TR201 Course Profile
- TR202 Course Catalog Extract
- TR204 Session Listing
- TR207 Instructor Listing
- TR21.1 Employee Training History
- TR22.1 Session Completion
- TR220 Session Roster
- TR221 Session Wait List Listing
- TR26.1 Employee Training Competency Maintenance