<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qwm  
    $Date: 2013-11-21 下午3:06:58  
    $Revision: 1.0  
    $Purpose: 
-->
<a:screen xmlns:c="leaf.application.action" xmlns:w="leaf.plugin.export.word" xmlns:s="leaf.plugin.script" xmlns:a="http://www.leaf-framework.org/application" xmlns:p="uncertain.proc" customizationEnabled="true" trace="true">
    <a:init-procedure participants="leaf.service.exception.ExceptionHandler">
        <a:model-query defaultWhereClause="fsn_type =&apos;CURR_AST&apos;" fetchAll="true" model="prj.PRJ509.prj_fsn_config_print" rootPath="curr_ast_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_bank_cash" rootPath="bank_cash_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_fin_ast_trd" rootPath="fin_ast_trd_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_nt_rec" rootPath="nt_rec_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_acc_rec_key_cli" rootPath="acc_rec_key_cli_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_acc_rec_age_str" rootPath="acc_rec_age_str_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_int_rec" rootPath="int_rec_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_div_rec" rootPath="div_rec_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_other_rec" rootPath="other_rec_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_non_curr_ast_in_one" rootPath="non_curr_ast_in_one_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_pmt_in_adv" rootPath="pmt_in_adv_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_inv" rootPath="inv_rp"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_other_curr_ast" rootPath="other_curr_ast_rp"/>
        <!-- -->
        <a:model-query defaultWhereClause="fsn_type =&apos;NON_CURR_AST&apos;" fetchAll="true" model="prj.PRJ509.prj_fsn_config_print" rootPath="prj_fsn_curr_no_ast_tab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_afs_fin_ast" rootPath="prj_fsn_afs_fin_ast_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_hd_to_mt_invmt" rootPath="prj_fsn_hd_to_mt_invmt_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_lt_rec" rootPath="prj_fsn_lt_rec_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_lt_rec_age_str" rootPath="prj_fsn_lt_rec_age_str_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_lt_eqi_invmt" rootPath="prj_fsn_lt_eqi_invmt_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_invmt_prop" rootPath="prj_fsn_invmt_prop_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_fixed_ast" rootPath="prj_fsn_fixed_ast_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_constr_in_prog" rootPath="prj_fsn_constr_in_prog_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_prj_matl" rootPath="prj_fsn_prj_matl_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_prod_bio_ast" rootPath="prj_fsn_prod_bio_ast_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_oil_ngas_ast" rootPath="prj_fsn_oil_ngas_ast_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_dev_costs" rootPath="prj_fsn_dev_costs_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_goodwill" rootPath="prj_fsn_goodwill_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_lt_def_exp" rootPath="prj_fsn_lt_def_exp_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_def_tax_ast" rootPath="prj_fsn_def_tax_ast_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_other_non_curr_ast" rootPath="prj_fsn_other_non_curr_ast_path"/>
        <a:model-query defaultWhereClause="fsn_type =&apos;NON_CURR_LIAB&apos;" fetchAll="true" model="prj.PRJ509.prj_fsn_config_print" rootPath="prj_fsn_non_curr_liab_tab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_lt_borr" rootPath="prj_fsn_lt_borr_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_bonds_payable" rootPath="prj_fsn_bonds_payable_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_lt_payables" rootPath="prj_fsn_lt_payables_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_speci_payable" rootPath="prj_fsn_speci_payable_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_est_liab" rootPath="prj_fsn_est_liab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_def_tax_liab" rootPath="prj_fsn_def_tax_liab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_other_non_curr_liab" rootPath="prj_fsn_other_non_curr_liab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_intgbl_ast" rootPath="prj_fsn_intgbl_ast_path"/>
        <!--利润表 -->
        <a:model-query defaultWhereClause="fsn_type =&apos;INCOME_STATEMENT&apos;" fetchAll="true" model="prj.PRJ509.prj_fsn_config_print" rootPath="prj_fsn_income_statement_tab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_oper_inc" rootPath="prj_fsn_oper_inc_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_oper_cost" rootPath="prj_fsn_oper_cost_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_oper_inc_cost_prd" rootPath="prj_fsn_oper_inc_cost_prd_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_oper_inc_cost_client" rootPath="prj_fsn_oper_inc_cost_client_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_oper_inc_cost_o_biz" rootPath="prj_fsn_oper_inc_cost_o_biz_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_bus_tax_surchar" rootPath="prj_fsn_bus_tax_surchar_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_sales_exp" rootPath="prj_fsn_sales_exp_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_admin_exp" rootPath="prj_fsn_admin_exp_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_fin_exp" rootPath="prj_fsn_fin_exp_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_imp_loss_on_ast" rootPath="prj_fsn_imp_loss_on_ast_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_gl_changes_in_fv" rootPath="prj_fsn_gl_changes_in_fv_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_invmt_inc" rootPath="prj_fsn_invmt_inc_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_non_oper_inc" rootPath="prj_fsn_non_oper_inc_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_non_oper_exp" rootPath="prj_fsn_non_oper_exp_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_l_disp_non_curr_ast" rootPath="prj_fsn_l_disp_non_curr_ast_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_inc_tax_exp" rootPath="prj_fsn_inc_tax_exp_path"/>
        <!--所有者权益-->
        <a:model-query defaultWhereClause="fsn_type =&apos;EQUITY&apos;" fetchAll="true" model="prj.PRJ509.prj_fsn_config_print" rootPath="prj_fsn_equity_tab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_share_capt" rootPath="prj_fsn_share_capt_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_capt_resv" rootPath="prj_fsn_capt_resv_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_tre_stock" rootPath="prj_fsn_tre_stock_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_surp_resv" rootPath="prj_fsn_surp_resv_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_retned_earnings" rootPath="prj_fsn_retned_earnings_path"/>
        <!--流动负债-->
        <a:model-query defaultWhereClause="fsn_type =&apos;CURR_LIAB&apos;" fetchAll="true" model="prj.PRJ509.prj_fsn_config_print" rootPath="prj_fsn_curr_liab_tab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_st_borr" rootPath="prj_fsn_st_borr_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_fin_ast_liab" rootPath="prj_fsn_fin_ast_liab_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_nt_payable" rootPath="prj_fsn_nt_payable_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_acc_pay_key_cli" rootPath="prj_fsn_acc_pay_key_cli_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_acc_pay_age_str" rootPath="prj_fsn_acc_pay_age_str_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_rec_in_adv" rootPath="prj_fsn_rec_in_adv_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_emp_benef_payable" rootPath="prj_fsn_emp_benef_payable_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_tax_surchar_payable" rootPath="prj_fsn_tax_surchar_payable_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_int_payable" rootPath="prj_fsn_int_payable_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_div_payable" rootPath="prj_fsn_div_payable_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_other_payables" rootPath="prj_fsn_other_payables_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_other_pay_age_str" rootPath="prj_fsn_other_pay_age_str_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_non_curr_lia_in_one" rootPath="prj_fsn_non_curr_lia_in_one_path"/>
        <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id} " fetchAll="true" model="prj.PRJ509.prj_fsn_other_curr_liab" rootPath="prj_fsn_other_curr_liab_path"/>
        <!-- <s:server-script><![CDATA[
                    	var m = $ctx.get('/model/prj_fsn_curr_ast_tab_path');
                    	if (m) println(m.toXML());
                	]]></s:server-script> -->
        <!-- <p:loop source="/model/curr_ast_rp">
            <p:switch test="@fsn_item">
                <p:case value="BANK_CASH">
                    <a:model-query defaultWhereClause="fin_statement_id=${/parameter/@fin_statement_id}" model="prj.PRJ509.prj_fsn_bank_cash" rootPath="bank_cash_rp"/>
                </p:case>
            </p:switch>
        </p:loop> -->
        <w:word-export name="财务报表附注.doc" template="leaf.plugin.export.word/prj_fsn_print.xml">
            <!-- <w:replaces>
                <w:replace name="project_number" path="/model/prj_project_path/record/@project_number"/>
                <w:replace name="bp_tenant" path="/model/prj_project_bp_tenant_rp/record/@bp_name"/>
            </w:replaces> --><![CDATA[
            
            
            
            
            
            
            
        ]]></w:word-export>
        <p:exception-handles>
            <p:catch Exception="*">
                <p:action name="HandleException"/>
                <p:action name="CreateErrorResponse"/>
            </p:catch>
        </p:exception-handles>
    </a:init-procedure>
</a:screen>