ORG_DEPT_ALL

(SQL View)
Index Back

Org Contacts

All Contacts for an Organization regardless of EFFDT or EFF_STATUS

SELECT DISTINCT A.EXT_ORG_ID , A.ORG_DEPARTMENT FROM PS_ORG_DEPT A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ORG_DEPT A1 WHERE A.EXT_ORG_ID = A1.EXT_ORG_ID AND A.ORG_DEPARTMENT = A1.ORG_DEPARTMENT)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 EXT_ORG_ID Character(11) VARCHAR2(11) NOT NULL External Org ID

Prompt Table: EXT_ORG_TBL

2 ORG_DEPARTMENT Number(3,0) SMALLINT NOT NULL Department Nbr