Results 1 to 3 of 3

Thread: how to Create 3 field with relationship?

  1. #1
    doulakis is offline Sugar Community Member
    Join Date
    Jan 2012
    Posts
    13

    Default how to Create 3 field with relationship?

    Hello,
    I need to create 3 new field in create acount sugar form.
    price,country and network.
    The price is the price for my product per network per country.
    Each price corresponds to one network/country.


    How can i create this relationships in sugar?

    In essence I need to create one row per price that contain:
    Price (text field), Country (Drop Down List that contains all the countries) and Network (drop down list that contains all the networks of the Country).

    For example i have one customer (account) with this prices:
    Pirce: 0,3E, Country: Greece, Network:Vodafone
    Price2:0,4E Country:USA, Network:AT&T

    Can you Help me please?

    Thanks guys!
    You are the best!

  2. #2
    rafael.q.g@hotmail.com's Avatar
    rafael.q.g@hotmail.com is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Florianópolis - Brazil
    Posts
    782

    Default Re: how to Create 3 field with relationship?

    A solution could be:
    1. Create a custom module
    2. include fields: price, Country, and Network.
    3. Customize this module layouts to display these 3 fields;
    4. Create a relationship one-to-many from accounts to this new module.

    Now from accounts you can create multiple records with these 3 fields.
    Rafael Queiroz Gonçalves
    Advanced OMG UML Certified Professional
    Sun Certified Enterprise Architect for the Java Platform
    Sun Certified Programmer for the Java 2 Platform
    IBM Certified Advanced Application Developer - Lotus Notes and Domino
    IBM Certified Application Developer - IBM WebSphere Portlet Factory
    Computer Science Mastering / UFSC - PPGCC

  3. #3
    doulakis is offline Sugar Community Member
    Join Date
    Jan 2012
    Posts
    13

    Default Re: how to Create 3 field with relationship?

    Thank you for your reply my friend.
    If i have some other Question can i ask you again?

    Best Regards.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Add field to relationship, and circular relationship
    By jhermiz in forum General Discussion
    Replies: 1
    Last Post: 2010-05-04, 08:34 PM
  2. Replies: 1
    Last Post: 2010-04-07, 04:09 PM
  3. Create many-to-many relationship
    By EDUCASTREAM in forum Developer Help
    Replies: 2
    Last Post: 2009-07-21, 08:19 AM
  4. Replies: 2
    Last Post: 2008-03-28, 08:25 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
  •