LM_PRG_CI_VW(SQL View) |
Index Back |
---|---|
Program Catalog Item ViewTable of Catalog Items modified for use as a prompt for Program Items |
SELECT C.OPRID , A.LM_CI_ID , A.EFFDT , CASE WHEN A.LM_CI_STATUS = '10' THEN 'A' ELSE 'I' END , A.LM_CRSE_CODE , A.LM_CS_LONG_NM FROM PS_LM_CI_TBL A , PS_LM_CI_LE_TBL B , PS_LM_PERSON_OPRID C , PS_LM_PERSON_ADMIN D , PS_LM_PERSON_ATTRB E WHERE A.LM_CI_ID=B.LM_CI_ID AND A.EFFDT=B.EFFDT AND C.LM_PERSON_ID=D.LM_PERSON_ID AND B.LM_LE_ID=D.LM_LE_ID AND D.LM_PRIMARY='Y' AND E.LM_PERSON_ID = D.LM_PERSON_ID AND %CurrentDateIn BETWEEN E.EFFDT AND E.LM_END_EFFDT AND E.LM_ACTIVE = 'Y' AND E.LM_EMPL_RCD = ( SELECT MIN(B1.LM_EMPL_RCD) FROM PS_LM_PERSON_ATTRB B1 WHERE B1.LM_PERSON_ID = E.LM_PERSON_ID AND B1.LM_ACTIVE = E.LM_ACTIVE AND %CurrentDateIn BETWEEN B1.EFFDT AND B1.LM_END_EFFDT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | OPRID | Character(30) | VARCHAR2(30) NOT NULL | A user's ID (see PSOPRDEFN). |
2 | LM_OBJ_ID | Number(10,0) | DECIMAL(10) NOT NULL | Object ID - This value is relies upon the Object Type. The Object ID will either be the Catalog Item ID or the Learning Objective ID. |
3 | EFFDT | Date(10) | DATE |
Effective Date
Default Value: %date |
4 | EFF_STATUS | Character(1) | VARCHAR2(1) NOT NULL |
Effective Status
A=Active I=Inactive |
5 | LM_CRSE_CODE | Character(30) | VARCHAR2(30) NOT NULL | Course Code - User defined Code |
6 | LM_PRQ_NAME | Character(254) | VARCHAR2(254) NOT NULL | A field used to show the name of a pre-requisite catalog item/objective |