![]() ![]() Let us have an example of saving an Opportunity and if amount is more than 500$, let us change it’s status to “Closed Won”.The following sections cover each required variable.Hooks should be places from Extension, it is advisable to use extension based hook structure. * process_record -> This hooks is for ListView, Popup View and Subpanels.Īll logic hooks must have a $hook_version and $hook_array variable defined. * after_retrieve -> Before retrieving any record, This hooks calling on editview and DetailView. * before_retrieve -> Before retrieving any record, This hooks calling on editview and DetailView * before_save -> Before Saving any record ![]() Application level -> Best to use in : after_ui_frame ,after_ui_footer ,server_roundtrip ,before_logout ,after_logout ,before_login , after_login ,login_failed , after_session_start , after_entry_point. ![]() It’s tweaking, It’s awesome!! Now it’s high time to learn more about SuiteCRM deeply. SuiteCRM Dev Journey : All about Logic hooksĮvery Suite developer needs to work with Logic hooks, they are amazing, they are life saver. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |