2016-09-14 66 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