<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm" needAccessControl="false">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="xml" databaseType="VARCHAR2" datatype="java.lang.String" output="true" outputPath="/parameter/@xml" />
            </bm:parameters>
            <bm:update-sql><![CDATA[
                declare
                v_xml varchar2(32767);
                begin
                v_xml := ds_doodream_support_pkg.submit_approveline_12(
                    p_contract_loss_id           =>${@contract_loss_id},
                    p_key_value             =>${@interface_name},
                    p_user_id               =>${/session/@user_id}
                );
                ${@xml} := v_xml;
                end;
                ]]>
            </bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>