![]() ![]() ProjectJerel - SEO Marketing Tactics Decemat 3:09 PM ![]() $row = $bean->db->fetchByAssoc($results) $results = $bean->db->query($query, true) $query = "SELECT accts.assigned_user_id FROM accounts accts " That is the file that SugarCRM will examine for the custom code that needs to be executed when the appropriate conditions are met.Ĭreate a PHP file by that name and store it in the /custom/modules/Cases directory. Notice the reference to the file autoUserAssignment.php. The logic_hooks.php file described above provides the parameters necessary for SugarCRM to know not only when the custom code should execute, but also where the code can be found. Make sure to save the file to the /custom/modules/Cases directory. $hook_array = Array(1, 'assignUser', 'custom/modules/Cases/autoUserAssignment.php', 'UserAssignment', 'updateCase') First we'll need to create a file called logic_hooks.php and put the following PHP code in it: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |