RS_XS_SO_ADDR(SQL View) |
Index Back |
---|---|
SO Address |
SELECT B.BUSINESS_UNIT , B.SO_ID , B.SO_LINE , %Upper(C.CITY) , C.STATE , D.COUNTRY_2CHAR , C.POSTAL FROM PS_RS_SO_HDR A , PS_RS_SO_LINE B , PS_CUST_ADDR_EF_VW C , PS_COUNTRY_TBL D WHERE A.BUSINESS_UNIT = B.BUSINESS_UNIT AND A.SO_ID = B.SO_ID AND B.SO_LINE_STATUS = 'O' AND B.ADDRESS_SEQ_NUM = C.ADDRESS_SEQ_NUM AND C.SETID = A.CUST_SETID AND C.CUST_ID = A.CUST_ID AND D.COUNTRY = C.COUNTRY AND A.SYSTEM_SOURCE = 'RS' AND A.SO_ID IN ( SELECT SO_ID FROM PS_RS_SO_STAT_VW1 G WHERE G.BUSINESS_UNIT = A.BUSINESS_UNIT) |
# | PeopleSoft Field Name | PeopleSoft Field Type | Database Column Type | Description |
---|---|---|---|---|
1 | BUSINESS_UNIT | Character(5) | VARCHAR2(5) NOT NULL | Business Unit |
2 | SO_ID | Character(15) | VARCHAR2(15) NOT NULL | Service Order ID |
3 | SO_LINE | Number(3,0) | SMALLINT NOT NULL | Line Number |
4 | CITY | Character(30) | VARCHAR2(30) NOT NULL | City |
5 | STATE | Character(6) | VARCHAR2(6) NOT NULL | State |
6 | COUNTRY | Character(3) | VARCHAR2(3) NOT NULL | Country |
7 | POSTAL | Character(12) | VARCHAR2(12) NOT NULL | Postal |