Menu
SuiteCRM dedicated support by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: get email from beans

get email from beans 7 months 3 weeks ago #63942

  • GianlucaSedoc
  • GianlucaSedoc's Avatar
  • Offline
  • Elite Member
  • Posts: 192
  • Thank you received: 7
  • Karma: 0
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
The administrator has disabled public write access.
Time to create page: 0.053 seconds
Powered by Kunena Forum