<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: Dru  
    $Date: 2011-9-7 下午3:24:30  
    $Revision: 1.0  
    $Purpose: 
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="execute">
            <bm:parameters>
                <bm:parameter name="expense_requisition_type_id" dataType="java.lang.Long" output="true" outputPath="@expense_requisition_type_id"/>
            </bm:parameters>
            <bm:update-sql><![CDATA[ begin
     exp_sob_expense_req_types_pkg.insert_exp_sob_req_types(${@set_of_books_id},
     														 ${/session/@company_id},
                                                             ${@expense_requisition_type_code},
                                                             ${@description},
                                                             ${@document_page_type},
                                                             ${@currency_code},
                                                             ${@expense_report_type_code},
                                                             ${@accrued_flag},
                                                             ${@enabled_flag},
                                                             ${@auto_approve_flag},
                                                             'Y',
                                                             ${@code_value},
                                                             ${/session/@user_id},
                                                             ${@one_off_flag},
                                                             ${@tolerance_flag},
                                                             ${@tolerance_range},
                                                             ${@tolerance_ratio},
                                                             ${@report_name},
                                                             ${@reserve_budget},
                                                             ${@budget_control_enabled},
                                                             ${@expense_requisition_type_id});
     end;]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
