<?xml version="1.0" encoding="UTF-8"?>
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="query">
            <bm:query-sql><![CDATA[
                select * from hn_contract_cashflow_lease_lv
            ]]></bm:query-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                BEGIN
                    hn_report_pkg.hn_contract_cashflow_lv_init(p_calc_start_date =>to_date(${@calc_start_date},'YYYY-MM-DD'), 
                                                               p_calc_end_date =>to_date(${@calc_end_date},'YYYY-MM-DD'), 
                                                               p_session_id =>${/session/@session_id}, 
                                                               p_user_id =>${/session/@user_id});
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
