EXTORGSCHLV2LNG(SQL View) |
Index Back |
---|---|
External Organization Schl VWThis view shows all the external organizations with school types specified in the 'SCHOOL_TYPE_TBL' record. |
SELECT A.EXT_ORG_ID , A.EFFDT , A.LANGUAGE_CD , A.DESCR FROM PS_EXT_ORG_LANG A , PS_EXT_ORG_TBL_ADM D , PS_EXT_ORG_TBL C , PS_LS_SCHL_TYP_TBL B WHERE A.EXT_ORG_ID=D.EXT_ORG_ID AND D.LS_SCHOOL_TYPE = B.LS_SCHOOL_TYPE AND B.STDNT_RESP_SCHOOL = 'Y' AND B.EFFDT = ( SELECT MAX(EFFDT) FROM PS_LS_SCHL_TYP_TBL C WHERE C.LS_SCHOOL_TYPE = B.LS_SCHOOL_TYPE) AND D.EXT_ORG_ID = C.EXT_ORG_ID AND %EffdtCheck(EXT_ORG_TBL C1, C, %CurrentDateIn) AND C.EFFDT = A.EFFDT |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL |
External Org ID
Default Value: 0 Prompt Table: EXT_ORG_TBL |
2 | EFFDT | Date(10) | DATE | Effective Date |
3 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
4 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |