src-db/database/model/functions/TEMPLATE.xml
changeset 1605 8a0fe0193bef
parent 1027 2e9052d7de0e
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="FUNCTION TEMPLATE">
     2   <database name="FUNCTION TEMPLATE">
     3     <function name="TEMPLATE" type="NULL">
     3     <function name="TEMPLATE" 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       <body><![CDATA[/*************************************************************************
     7       <body><![CDATA[/*************************************************************************
     8   * The contents of this file are subject to the Compiere Public
     8   * The contents of this file are subject to the Compiere Public
     9   * License 1.1 ("License"); You may not use this file except in
     9   * License 1.1 ("License"); You may not use this file except in
    31   ************************************************************************/
    31   ************************************************************************/
    32   -- Logistice
    32   -- Logistice
    33   v_ResultStr VARCHAR2(2000):='';
    33   v_ResultStr VARCHAR2(2000):='';
    34   v_Message VARCHAR2(2000):='';
    34   v_Message VARCHAR2(2000):='';
    35   v_Result NUMBER:=1; -- 0=failure
    35   v_Result NUMBER:=1; -- 0=failure
    36   v_Record_ID NUMBER;
    36   v_Record_ID VARCHAR2(32);
    37   v_AD_User_ID NUMBER;
    37   v_AD_User_ID VARCHAR2(32);
    38   v_PInstance_Log_ID NUMBER;
    38   v_PInstance_Log_ID VARCHAR2(32);
    39   v_Client_ID NUMBER;
    39   v_Client_ID VARCHAR2(32);
    40   -- Parameter
    40   -- Parameter
    41   TYPE RECORD IS REF CURSOR;
    41   TYPE RECORD IS REF CURSOR;
    42     Cur_Parameter RECORD;
    42     Cur_Parameter RECORD;
    43     -- Parameter Variables
    43     -- Parameter Variables
    44     rowcount NUMBER;
    44     rowcount NUMBER;