• When using before_save in SugarCRM 6.5 how do I stop the save?

    I am going to use before_save to review a Merge before it completes. If both Contact records have the two different Student Ids, I want to stop the process and display a message saying it can't be done.
  • can I apply an after save hook for a sub panel?

    I want to do an after save hook for a sub panel, I tried adding it like what you would do for the main module but when I tried in when it in the sub panel it didn't work, but when I tried it using its main module it did work. So I'm guessing there is…
  • how to get the recently added bean id in after save logic hooks?

    I would like to retrieve the most recent id of an inserted data inside the after save method of logic hooks. How should I proceed with this? Thank you
  • MySQL query works in NaviCat but not in SugarCRM

    If any additional information is needed that would help you solve the problem, just let me know. I'm running SugarCRM 6.5.20 CE I have a logic hook that fires for a custom module and when I go to check the log, the query shows an execution time and appears…
  • connect to sugarcrm and get some data in my custom php file

    I made in new custom php file lets say e.g sample.php placed in root folder accessing it through a ajax call in any module but i am not able to connect to database or perform any operation. How to do that anyone can help?