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?
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?
It depends on when you want the calculation is performed:
- At the EditView while filling in the fields?
- 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.
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
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks