CRM 9.0
Tools 8.50
Correspondence management
To find out the email note text for all outbound email interactions from Case:
SELECT A.INTERACTION_ID , D.MSG_TEXT
FROM PS_RI_INTERACTION A , PS_RI_SUB_INTERACT B ,PS_RBC_RECIPIENT C , PS_RBC_RECP_EMAIL D WHERE A.INTERACTION_ID=B.INTERACTION_ID AND C.CMF_ID=D.CMF_ID AND C.INTERACTION_ID=A.INTERACTION_ID AND B.SUBINT_OBJ_TYPE='CASE'
AND A.INTERACTION_MTHD='OEML'
AND B.CASE_ID='1071547'
My personal repository of PeopleSoft related findings. They cover various modules in CRM/HR/PeopleTools and whatever reusable useful information I can find to make my job easy.
Showing posts with label CRM Correspondence Management. Show all posts
Showing posts with label CRM Correspondence Management. Show all posts
Outbound emails from case - with case notes
CRM 9.0
Tools 8.50
This is what you may use to find out the email note text for all outbound email interactions from Case:
SELECT A.INTERACTION_ID , D.MSG_TEXT
FROM PS_RI_INTERACTION A , PS_RI_SUB_INTERACT B ,PS_RBC_RECIPIENT C , PS_RBC_RECP_EMAIL D
WHERE A.INTERACTION_ID=B.INTERACTION_ID
AND C.CMF_ID=D.CMF_ID
AND C.INTERACTION_ID=A.INTERACTION_ID
AND B.SUBINT_OBJ_TYPE='CASE'
AND A.INTERACTION_MTHD='OEML'
AND B.CASE_ID='999999'
Tools 8.50
This is what you may use to find out the email note text for all outbound email interactions from Case:
SELECT A.INTERACTION_ID , D.MSG_TEXT
FROM PS_RI_INTERACTION A , PS_RI_SUB_INTERACT B ,PS_RBC_RECIPIENT C , PS_RBC_RECP_EMAIL D
WHERE A.INTERACTION_ID=B.INTERACTION_ID
AND C.CMF_ID=D.CMF_ID
AND C.INTERACTION_ID=A.INTERACTION_ID
AND B.SUBINT_OBJ_TYPE='CASE'
AND A.INTERACTION_MTHD='OEML'
AND B.CASE_ID='999999'
Subscribe to:
Posts (Atom)