<?xml version="1.0" encoding="UTF-8"?> <a:service xmlns:ns1="leaf.application.action" xmlns:s="leaf.plugin.script" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" trace="true"> <a:init-procedure> <s:server-script><![CDATA[ $ctx.parameter.enabled_flag = 'Y'; ]]></s:server-script> <a:model-query defaultWhereClause="t1.enabled_flag='Y'" fetchAll="true" model="cont.CON500.con_hls_doc_layout_tab_query" rootPath="rootpath_table_name"/> <a:model-query defaultWhereClause="t1.enabled_flag='Y'" fetchAll="true" model="cont.CON500.con_contract_bp_query_field" rootPath="rootpath_query_field"/> <!-- <s:server-script xmlns:s='leaf.plugin.script'><![CDATA[ var m=$ctx.get('/model/rootpath_table_name'); println(m.toXML()); println('******************'); ]]></s:server-script> --> <p:set field="@dynamic_base_table" value="${/model/rootpath_table_name/record/@query_source}"/> <a:model-query autoCount="true" fetchAll="true" model="cont.CON500.con_contract_common" rootPath="result"/> <!-- <s:server-script><![CDATA[ var bm = $bm('cont.CON500.con_contract_common'); bm.option = { 'rootPath': 'result', 'autoCount': 'true' }; bm.fetchDescriptor = { 'fetchAll': $ctx.parameter._fetchall }; bm.query(); ]]></s:server-script> --> </a:init-procedure> <a:service-output output="/model/result"/> </a:service>