AnsweredAssumed Answered

BeanFactory::newBean("Cases") Create Duplicate entry Why ??

Question asked by Mehul Bhandari on Mar 22, 2016
Latest reply on Mar 23, 2016 by Hash Softech

Hi

 

i am creating Cases Using BeanFactory using below code.

ex..

$bean = BeanFactory::newBean("Cases");

$bean->name = "Testing";

$bean->description = "Mehul Bhandari";

$sugar_case_id = $bean->save();

 

its create duplicate entry Sometimes  i have checked time in Database its having same created date like

2016-03-22 03:38:32   for both case entry .

Outcomes