Results 1 to 5 of 5

Thread: Setting up an account with multiple addresses

  1. #1
    bastonian is offline Junior Member
    Join Date
    Feb 2009
    Posts
    2

    Default Setting up an account with multiple addresses

    Hi,
    I am trying to set up a structure where a contact works for a company which have many addresses but are still part of the same company. My current approach is to create a different account for each address then link them up as a memeber of a main account. This works but looks poor and is quite confusing. Is there a way of having a single account record but have a different address for different contacts.

    Thanks for your help

    Jason.

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Setting up an account with multiple addresses

    Hi Jason

    You may consider:
    1. creating a custom module Addresses;
    2. create a relationship 1:M between Contacts and Addresses;
    3. create a relationship 1:M between Accounts and Addresses;
    4. implement the save function on Addresses custom module which fill in account name field when adding an address into a Contact.

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    bastonian is offline Junior Member
    Join Date
    Feb 2009
    Posts
    2

    Default Re: Setting up an account with multiple addresses

    andopes,

    Many thanks. I have the first 3 sorted. Is the save function implemented using the wyswig interface or do I need to write some code?

    Jason.

  4. #4
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Setting up an account with multiple addresses

    Hi Jason

    You need to write some code on Addresses class.
    Have a look on modules/Users/User.php

    Cheers
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  5. #5
    pravin.agham is offline Senior Member
    Join Date
    Sep 2010
    Posts
    64

    Default Re: Setting up an account with multiple addresses

    Hi bastonian,

    If you did with multiple addresses functionality with account, can you just share it with us, so that we can know how you goes..

    Regards,
    Pravin

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Import multiple email addresses
    By dpeastman in forum Help
    Replies: 3
    Last Post: 2010-03-30, 06:54 AM
  2. setting up multiple crms on a domain
    By RapidX in forum General Discussion
    Replies: 2
    Last Post: 2007-01-17, 01:52 PM
  3. Multiple email addresses, how to search?
    By jrinkysugar in forum General Discussion
    Replies: 0
    Last Post: 2006-04-12, 01:54 AM
  4. Inheriting account addresses to contacts
    By treid in forum General Discussion
    Replies: 0
    Last Post: 2005-09-27, 01:18 PM
  5. Multiple line addresses displayed incorrectly
    By spatuality in forum Developer Help
    Replies: 0
    Last Post: 2004-10-01, 04:35 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •