FS_GIS_TASK_WW

(SQL View)
Index Back

GIS task view

GIS task view FS_GIS_TASK_VW depends on this view Oracle does not support subquery in outer join

SELECT A.BUSINESS_UNIT , A.WO_ID , A.WO_TASK_ID , S.SETID , B.LOCATION , B.EFFDT , B.ADDRESS1 , B.ADDRESS2 , B.ADDRESS3 , B.ADDRESS4 , B.CITY , B.STATE , B.POSTAL , B.COUNTRY , D.COUNTRY_2CHAR , C.LONGITUDE , C.LATITUDE FROM PS_WM_WO_TSK A LEFT OUTER JOIN PS_SET_CNTRL_REC S ON A.BUSINESS_UNIT_AM = S.SETCNTRLVALUE AND S.REC_GROUP_ID = 'FS_26' AND S.RECNAME ='LOCATION_TBL' LEFT OUTER JOIN PS_LOCATION_TBL B ON B.SETID = S.SETID AND B.LOCATION = A.ASSET_LOCATION LEFT OUTER JOIN PS_AM_LOCATION_TBL C ON C.SETID = B.SETID AND C.LOCATION = B.LOCATION AND C.EFFDT = B.EFFDT LEFT OUTER JOIN PS_COUNTRY_TBL D ON B.COUNTRY = D.COUNTRY

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 BUSINESS_UNIT Character(5) VARCHAR2(5) NOT NULL Business Unit
2 WO_ID Character(10) VARCHAR2(10) NOT NULL Work Order Identification
3 WO_TASK_ID Number(5,0) INTEGER NOT NULL Task Number
4 SETID Character(5) VARCHAR2(5) NOT NULL SetID
5 LOCATION Character(10) VARCHAR2(10) NOT NULL Location Code
6 EFFDT Date(10) DATE Effective Date

Default Value: %date

7 ADDRESS1 Character(55) VARCHAR2(55) NOT NULL Address 1
8 ADDRESS2 Character(55) VARCHAR2(55) NOT NULL Address 2
9 ADDRESS3 Character(55) VARCHAR2(55) NOT NULL Address 3
10 ADDRESS4 Character(55) VARCHAR2(55) NOT NULL Address 4
11 CITY Character(30) VARCHAR2(30) NOT NULL City
12 STATE Character(6) VARCHAR2(6) NOT NULL State
13 POSTAL Character(12) VARCHAR2(12) NOT NULL Postal
14 COUNTRY Character(3) VARCHAR2(3) NOT NULL Country
15 COUNTRY_2CHAR Character(2) VARCHAR2(2) NOT NULL 2-Char Country Code
16 LONGITUDE Signed Number(12,7) DECIMAL(10,7) NOT NULL Longitude
17 LATITUDE Signed Number(12,7) DECIMAL(10,7) NOT NULL Latitude