<bm:query-fieldname="transaction_num"queryExpression="t.transaction_number like '%' || ${@transaction_num} || '%'"/>
<bm:query-fieldname="transaction_num"queryExpression="t.transaction_num like '%' || ${@transaction_num} || '%'"/>
<bm:query-fieldname="cf_item_n"queryExpression="t.cf_item_n like '%' || ${@cf_item_n} || '%'"/>
<bm:query-fieldname="extra_nam"queryExpression="t.extra_name like '%' || ${@extra_nam} || '%'"/>
<bm:query-fieldname="extra_nam"queryExpression="t.extra_nam like '%' || ${@extra_nam} || '%'"/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filterenforceOperations="query"expression="exists (select 1 from aut_trx_user_authorize a1, aut_owner_user_authorize a2 WHERE a1.trx_category = 'CONTRACT' and a1.trx_id = t.contract_id AND trunc(sysdate) between a1.start_date AND nvl(a1.end_date, trunc(sysdate)) and a1.user_id = a2.owner_user_id AND a1.trx_category = a2.trx_category AND a2.authorized_user_id = ${/session/@user_id} AND trunc(sysdate) between a2.start_date and nvl(a2.end_date, trunc(sysdate)))"/>
<!-- <bm:data-filter enforceOperations="query" expression="exists (select 1 from con_contract_cashflow where contract_id = t1.contract_id and cf_type = 9 and due_amount != nvl(received_amount,0) and generated_source not in ('CREATE'))"/> -->
<bm:query-fieldname="approve_user_code"queryExpression="t1.approve_user_code like ${@approve_user_code}"/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filtername="query"expression="( (${/session/@role_id} = 2306 and t1.workflow_code in ('CONTRACT_INCEPT_WFL', 'DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} in (2314, 2313, 2312) and t1.workflow_code in ('DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} not in (2306, 2314, 2313, 2312) and 1 = 1))"/>
<bm:data-filtername="query"expression="( (${/session/@role_id} = 2306 and t1.workflow_code in ('CONTRACT_INCEPT_WFL', 'DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} in (2314, 2313, 2312) and t1.workflow_code in ('DCFL_CSH_PAYMENT_REQ')) or (${/session/@role_id} = 2305 and t1.workflow_code in ('PROJECT_WFL')) or (${/session/@role_id} not in (2306, 2314, 2313, 2312, 2305) and 1 = 1))"/>
<a:model-querydefaultWhereClause="v.code='ZJ_WFL_WORKFLOW_STATUS' and v.code_value = '1'"model="zjwfl.sys_code_default_value"rootPath="workflow_status_default_value"/>
<a:model-querydefaultWhereClause="v.code='ZJ_WFL_WORKFLOW_STATUS' and v.code_value in ('1','10','-1','-1000')"model="zjwfl.sys_code_default_value"rootPath="workflow_status_list"/>
<a:model-querydefaultWhereClause="v.role_id = ${/session/@role_id} and v.role_code in ('0014','0013','0012','0006')"model="zjwfl.sys_role_flag"rootPath="role_flag_path"/>
<a:model-querydefaultWhereClause="v.role_id = ${/session/@role_id} and v.role_code in ('0014','0013','0012','0006','0005')"model="zjwfl.sys_role_flag"rootPath="role_flag_path"/>