Results 1 to 3 of 3

Thread: How to revert Studio customizations for Opportunities module

  1. #1
    djg
    djg is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    42

    Question How to revert Studio customizations for Opportunities module

    Some of my custom fields have persisted in my installation, even after I have deleted them. This is probably related to my trying out changes by cloning a field and then deleting the unused variant.

    The problem is that this was defined as a mandatory field, and when I now try to import Opportunities form a .cvs file, thereare now two custome mandatory fields, even though there is nominally only one custom field.

    Q: How can I revert everything to the original state of the Opportunities module, and just re-enter my custom field from scratch?

    My environment is:

    » OS MS Windows XP Pro v. 2002 SP 2
    » Sugar Suite version v. 5.0.0f
    » Webserver Apache v. 2.0.59
    » PHP version v. 5.2.1
    » MySQL server v. 5.0.24-community-nt-log

    thanks in advance to all who reply

    d.

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: How to revert Studio customizations for Opportunities module

    It's in the fields_meta_data table. You can probably even just update the required column:

    update fields_meta_data
    set required = 0
    where custom_module = 'Opportunities'
    and name = 'mycustomfield_c'

    Just change the mycustomfield_c to the name of your custom field.

  3. #3
    djg
    djg is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    42

    Default Re: How to revert Studio customizations for Opportunities module

    eggsurplus,

    thanks for your suggestion. Unfortunately, it doesn't resolve the problem.

    My problem custom field is named

    contract_type_cc

    - the strange thing is that on import, the supefluous mandatory field shows up as

    LBL_CONTRAT_TYPE_CC

    So as you can see, things are pretty messed up. I am planning on re-installing everything on a production server in a month or so, with the expectation that I'll have to re-import all Opportunities, but if you have any more ideas, please don't hesitate.

    thanks again for your help,

    d.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. New module doesn't show in Studio
    By youssefaoun in forum General Discussion
    Replies: 0
    Last Post: 2007-04-25, 09:24 PM
  2. Replies: 2
    Last Post: 2007-04-09, 06:04 PM
  3. 4.5b Studio Edit Module Problem
    By chrisbennington in forum Help
    Replies: 0
    Last Post: 2006-09-20, 04:14 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
  •