var override_queryfields = [

{
	name: 'contract_id',
	queryexpression: "(t1.contract_id = ${@contract_id} or (t1.project_id = (select vc.ref_project_id  from con_contract cc, prj_project vc where cc.project_id = vc.project_id  and cc.contract_id = ${@contract_id}) and t1.contract_id is null))"
}

];

override();