SuiteCRM Pull Request Party hosted by SalesAgility
Welcome, Guest
Username: Password: Remember me

TOPIC: get email from beans

get email from beans 11 months 3 days ago #63942

  • GianlucaSedoc
  • GianlucaSedoc's Avatar
  • Offline
  • Elite Member
  • Posts: 203
  • Thank you received: 10
  • 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){
it print all the info except the email
The administrator has disabled public write access.
Time to create page: 0.112 seconds
Powered by Kunena Forum