The query for retrieving REF_Company should come from common_files.
Making get_ref_company use (optional) passed-in company_id.