EXT_ORG_VW(SQL View) |
Index Back |
---|---|
External Organization Tbl ViewUse EXT_ORG_TBL to maintain information about organizations. Each organization is assigned an identification number. If the organization is a school or offers courses then it should also be included in the SCHOOL_TBL. When adding an External Organization, you'll be given the opportunity to automatically have it added to the SCHOOL_TBL. |
SELECT A.EXT_ORG_ID , A.EFFDT , A.DESCR , A.OTH_NAME_SORT_SRCH , A.EXT_ORG_TYPE , A.CITY , A.STATE , A.COUNTRY , A.ORG_LOCATION FROM PS_EXT_ORG_PRI_VW A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_EXT_ORG_TBL A1 WHERE A.EXT_ORG_ID = A1.EXT_ORG_ID AND A1.EFFDT = A.EFFDT AND A1.EFFDT <= %CurrentDateIn) AND A.EFF_STATUS = 'A' |
# | 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
Default Value: %DATE |
3 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
4 | OTH_NAME_SORT_SRCH | Character(50) | VARCHAR2(50) NOT NULL | Search Name |
5 | EXT_ORG_TYPE | Character(4) | VARCHAR2(4) NOT NULL |
Organization Type
Default Value: SCHL Prompt Table: SCC_ORG_TYP_TBL |
6 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
7 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
8 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
9 | ORG_LOCATION | Number(3,0) | SMALLINT NOT NULL | Location Nbr |