AnsweredAssumed Answered

How to remove contact email from opportunity module Sugar7

Question asked by Offshore Evolution on Sep 5, 2016
Latest reply on Nov 7, 2016 by Offshore Evolution


When creating a new Opportunity and the Contact record is linked to this opportunity, all contact email added with opportunity.
How we can remove that contact email form opportunity?
I need to display email if sent from opportunity.


Sugar 6

'contacts' =>
  array (
       'name' => 'contacts',
    'type' => 'link',
    'relationship' => 'opportunities_contacts',
    'rel_fields'=>array('contact_role'=>array('type'=>'enum', 'options'=>'opportunity_relationship_type_dom')),
    //'hide_history_contacts_emails' => true,
    'hide_history_contacts_emails' => false,

Sugar 7
'archived_emails' => array(
            'name' => 'archived_emails',
            'type' => 'link',
            'link_file' => 'modules/Emails/ArchivedEmailsBeanLink.php',
            'link_class' => 'ArchivedEmailsBeanLink',
            'link' => 'contacts',
            'source' => 'non-db',
            'vname' => 'LBL_EMAILS',
            'module' => 'Emails',
            'link_type' => 'many',
            'relationship' => '',
            'hideacl' => true,
            'readonly' => true,

Sugar6 - 'hide_history_contacts_emails' => true - means no contact email display in Opportunity history subpanel,

Sugar7 - for Contact email stop in Opportunity Email Subpanel How it is possible?

My local system did not display contact email display in opportunity email subpanel.

But same onDemand instance we have together Opportunity & Contact email display in Opportunity email subpanel.