-if (get_company_pref('grn_clearing_act') === null) { // available from 2.3.1, can be not defined on pre-2.4 installations
- set_company_pref('grn_clearing_act', 'glsetup.purchase', 'varchar', 15, 0);
- refresh_sys_prefs();
-}
-if (get_company_pref('default_receival_required') === null) { // new in 2.4 installations
- set_company_pref('default_receival_required', 'glsetup.purchase', 'smallint', 6, '10');
- refresh_sys_prefs();
-}
-
-if (get_company_pref('default_quote_valid_days') === null) { // available from 2.3.23, can be not defined on pre-2.4 installations
- set_company_pref('default_quote_valid_days', 'glsetup.sales', 'smallint', 6, 30);
- refresh_sys_prefs();
-}
-