<bm:fieldname="history_flag"expression="(SELECT ct.history_flag FROM csh_transaction ct WHERE ct.transaction_id = t1.csh_transaction_id)"forInsert="false"forUpdate="false"/>
<bm:fieldname="ref_bp_name"expression="(select cc.bp_name from con_contract_v cc where cc.contract_id = nvl(t1.contract_id,t1.ASSIGNS_CONTRACT_ID))"forInsert="false"forUpdate="false"/>
<bm:fieldname="ref_contract_number"expression="(select cc.contract_number from con_contract cc where cc.contract_id = nvl(t1.contract_id,t1.ASSIGNS_CONTRACT_ID))"forInsert="false"forUpdate="false"/>
<bm:fieldname="gld_batch_id"/>
<!-- <bm:field name="ref_agent_name" expression="(select cc.extra_nam from con_contract_v cc where cc.contract_id = nvl(t1.contract_id,t1.ASSIGNS_CONTRACT_ID))" forInsert="false" forUpdate="false"/>-->
<!-- <bm:data-filter name="type" expression="t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT') and t1.returned_flag != 'FULL' and t1.reversed_flag = 'N' and nvl(t1.deposit_flag,'N')='N' "/>-->
<bm:data-filtername="type"expression="t1.transaction_type in ('ADVANCE_RECEIPT','RECEIPT') and t1.returned_flag != 'FULL' and nvl(t1.deposit_flag,'N')='N' and t1.confirmed_flag in ('WF_APPROVING','ACCAUDITED','APPROVED','WF_REJECTED') "/>
<bm:data-filtername="position_code"expression="(${@position_code} = '00217' and t1.bp_category = 'TENANT' and t1.paid_byother_flag = 'N') or (${@position_code} = '00321' and t1.bp_category != 'TENANT' and t1.paid_byother_flag != 'N') or (${/session/@user_id} = 1)"/>
<a:model-querydefaultWhereClause="t1.parent_table is null and t1.tab_type!='TAB' and t1.enabled_flag='Y' and rownum=1"fetchAll="true"model="cont.CON500.con_hls_doc_layout_tab_query"rootPath="base_table_path"/>
<!-- <s:server-script><![CDATA[-->
<!-- var m=$ctx.get('/model/layout_main_button_path');-->
<!-- println(m.toXML());-->
<!-- println('**************');-->
<!-- ]]></s:server-script>-->
<!-- <s:server-script><![CDATA[
var m=$ctx.get('/model/layout_main_button_path');
println(m.toXML());
println('**************');
]]></s:server-script> -->
</a:init-procedure>
<a:view>
<scripttype="text/javascript"><![CDATA[
...
...
@@ -25,14 +25,14 @@
if ('${/parameter/@winid}') {
if (parent.$L.CmpManager.get('${/parameter/@winid}')) {