Results 1 to 3 of 3

Thread: Beginner needs help

  1. #1
    jpietrick is offline Junior Member
    Join Date
    Feb 2010
    Posts
    1

    Default Beginner needs help

    I am currently creating a new accounting module to help to keep track of my daily deposits. I created some new fields. Cash, checks, and total. I want the total field to be teh sum of cash and checks. How do you do this?

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: Beginner needs help

    It depends on when you want the calculation is performed:
    1. At the EditView while filling in the fields?
    2. On save process?


    First option requires a javascript to process the calculation;
    Second options requires a logic_hook before_save.
    The easiest one is the second one.

    What about your skills regarding php and javascript customization?

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    jlabuelo is offline Sugar Community Member
    Join Date
    Apr 2008
    Posts
    426

    Default Re: Beginner needs help

    Hi Andre

    I was reviewing the forum looking for some examples on how we can use JavaScript in SugarCRM. I have build a JavaScript to try to relate two fields in the Account View, but not sure if I am calling the JavaScript function correctly in the Accounts.

    Would you mind taking a look to the post I wrote at
    http://www.sugarcrm.com/forums/showt...t=31005&page=7

    Thanks a lot in advance

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. meetings for beginner
    By judka99 in forum Help
    Replies: 2
    Last Post: 2008-11-28, 02:53 PM
  2. Beginner Question
    By mmetcalfe in forum Sales Force Automation
    Replies: 5
    Last Post: 2008-11-03, 12:14 PM
  3. Beginner Sugar and Javascript
    By willyboy73 in forum Developer Help
    Replies: 5
    Last Post: 2008-07-30, 01:56 PM
  4. Beginner Question about integration
    By agcopley in forum Help
    Replies: 1
    Last Post: 2008-01-14, 09:13 PM
  5. Learning step for beginner
    By lucerias in forum Developer Help
    Replies: 0
    Last Post: 2006-09-18, 02:58 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
  •