![suitecrm logic hooks locations suitecrm logic hooks locations](https://i.ebayimg.com/images/g/9oAAAOSwJ89cUIge/s-l1600.jpg)
![suitecrm logic hooks locations suitecrm logic hooks locations](https://community.suitecrm.com/uploads/default/original/1X/0447c8afe2117b52062899409c77d611f32ec65b.png)
This can allow you to, for example, make a call to an external API. For example, we can use a logic hook to modify a value on a record that is being saved. Logic hooks allow you to hook into various events in SuiteCRM to fire custom code. Through their use, one can accomplish quite a bit given that the only real limitation is our ability to write PHP code. Hi, I have created an after_save Logic Hook for my costum module but when it launch the function it returns me this error:įatal error : Uncaught ArgumentCountError: Too few arguments to function GeneraRapportino::generaRapportino(), 0 passed in C:\xampp\htdocs\CRM\include\utils\LogicHook.php on line 270 and exactly 3 expected in C:\xampp\htdocs\CRM\custom\modules\M圜ustomModule\GeneraRapportino.php:7 Stack trace: #0 C:\xampp\htdocs\CRM\include\utils\LogicHook.php(270): GeneraRapportino->generaRapportino() #1 C:\xampp\htdocs\CRM\include\utils\LogicHook.php(213): LogicHook->process_hooks(Array, ‘after_save’, ‘’) #2 C:\xampp\htdocs\CRM\data\SugarBean.php(3112): LogicHook->call_custom_logic(‘M圜ustomModule’, ‘after_save’, ‘’) #3 C:\xampp\htdocs\CRM\data\SugarBean.php(2427): SugarBean->call_custom_logic(‘after_save’, ‘’) #4 C:\xampp\htdocs\CRM\include\SugarObjects\templates\sale\Sale.php(164): SugarBean->save(false) #5 C:\xampp\htdocs\CRM\include\MVC\Controller\SugarController.php(684): Sale->save(false) #6 C:\xampp\htdocs\CRM\include\MVC\Controller\SugarController.php(525 in C:\xampp\htdocs\CRM\custom\modules\M圜ustomModule\GeneraRapportino.php on line 7 There is something intriguing about working with logic hooks. Learn how you can use logic hooks within SugarCRM to enhance the and personalize the platform.