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 CiviEvent (Moderator: Yashodha Chaku) »
  • Including Contribution fields in the Find Participants export?
Pages: [1]

Author Topic: Including Contribution fields in the Find Participants export?  (Read 2235 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Including Contribution fields in the Find Participants export?
October 07, 2010, 08:53:38 am
When I use the Find Participants tool and do an export, if I select ALL fields, at the end are the very useful Contribution fields (total amount, payment instrument) for the actual financial transaction for the event registration.

However, if I attempt to select fields for export and create a field mapping, the Contribution fields are not available, only these are: Individual, Household, Organization, Participant

Is there a way to include these Contribution fields (which are evidently already in the ALL fields export) in the 'select your own' field options?

Is this a bug, or just a feature that has not yet been created?  Estimates to fix/complete?  Thanks.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

qjensen

  • I post frequently
  • ***
  • Posts: 141
  • Karma: 11
    • Scaled Solutions
  • CiviCRM version: 4.5
  • CMS version: Drupal 7
  • MySQL version: 5.5
  • PHP version: 5.3
Re: Including Contribution fields in the Find Participants export?
October 15, 2010, 11:18:09 am
Custom searches aren't too difficult to build if you know a little SQL. You could create a custom search that returns the fields you want including the Contribution information.

It would be great to see the contribution field available in the field selection options. I don't know how much work it would be to add that...
Quint Jensen
Web Developer
Scaled Solutions
--" Remove the 'I want you to like me' notes from your forehead and place them where they truly will do the most good -- on your mirror!" Author Unknown

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Including Contribution fields in the Find Participants export?
October 15, 2010, 12:03:51 pm
I got an estimate of 6 hours by web access.  i'm going to have them go ahead if it can be added to core
Try CiviTeacher: the online video tutorial CiviCRM learning library.

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: Including Contribution fields in the Find Participants export?
October 15, 2010, 01:20:10 pm

we'll definitely consider this for core for 3.4 / 4.0

depending on the time frame and the number of changes involved, we might be able to add it in a 3.3.x release

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

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: Including Contribution fields in the Find Participants export?
October 16, 2010, 05:02:01 pm
Hi Lobo / Web Access,

If WebAccess are working on this they may be able to share some insight into the LEFT JOINS query.php constructs when getting contribution fields for a participant query since I presume that they will be using that code?

What  I hit was that with the API you get too many contribution records if you asked for contribution_id to be returned on a participant search - i.e if you have

$params('participant_id') =1
$params('return_contribution.id' =1)
participant_get($params}

then Query.php constructs

FROM civicrm_contact LEFT JOIN civicrm_contribution on contact_id LEFT JOIN civicrm_participan on contact_id & gives as many records back as that contact has contributions.

Ideally it would be

FROM civicrm_contact LEFT JOIN civicrm_participan on contact_id LEFT JOIN participant_payment on payment_id LEFT JOIN civicrm_contribution on contribution_id
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Including Contribution fields in the Find Participants export?
August 17, 2011, 12:19:10 pm
Hi Lobo,

Trying do eaxctly what thispost is about and cannot.

My client is interested in finding how much it would cost to get this implemented.

Thanks!

Dallas

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: Including Contribution fields in the Find Participants export?
August 17, 2011, 01:38:53 pm

I dont think we recd a patch for this. hence it never made it into core

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

Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Including Contribution fields in the Find Participants export?
August 23, 2011, 11:16:52 am
So making do with just exporting the results of Find Particpants from any given event and exporting the primary fields.

Question is, what is the difference in Contact Fields such as Address Info and Custom Fields for Contacts that are used for Registration Profiles?

These custom fields are not exported in the "Export Primary Fields" export option.

Two Examples:

Profile Top of Page Collects(Your Contact Info):
First Name (Indvidual, Exported)
Last Name (Individual, Exported)
Address info (Contact, Exported)
Nick Name (Indvidual, Label on profile says "Badge Name", Exported)
Custom Field "Member County" (Contact, NOT Exported -- Not to be confused with State/County Field - Custom Field)
Particpant Note (Participant, Lable on Profile says "Special Needs", NOT Exported)

Profile Bottom of Page Collects (County Reception - Custom Fields):
Number of Guests (Particpant, Not Exported)
Guest Names (Particpant, Not Exported)

I need to get this straightened out so the site can go live. There over 8000 Contact records with some of this data already populated.

Thanks!

Dallas
« Last Edit: August 23, 2011, 12:39:13 pm by Dwiding »

Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Including Contribution fields in the Find Participants export?
August 23, 2011, 08:12:31 pm
I forgot to include that in the Primary Fields Export, the following Contribution fields are included:

Contribution Status
Received Date
Payment Instrument
Transaction ID

IS there anyone who can modify the Export Routine so that when selecting fields to export, that at least these 4 Contribution Fileds are included?

The client REALLY wants just one lsiting report and does not want to go through creating several worksheets, then doing a lookup function to combine every thing into one list Which is what I am working on at the moment).

From looking at the Custom Searches, I don't think that will suffice without even more customizations.

Client is intersted in funding this if reasonable.

Thanks in advance!

Dallas

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: Including Contribution fields in the Find Participants export?
August 24, 2011, 12:25:33 am

hey dallas:

adding those 4 fields to the primary export should be relatively easy. can you please file an issue and we'll try to get this done before the next release. should not take too long

thanx

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

Dwiding

  • I post frequently
  • ***
  • Posts: 165
  • Karma: 8
  • CiviCRM version: 3.3.3
  • CMS version: Joomla 1.5.x
Re: Including Contribution fields in the Find Participants export?
August 24, 2011, 05:18:42 am
Thank you Lobo!

I have to rework 2 of my custom fields so that they are in the primary field export.

WIll file an issue here shortly.

Best!

Dallas

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Including Contribution fields in the Find Participants export?
April 16, 2012, 10:19:23 pm
aaack - does this mean this could have been added back then but didn't just for want of adding a ticket  :(

can i add the ticket? can i, can i
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Including Contribution fields in the Find Participants export?

This forum was archived on 2017-11-26.