sugarcrm 6.1: delete the relationship between two objects -
sugarcrm 6.1: delete the relationship between two objects -
i using sugarcrm (v6.1.0) , im stuck deleting relationships. example: added relationship between objects with
objecta->load_relationship($myrelationship); objecta->$myrelationship->add($idofsecondobjectb); this works. right want remove relationship between 2 objects. tried this:
objecta->load_relationship($myrelationship); objecta->$myrelationship->delete(objecta->id, objectb->id); but doesnt work. knows how delete single relationship? dont want delete relationship in general, particular one.
ty!
i think if want delete relationship need go admin->studio->yourmodule->relationship
in relationships may see there different relations there created. here can delete relationship.
thanks.
sugarcrm
Comments
Post a Comment