TRN_GRP_ENR_VW

(SQL View)
Index Back

Group Enrollment View

This view is used instead of the TRAINING record to enroll a group of students into a course or course session.

SELECT A.EMPLID ,A.COURSE_START_DT ,A.COURSE ,A.SESSION_NBR ,A.COURSE_TITLE ,A.COURSE_END_DT ,A.INTERNAL_EXTERNAL ,A.SCHOOL_CODE ,A.SCHOOL ,A.DT_NEEDED ,A.ATTENDANCE ,A.STATUS_DT ,A.WAIT_DT ,A.TRAINING_REASON ,A.COURSE_GRADE ,A.LETTER_CD ,A.LETTER_PRINTED_DT ,A.PREREQ_MET ,A.DEPTID ,A.DEMAND_ID ,A.GB_GROUP_ID ,%subrec(TRAININGESP_SBR,A) ,%subrec(TRAININGFRA_SBR,A) ,A.BUSINESS_UNIT ,%subrec(GVT_TREQ_SBR,A) ,A.ATTENDANCE_BK ,A.LETTER_CD_BK ,A.LETTER_PRINT_DT_BK ,A.EMPL_RCD FROM PS_TRAINING A WHERE A.STATUS_DT = ( SELECT MAX(B.STATUS_DT) FROM PS_TRAINING B WHERE B.EMPLID = A.EMPLID AND B.COURSE = A.COURSE)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EMPLID Character(11) VARCHAR2(11) NOT NULL Employee ID

Prompt Table: PERS_SRCH_GBL

2 COURSE_START_DT Date(10) DATE Course Start Date
3 COURSE Character(6) VARCHAR2(6) NOT NULL Course Code

Prompt Table: COURSE_TBL

4 SESSION_NBR Character(4) VARCHAR2(4) NOT NULL Course Session Nbr

Prompt Table: CRSE_SESSN_TBL

5 COURSE_TITLE Character(30) VARCHAR2(30) NOT NULL Course Title
6 COURSE_END_DT Date(10) DATE Course End Date
7 INTERNAL_EXTERNAL Character(1) VARCHAR2(1) NOT NULL Internal/External
E=External
I=Internal

Default Value: E

8 SCHOOL_CODE Character(10) VARCHAR2(10) NOT NULL School Code

Prompt Table: SCHOOL_TBL

9 SCHOOL Character(30) VARCHAR2(30) NOT NULL School Name
10 DT_NEEDED Date(10) DATE Date Needed
11 ATTENDANCE Character(1) VARCHAR2(1) NOT NULL Enrollment/Attendance
A=Currently Attending
C=Completed
D=Dropped
E=Enrolled
I=Incomplete
L=Cancelled
N=No Show
O=Training Request Approved
P=Need for Career Plan
R=Request
S=Session Waitlist
T=Need for Training Program
U=Training Request Authorized
W=Course Waitlist
X=Cancel Request for Training

Default Value: W

12 STATUS_DT Date(10) DATE Status Date

Default Value: %date

13 WAIT_DT Date(10) DATE Waitlist Entry Date
14 TRAINING_REASON Character(2) VARCHAR2(2) NOT NULL Training Reason
CM=Compliance
DV=Development
EN=Enrichment
JR=Job Requirement
LC=License Renewal
MD=Management Discretion
RQ=Requalification
SE=Skill Enhancement
15 COURSE_GRADE Character(3) VARCHAR2(3) NOT NULL Grade
A=A
B=B
C=C
D=D
F=F
FL=Fail
P=Pass
16 LETTER_CD Character(3) VARCHAR2(3) NOT NULL Letter code

Prompt Table: TRN_STD_LTR_VW

17 LETTER_PRINTED_DT Date(10) DATE Date letter was printed
18 PREREQ_MET Character(1) VARCHAR2(1) NOT NULL Prerequisites Met

Y/N Table Edit

Default Value: N

19 DEPTID Character(10) VARCHAR2(10) NOT NULL Department

Prompt Table: DEPT_TBL

20 DEMAND_ID Character(10) VARCHAR2(10) NOT NULL Demand ID

Prompt Table: %RECNAME_EDIT

21 GB_GROUP_ID Character(15) VARCHAR2(15) NOT NULL Group Build ID.
22 DIPLOMA_ESP Character(1) VARCHAR2(1) NOT NULL Accredinting diploma flag

Y/N Table Edit

Default Value: N

