<?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:update-sql><![CDATA[
                DECLARE
                    v_print_contract_id NUMBER;
                BEGIN
                    CON_CONTRACT_PKG.con_incept_print(p_contract_id=>${@contract_id},
                                                       p_print_contract_id=>${@v_print_contract_id},
                                                       p_user_id=>${/session/@user_id});

                END;
                ]]>
            </bm:update-sql>
            <bm:parameters>
                <bm:parameter name="v_print_contract_id" dataType="java.lang.Long" input="false" output="true" outputPath="@print_contract_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
