Results 1 to 6 of 6

Thread: no data being saved in custom fields

  1. #1
    vaineh is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    31

    Default no data being saved in custom fields

    hi there

    can anybody help me?

    ive added custom fields to accounts and leads but no data entered into the custom fields are being saved. all the standard fields seem to save data fine. but the custom fields are having problems.

    ive enabled debug logging and when making a change to a record i get:

    Tue Mar 31 15:06:06 2009,975 [5675] INFO SugarCRM - Query:UPDATE accounts_cstm SET total_rooms_c=NULL ,kitchens_c=NULL ,bathrooms_c=NULL ,bedrooms_c=NULL ,t
    otal_persons_c=NULL ,pets_c='0' ,smoke_c='0' ,property_type_c='' ,client_number_c=1 WHERE id_c='dd94bd28-0464-57d7-fb2b-49d1ef272924'
    Tue Mar 31 15:06:06 2009,976 [5675] INFO SugarCRM - Query Execution Time:0.000134
    Tue Mar 31 15:06:06 2009,976 [5675] ERROR SugarCRM - MySQL error 1054:

    after the 1054 error code its just blank.

  2. #2
    vaineh is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    31

    Default Re: no data being saved in custom fields

    sorry im using sugar 5.0.0h

  3. #3
    vaineh is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    31

    Default Re: no data being saved in custom fields

    just browsed the database and the fields its trying to update such as "client number" are not even in the table accounts_cstm.

    Ive ran the repair database tools from admin panel but doesnt appear to have changed anything


  4. #4
    mvngti is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    South Africa
    Posts
    510

    Default Re: no data being saved in custom fields

    Here is something you can try. Use the "Export Customizations" feature to make an export of the customizations and then install that package on your own system. It should create the fields found in the package.

    Otherwise - just create the columns on your own using phpmyadmin or the mysql cmd line client.
    --


    Marnus van Niekerk

    There are only 10 types of people in the world
    those who can read binary and those who don't

    Modules:
    CE Teams - Upgrade safe teams module for Community Edition
    FieldACL - Field Level Access Control for Community Edition
    EditLogicHooks - Create and edit Logic Hooks from the Admin GUI
    FlexibleChartDashlet - Display any data in a Dashlet Chart
    DocumentThumbnails - Thumbnails for Documents module

    Many questions can be answered by reading the Developers Manual

  5. #5
    crmsiva's Avatar
    crmsiva is offline A Sugar Hero
    Join Date
    Jan 2009
    Location
    Chennai, India
    Posts
    1,130

    Default Re: no data being saved in custom fields

    Check the fields listed in studio for accounts module. Check whether the field client_number_c is there or not. Try Quick repair for accounts module. If it still don't work, create a new field with name client_number_c in accounts_cstm table.

    I hope this helps

  6. #6
    vaineh is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    31

    Default Re: no data being saved in custom fields

    thanks guys.

    exporting and then importing over the top of the current system creates the necessary fields in the table.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. custom filed data not saved in quote module
    By rraushan2007 in forum Developer Help
    Replies: 13
    Last Post: 2011-12-02, 04:48 PM
  2. Accounts-Custom fields not saved
    By edvsw in forum Help
    Replies: 5
    Last Post: 2007-04-05, 03:25 AM
  3. Custom field data not being saved
    By smueller72 in forum Help
    Replies: 5
    Last Post: 2006-12-21, 04:14 AM
  4. [v4.0 Ent Oracle] Custom Fields not saved
    By groupeHEC in forum Customer Support
    Replies: 2
    Last Post: 2006-02-07, 12:31 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
  •