AnsweredAssumed Answered

How to remove subpanel's record and their relate record from other module :Community Edition

Question asked by Shiv Gawande on Sep 18, 2017

Hello All,

 

I have account and contact relationship i am able to remove particular contact from account module's contact sub panel using :

 

$link='contacts';

$module_name='Accounts';

$Module = BeanFactory::getBean($module_name,$record_id);
$Module->load_relationship($link);
$Module->$link->delete($record_id,$subpanel_record_id);

 

but that account not removing from contact record (which shows as relate field in contact)

 

 

 

Thanks in advance

Outcomes