EXTORGSCHLVWLNG

(SQL View)
Index Back

External Organization Schl VW

This 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 B , PS_EXT_ORG_TBL C , PS_LS_SCHL_TYP_TBL D WHERE A.EXT_ORG_ID=B.EXT_ORG_ID AND B.EXT_ORG_ID = C.EXT_ORG_ID AND %EffdtCheck(EXT_ORG_TBL C1, C, %CurrentDateIn) AND C.EFFDT = A.EFFDT AND B.LS_SCHOOL_TYPE = D.LS_SCHOOL_TYPE AND D.STDNT_RESP_SCHOOL = 'Y' AND D.EFFDT = ( SELECT MAX(D1.EFFDT) FROM PS_LS_SCHL_TYP_TBL D1 WHERE D.LS_SCHOOL_TYPE = D1.LS_SCHOOL_TYPE)

  • Related Language Record for EXT_ORG_SCHL_VW
  • # 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