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) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Second Level of Soft Credits?
Pages: [1]

Author Topic: Second Level of Soft Credits?  (Read 785 times)

RobertP

  • Guest
Second Level of Soft Credits?
September 14, 2009, 07:18:13 pm
How can I query for the second level of soft credits?

Here is an example of what I mean:
User A has a personal campaign and gets User B to donate.
Then User B sets up a personal campaign and gets User C to donate.

User A has gotten '1' person involved. The people that User A recruited got another '1' person involved.

I know I can find the first level of soft credit by something like:
SELECT * FROM CIVICRM_CONTRIBUION_SOFT WHERE PCP_ID = 'id of specific pcp'

How can I match User B's pcp to User A's pcp.

Thanks,
Robert

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Second Level of Soft Credits?

This forum was archived on 2017-11-26.