Answered by:
Advanced find "NOT" clause

Question
-
Is it possible to do an advanced find query with a NOT have clause...
Basically we would like to be able to find all contacts which have not had an appointment scheduled with them in the last month.
Any suggestions?
Thank you in advance for your help. If you think you may be able to help with any of my unanswered threads please look at them hereWednesday, August 18, 2010 3:57 PM
Answers
-
You cannot do this with an advanced find, but you can workaround with a marketing list. First add all contacts, then use an advanced find to delete all contacts with an appointment...
Or you can build a SQL Reporting Services Report.
Gruß Carsten Groth http://carstengroth.spaces.live.com- Proposed as answer by Mayank Pujara Thursday, August 19, 2010 8:46 AM
- Marked as answer by DavidJennawayMVP, Moderator Friday, September 17, 2010 2:27 PM
Wednesday, August 18, 2010 5:10 PM -
Yes, as Carsten says you need to use marketing list for this. create new contact marketing list then add all the accounts to this marketing list.
Now in marketing list use adavanced find to remove the members options and then remove the account which have got account modified (or actvitity or appointment ) in x days. check this article for the same
http://www.redware.com/mscrm/handbook/microsoft_crm_marketing.html#_Toc193892028
So since these account gets removed you are left with contactwhich are not modified or not have appoinmtnet in last x days.
you can do now advanced find on account and search for contact belonging to this marketing this and this should return required contacts now..
Hope this helps..
MayankP My Blog My twitter- Proposed as answer by Mayank Pujara Thursday, August 19, 2010 11:08 AM
- Marked as answer by DavidJennawayMVP, Moderator Friday, September 17, 2010 2:27 PM
Thursday, August 19, 2010 8:49 AM
All replies
-
There is no 'not' logic in the Advanced find tool.
Jerry http://www.crminnovation.comWednesday, August 18, 2010 4:38 PM -
You cannot do this with an advanced find, but you can workaround with a marketing list. First add all contacts, then use an advanced find to delete all contacts with an appointment...
Or you can build a SQL Reporting Services Report.
Gruß Carsten Groth http://carstengroth.spaces.live.com- Proposed as answer by Mayank Pujara Thursday, August 19, 2010 8:46 AM
- Marked as answer by DavidJennawayMVP, Moderator Friday, September 17, 2010 2:27 PM
Wednesday, August 18, 2010 5:10 PM -
You don't have a field on Contact to check yet. For example you could run an advanced find where the Appointments' Regarding Object does not contain data, but that's the opposite of what you want.
Create a workflow on Activity Creation and a boolean attribute on Contact
Workflow - if activity type = Apppoinment then set Regarding Contact.new_appointmentcreated = yes
Then you'll be able to run the advanced find on Contact.new_appointmentcreated != yes.
You could run a SQL to update existing appointments' regarding contacts to yes.
Thursday, August 19, 2010 3:46 AM -
Yes, as Carsten says you need to use marketing list for this. create new contact marketing list then add all the accounts to this marketing list.
Now in marketing list use adavanced find to remove the members options and then remove the account which have got account modified (or actvitity or appointment ) in x days. check this article for the same
http://www.redware.com/mscrm/handbook/microsoft_crm_marketing.html#_Toc193892028
So since these account gets removed you are left with contactwhich are not modified or not have appoinmtnet in last x days.
you can do now advanced find on account and search for contact belonging to this marketing this and this should return required contacts now..
Hope this helps..
MayankP My Blog My twitter- Proposed as answer by Mayank Pujara Thursday, August 19, 2010 11:08 AM
- Marked as answer by DavidJennawayMVP, Moderator Friday, September 17, 2010 2:27 PM
Thursday, August 19, 2010 8:49 AM