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 »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Function of file loc block?
Pages: [1]

Author Topic: Function of file loc block?  (Read 1737 times)

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Function of file loc block?
October 19, 2009, 08:32:24 am
I am developing an interface that will load customers from a main system to CiviCRM, using the API's. Testing it, I see that no record is added in the file civicrm_loc_block, but that does not happen either when I add a location with a new household in CiviCRM. Can someone explain me what the function of the file civicrm_loc_block is?
thanks!
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

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: Function of file loc block?
October 19, 2009, 08:59:25 am

civicrm_loc_block is used to assign address/phone/email to non contact related civicrm objects

specification civicrm_event and civicrm_domain are the entities that require a location but are not contact objects. Most address/email etc are contact related and hence we've put the FK to a contact object directly in those tables

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

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Function of file loc block?
October 19, 2009, 09:05:02 am
Thanks!
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
Re: Function of file loc block?
March 02, 2015, 04:49:07 am
Is Lobo's answer still current?

Erik Hommel

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1773
  • Karma: 59
    • EE-atWork
  • CiviCRM version: all sorts
  • CMS version: Drupal
  • MySQL version: Ubuntu's latest LTS version
  • PHP version: Ubuntu's latest LTS version
Re: Function of file loc block?
March 02, 2015, 07:13:46 am
As far as I know, yes :-)
Consultant/project manager at EEatWork and CiviCooP (http://www.civicoop.org/)

Erich Schulz

  • I post frequently
  • ***
  • Posts: 142
  • Karma: 5
    • When no-one understands what you are going on about its time to start a blog
  • CiviCRM version: 4.4
  • CMS version: Drupal 7
  • MySQL version: 5.somthing
  • PHP version: 5.3.3
Re: Function of file loc block?
March 02, 2015, 12:53:02 pm
Thanks Erik.


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion »
  • APIs and Hooks (Moderator: Donald Lobo) »
  • Function of file loc block?

This forum was archived on 2017-11-26.