RGN_O_Z_VW_LNG(SQL View) |
Index Back |
---|---|
Rel Lang Vw - REGN_ORG_ZIP_VWThis view uses REGION_ZIP_VW to retrieve the external organizations where the zipcode is between the ranges below the region on the Region Tree. It is used as a prompt on the recruiter tables. |
SELECT DISTINCT A.SETID , A.REGION , D.EXT_ORG_ID , D.LANGUAGE_CD , D.DESCR FROM PS_REGION_ZIP_VW A , PS_EXT_ORG_TBL B , PS_ORG_LOCATION C , PS_EXT_ORG_LANG D WHERE B.EXT_ORG_ID = C.EXT_ORG_ID AND B.ORG_LOCATION = C.ORG_LOCATION AND %EffdtCheck(ORG_LOCATION C1 , C , %CurrentDateIn) AND B.EXT_ORG_ID = D.EXT_ORG_ID AND B.EFFDT = D.EFFDT AND C.POSTAL <> ' ' AND C.COUNTRY %Concat C.POSTAL BETWEEN A.RANGE_FROM AND A.RANGE_TO AND %EffdtCheck(EXT_ORG_TBL B1, B, %CurrentDateIn) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | SETID | Character(5) | VARCHAR2(5) NOT NULL |
SetID
Prompt Table: SETID_TBL |
2 | REGION | Character(10) | VARCHAR2(10) NOT NULL |
Region
Prompt Table: REGION_TBL |
3 | EXT_ORG_ID | Character(11) | VARCHAR2(11) NOT NULL |
External Org ID
Prompt Table: EXT_ORG_TBL |
4 | LANGUAGE_CD | Character(3) | VARCHAR2(3) NOT NULL | Language Code |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |