Results 1 to 3 of 3

Thread: Force calculation on a calculated field

  1. #1
    kirstyobrien's Avatar
    kirstyobrien is offline Sugar Community Member
    Join Date
    Jun 2011
    Location
    Denver, CO
    Posts
    32

    Question Force calculation on a calculated field

    Sugar Version: 6.2
    Sugar Edition: Enterprise On Demand
    Category: Opportunities & Calculated Fields
    Operating System: Windows 7


    Good afternoon,

    I have created a calculated field to add to my opportunities module however it does not automatically calculate the value unless I open every opportunity then re-save.

    Is there a way to force a calculation on the field?

    I do not have access to code as we are on demand.

    Thanks!
    Kirsty

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Force calculation on a calculated field

    Just define a senseless field which is massupdateable.

    Then select all records and make a massupdate on this field, so all records will be opened, recalculated and saved.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  3. #3
    gricker is offline Junior Member
    Join Date
    May 2011
    Posts
    1

    Default Re: Force calculation on a calculated field

    I have the same question but want it to auto calculate daily as its a calculated date field.

    multiply(daysUntil($membership_start_date_c),-1)

    I am trying to work out how long a member has been a member e.g. Start Date to todays date. Obviously the formula is the reverse working out the days from today until the specified date and I wanted it to work out the days from the specified date until today hence the multiplying by -1.

    I dont think manually mass updating every record is valid as staff will just want to run reports on the age of members without wanting to have to mass update a senseless field.

    Is there another way for the calculated field to auto update?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Field calculation + curency format
    By aluis80 in forum Developer Help
    Replies: 6
    Last Post: 2011-06-09, 09:32 PM
  2. force field display and report
    By Meyer in forum Help
    Replies: 1
    Last Post: 2010-10-22, 04:29 PM
  3. Replies: 2
    Last Post: 2009-08-14, 11:56 AM
  4. Unique Field Force
    By syberjj in forum Help
    Replies: 1
    Last Post: 2009-07-23, 04:31 PM
  5. Replies: 14
    Last Post: 2006-11-14, 06:56 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
  •