<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qwm  
    $Date: 2014-1-3 下午1:05:14  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[

               begin
					hls_monthend_new_pkg.insert_tax_confrim_temp(
                                    p_act_id  => ${@act_id},
                                    p_cashflow_id  => ${@cashflow_id},
                                    p_user_id   => ${/session/@user_id},
                                    p_session_id=>${/session/@session_id}
                                   );
            	end;
]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
            	
             begin
					hls_monthend_new_pkg.advance_tax_je_create(
                                    p_user_id   => ${/session/@user_id},
                                    p_session_id=>${/session/@session_id},
                                    p_company_id=>${/session/@company_id},
                                    p_period_name  => ${@period_name},
                                    p_calc_end_date   => to_date(${@calc_end_date},'yyyy-mm-dd')
                                   );
            	end;
]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
