Yes I tried mate.
I did a REPAIR on the admin panel a few times and it didn’t work.
I created the table directly in the database in phpMyAdmin.
This is how I solved it.
But whatever the problem is, I’m not sure if it creates another problem.
Thank you very much for answering all my questions.
Well, first I would recommend that you create the modules through the studio, since it is in charge of creating all the relationships between the different tables that SUITECRM manages.
For this reason I think it is not a good idea to create the tables directly there.
When you modify a module and add a field, the cstm table is created automatically and it will be easier for you to continue tweaking it from there. The best thing is to take advantage of these features offered by suiteCRM and abstract us from the internal logic.
Excuse me for the English. I am from a translator.
Did you create it as a module from within module builder first? If not created from within module builder initially (edited in studio after, but can’t go back to module builder once edits are done in studio), then it won’t write out all the back end files/relationships/table creation etc. You should be able to build the module/table in Module builder, do a repair and rebuild and you’ll see the create/alter statements for the tables within the SQL it has you execute.
I just wanted to create an area called BRAND in the PRODUCTS section in the studio environment. But it never did.
I searched a lot. When I learned that the custom fields added in the studio were saved in the aos_products_cstm column in the database, I looked. There is no such table in Databse. I created such a table. Then I added the custom field I wanted in studio. Successfully added.
This is the whole thing…
There was no aos_products_cstm table in the database. And suitecrm was unable to create this table. But I was able to write related records to this table after I created it.