<?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
            	   hls_exp_report_pkg.exp_report_pay( 
            	   		p_session_id              =>${/session/@session_id},
                        p_company_id              =>${/session/@company_id},
                        p_pay_date                =>to_date(${@transaction_date},'yyyy-mm-dd'),
                        p_internal_period_num     =>${@internal_period_num},
                        p_period_name             =>${@period_name},
                        p_exchange_rate_type      =>${@exchange_rate_type},
                        p_exchange_rate_quotation =>${@exchange_rate_quotation},
                        p_exchange_rate           =>${@exchange_rate},
                        p_bank_account_id         =>${@bank_account_id},
                        p_bank_account_num        =>${@bank_account_num},
                        p_bank_account_name       =>${@bank_account_name},
                        p_description             =>${@payment_description},
                        p_payment_method_id       =>${@payment_method_id},
                        p_user_id                 =>${/session/@user_id});
            	end;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
