I don't want to use SQL.
Who has any idea, please share ?
Thanks,
M
I don't want to use SQL.
Who has any idea, please share ?
Thanks,
M
Just add the relationship between cases and calls in sugar studio.
My solution use logic hook with BeanFactory in call module to check record that related with case.
$getCase = BeanFactory::getBean('Cases');
$getCase->retrieve($bean->parent_id);
if(condition){
$getCase->status = '1';
$getCase->save();
See ref. for more information.
My solution use logic hook with BeanFactory in call module to check record that related with case.
$getCase = BeanFactory::getBean('Cases');
$getCase->retrieve($bean->parent_id);
if(condition){
$getCase->status = '1';
$getCase->save();
See ref. for more information.