Need help implementing a logic hook
I need to execute some php code when a relationship field is changed. I found a list of available logic hooks and based on that it appears that what I may have to do is execute my code on every record save using the after_save hook and then have my php code determine if my criteria is met (relationship field changed). I have two questions, first am I correct in my assumption or is there a way to only fire the logic hook on that particular field, and will the after_save hook fire with mass update?
Also any tips/hints/article links on getting started with logic hooks would be greatly appreciated since this will be my first attempt at using them.
Thanks
Sugar Version 5.1.0a
PHP 5.2.5
MySQL 5.0.37
Bookmarks