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

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

Using ajax with sonata admin list view pagination -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -