<?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="company_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="journal_date" input="true"/>
                <bm:parameter name="je_transaction_code" dataType="java.lang.String" 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_gld_sun_je_interface_pkg.create_summary_je(
            			p_company_id=>${/session/@company_id},
            			p_request_date => to_date(${@journal_date},'yyyy-mm-dd'),
            			p_je_transaction_code => ${@je_transaction_code},
            			p_user_id => ${/session/@user_id}
            		);
            	end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>