<?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
			exp_report_pkg.update_exp_report_dists(
			                        p_exp_report_dists_id      =>${@exp_requisition_dists_id},
                                    p_description              =>${@description},
                                    p_period_name              =>${@period_num},
                                    p_price                    =>${@price},
                                    p_primary_quantity         =>${@primary_quantity},
                                    p_report_amount       =>${@requisition_amount},
                                    p_rep_functional_amount    =>${@requisition_functional_amount},
                                    p_company_id               =>${@company_id},
                                    p_unit_id                  =>${@unit_id},
                                    p_responsibility_center_id =>${@responsibility_center_id},
                                    p_employee_id              =>${@employee_id},
                                    p_payee_category           =>${@payee_category},
                                    p_payee_id                 =>${@payee_id},
                                    p_dimension1_id            =>${@e1},
                                    p_dimension2_id            =>${@e2},
                                    p_dimension3_id            =>${@e3},
                                    p_dimension4_id            =>${@e4},
                                    p_dimension5_id            =>${@e5},
                                    p_dimension6_id            =>${@e6},
                                    p_dimension7_id            =>${@e7},
                                    p_dimension8_id            =>${@e8},
                                    p_dimension9_id            =>${@e9},
                                    p_dimension10_id           =>${@e10},
                                    p_user_id                  =>${/session/@user_id},
                                    p_position_id              =>${@position_id},
                                     p_budget_item_id          =>${@budget_item_id},
                                    p_expense_item_id          =>${@expense_item_id},
                                    p_expense_type_id          =>${@expense_type_id}) ;
		end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
