Hi to all, i’m trying to manage some information about account and lead. I have to match the email between account and lead, but when i get the lead information from beanfactory i can’t find the email. I have to do something particular to get that?
private static function getLeads(){
$LeadsBean = BeanFactory::getBean('Leads');
$LeadsBeanList=$LeadsBean->get_full_list("id","leads_cstm.carcode_c is not null AND leads.deleted=0");
return $LeadsBeanList;
}
$leads = $this->getLeads();
foreach($leads as $lead){
print_r($lead);
}
it print all the info except the email