EXT_ORG_SRCH1(SQL View) |
Index Back |
---|---|
Ext Org ViewIt includes ID with Inactive current status. This view is used as search record for the following components : EXT_ORG_CNTCT_SUMM, EXT_ORG_DEPT_SUM, EXT_ORG_LOC_SUM, ORGANIZATIONS, ORGANIZATIONS_OUAC |
SELECT A.EXT_ORG_ID , A.EFFDT , A.DESCR , A.OTH_NAME_SORT_SRCH , A.EXT_ORG_TYPE , B.ATP_CD , B.FICE_CD , A.CITY , A.STATE , A.COUNTRY FROM PS_EXT_ORG_PRI_VW A LEFT OUTER JOIN PS_EXT_ORG_TBL_ADM B ON A.EXT_ORG_ID = B.EXT_ORG_ID AND A.EFFDT = B.EFFDT 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 <= %CurrentDateIn) |
# | 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 | ATP_CD | Character(6) | VARCHAR2(6) NOT NULL | ATP Code |
7 | FICE_CD | Character(6) | VARCHAR2(6) NOT NULL | FICE Code |
8 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
9 | STATE | Character(6) | VARCHAR2(6) NOT NULL |
State
Prompt Table: STATE_NAMES_TBL |
10 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL |
Country
Prompt Table: COUNTRY_TBL |