LM_OPRID_LE_VW2(SQL View) |
Index Back |
---|---|
OPRID Learning EnvironmentContains the Learning Environment for all OPRIDs |
SELECT A.OPRID , B.LM_LE_ID FROM PS_LM_PERSON_OPRID A , PS_LM_PERSON_ATTRB B WHERE B.LM_PERSON_ID = A.LM_PERSON_ID AND %CurrentDateIn BETWEEN B.EFFDT AND B.LM_END_EFFDT AND B.LM_ACTIVE = 'Y' AND B.LM_EMPL_RCD = ( SELECT MIN(B1.LM_EMPL_RCD) FROM PS_LM_PERSON_ATTRB B1 WHERE B1.LM_PERSON_ID = B.LM_PERSON_ID AND B1.LM_ACTIVE = B.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_LE_ID | Number(10,0) | DECIMAL(10) NOT NULL | Learning Environment ID - System Generated number |