ORG_LOC_ALL

(SQL View)
Index Back

Distinct Org Locations

Distinct Org Locations

SELECT DISTINCT A.EXT_ORG_ID , A.ORG_LOCATION FROM PS_ORG_LOCATION A WHERE A.EFFDT = ( SELECT MAX(A1.EFFDT) FROM PS_ORG_LOCATION A1 WHERE A.EXT_ORG_ID = A1.EXT_ORG_ID AND A.ORG_LOCATION = A1.ORG_LOCATION)

# 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_LOCATION Number(3,0) SMALLINT NOT NULL Location Nbr