<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: zhangyi2652 $
    $Date: 2010/11/03 04:09:27 $
    $Revision: 1.1 $
    $Purpose: "会计期间控制" 模块中，用于关闭一个期间的bm
-->
<model xmlns="http://www.leaf-framework.org/schema/bm">
    <operations>
        <operation name="execute">
          <update-sql><![CDATA[
              begin
                gld_period_pkg.close_period(${/session/@company_id},
                                            ${@period_set_code},
                                            ${@period_name},
                                            ${/session/@user_id});
              end;
          ]]></update-sql>
         </operation>
         <operation name="update">
         <update-sql><![CDATA[
          begin
          gld_period_pkg.close_period_check(${@period_set_code},
                                           ${@period_name},
                                           ${/session/@user_id},
                                           ${@p_err_msg});
         end;
      ]]></update-sql>
      <parameters>
          <parameter name="p_err_msg" dataType="java.lang.String" input="false" output="true" outputPath="@p_err_msg"/>
      </parameters>
       </operation>
       </operations>
</model>
