Hi,
On this question only I took some step deep and able to find out one part and need your help on the second half.
This requires a good understanding of Django annotation and subquery features
If you have this thank for reading and helping me in advance
I am facing problem to filter calls on account.contact list which are realted by contact phone no with and calls phone no
can any one help writing this query
On Thu, Jun 6, 2019 at 7:47 PM Devender Kumar <devender@teknikmantra.com> wrote:
Account /Lead Modelaccount_namecontact m2m realtioncontact Modelnamephone Nocalls Modelcaller no # person phone no who is callingagent no # person who is picking the call (CRM user)status <inbound,outbound, missed>timestampdurationcalls model is populated with some third party software and we are map its caller no and agent no their is no direct relationshipI want to get the list of accounts in particular date range with:total no of contact it have ,how many time its contact have calledhow many calls where missed inbound outbound etc--On Thu, Jun 6, 2019 at 4:49 PM Chetan Ganji <ganji.chetan@gmail.com> wrote:Right now its an open ended question.If you post code for your models here, someone can help you.--On Thu, Jun 6, 2019, 4:38 PM Devender Kumar <dev1ender@gmail.com> wrote:Hi,--I am working on CRM project and stuck with REPORTING part.I have Accounts , Lead , contact, Calls ,Concern modulesaccount/Lead can have multiple contactscontacts have multiple calls and concernscalls have different status like Incoming outgoing missed call etcQuestionI need to create a reporting systemIn this I have to give a functionality like solist of accounts with counts of :contacts, total calls,incoming, outgoing etchow can list all this count for a given date ranges calls on all accounts
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1cb5c003-7cbc-4d54-ae5b-21403e543b95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMKMUjtMaEncd6LF1J%2BmgKxA_NpL1FLFz5_UXi_JMLDD%3Du52Vw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALmCJr7ApqHCCsm73t%3DiuvzOYwE44Vh7pcdpH2bNkb-aH015fw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALZ%3DbEL-FcgFqpjJtN9Up0JuOJ4WtO_fVKrPBERSYWKK%2B1r_gQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment