AnsweredAssumed Answered

How to fetch related field id through logic hook

Question asked by Anurag Tiwari on Dec 23, 2015
Latest reply on Dec 23, 2015 by Anurag Tiwari

I am trying to fetch related field id(related field is Account) through the logic from the call module using these code


  $userbean = new Account();


  $userphone   = $userbean->phone_office;

  //$usermobile  = $userbean->phone_work;

  echo "<pre>";


  echo $userbean;



But it is not working please tell me how to do this in sugarCE 6.5.22.