<?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:parameters>
                <bm:parameter name="payment_req_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="session_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="transaction_date" dataType="java.util.Date" input="true" output="false"/>
                <bm:parameter name="company_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="bank_account_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="bank_full_name" dataType="java.lang.String" input="true" output="false"/>
                <bm:parameter name="bp_bank_account_name" dataType="java.lang.String" input="true" output="false"/>
                <bm:parameter name="bp_bank_account_num" dataType="java.lang.String" input="true" output="false"/>
                <bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
                <bm:parameter name="bp_bank_account_id" dataType="java.lang.Long"/>
                <bm:parameter name="payment_method_id" dataType="java.lang.Long"/>
                <bm:parameter name="description"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[
                begin
                    HLS_BPM_IFAC_PKG.CSH_BPM_PAY
                    (
                        p_payment_req_id=>${@payment_req_id},
                        p_session_id=>${/session/@session_id},
                        p_transaction_date=>${@transaction_date},
                        p_company_id=>${/session/@company_id},
                        p_bank_account_id=>${@bank_account_id},
                        p_bank_full_name=>${@bank_full_name},
                        p_bp_bank_account_id =>${@bp_bank_account_id},
                        p_payment_method_id =>${@payment_method_id},
                        p_bp_bank_account_name=>${@bp_bank_account_name},
                        p_bp_bank_account_num=>${@bp_bank_account_num},
                        p_user_id=>${/session/@user_id},
                        p_description=>${@description}
                    );
                end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
