does anyone know how i can add the primary Account email to the list view of Accounts?...
I would like to be able to see what Businesses have emails on each account
does anyone know how i can add the primary Account email to the list view of Accounts?...
I would like to be able to see what Businesses have emails on each account
I have almost the same problem. i want to put email field on accounts subpanel under the case module. I have found solutions for many complex problems in here but not for this one that look simple.. what i try to do is; in cases module, when a case is imported from an email, the case should see the related account under the accounts subpanel of Cases. (in accounts module, the account shows the related case, but in case module, case doesnt show the related accounts)
Can i do that and how can i do that
please Help???
Regards
Last edited by smoothumut; 2010-05-19 at 08:02 AM.
hi,
you can use this tread to find a solution for your problem,
http://www.sugarcrm.com/forums/showt...063#post215063
Regards
-PK
Sugar version: 5.2.0a
Linux web 2.6.26-2-amd64
Apache 2.2.9
PHP Version 5.2.6-1+lenny4
MySQL Version: 5.0.51a
I assume you are using 5.2.
Here is what I did to include Primary email of account in the List view.
Step 1: Update get_list_view_data() function in modules\Accounts\Account.php
Put following line of code before Return statement.
Step 2: Update Listviewdefs.php in custom\modules\Accounts\metadata\listviewdefs.phpPHP Code:$temp_array["EMAIL1"] = $this->emailAddress->getPrimaryAddress($this);
Add following code before 'ASSIGNED_USER_NAME' entry.
PHP Code:'EMAIL1' =>
array (
'width' => '15%',
'label' => 'LBL_EMAIL',
'sortable' => false,
'link' => true,
'default' => true,
),
I hope this will help you.
Thanks,
Nitin
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks