<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                begin
                    goods_policy_pkg.split(
                        p_batch_id =>${@batch_id},
                        p_user_id =>${/session/@user_id});
                end;
                ]]>
            </bm:update-sql>
        </bm:operation>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
                begin
                    goods_policy_pkg.create_t_goods_batch_detail(
                        p_batch_id =>${@batch_id},
                        p_header_id =>${@header_id},
                        p_user_id =>${/session/@user_id});
                    end;
                ]]>
            </bm:update-sql>
        </bm:operation>

    </bm:operations>
</bm:model>
