How to add logic hook to the AOS_invoices module?

I’m trying to add a logic hook to Invoices module so that i can send Api Posts to another system.
I found out that logic hooks should be placed in “custom/modules/{TargetModule}” but there is folder for AOS_Invoices.
Can someone explain to me if its possible to add logic hooks to any of the modules in SuiteCRM?



Hi, welcome.

The general rule for the “custom” folder is that you should create any sub-directories that are necessary, so that files are placed where they should, according to the Documentation.

You should be able to add logic hooks for AOS_Invoices and AOS_Products_Quotes and all other modules, yes.