Results 1 to 4 of 4

Thread: Currency format issues

  1. #1
    rmac is offline Sugar Community Member
    Join Date
    Jan 2007
    Posts
    13

    Default Currency format issues

    In the previous version of SugarCRM there was a bug that changed the oppotunity amount every time when the currency format was non-US (e.g. not like 1,000.00 but 1.000,00). This was fixed for the latest release but unfortunately the problem remains in opportunities that are created in third party system and imported through the SOAP interface. Is there any workaround for this problem? At the moment all my new opportunites have a value that is 100 times than what they should be and that is slightly irritating.

  2. #2
    schnagga is offline Member
    Join Date
    May 2008
    Posts
    9

    Default Re: Currency format issues

    same problem in 5.0.0f. using soap and custom currency fields and Non-US curreny formats.
    still no workaround?

  3. #3
    schnagga is offline Member
    Join Date
    May 2008
    Posts
    9

    Default Re: Currency format issues

    i couldn't track this error down, so i used this quick and dirty hack:

    responsible for the wrong formatting of custom number fields in opportunities with SOAP calls is the unformat_all_fields() call in the data/SugarBean.php save() function, so i commented it out:

    Code:
    //$this->unformat_all_fields();
    formatting of number fields in opportunities still works correct (also with different decimal/1000 separators). note that this modifies the base class for all modules! this works for me.

    also read this article, the problems are related:
    http://www.sugarcrm.com/forums/showthread.php?t=30818
    Last edited by schnagga; 2008-07-01 at 08:09 PM.

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

    Default Re: Currency format issues

    Thanks for the tip. I have found how to fix opportunity amount in another post, but to fix a custon integer field in a custom module only this change help.
    Regards,

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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Currency format problem - Sugar 4.2.0
    By sutfra in forum Help
    Replies: 1
    Last Post: 2009-05-12, 10:30 AM
  2. non U.S user - currency issues
    By andyuk in forum Help
    Replies: 1
    Last Post: 2006-10-06, 12:36 PM
  3. Import/Export file delimiter, currency format
    By malcolmh in forum Feature Requests
    Replies: 3
    Last Post: 2005-07-05, 04:06 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
  •