LM_ACT_RS_AT_VW

(SQL View)
Index Back

View For Activity Roster

View containing person, activity,and enrollment details

SELECT DISTINCT A.LM_ACT_ID ,A.LM_ENRLMT_ID ,A.LM_STTS ,A.LM_ATT_VAL_ID ,A.LM_GRADE_VAL_ID ,A.LM_PASS_VAL_ID FROM PS_LM_ENRLMT A , PS_LM_PERSON_ATTRB B WHERE A.LM_PERSON_ID = B.LM_PERSON_ID AND (B.LM_EMPL_RCD = A.LM_EMPL_RCD OR (B.LM_EMPL_RCD <> A.LM_EMPL_RCD AND NOT EXISTS ( SELECT 'X' FROM PS_LM_PERSON_ATTRB C WHERE C.LM_PERSON_ID = A.LM_PERSON_ID AND C.LM_EMPL_RCD = A.LM_EMPL_RCD))) AND %EffdtCheck(LM_PERSON_ATTRB,B,%CurrentDateIn) AND B.LM_ACTIVE = 'Y' AND A.LM_STTS <> 'PLAN' AND NOT (A.LM_OLD_STTS = 'PLAN' AND A.LM_STTS = 'CANC')

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 LM_ACT_ID Number(10,0) DECIMAL(10) NOT NULL Activity ID
2 LM_ENRLMT_ID Number(10,0) DECIMAL(10) NOT NULL Enrollment ID
3 LM_STTS Character(4) VARCHAR2(4) NOT NULL Enrollment Status
CANC=Dropped
COMP=Completed
DECL=Denied
ENRL=Enrolled
INCO=Not Completed
INPO=In-Progress
MACT=Moved to New Activity
NOTS=Not Started
PEAP=Pending Approval
PEPA=Pending Payment
PLAN=Planned
PPYA=Payment Approval
RQST=Learning Request
WAIV=Waived
WTLT=Waitlisted
4 LM_ATT_VAL_ID Number(10,0) DECIMAL(10) NOT NULL Attendance Scheme Value Id. This will identify the combination of User Label / Attendance uniquely
5 LM_GRADE_VAL_ID Number(10,0) DECIMAL(10) NOT NULL This will uniquely identify the combination of User Label / Grade value.
6 LM_PASS_VAL_ID Number(10,0) DECIMAL(10) NOT NULL Passing Scheme Value ID