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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • importing to organization_name field
Pages: [1]

Author Topic: importing to organization_name field  (Read 1109 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
importing to organization_name field
July 10, 2008, 02:30:32 pm
Is there a way to put data into the organization name field in civicrm_contact? I'm using 2.0.2, perhaps this has been fixed since then...
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

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: importing to organization_name field
July 10, 2008, 02:56:01 pm

joe:

the organization type uses the organization_name field in 2.0. The other types do not use it

in 2.1, we've made 2 fixes:

a. we've added a new FK called "employer_id" which will point to the contacts most recent active employer (which is maintained via the relatioship "Employee Of"
b. we cache the "organization_name" of the "employer_id" contact in the individual's organization_name field. This simplifies a lot of things
c. This field cannot be edited directly for an individual record. However if u import and individual with an org and an employee relatioship it should get populated

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

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: importing to organization_name field
July 10, 2008, 03:06:46 pm
Thanks, I was expecting to be able to avoid creating a separate contact for the organization when I just had its name as the employer. But it is cleaner to store title and a relationship to a separate organizational contact record.

Cheers,
Joe
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • importing to organization_name field

This forum was archived on 2017-11-26.