Results 1 to 2 of 2

Thread: Something weird with currency fields

  1. #1
    GameboyRMH is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    70

    Question Something weird with currency fields

    I created a custom currency field for Accounts, and I've been testing it with a test account, and twice today it has reset itself for no apparent reason from 200000.67 to 200.00 after working fine for a few minutes beforehand. Opening the record, changing something and saving it might be what's causing the issue.

    This field is absolutely critical to what needs to be done, any suggestions? I basically need a number field (although currency would be best, in case we decide to change which currency we use in the system which is a real possibility) that can handle at least 9 digits (10 or 12 would be best, to be safe) and 2 decimal places. I might have to go with a text field if push comes to shove but I really want to get this currency field working.
    Server: Fedora
    Sugar 5 CE
    Apache 2.2.6
    MySQL 5.0.27

  2. #2
    GameboyRMH is offline Sugar Community Member
    Join Date
    Nov 2007
    Posts
    70

    Default Re: Something weird with currency fields

    Think I solved it. There's a bug in Studio that causes it to create floats with no decimal places (what's the point of a field like that?) so I had to manually change the field type in the database. I edited the extension vardefs as well.
    Server: Fedora
    Sugar 5 CE
    Apache 2.2.6
    MySQL 5.0.27

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 3
    Last Post: 2007-02-05, 09:43 PM
  2. Replies: 1
    Last Post: 2006-09-11, 03:38 PM
  3. Adding Custom Fields to a layout (3.5.1)
    By pSouper in forum Help
    Replies: 3
    Last Post: 2006-07-09, 02:10 PM
  4. new added fields don't appear
    By snue in forum Feature Requests
    Replies: 0
    Last Post: 2006-05-08, 08: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
  •