2016-09-14 72 views

回答

0

如果你指的是一个创纪录的负载关系的细节,就可以实现在SugarCRM的像这样的东西:

//Load Account 
$bean = BeanFactory::getBean('Accounts', $id); 

//If relationship is loaded 
if ($bean->load_relationship('contacts')) 
{ 
    //Fetch related beans 
    $relatedBeans = $bean->contacts->getBeans(); 
} 

API文档:https://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.6/API/Classes/SugarBean/Fetching_Relationships/

+0

感谢回答,但我需要这个节点js – asma