Is there a way to assign just a CONTACT to a CASE instead of ACCOUNT NAME?
Thank You.
Is there a way to assign just a CONTACT to a CASE instead of ACCOUNT NAME?
Thank You.
You can create a relate field from module cases to contacts and modify layouts form cases to remove account and to add contact.
Hi vfx
Remember that you need to make the account name optional:
Add the attribute
To account_name field in the custom/modules/Cases/metadata/editviewdefs.phpPHP Code:displayParams => array('required' => false)
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.
Hello,
If you just create a relate field in the Cases module, the link with the case does not appear in the Contacts detail view in the Cases submodule.
Andopes is correct, you will want to make the Account Name field un-required. A workaround to is to create a case from using the Cases submodule in the Contact detail view. When you do this, the case is automatically linked to that Contact. You also have the option to link the Contact after creating the Case. In the Case detail view, there is a Contacts submodule where you can select any existing Contacts to attach to that case.
Intelestream has a great deal of experience hosting and customizing the SugarCRM application. Our company is made up by former employees of SugarCRM, and together we have over 50 years of experience working with the application. To learn more about us, please visit our website at www.intelestream.net or contact us directly at 800-391-4055 or by email at info@intelestream.net
I couldn't find editviewdefs.php. There are detailviewdefs.php and quickcreatedefs.php. I hope there is a hack or perhaps a new version you can assign CONTACT instead of ACCOUNT.Originally Posted by andopes
Originally Posted by sugarcane
I'd like to create cases and be able to assign CONTACT at the same time. I noticed your workaround too but that's another step. I can be forgetful sometimes.
To have an editviewdefs.php in custom/modules/Cases/metadata directory, go to the studio to edit the editview of cases module and click on save and publish. It will create this file on this directory
I added the code above and it removed the red * from the field name but it stills asks for it when I try to save.
Code:Original code: 'name' => 'account_name', 'label' => 'LBL_ACCOUNT_NAME', Replaced with: 'name' => 'account_name', 'displayParams' => array ( 'required' => false, ), 'label' => 'LBL_ACCOUNT_NAME',
Hi,
To make the account name in the case module not required
go to custom/extension/modules/Cases/Ext/Vardefs/vardefs.ext.php
If the above directory doesnot exist then create them
add the following lines of code
<?php
$dictionary['Case']['fields']['account_name']['required']=false;
?>
hope this will help you
ShamimWilson
shamim.797@gmail.com.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks