Results 1 to 2 of 2

Thread: Populate MySQL and Oracle at same time?

  1. #1
    leowolff is offline Sugar Community Member
    Join Date
    Apr 2009
    Posts
    126

    Default Populate MySQL and Oracle at same time?

    Hello, we have another system that will need to load the clients registered in the accounts module on Sugar, right now he loads it from another oracle source, but we want to change it to Sugar soon. One idea given by our IT guy was to make Sugar to save the info on both tables when a new account is created, I mean, once account saved button is clicked it will populate the MySQL account table and an Oracle account table, is it possible?

    Btw, we dont have the source of the system that need to read the info, for this reason we are trying to force Sugar to save in the same place.
    Regards,

    SugarCRM CE v.5.2.0c
    Windows platform
    MySQL v.5.0.37
    phpMyAdmin - 2.11.2.2
    Apache Server v.2.0

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: Populate MySQL and Oracle at same time?

    Yes, it is possible to do that.

    Perhaps the most transparent way of accomplishing the task would be to create an after_save logic hook that runs custom code that copies the data into the Oracle system upon the record being added into Sugar.

    See the developers site for further information on logic hooks: http://developer.sugarcrm.com

    A brief example of one can also be found on my blog: http://cheleguanaco.blogspot.com/200...k-example.html
    Regards,

    Angel Magaņa
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Migrating from Oracle to MySQL
    By dking@fulcrm.com in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-04-23, 05:03 PM
  2. Time Slips/Time Tracking/Time Logging etc.
    By David7 in forum General Discussion
    Replies: 1
    Last Post: 2009-04-08, 10:42 AM
  3. Replies: 0
    Last Post: 2008-10-23, 05:58 PM
  4. Replies: 2
    Last Post: 2007-07-30, 02:58 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
  •