Results 1 to 3 of 3

Thread: How to move data from one module to another?

  1. #1
    truptinijai is offline Member
    Join Date
    Feb 2009
    Posts
    7

    Default How to move data from one module to another?

    Hi Friends,
    I have installed sugarcrm version5 on machine. I have created new module called Order on my sugar.
    My mass data is save in my opportunities section, When my opportunities gets converted to order, I need to move that data into order module.

    My issues is that:

    How to move selected data from one module to another.
    Plz can anybody help me in providing solution for this.

    Regards,
    Trupti

  2. #2
    letrium is offline Sugar Community Member
    Join Date
    Dec 2008
    Posts
    614

  3. #3
    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: How to move data from one module to another?

    Quote Originally Posted by truptinijai View Post
    Hi Friends,
    I have installed sugarcrm version5 on machine. I have created new module called Order on my sugar.
    My mass data is save in my opportunities section, When my opportunities gets converted to order, I need to move that data into order module.

    My issues is that:

    How to move selected data from one module to another.
    Plz can anybody help me in providing solution for this.

    Regards,
    Trupti
    Clarifying what letrium said:

    You need to:
    1. create a logic_hook before_save into Opportunities, which will check if that opportunity had been converted to Order (compare the field in current object and in the existing record on database);
    2. This logic_hook needs to instantiate an object of the Order and set their fields based upon Opportunities field, then you save such object.

    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. How to move data from OnDemand to Community?
    By peteralberti in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2009-02-06, 07:07 AM
  2. Move a module from 4.5 to 5.1.0b
    By bmoore32 in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-11-11, 02:13 PM
  3. Any way to start with fresh install of 5.1 but move data from a 5.0 installation?
    By mcichelli in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2008-10-08, 03:21 PM
  4. Replies: 1
    Last Post: 2008-01-01, 08:03 AM
  5. Replies: 2
    Last Post: 2007-08-22, 04:19 AM

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
  •