EXT_ORG_SF_VW2(SQL View) |
Index Back |
---|---|
External Organization It 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 DISTINCT A.BUSINESS_UNIT , B.EXT_ORG_ID , B.DESCR , B.OTH_NAME_SORT_SRCH , B.EXT_ORG_TYPE , B.CITY , B.STATE , B.COUNTRY , B.ORG_LOCATION FROM PS_BUS_UNIT_TBL_SF A , PS_EXT_ORG_PRI_VW B , PS_ACCOUNT_ORG_SF C WHERE A.BUSINESS_UNIT = C.BUSINESS_UNIT AND B.EXT_ORG_ID = C.EXT_ORG_ID AND B.EFFDT = ( SELECT MAX(B1.EFFDT) FROM PS_EXT_ORG_TBL B1 WHERE B.EXT_ORG_ID = B1.EXT_ORG_ID AND B1.EFFDT <= %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL |
Business Unit
Default Value: OPR_DEF_TBL_CS.BUSINESS_UNIT |
2 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL |
External Org ID
Default Value: 0 Prompt Table: EXT_ORG_TBL |
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 |