CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Dedupe between organisations and individuals
Pages: [1]

Author Topic: Dedupe between organisations and individuals  (Read 2898 times)

idmacdonald

  • I post occasionally
  • **
  • Posts: 69
  • Karma: 1
Dedupe between organisations and individuals
May 10, 2013, 04:14:34 am
Hi,

A client of ours has asked about whether it's possible to run duplicate contact rules that span organisations as well as individuals. The main case that they want to search for is where an individual and an organisation have the same email address. I don't see a way to use a dedupe rule across different contact types, but maybe I'm missing something. Is this possible, or shall I instead see about creating a report or even just running a query directly on the civicrm_email table to produce a list of contacts that share an email address?

Many thanks,
-Ian Macdonald
 GreenNet

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Dedupe between organisations and individuals
May 10, 2013, 07:11:57 am

You'll need to do this via the custom report / search

might also want to check if u can merge a individual and an organization

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Dedupe between organisations and individuals
May 10, 2013, 04:44:57 pm
Currently organizations and individuals cannot be merged, afaik.
It can be done with direct sql statements, but be careful with this. In most cases you'd want to add an "employee" relationship between the individual and the org, not merge them into a single record.
Try asking your question on the new CiviCRM help site.

kharding

  • I post occasionally
  • **
  • Posts: 75
  • Karma: 4
  • CiviCRM version: 4.2.7
  • CMS version: Drupal 7
  • MySQL version: Recent
  • PHP version: 5.3.16
Re: Dedupe between organisations and individuals
May 10, 2013, 09:29:00 pm
One "use-case" of a merge between organization and individual is if you're processing inbound emails to activities - imagine that an inbound email came from an email address associated with an organization; CiviCRM right now only seems to check against individuals, doesn't find one, so it creates a new contact.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Dedupe between organisations and individuals

This forum was archived on 2017-11-26.