LM_ENR_CHRT_LVW(SQL View) |
Index Back |
---|---|
Language RecordPie chart record for related language |
SELECT A.LM_PERSON_ID , C.XLATLONGNAME , SUM(A.COUNT1) , C.LANGUAGE_CD , ' ' FROM PS_LM_ENR_CHART_VW A , PSXLATITEM B , PSXLATITEMLANG C WHERE A.LM_STTS = B.FIELDVALUE AND B.FIELDNAME = 'LM_STTS' AND B.EFFDT = ( SELECT MAX(D.EFFDT) FROM PSXLATITEM D WHERE B.FIELDNAME = D.FIELDNAME AND B.FIELDVALUE = D.FIELDVALUE AND D.EFFDT <= %CurrentDateIn) AND B.FIELDNAME = C.FIELDNAME AND B.FIELDVALUE = C.FIELDVALUE AND B.EFFDT = C.EFFDT GROUP BY A.LM_PERSON_ID , C.XLATLONGNAME, C.LANGUAGE_CD |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | LM_PERSON_ID | Number(15,0) | DECIMAL(15) NOT NULL | ELM Person ID |
2 | XLATLONGNAME | Character(30) | VARCHAR2(30) NOT NULL | Translate Long Name |
3 | COUNT1 | Number(10,0) | DECIMAL(10) NOT NULL | Counter |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR100 | Character(100) | VARCHAR2(100) NOT NULL | Length 100 Description |