<?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:update-sql><![CDATA[
                BEGIN
                    hn_intermediary_hired_req_pkg.create_hired_contract_cdd(p_document_type  =>${@document_type},
                                      p_document_id    =>${@contract_id},
                                      p_company_id     =>${/session/@company_id},
                                      p_function_code  =>${@function_code},
                                      p_function_usage =>${@function_usage},
                                      p_user_id        =>${/session/@user_id},
                                      p_cdd_list_id    =>${@cdd_list_id});
                END;
            ]]></bm:update-sql>
            <bm:parameters>
                <bm:parameter name="cdd_list_id" dataType="java.lang.Long" input="true" output="true" outputPath="@cdd_list_id"/>
            </bm:parameters>
        </bm:operation>
    </bm:operations>
</bm:model>
