src-db/database/model/functions/M_RESERVATION_POST.xml
changeset 18663 157c92ecd0e2
parent 18652 649b5e295f8c
child 18689 a17b382229ce
equal deleted inserted replaced
18662:c05cf8173234 18663:157c92ecd0e2
    31 ************************************************************************/
    31 ************************************************************************/
    32   v_ResultStr       VARCHAR2(2000):='';
    32   v_ResultStr       VARCHAR2(2000):='';
    33   v_Message         VARCHAR2(2000):='';
    33   v_Message         VARCHAR2(2000):='';
    34   v_reservation_id  VARCHAR2(32);
    34   v_reservation_id  VARCHAR2(32);
    35   v_user_id         VARCHAR2(32);
    35   v_user_id         VARCHAR2(32);
    36   v_Result          NUMBER:=1; --  Success
    36   v_Result NUMBER:=1; --  Success
    37   v_resaction       VARCHAR2(60);
    37   v_resaction       VARCHAR2(60);
    38   v_resstatus       VARCHAR2(60);
    38   v_resstatus       VARCHAR2(60);
    39   v_newstatus       VARCHAR2(60);
    39   v_newstatus       VARCHAR2(60);
    40   v_newaction       VARCHAR2(60);
    40   v_newaction       VARCHAR2(60);
    41 
    41 
    85     END IF;
    85     END IF;
    86     v_newstatus := 'CO';
    86     v_newstatus := 'CO';
    87     v_newaction := 'HO';
    87     v_newaction := 'HO';
    88     
    88     
    89     -- ADD RESERVED STOCK
    89     -- ADD RESERVED STOCK
    90     M_RESERVE_STOCK_AUTO (v_reservation_id, v_user_id, v_message);
    90     M_RESERVE_STOCK_AUTO(v_reservation_id, v_user_id, v_message);
    91 
    91 
    92   ELSIF (v_resaction = 'HO') THEN
    92   ELSIF (v_resaction = 'HO') THEN
    93   /*
    93   /*
    94     Reservation Hold Process
    94     Reservation Hold Process
    95   */
    95   */