<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:parameters>
                <bm:parameter name="contract_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="interim_rental" dataType="java.lang.Double" input="false" output="true" outputPath="@interim_rental"/>
                <bm:parameter name="discount" dataType="java.lang.Double" input="false" output="true" outputPath="@discount"/>
                <bm:parameter name="discount_limit_total" dataType="java.lang.Double" input="false" output="true" outputPath="@discount_limit_total"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    CON_CHANGE_REQ_CALC_ITFC_PKG.CHANGE_CALC
                    (
                        p_contract_id=>${@contract_id},
                        p_user_id=>${/session/@user_id},
                         p_INTERIM_RENTAL=>${@interim_rental},
                         p_discount	=>${@discount},
                         p_discount_limit_total =>${@discount_limit_total}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>