AnsweredAssumed Answered

How to delete team from a lead?

Question asked by sonesay inthavong on Oct 22, 2014
Latest reply on Nov 5, 2014 by sonesay inthavong
How can I use sugarcrm bean for a lead record to remove a team based on team id?

I've manged to setup an after_save logic hook for the leads module but using the examples below does not work for me.

           
     $bean->teams->remove(
            array(
               'c1144dda-f305-ea9c-2afe-543b09dd0a6d'
               ));

Outcomes