I have a module called aos_product_quotes now this has its own table called aos_product_quotes and a custom table called aos_product_quotes_cstm, in this custom table my custom field can be found "code".
Now my problem is that unlike in my previous experience when my module tries to insert new data it returns a database error saying that "code" field is not found on aos_product_quotes, well that is true since it is on aos_product_quotes_cstm. Then I would like to know is that why it is not inserting the data for the custom field on its custom table but instead, tries to find the custom field on the main table?
Should I just add the custom field to the main table? Though I am not sure how to proceed with this as I just added my new custom field using a studio.