Hi,
I want to replicate the communication history same as support ticket.Support Ticket uses following method for retrieving communication list
var comm_list = wn.model.get("Communication", {"parent":
doc.name, "parenttype":"Support Ticket"})
Trying to do same thing by using
var comm_list = wn.model.get("Communication", {"parent":
doc.name,"parenttype":"Email Inbox"})
but it returns empty result set.
Even though query for above condition returning required results.
select * from `tabCommunication` where parenttype="Email Inbox" and parent="EI/0000000000639";
Please suggest me a solution.