<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: wangwei  
    $Date: 2015-11-17 下午4:03:56  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
            begin
               sdic_invoice_pkg.check_before_import(
               p_header_id =>${/model/header/record/@header_id},
               p_user_id=>${/session/@user_id});
            end;
]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
              BEGIN
                  sdic_invoice_pkg.import_sdic_acr_invoice(
                  p_header_id =>${@header_id}, 
                  p_user_id=>${/session/@user_id});
              END;
          ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
