src-db/database/model/functions/MRP_PROCESSPLAN_RECALCULATE0.xml
changeset 1605 8a0fe0193bef
parent 1148 a97c297f11f1
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 MRP_PROCESSPLAN_RECALCULATE0">
     2   <database name="FUNCTION MRP_PROCESSPLAN_RECALCULATE0">
     3     <function name="MRP_PROCESSPLAN_RECALCULATE0" type="NULL">
     3     <function name="MRP_PROCESSPLAN_RECALCULATE0" 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
    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_Result NUMBER:=1; -- 0=failure
    26   v_Result NUMBER:=1; -- 0=failure
    27   v_Record_ID NUMBER;
    27   v_Record_ID VARCHAR2(32);
    28   v_User_ID NUMBER:=0;
    28   v_User_ID VARCHAR2(32):='0';
    29   v_TimeHorizon NUMBER;
    29   v_TimeHorizon NUMBER;
    30   v_PlanningDate DATE;
    30   v_PlanningDate DATE;
    31   v_SecurityMargin NUMBER;
    31   v_SecurityMargin NUMBER;
    32 
    32 
    33 
    33