(select sv.code_value_name from sys_code_values_v sv where sv.code='HLS050.HLS_PRICE_LIST.CALC_METHOD' and sv.code_value=p.calc_method) calc_method_name,
lower(t.lov_cascade_para1) lov_cascade_para1,
lower(t.lov_cascade_para2) lov_cascade_para2,
lower(t.lov_cascade_para3) lov_cascade_para3,
t.lower_limit,
t.upper_limit,
(select h.source_doc_category from hls_fin_calculator_hd h where h.calc_session_id = ${@calc_session_id} )source_doc_category
<bm:query-fieldfield="display_flag"queryExpression="(t.display_flag=${@display_flag} or (t.display_flag='C' and exists(select 1 from hls_fin_calc_config_quote q where q.calc_session_id=${@calc_session_id} and q.layout_area_seq=t.layout_area_seq and q.column_name=t.column_name and q.display_flag='Y')))"/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filterenforceOperations="query"expression="(t.layout_area_seq = 'H' and t.price_list=p.price_list and t.price_list = nvl(${@price_list},(select h.price_list from hls_fin_calculator_hd h where h.calc_session_id=${@calc_session_id})))"/>
<bm:data-filterenforceOperations="query"expression=" (t.column_name not in('BTB_INT_RATE') )"></bm:data-filter>
<bm:data-filtername="query"expression="(d.price_list =nvl(${@price_list},(select h.price_list from hls_fin_calculator_hd h where h.calc_session_id=${@calc_session_id})) and d.layout_area_seq = 'L' and lower(d.column_name)=nvl(${@column_name},lower(d.column_name)) and d.price_list=p.price_list)"/>
<bm:data-filterenforceOperations="query"expression=" (d.column_name not in('BTB_INTEREST','BTB_FEE') )"></bm:data-filter>
<a:model-querydefaultWhereClause="d.enabled_flag='Y' and nvl(d.display_flag,'N')!='N'"fetchAll="true"model="hls.HLS500.hls_fin_calc_config_ln"rootPath="calc_config_ln_path"/>
<a:model-querydefaultWhereClause="d.enabled_flag='Y' and nvl(d.display_flag,'N')!='N'"fetchAll="true"model="cont.CON_REPO001.hls_fin_calc_config_ln"rootPath="calc_config_ln_path"/>
<a:model-querydefaultWhereClause="t.enabled_flag='Y' and (t.display_flag='Y' or (t.display_flag='C' and exists(select 1 from hls_fin_calc_config_quote q where q.calc_session_id=${/parameter/@calc_session_id} and q.layout_area_seq='H' and q.column_name=t.column_name and q.display_flag='Y')))"fetchAll="true"model="hls.HLS500N.hls_fin_calc_config_hd_n"rootPath="calc_config_hd_path"/>
<a:model-querydefaultWhereClause="t.enabled_flag='Y' and (t.display_flag='Y' or (t.display_flag='C' and exists(select 1 from hls_fin_calc_config_quote q where q.calc_session_id=${/parameter/@calc_session_id} and q.layout_area_seq='H' and q.column_name=t.column_name and q.display_flag='Y')))"fetchAll="true"model="cont.CON_REPO001.hls_fin_calc_config_hd_n"rootPath="calc_config_hd_path"/>
<a:model-querydefaultWhereClause="t.enabled_flag='Y' and (t.display_flag='N' or (t.display_flag='C' and not exists(select 1 from hls_fin_calc_config_quote q where q.calc_session_id=${/parameter/@calc_session_id} and q.layout_area_seq='H' and q.column_name=t.column_name and q.display_flag='Y')))"fetchAll="true"model="hls.HLS500N.hls_fin_calc_config_hd_n"rootPath="temp_config_hd_path"/>
<a:model-querydefaultWhereClause="t.enabled_flag='Y' and (t.display_flag='N' or (t.display_flag='C' and not exists(select 1 from hls_fin_calc_config_quote q where q.calc_session_id=${/parameter/@calc_session_id} and q.layout_area_seq='H' and q.column_name=t.column_name and q.display_flag='Y')))"fetchAll="true"model="cont.CON_REPO001.hls_fin_calc_config_hd_n"rootPath="temp_config_hd_path"/>