SAD_PB_EX_ORGVW

(SQL View)
Index Back

External Org Search View


SELECT A.EXT_ORG_ID , A.EFFDT , A.DESCR , A.OTH_NAME_SORT_SRCH , A.EXT_ORG_TYPE , A.ADDRESS1 , A.CITY , A.STATE , A.COUNTRY , A.POSTAL FROM PS_EXT_ORG_PRI_VW A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_EXT_ORG_PRI_VW A1 WHERE A.EXT_ORG_ID = A1.EXT_ORG_ID 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
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 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
7 CITY Character(30) VARCHAR2(30) NOT NULL City
8 STATE Character(6) VARCHAR2(6) NOT NULL State

Prompt Table: STATE_NAMES_TBL

9 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country

Prompt Table: COUNTRY_TBL

10 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal