<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: qianming  
    $Date: 2015-6-29 下午1:55:14  
    $Revision: 1.0  
    $Purpose: 北京国资租赁-用友财务接口-业务系统-凭证数据锁定
-->
<bm:model xmlns:o="leaf.database.local.oracle" xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
    			begin
    			  -- step 1 generate local interface data & lock interface data & insert import data & lock journal header
    			  bgfl_yongyou_interface_pkg.generate_for_journal(p_journal_header_id => ${@journal_header_id},
                                                  				  p_user_id => ${/session/@user_id});
				end;
    		]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
