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) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviEvent Suggestions (Moderator: Michał Mach) »
  • Price Sets, Refunds, GL Codes, Reports
Pages: [1]

Author Topic: Price Sets, Refunds, GL Codes, Reports  (Read 3301 times)

timbit

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Price Sets, Refunds, GL Codes, Reports
May 11, 2010, 07:38:17 am
Hi Everyone,

I work for the Registered Nurses' Association of Ontario.  We recently deployed CiviCRM to handle registrations to our AGM.  It was a wonderful learning experience which highlighted the power of CiviCRM, but also made us aware of issues we need to address as part of our broader organisational adoption of this system.

The bulk of the problems we ran into surrounded CiviEvent.  We deployed CiviCRM 3.0.3.

We built our fee structure for the AGM using Price Sets.  The event was composed of many different sessions (e.g. luncheon, dinner, meetings, speakers, etc.) and these were build as checkbox selects.  Most of these events were free, but some had a price associated to them.  Also, for the lunch and banquet, attendees could purchase any number of tickets using a text field to enter the quantity.

One of the problems we ran into is that there is no way in CiviEvent to edit the value of the price set for a registration.  When attendees called us to add/remove items from their registration, we had to cancel and manually re-enter their registration.

Another problem is that there is currently no way to search against the values in a price set.  For example, we wanted to create a lists for each session (e.g. dinner).  Some details about what the user selected are stored in the fee_level field, however, using search builder, I was unable to build a query to retrieve values.  One problem is that fee_level is cut-off at 255 characters.  Another is that the search builder simply doesn't work for this field (bug??).  I tried searching for values using the LIKE operator on the values surrounded by % (e.g. %Luncheon%).

Finally, we needed more control over special pricing and financial reporting.  Some of the attendees received one or more free lunch/dinner tickets.  Some of the attendees requested refunds on their registrations. We processed refunds as a CiviContribute entry.  However, when we later tried to generate financial reports, we had to manually figure out what each refund was for.  Each paid session had a different GL code, so we needed to know exactly where the money was going.

