src-db/database/model/functions/MRP_REQUISITION.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
child 2292 14f461617d84
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="FUNCTION MRP_REQUISITION">
     2   <database name="FUNCTION MRP_REQUISITION">
     3     <function name="MRP_REQUISITION" type="NULL">
     3     <function name="MRP_REQUISITION" 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 Openbravo  Public  License
     8 * The contents of this file are subject to the Openbravo  Public  License
     9 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
     9 * Version  1.0  (the  "License"),  being   the  Mozilla   Public  License
    21 * Contributor(s):  ______________________________________.
    21 * Contributor(s):  ______________________________________.
    22 ************************************************************************/
    22 ************************************************************************/
    23   -- Logistice
    23   -- Logistice
    24   v_ResultStr VARCHAR2(2000):='';
    24   v_ResultStr VARCHAR2(2000):='';
    25   v_Message VARCHAR2(2000):='';
    25   v_Message VARCHAR2(2000):='';
    26   v_Record_ID NUMBER;
    26   v_Record_ID VARCHAR2(32);
    27   v_User_ID NUMBER:=0;
    27   v_User_ID VARCHAR2(32):='0';
    28   v_Client_ID NUMBER;
    28   v_Client_ID VARCHAR2(32);
    29   v_Org_ID NUMBER;
    29   v_Org_ID VARCHAR2(32);
    30   v_Description0 VARCHAR(255);
    30   v_Description0 VARCHAR(255);
    31   v_Description VARCHAR(255);
    31   v_Description VARCHAR(255);
    32   v_Count NUMBER;
    32   v_Count NUMBER;
    33 
    33 
    34   v_MRequisition_ID NUMBER:=NULL;
    34   v_MRequisition_ID VARCHAR2(32):=NULL;
    35   v_MRequisitionLine_ID NUMBER;
    35   v_MRequisitionLine_ID VARCHAR2(32);
    36   v_DocumentNo NVARCHAR2(60);
    36   v_DocumentNo NVARCHAR2(60);
    37   v_Line NUMBER:= 0;
    37   v_Line NUMBER:= 0;
    38 
    38 
    39   FINISH_PROCESS BOOLEAN DEFAULT FALSE;
    39   FINISH_PROCESS BOOLEAN DEFAULT FALSE;
    40   --  Parameter
    40   --  Parameter