src-db/database/model/functions/R_REQUEST_PROCESS.xml
changeset 1605 8a0fe0193bef
parent 785 8dba91261590
child 6701 690d2af86089
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="FUNCTION R_REQUEST_PROCESS">
     2   <database name="FUNCTION R_REQUEST_PROCESS">
     3     <function name="R_REQUEST_PROCESS" type="NULL">
     3     <function name="R_REQUEST_PROCESS" type="NULL">
     4       <parameter name="p_pinstance_id" type="NUMERIC" mode="in">
     4       <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
     5         <default/>
     5         <default/>
     6       </parameter>
     6       </parameter>
     7       <parameter name="p_r_request_id" type="NUMERIC" mode="in">
     7       <parameter name="p_r_request_id" type="VARCHAR" mode="in">
     8         <default/>
     8         <default/>
     9       </parameter>
     9       </parameter>
    10       <body><![CDATA[/*************************************************************************
    10       <body><![CDATA[/*************************************************************************
    11   * The contents of this file are subject to the Compiere Public
    11   * The contents of this file are subject to the Compiere Public
    12   * License 1.1 ("License"); You may not use this file except in
    12   * License 1.1 ("License"); You may not use this file except in
    36   ************************************************************************/
    36   ************************************************************************/
    37   -- Logistice
    37   -- Logistice
    38   v_ResultStr VARCHAR2(2000):='';
    38   v_ResultStr VARCHAR2(2000):='';
    39   v_Message VARCHAR2(2000):='';
    39   v_Message VARCHAR2(2000):='';
    40   v_Result NUMBER:=1; -- 0=failure
    40   v_Result NUMBER:=1; -- 0=failure
    41   v_Record_ID NUMBER;
    41   v_Record_ID VARCHAR2(32);
    42   v_AD_User_ID NUMBER;
    42   v_AD_User_ID VARCHAR2(32);
    43   -- Parameter
    43   -- Parameter
    44   TYPE RECORD IS REF CURSOR;
    44   TYPE RECORD IS REF CURSOR;
    45     Cur_Parameter RECORD;
    45     Cur_Parameter RECORD;
    46     -- Parameter Variables
    46     -- Parameter Variables
    47     --
    47     --
    48     v_NextNo NUMBER(10) ;
    48     v_NextNo VARCHAR2(32) ;
    49     v_Rows NUMBER(10) ;
    49     v_Rows NUMBER(10) ;
    50     FINISH_PROCESS BOOLEAN:=false;
    50     FINISH_PROCESS BOOLEAN:=false;
    51 
    51 
    52     rowcount NUMBER;
    52     rowcount NUMBER;
    53   BEGIN
    53   BEGIN