src-db/database/model/functions/M_INOUT_POST.xml
changeset 19203 9011368fc0cf
parent 19202 dc915067d2ce
child 19206 0ce3b01ec4eb
--- a/src-db/database/model/functions/M_INOUT_POST.xml	Thu Jan 03 12:02:52 2013 +0530
+++ b/src-db/database/model/functions/M_INOUT_POST.xml	Thu Jan 03 10:42:10 2013 +0100
@@ -22,7 +22,7 @@
   * parts created by ComPiere are Copyright (C) ComPiere, Inc.;
   * All Rights Reserved.
   * Contributor(s): Openbravo SLU
-  * Contributions are Copyright (C) 2001-2012 Openbravo, S.L.U.
+  * Contributions are Copyright (C) 2001-2013 Openbravo, S.L.U.
   *
   * Specifically, this derivative work is based upon the following Compiere
   * file and version.
@@ -233,13 +233,13 @@
 
       IF v_Aux > 0 THEN  
         SELECT COUNT(*)
-	INTO v_Count
+        INTO v_Count
         FROM M_INOUT IO, M_INOUTLINE IOL
         WHERE IO.M_INOUT_ID = IOL.M_INOUT_ID
-	AND AD_ISORGINCLUDED(IOL.AD_Org_ID, IO.AD_Org_ID, IO.AD_Client_ID) <> -1
-	AND IO.M_INOUT_ID = v_Record_ID;
+        AND AD_ISORGINCLUDED(IOL.AD_Org_ID, IO.AD_Org_ID, IO.AD_Client_ID) <> -1
+        AND IO.M_INOUT_ID = v_Record_ID;
         IF (v_Count=0) THEN
-	  RAISE_APPLICATION_ERROR(-20000, '@NotCorrectOrgLines@') ;
+          RAISE_APPLICATION_ERROR(-20000, '@NotCorrectOrgLines@') ;
         END IF;
       END IF;