<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: jack  
    $Date: 2014-10-15 下午2:48:49  
    $Revision: 1.0  
    $Purpose:  
-->
<bm:model xmlns:bm="http://www.leaf-framework.org/schema/bm">
    <bm:operations>
        <bm:operation name="update">
            <bm:update-sql><![CDATA[
            begin
              prj_project_workflow_pkg.workflow_start(p_project_id => ${@project_id},
                                                         p_user_id => ${/session/@user_id},
                                                         p_layout_code =>${@layout_code});
			end;            
			]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql><![CDATA[
                BEGIN
                    prj_project_pkg.prj_project_submit(p_project_id => ${@project_id},
                    				 p_user_id => ${/session/@user_id},
                    				  p_company_id => ${/session/@company_id},
                    				   p_layout_code =>${@layout_code} );
                END;
            ]]></bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