23 TRAINING_LEAVE_FRA Character(1) VARCHAR2(1) NOT NULL Training Leave

Y/N Table Edit

Default Value: N

24 TRN_PLN_CATEGORY Character(1) VARCHAR2(1) NOT NULL Feild for Training Plan Category
0=Not Specified
1=Adaptation to Job Changement
2=Job Preservation
3=Skill Development

Default Value: 0

25 PART_TIME_CRSE_FRA Character(1) VARCHAR2(1) NOT NULL Part Time Course

Y/N Table Edit

Default Value: N

26 COST_UNIT_CD Character(10) VARCHAR2(10) NOT NULL Cost Unit

Default Value: H

Prompt Table: DT_COST_UNIT_VW

27 TIME_SPENT_FRA Number(6,1) DECIMAL(5,1) NOT NULL Time spent at training
28 DURATION_CONVERTED Number(6,1) DECIMAL(5,1) NOT NULL Converted Duration
29 TRN_IMPUTABLE_FLG Character(1) VARCHAR2(1) NOT NULL Chargeable

Y/N Table Edit

Default Value: N

30 TRN_DIF_FRA_FLG Character(1) VARCHAR2(1) NOT NULL Field for Training DIF

Y/N Table Edit

Default Value: N

31 TRN_HOURS_FRA Number(3,0) SMALLINT NOT NULL Training Hours
32 TRN_PROF_FLG_FRA Character(1) VARCHAR2(1) NOT NULL Professionalisation Period Flag

Y/N Table Edit

Default Value: N

33 TRN_OUTWRK_FLG_FRA Character(1) VARCHAR2(1) NOT NULL Out of Working Schedule Flag

Y/N Table Edit

Default Value: N

34 TRN_EE_DURATION_SW Character(1) VARCHAR2(1) NOT NULL Radio Button for Training Employee Duration
0=Training Duration from Session
1=Specify Student Duration

Default Value: 0

35 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit

Prompt Table: BUS_UNIT_TBL_HR

36 GVT_TREQ_DATA_REQ Character(1) VARCHAR2(1) NOT NULL Training Request Required

Y/N Table Edit

Default Value: N

37 GVT_TRNG_REQNUM Character(20) VARCHAR2(20) NOT NULL Training Request Number

Default Value: NEW

38 GVT_TREQ_REQ_SEQ Number(4,0) SMALLINT NOT NULL Trn Request Number Sequence
39 GVT_TRNG_REQ_DATE Date(10) DATE Training Request Date

Default Value: %date

40 GVT_TRNG_OBJS Character(254) VARCHAR2(254) NOT NULL Training Objectives
41 GVT_TRN_LOC_IND Character(1) VARCHAR2(1) NOT NULL Training Location Indicator
C=Course Session Table Address
O=Other Address
V=Same asTraining Vendor
42 GVT_DUTY_HRS Number(3,0) SMALLINT NOT NULL Duty Hours
43 GVT_NONDUTYHRS Number(3,0) SMALLINT NOT NULL Non Duty Hours
44 GVT_TC_PURPOSE Character(1) VARCHAR2(1) NOT NULL Training Code Purpose
1=Mission or program Change
2=New Technology
3=New work assignment
4=Improve Present Performance
5=Meet Future Staffing Needs
6=Develop unavailable skill
7=Trade or Craft Apprenticeship
8=Orientation
9=Basic Adult Education
45 GVT_TC_TYPE Character(1) VARCHAR2(1) NOT NULL Training Code Type
1=Executive & Management
2=Supervisory
3=Lgl,Medical,Scientific,Engrng
4=Administration and Analysis
5=Specialty and Technical
6=Clerical
7=Trade or craft
8=Orientation
46 GVT_TC_SOURCE Character(1) VARCHAR2(1) NOT NULL Training Code Source
1=Govt - Agency
2=Govt - Interagency
3=Non-Gvt Design for Agency
4=Non-Gvt Off-Shelf
5=State or Local Gvt
47 GVT_TC_SPECIALINT Character(1) VARCHAR2(1) NOT NULL Training Code Special Interest
0=No Special Program
1=Executive Development
2=Supervision
48 GVT_PURCHASEORDER Character(25) VARCHAR2(25) NOT NULL Document/Purchase Order/Req No
49 GVT_STATION_SYMBOL Character(10) VARCHAR2(10) NOT NULL Station Symbol
50 GVT_BILLING_INSTR Character(254) VARCHAR2(254) NOT NULL Billing Instructions + Invoice
51 GVT_NONGOVTTRNDAYS Number(3,0) SMALLINT NOT NULL Non Government Training Days
52 GVT_DC_APPRFUND Character(90) VARCHAR2(90) NOT NULL Direct Cost Appropriation/Fund
53 GVT_IC_APPRFUND Character(90) VARCHAR2(90) NOT NULL Indirect Cost Appropriatn/Fund
54 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

