Introduction
- All settings pertaining to a sepcific company are stored in it's database in the sys_prefs table.
 - There are no hyphens ("-") in the settings names here, only underscores ("_").
 - FrontAccounting settings parameters that are company specific are generally provided in the Chart of Accounts used with most degrading gracefully to sane defaults.
 - When preparing a new Chart of Accounts, match the values for these settings to the actual account codes in it.
 
Company Specific Settings - FA 2.4.x
The following are taken from the en_US-demo.sql Standard Demo Chart of Accounts:
- accounts_alpha - (0)
- Allow alpha characters in accounts. 0 = only numeric, 1 = alpha numeric, 2 = uppercase alpha numeric
 
 - accumulate_shipping - (0)
 - add_pct - (-1)
 - allow_negative_prices - (1)
- Allow negative prices for dummy/service items.
 - To be moved to GL db settings
 
 - allow_negative_stock - (0)
 - alternative_tax_include_on_docs
- Setting this variable to 1 will print sub total before tax and then the traditional values, instead of text line.
 
 - auto_curr_reval - (1)
 - bank_charge_act - (5690)
 - barcodes_on_stock - (1)
 - base_sales - (1)
 - bcc_email
 - company_logo_report
- Boolean flag if 1, enables printing logo in reports
 
 - coy_logo - (logo_frontaccounting.jpg)
- Optional Company Logo to appear on the screens
 
 - coy_name - (Training Co)
- Name of the Company
 
 - coy_no
- Optional Company Registration Number - Country and Company Type specific
 
 - creditors_act - (2100)
 - curr_default - (USD)
- Default Currency for the Company
 
 - debtors_act - (1200)
 - default_adj_act - (5040)
 - default_cogs_act - (5010)
 - default_credit_limit - (1000)
 - default_delivery_required - (1)
 - default_dim_required - (20)
 - default_inv_sales_act - (4010)
 - default_inventory_act - (1510)
 - default_loss_on_asset_disposal_act - (5660)
 - default_prompt_payment_act - (4500)
 - default_quote_valid_days - (30)
 - default_receival_required - (10)
 - default_sales_act - (4010)
 - default_sales_discount_act - (4510)
 - default_wip_act - (1530)
 - default_workorder_required - (20)
 - deferred_income_act
 - depreciation_period - (1)
 - domicile
 - email - (delta@delta.com)
 - exchange_diff_act - (4450)
 - f_year - (2)
 - fax
 - freight_act - (4430)
 - gl_closing_date
 - grn_clearing_act - (1550)
 - gst_no - (33445566)
- VAT/GST/Tax registration number - Country / State / Region specific
 
 - legal_text
 - loc_notification - (0)
- If this variable is 1 emails stock location if order below reorder-level.
 - Remember to set an email on the Location(s).
 
 - login_tout - (28800)
 - no_customer_list
 - no_item_list
 - no_supplier_list
 - no_zero_lines_amount - (1)
- Do not print zero lines amount of 0.00 in Sales Documents if service item. 1 = do not
 
 - past_due_days - (30)
 - phone
 - po_over_charge - (10)
 - po_over_receive - (10)
 - postal_address - (N/A)
 - print_invoice_no - (0)
- Setting this variable to 1 prints our internal numbers on the documents.
 - If this variable is 0 prints our reference numbers on the documents instead.
 - This is very handy if you have a letter/number combination in your references.
 
 - print_item_images_on_quote - (0)
- Boolean flag if 1, prints Item Images on Sales Quotations
 
 - profit_loss_year_act - (9990)
 - pyt_discount_act - (5060)
 - ref_no_auto_increase - (0)
 - retained_earnings_act - (3590)
 - round_to - (1)
 - shortname_name_in_list
 - show_po_item_codes - (0)
- Show item codes on purchase order
 
 - suppress_tax_rates
- Setting this variable to 1 will suppress the tax rates.
 - Put tax rates in Tax Type Name instead.
 - Useful for tax on tax.
 
 - tax_algorithm - (1)
 - tax_last - (1)
 - tax_prd - (1)
 - time_zone
 - use_dimension - (1)
 - use_fixed_assets - (1)
- Boolean flag if 1, enables the Fixed Assets Module
 
 - use_manufacturing - (1)
- Boolean flag if 1, enables the Manufacturing Module
 
 - version_id - (2.4.1)
- The Database Version on latest install / upgrade should value in 
version.php 
 - The Database Version on latest install / upgrade should value in 
 
SQL used
The sql used to extract the above settings and their defaults (in brackets) is:
SELECT CONCAT(
 "#'''"
, `name`
, "'''"
, IF(`value` = ''
    , ""
    , CONCAT(" - (''",`value`,"'')")
    )
) AS company_settings FROM 1_sys_prefs ORDER BY `name`;