Despite the above, CiviCRM was a step forward for us.  We are keen to help improve CiviCRM by addressing these issues.  I posted to the blog yesterday (http://civicrm.org/blogs/xavier/civievent-improvments-suggestions#comment-4538), and this is my follow-up to Dave's comment.  I'd like to help flesh-out the requirements, and we have development resources here at the RNAO that can help with implementation.

What is the next step here?  I have never contributed to an open-source project before, so any guidance would be greatly appreciated.

Thanks!

Tim

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Price Sets, Refunds, GL Codes, Reports
May 11, 2010, 01:03:40 pm
Hi Tim,
Super exciting to hear about your interest in helping take Price Sets functionality to "the next level". The functionality that you're looking to add will be quite useful for lots of folks. Good news is the existing data model already supports most (all?) of the features below :-)

The general flow contributing a new set of functionality is ...:
1. Create detailed requirements documentation. Based on your bullet points below, this should include:
   * description of the UI for editing price set data for an existing event registration record - including screenshot of a mockup ideally
   * description of the processing rules when price set data is updated and there is an existing payment (e.g. contribution record)
   * description of UI and processing rules for refund handling (if you want to implement this in a more integrated manner)
   * description of search/reporting requirements - on first look, it seems like most of what you need could be handled well by one or two new reports. describing (and potentially mocking up) the filter criteria needed and the output rows could help determine if a custom search OR a new report OR both are needed. 

NOTE: The main reason that editing of event reg records is not allowed when there's an associated payment that the issue of how to handle associated payment records  (contribution + financial trxn) needs to be resolved. Your 'proposal' should include a recommended approach which can then be shared / discussed with others in the community who use CiviEvent and have an interest in moving this forward.

NOTE: If you haven't dug into the data model for storing paid registrations with price set data - that would be good to do upfront. You can do this by creating a simple price set and 'registering a contact' on a test site (s/b running the latest CiviCRM release). Then examining the affected DB tables: civicrm_participant, civicrm_participant_payment, civicrm_contribution, civicrm_line_item (this table stores 'price set purchases' for each participant in a structured way and will be important to impementing improved search / reporting functions).

2. Post the requirements doc on the wiki under this page:
http://wiki.civicrm.org/confluence/display/CRM/Currently+active+projects

3. Write a blog post describing the project (problems you're solving) at a high level and link to wiki page - asking for feedback. Adjust requirements doc as needed based on relevant community and core team feedback.

4. Work with core team to determine how this project fits into release schedule, and post implementation specifications as issues in the issue tracker. Actual code can be attached as patches to the issues, or potentially committed to an svn branch.

Throughout the process, your developers can consult with core team folks as well as other experienced civi developers via IRC. We can also arrange some Skype chats if needed to consult on design or help folks get oriented. There is also the option of having the core team doing some of this as a sponsored project if RNAO has budget for that and it makes sense based on available resources. Our consulting contract info is here: http://wiki.civicrm.org/confluence/display/CRM/CiviCRM+Consulting+Rate+Sheet

Ping me at dave @ civicrm dot org if you want to set up a phone call to discuss further.

(FYI - the fee_level column in civicrm_event table is now a 'text' field - so the 255 char limit problem is already resolved )
Protect your investment in CiviCRM by  becoming a Member!

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: Price Sets, Refunds, GL Codes, Reports
May 12, 2010, 11:26:36 pm
Does the Custom Search Eileen put together provide any thing that is useful in your use case?

» Price Set Details for Event Participants

/civicrm/contact/search/custom?csid=9&reset=1
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

timbit

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Price Sets, Refunds, GL Codes, Reports
May 14, 2010, 08:23:45 am
Quote from: peterd on May 12, 2010, 11:26:36 pm
Does the Custom Search Eileen put together provide any thing that is useful in your use case?

» Price Set Details for Event Participants

/civicrm/contact/search/custom?csid=9&reset=1

Interesting that you ask. When we stumbled across that page (and I literally mean stumbled, it's well burried) we initially thought we'd found a solution to our problem.

Unfortunately we later discovered that this data was unusable for our purposes.  The reason being that the bulk of our attendees only signed up for free events.  Because of this, they didn't have a CiviContribute record (in the civicrm_contribution table), and as such, no associated civicrm_line_item rows for these "free" selections.  These registrations were only recorded with a CiviEvent record (in the civicrm_participant table).  The sub-events selected were stored as text in the fee_level column (which made things interesting for registrations that required more than 255 characters to store this data).

Given the tight timeline I didn't have the chance to explore creating CiviContribute records for $0 registrations.  This could have made the search you are referring to a lot more useful for us as it would have captured all registrations.  It would still be nice though to be able to write much more specific searches so that we could have easily created lists for each sub-event at our AGM.

timbit

  • I’m new here
  • *
  • Posts: 6
  • Karma: 0
Re: Price Sets, Refunds, GL Codes, Reports
May 14, 2010, 08:26:58 am
Quote from: Dave Greenberg on May 11, 2010, 01:03:40 pm
Hi Tim,
Super exciting to hear about your interest in helping take Price Sets functionality to "the next level". The functionality that you're looking to add will be quite useful for lots of folks. Good news is the existing data model already supports most (all?) of the features below :-)

[snip]

Ping me at dave @ civicrm dot org if you want to set up a phone call to discuss further.

Thanks for this Dave.  I will start talks within the RNAO.  This is definitely a feature we require, and we'd like to run registrations for next year's AGM using CiviCRM again.

tahirramzan

  • I post occasionally
  • **
  • Posts: 51
  • Karma: 1
  • CiviCRM version: 4.4.4
  • CMS version: Drupal
  • MySQL version: 5.6
  • PHP version: 5.4
Re: Price Sets, Refunds, GL Codes, Reports
April 30, 2015, 05:12:59 am
Respected community,

I am working on the development of “Refunds and Partial Payment Module” for CiviCRM, I am requesting that please go through this forum discussion and contribute your valuable feedback:

http://forum.civicrm.org/index.php/topic,32411.0.html

Thanks in anticipation
Regards

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Feature Requests and Suggestions »
  • CiviEvent Suggestions (Moderator: Michał Mach) »
  • Price Sets, Refunds, GL Codes, Reports

This forum was archived on 2017-11-26.