<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="insert">
            <bm:update-sql><![CDATA[
                BEGIN
                    HL_SBO_INF_PKG.save_sbo_temp(p_journal_header_id => ${@journal_header_id}, p_user_id => ${/session/@user_id},p_id=>${/parameter/@v_id_1});
                END;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                BEGIN
                    HL_SBO_INF_PKG.create_sbo_inf_xml(p_journal_header_id => ${@journal_header_id}, p_user_id => ${/session/@user_id},p_batch_flag=>${@batch_flag},p_job_flag=>'N',p_id=>${/parameter/@v_id_1});
                END;
            ]]></bm:update-sql>
        </bm:operation>
      
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                BEGIN
                    select SBO_TMP_S.Nextval into ${@v_id_1} from dual;
                END;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="v_id_1" output="true" outputPath="/parameter/@v_id_1"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
