<?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:parameters>
                <bm:parameter name="control_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="company_id" dataType="java.lang.Long" input="true" output="false"/>
                <!-- <bm:parameter name="calc_date" dataType="java.lang.Long" input="true" output="false"/> -->
                <bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    CUS_RPT_CUS312_PKG.SUBMIT_RPT
                    (
                        p_control_id=>${@control_id},
                        p_company_id=>${/session/@company_id},
                        p_calc_date=>to_date(${@calc_date},'yyyy-mm-dd'),
                        p_user_id=>${/session/@user_id}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
