aos_products_quotes table

Why is the default value in the aos_products_quotes table for field vat = ‘5.0’ and not NULL?

Regards,
Vishal.

Hi Vishal,

Is that value entered by default in the db even if you have a null value?

Thanks,

Will.

The value is stored in the vardefs file by default. So even if you make it null in the database, the insert will add 5.

One thing is to be noted,

if you are change the default value in modules//vardefs.php file then it will not reflect in the database. coz while creating only default value is stored in the database.

  1. either u make change directly in the database by making the default value NULL

  2. or do the changes in custom/extension/modules//vardefs.ext.php

write the change code there. and DO QUICK REPAIR. then it will reflect both File and Database.

:cheer: