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 CiviCase (Moderator: Dave Greenberg) »
  • CiviCRM cases and phyiscal addresses.
Pages: [1]

Author Topic: CiviCRM cases and phyiscal addresses.  (Read 833 times)

SweetTooth

  • I post occasionally
  • **
  • Posts: 70
  • Karma: 1
  • CiviCRM version: 4.1
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.54
  • PHP version: 5.2.17
CiviCRM cases and phyiscal addresses.
November 13, 2010, 08:53:47 am

Hello,

I have a customer with a specific requirement regarding their case management work and the way it relates to the addressses of the constituents. There is a scenario they wish to cover:

The constituent may book a case regarding for example the house that he/she is currently living in. It could be their housing benefits allowance, for their address in Town ABC.

Later on the constituent moves, to another address, for example outside town ABC to town XYZ.

When the customer does a report, on how many enquiries there has been regarding housing allowance for addresses in Manchester, civicrm needs to be able to take into account, historical address changes.

I understand that there would be different ways to address this issue. Is there anyway I can store the whole address actually on the case, or even on a case activity? I'm guessing that case activity might the easier one as it employs custom fields....the customer has 2 PHP programmers so it would be possible to cut code if that's what it takes.

Thanks!


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: CiviCRM cases and phyiscal addresses.
November 13, 2010, 01:31:24 pm

I suspect caching the address in a custom field(s) of the activity is your best bet in this case.

You can create a custom group that extends activity (of that specific type) and then use a hook to populate the custom field(s) with the current address. All your case reports would use those custom fields for the "housing allowance address" scenario

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviCase (Moderator: Dave Greenberg) »
  • CiviCRM cases and phyiscal addresses.

This forum was archived on 2017-11-26.