3 include_once($path_to_root . "/admin/db/company_db.inc");
8 function allow_negative_stock()
10 return get_company_pref('allow_negative_stock');
13 /* Sherifoz 26.06.03 Proportion by which items can be received over the quantity that is specified in a purchase
15 The figure entered is interpreted as a percentage ie 10 means 0.1 or 10% not 10 times
17 function over_receive_allowance()
19 return get_company_pref('po_over_receive');
22 /* Proportion by which a purchase invoice line is an overcharge for a purchase order item received
23 is an overcharge. If the overcharge is more than this percentage then an error is reported and
24 purchase invoice line cannot be entered
25 The figure entered is interpreted as a percentage ie 20 means 0.2 or 20% not 20 times
27 function over_charge_allowance()
29 return get_company_pref('po_over_charge');
32 function default_credit_limit()
34 return get_company_pref('default_credit_limit');
37 function default_wo_required_by()
39 return get_company_pref('default_workorder_required');
42 function default_dimension_required_by()
44 return get_company_pref('default_dim_required');
47 function allocation_settled_allowance()
49 global $config_allocation_settled_allowance;
50 return $config_allocation_settled_allowance;