LM_MLPRG_DUE_VW(SQL View) |
Index Back |
---|---|
Mandatory Due DateMandatory Due Date |
SELECT A.LM_PRG_ID ,A.LM_PERSON_ID ,A.LM_DUE_DT_MTHD , MIN(A.LM_DUE_DATE) FROM PS_LM_RGSTN_ML_VW A WHERE A.LM_DUE_DT_MTHD = 'DT' AND NOT EXISTS( SELECT 'X' FROM PS_LM_RGSTN_ML_VW B WHERE A.LM_PRG_ID=B.LM_PRG_ID AND A.LM_PERSON_ID=B.LM_PERSON_ID AND B.LM_DUE_DT_MTHD='LP') GROUP BY A.LM_DUE_DT_MTHD ,A.LM_PRG_ID ,A.LM_PERSON_ID UNION SELECT A.LM_PRG_ID ,A.LM_PERSON_ID ,'LP' , MIN(A.LM_DUE_DATE) FROM PS_LM_RGSTN_ML_VW A WHERE A.LM_DUE_DT_MTHD = 'DT' AND EXISTS( SELECT 'X' FROM PS_LM_RGSTN_ML_VW B WHERE A.LM_PRG_ID=B.LM_PRG_ID AND A.LM_PERSON_ID=B.LM_PERSON_ID AND B.LM_DUE_DT_MTHD='LP') GROUP BY A.LM_DUE_DT_MTHD ,A.LM_PRG_ID ,A.LM_PERSON_ID |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LM_PRG_ID | Number(10,0) | DECIMAL(10) NOT NULL | Program ID is a unique identifier for curriculum and certification Programs. |
2 | LM_PERSON_ID | Number(15,0) | DECIMAL(15) NOT NULL | ELM Person ID |
3 | LM_DUE_DT_MTHD | Character(2) | VARCHAR2(2) NOT NULL |
Due date method
DT=Date LP=Learning Period |
4 | LM_DUE_DATE | Date(10) | DATE | Due Date |