AnsweredAssumed Answered

How can I do that by changing the status of the task to "complete" can be recorded in history subpanel of two modules?

Question asked by Javier Javier on Jan 8, 2015
Hi, I have the module accounts and the module opportunities, within them is a subpanel called tasks and other history. How can I do that by changing the status of the Task to "complete" can be recorded in history subpanel of the modules accounts and opportunities? I currently I do this, but it works only for a module.

Make a logic_hook for accounts in the module tasks. SugarCRM 6.5.15

function get_account_id($bean, $event, $arguments){                
                $bean->parent_type = 'Accounts';
                $bean->parent_id = $bean->accounts_id;
}



Accounts


Opportunities

As could be done to history subpanel of opportunities?
Thank you :D

Outcomes