08-02-2018, 03:08 PM
Ah ok, for example
$module = Vtiger_Module::getInstance("cbCalendar");
$field = Vtiger_Field::getInstance('parent_id',$module);
$field->setRelatedModules(array('ServiceContracts)); <- this line I will insert many modules I need, right?
$module = Vtiger_Module::getInstance("cbCalendar");
$field = Vtiger_Field::getInstance('parent_id',$module);
$field->setRelatedModules(array('ServiceContracts)); <- this line I will insert many modules I need, right?
Ranieri
eCRM Web
eCRM Web