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 CiviMember (Moderator: Deepak Srivastava) »
  • how to have multiple relationship types for one membership type?
Pages: [1]

Author Topic: how to have multiple relationship types for one membership type?  (Read 677 times)

daveatkins

  • I post occasionally
  • **
  • Posts: 68
  • Karma: 2
  • CiviCRM version: 4.1.6
  • CMS version: Drupal 6.28
  • MySQL version: 5.1.41
  • PHP version: 5.2.10
how to have multiple relationship types for one membership type?
March 06, 2012, 07:20:44 am
The system we have was set up with memberships passing from organizations to employees. But this is not sophisticated enough. We also want to connect individual consultants who have a different employer to be members.

Members are defined as all employees of certain organizations and all individuals who are consultant to those organizations, regardless of their employer.

Is there a way to configure a membership type to include two relationship types?

NASACT

  • I post frequently
  • ***
  • Posts: 289
  • Karma: 9
    • National Association of State Auditors, Comptrollers and Treasurers
  • CiviCRM version: 4.2.2
  • CMS version: Drupal 7
  • MySQL version: 5.1.58 (ubuntu)
  • PHP version: 5.3.5
Re: how to have multiple relationship types for one membership type?
March 09, 2012, 08:09:58 am
Sure can.

Create new relationship type for consultant say A-B is "Consulted By" (A is Organization and B is Individual) and B-A would be "Consultant Of"

Then your membership would also have to change too. Now if relationships for membership type is already defined then I'm not sure what the best way to go about making a mass change is as I asked this very question in my most recent post since I needed to add a relationship type I forgot for a membership relationship type and already have members for that type.

The key here for you is that the membership relationship type will be both "Employee Of" and the above Consultant Of" to inherit the membership properly, you can select more than one when first creating the membership type, once a membership has been assigned this type the problem is getting the extra relationship into it. The problem you have is that you will have to deal with existing memberships.  Look to my post when someone replies to it for the answer to this key part.
-AJ
My GChat - azon21@gmail.com -  This is where you can find me most days!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • how to have multiple relationship types for one membership type?

This forum was archived on 2017-11-26.