WS_SUB_TOPIC_VW(SQL View) |
Index Back |
---|
SELECT A.SETID , A.CONVER_SUBJECT , A.CONVER_SUB_TOPIC , A.ROLENAME , D.DESCR , A.ACTION_CODE , A.ACTION_OWNER FROM PS_SUBJECT_DTL_TBL A , PS_SUBJECT_HDR_TBL C , PS_SUB_TOPIC_TBL D WHERE A.EFFDT = ( SELECT MAX(B.EFFDT) FROM PS_SUBJECT_DTL_TBL B WHERE A.SETID = B.SETID AND A.CONVER_SUBJECT = B.CONVER_SUBJECT AND A.CONVER_SUB_TOPIC = B.CONVER_SUB_TOPIC AND B.EFFDT<= %CurrentDateIn) AND A.SETID = C.SETID AND A.CONVER_SUBJECT = C.CONVER_SUBJECT AND A.EFFDT = C.EFFDT AND C.EFF_STATUS = 'A' AND A.SETID=D.SETID AND A.CONVER_SUB_TOPIC = D.CONVER_SUB_TOPIC AND A.LOGGED_IN = 'Y' |
# | 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 | CONVER_SUBJECT | Character(30) | VARCHAR2(30) NOT NULL | Conversation Subject |
3 | CONVER_SUB_TOPIC | Character(30) | VARCHAR2(30) NOT NULL | Subject Topic |
4 | ROLENAME | Character(30) | VARCHAR2(30) NOT NULL | The name of a Role in the Role Definition Table (see PSROLEDEFN). |
5 | DESCR | Character(30) | VARCHAR2(30) NOT NULL | Description |
6 | ACTION_CODE | Character(4) | VARCHAR2(4) NOT NULL |
Action Code
ALRT=Alert CALL=Call the Customer CRDT=Review Customer Credit Limit DLTR=Dunning Letter DNGD=Downgrade Credit Rating FEBN=Follow up eBill Note HOLD=Place Customer on Hold OLTR=Send Other Letter POD=Proof of Delivery PRBK=Review Broken Promise Date PRFO=Review Promise Date REFR=Refer to Collection Agency STMT=Send Statement of Account WOFF=Write off Customer Balance |
7 | ACTION_OWNER | Character(30) | VARCHAR2(30) NOT NULL | Action Owner |