<?xml version="1.0" encoding="UTF-8"?>
<!--
    $Author: 38823
    $Date: 2023-09-05
    $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
                    hlcm_pur_order_pkg.pur_wfl_start(
                    p_project_id =>${@project_id},
                    p_user_id => ${/session/@user_id}
                    );
                end;
            ]]></bm:update-sql>
        </bm:operation>
        <bm:operation name="execute">
            <bm:update-sql>
                <![CDATA[
        update prj_project pp
        set
        pp.project_status = 'CANCEL',
        pp.last_updated_by = ${/session/@user_id},
        pp.last_update_date = sysdate
        where pp.project_id = ${@project_id}
            ]]>
            </bm:update-sql>
        </bm:operation>
    </bm:operations>
</bm:model>
