Solved

GI relating cases to emails in the cases

  • 23 February 2023
  • 1 reply
  • 40 views

Userlevel 2
Badge

My team wants a report to show how many emails a customer service rep responds to a day from cases created from our website’s support page, not cases a rep would create on their own. 

 

My plan is to make a GI that has case id’s, and created by, then the emails within those cases which I can filter by rep later, but I’m having a hard time finding the relation between a case and the emails in the case.

 

Does anyone have a good join for this?

icon

Best answer by lauraj46 28 February 2023, 04:22

View original

1 reply

Userlevel 7
Badge +7

Hi @ddickerson ,

I think you should be able join CRSMEmail to CRActivity based on the refnoteid.

And then join CRActivity to CRCase in a similar fashion.  

The SQL would be something like this, which you could replicate in the GI design:

select smemail.subject, crcase.casecd 
from smemail CRSMEmail
join cractivity on CRSMEmail.refnoteid = cractivity.noteid
join crcase on cractivity.refnoteid = crcase.noteid

Hope this helps!

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved