var override_queryfields = [
		{
			name : 'contract_number',
			queryexpression : "t1.contract_number like ${@contract_number}"
		},
		{
			name : 'bp_id_tenant_n',
			queryexpression : "t1.bp_id_tenant_n like ${@bp_id_tenant_n}"
		},
		{
			name : 'document_type',
			queryexpression : "t1.document_type like ${@document_type}"
		},
		{
			name : 'document_status',
			queryexpression : "t1.document_status like ${@document_status}"
		},
		{
			name : 'check_flag',
			queryexpression : "${@check_flag}='Y' and t1.document_type ='LETTER' and t1.staff_id is not null and exists( select 1 from con_collection_persons ccp where ccp.staff_id=t1.staff_id and (ccp.user_id=${/session/@user_id} or ${@admin_flag_n} = 'Y') ) "
		} ];

override();
