AnsweredAssumed Answered

BeanFactory not inserting record in sugarcrm 6.5

Question asked by Virat Kohli on May 26, 2015
Latest reply on Jun 2, 2015 by Dhaivat Naik
require_once 'modules/d_Dispatch/d_Dispatch.php';
$bean = BeanFactory::newBean('d_Dispatch');
$bean->name="abc";
$bean->save();

this code is not working .. its stop execution at 

$bean = BeanFactory::newBean('d_Dispatch');   line.

Please help !

Outcomes