Results 1 to 2 of 2

Thread: two modules - one table

  1. #1
    alberto_gonzalez is offline Junior Member
    Join Date
    Feb 2012
    Posts
    1

    Wink two modules - one table

    Hi,

    I´m trying to develop two custom modules. First module where you fill de fields and the second module is a first module "view" with some new fileds

    Let me explain
    First module is "Offers Module" and it has all de fileds I need (offer number, item, price ...)
    Second module" Invoice Module" has the first module fields, readonly, and a new field I need.
    So when you create a new offer, in the Invoice module, you can select the offer and automatically appears the fileds you preaviosly fill in Offer Module

    I create same fields in Offer and Invoice module, but I can´t show the data in Invoice fields.
    I create a relatioship between them.

    I tried to join Offer fields ands Invoice Fileds via custom code, but an error occur

    Anybody can help me?

    Thanks in advance

  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: two modules - one table

    I believe the Invoice module will only make sense if your customer wants to go ahead with the negotiation, so you can add a button on Offer DetailView to convert it into an Invoice. So you can copy fields from Offer and fill in some others.

    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.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 7
    Last Post: 2011-12-02, 01:40 PM
  2. Two modules using same table
    By prajeesh in forum Developer Help
    Replies: 3
    Last Post: 2011-10-14, 12:16 PM
  3. Multiple Modules per Database Table
    By drmai in forum Developer Help
    Replies: 4
    Last Post: 2011-10-05, 03:40 PM
  4. create table in modules
    By shamimwilson in forum Help
    Replies: 3
    Last Post: 2009-04-30, 12:40 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
  •