55 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
56 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
57 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
58 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
59 CITY Character(30) VARCHAR2(30) NOT NULL City
60 NUM1 Character(6) VARCHAR2(6) NOT NULL Number 1
61 NUM2 Character(6) VARCHAR2(6) NOT NULL Number 2
62 HOUSE_TYPE Character(2) VARCHAR2(2) NOT NULL House Type
AB=House Boat Reference
WW=House Trailer Reference
63 ADDR_FIELD1 Character(2) VARCHAR2(2) NOT NULL Address Field 1
64 ADDR_FIELD2 Character(4) VARCHAR2(4) NOT NULL Address Field 2
65 ADDR_FIELD3 Character(4) VARCHAR2(4) NOT NULL Address Field 3
66 COUNTY Character(30) VARCHAR2(30) NOT NULL County
67 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: STATE_TBL

68 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
69 GEO_CODE Character(11) VARCHAR2(11) NOT NULL Geo Code
70 IN_CITY_LIMIT Character(1) VARCHAR2(1) NOT NULL In City Limit

Y/N Table Edit

71 COUNTRY_OTHER Character(3) VARCHAR2(3) NOT NULL Country field for ADDR_OTR_SBR and DERIVED_ADDR_OT

Prompt Table: COUNTRY_TBL

72 ADDRESS1_OTHER Character(55) VARCHAR2(55) NOT NULL Address 1 Other
73 ADDRESS2_OTHER Character(55) VARCHAR2(55) NOT NULL Address 2 Other
74 ADDRESS3_OTHER Character(55) VARCHAR2(55) NOT NULL Address 3 Other
75 ADDRESS4_OTHER Character(55) VARCHAR2(55) NOT NULL Address 4 Other
76 CITY_OTHER Character(30) VARCHAR2(30) NOT NULL City Other
77 COUNTY_OTHER Character(30) VARCHAR2(30) NOT NULL County Other
78 STATE_OTHER Character(6) VARCHAR2(6) NOT NULL State Other

Prompt Table: STATE_OTH

79 POSTAL_OTHER Character(12) VARCHAR2(12) NOT NULL Postal Other
80 NUM1_OTHER Character(6) VARCHAR2(6) NOT NULL Number 1 Other
81 NUM2_OTHER Character(6) VARCHAR2(6) NOT NULL Number 2 Other
82 HOUSE_TYPE_OTHER Character(2) VARCHAR2(2) NOT NULL House Type Other
AB=House Boat Reference
WW=House Trailer Reference
83 ADDR_FIELD1_OTHER Character(2) VARCHAR2(2) NOT NULL Address Field 1 Other
84 ADDR_FIELD2_OTHER Character(4) VARCHAR2(4) NOT NULL Address Field 2 Other
85 ADDR_FIELD3_OTHER Character(4) VARCHAR2(4) NOT NULL Address Field 3 Other
86 IN_CITY_LMT_OTHER Character(1) VARCHAR2(1) NOT NULL In City Limit Other

Y/N Table Edit

87 GEO_CODE_OTHER Character(11) VARCHAR2(11) NOT NULL Geo Code Other
88 VENDOR Character(6) VARCHAR2(6) NOT NULL Vendor ID

Prompt Table: TRN_VENDOR_TBL

89 DESCR Character(30) VARCHAR2(30) NOT NULL Description
90 ATTENDANCE_BK Character(1) VARCHAR2(1) NOT NULL Enrollment/Attendance
A=Currently Attending
C=Completed
D=Dropped
E=Enrolled
I=Incomplete
L=Cancelled
N=No Show
P=Need for Career Plan
R=Request
S=Session Waitlist
T=Need for Training Program
U=Training Request Authorized
W=Course Waitlist
X=Cancel Request for Training
91 LETTER_CD_BK Character(3) VARCHAR2(3) NOT NULL Letter Code
92 LETTER_PRINT_DT_BK Date(10) DATE Date Letter Printed
93 EMPL_RCD Number(3,0) SMALLINT NOT NULL Empl Record

Prompt Table: PER_ORG_ASGN