Contact 1 is an Individual subtype. Contact2 is an existing organization sub-type. Contact1 Shares address of Contact 2. On form submission a Relationship "Contact 1 is an Employee of Contact2" gets created even if no such relationship is set up.
Contact 1 is an Individual subtype. Contact2 is an existing organization sub-type. Contact1 Shares address of Contact 2. On form submission a Relationship "Contact 1 is an Employee of Contact2" gets created even if no such relationship is set up.
Comments
Comment #1
pankaj01 commentedOk let me rephrase it.
Scenario: I have created a webform that uses 2 contacts. Contact1 is a subtype of Individual( Visitor). On each form submission a new Visitor is created.
Contact2 is an Organization subtype. It is an existing organization. I want to use the Contact2's Organization address as a second address (of type 'work') of Contact1.
Issue: Even though I am not creating any kind of relationship, I see that on from submission a relationship of type "Employee of " gets created between 'visitor' and organization.
Comment #2
petednz commentedcheck this directly on civicrm - i think that creating an individual who shares an Orgs address creates the relationship - so maybe nothing to do with the webform
Comment #3
colemanw commentedCorrect. This is core civicrm functionality.
Comment #4
pankaj01 commentedPosted this topic in Civicrm Forum
http://forum.civicrm.org/index.php/topic,28537.0.html