Is there a way to have a link or a button on the list view or the details view/?
What i want the button to do is when the user clicks on the button it will put a "Call" into that accounts history with the date stamp.
Is this possible.?
Is there a way to have a link or a button on the list view or the details view/?
What i want the button to do is when the user clicks on the button it will put a "Call" into that accounts history with the date stamp.
Is this possible.?
Hi phoenixfire425
It is possible to do.
Take a look at the file modules/Leads/metadata/detailviewdefs.php
Look at the Convert Lead button.
You have to create a customCode for the button you want to display and point it to an action which will put a Call into Account history.
Let me know if you have any issue.
Cheers
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.
ok well i found the file but i am not really sure how to make it enter the info into the account history?Originally Posted by andopes
i dont know the scripting for it..
any pointers?
Can anyone help me on this? please.
bump....
this is just to keep the post alive i still need dire help on this.
Thank You
Hi phoenixfire425
If you want to create a new Call inside the current Account History in the background so you should create a script which create a new call, set the parent_type as 'Accounts', parent_id as id of the current account and the other fields you want to set.
After saving the call you can redirect to the DetailView of the current account.
This scrip should be the target of the button to be created.
Cheers
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.
Originally Posted by andopes
Im still clueless on how to do this...
Ok i will tell you what i have done now..
I have made a clickable button at the top of the page inside of the account detail.
The button is just a copy of the Edit button but i just changed the name to "Call Report"
When the user clicks on the "Call Report" button i want it to automatically create and entry in the account history with the time the button was clicked.
I am very new to this so if you could give detailed instruction that would be greatly greatly greatly appreciated.![]()
For instance where do i put the query what files do i change ect ect ect.
Thank You Very Very Much
this is what i have for my "Call Report" Button
<input title="{APP.LBL_EDIT_BUTTON_TITLE}" accesskey="{APP.LBL_EDIT_BUTTON_KEY}" class="style2" onclick="this.form.return_module.value='Accounts'; this.form.return_action.value='DetailView'; this.form.return_id.value='{ID}'; this.form.action.value='EditView'" type="submit" name="Edit2" value="Call Report" />
Last edited by phoenixfire425; 2008-09-05 at 06:19 PM.
bump.............
bump....................
can anyone help me out please.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks