UPG_KEYWORD3_VW

(SQL View)
Index Back

AR Conversation Keywords


SELECT DISTINCT H.SETID , H.KEYWORD3 FROM PS_CUST_CONVER_HDR H , PS_CUST_CONVER C WHERE %Join(COMMON_KEYS, CUST_CONVER C, CUST_CONVER_HDR H) AND H.KEYWORD1 = ' ' AND H.KEYWORD2 = ' ' AND H.KEYWORD3 <> ' ' AND C.CONVER_SEQ_NUM = 1 AND H.KEYWORD3 NOT IN ( SELECT DISTINCT H2.KEYWORD1 FROM PS_CUST_CONVER_HDR H2 , PS_CUST_CONVER B WHERE %Join(COMMON_KEYS, CUST_CONVER B, CUST_CONVER_HDR H2) AND H2.KEYWORD1 <> ' ' AND B.CONVER_SEQ_NUM = 1) AND H.KEYWORD3 NOT IN ( SELECT DISTINCT H1.KEYWORD2 FROM PS_CUST_CONVER_HDR H1 , PS_CUST_CONVER C1 WHERE %Join(COMMON_KEYS, CUST_CONVER C1, CUST_CONVER_HDR H1) AND H1.KEYWORD1 = ' ' AND H1.KEYWORD2 <> ' ' AND C1.CONVER_SEQ_NUM = 1)

# PeopleSoft Field Name PeopleSoft Field Type Database Column Type Description
1 SETID Character(5) VARCHAR2(5) NOT NULL SetID

Default Value: OPR_DEF_TBL_FS.SETID

Prompt Table: SP_SETID_NONVW

2 KEYWORD1 Character(10) VARCHAR2(10) NOT NULL Keyword