details:   /erp/erp/devel/pi/rev/eccac3ab19bf
changeset: 4824:eccac3ab19bf
user:      Rajagopal Baskaran <rajagopal.baskaran <at> openbravo.com>
date:      Tue Aug 25 15:25:57 2009 +0530
summary:   issue fixes:10352 Initial client setup issue with obx has been fixed

diffstat:

 src-db/database/model/triggers/C_ACCTSCHEMA_PROCESS_TRG.xml |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (23 lines):

diff -r 57eee24cc1be -r eccac3ab19bf 
src-db/database/model/triggers/C_ACCTSCHEMA_PROCESS_TRG.xml
--- a/src-db/database/model/triggers/C_ACCTSCHEMA_PROCESS_TRG.xml       Mon Aug 
24 21:25:03 2009 +0200
+++ b/src-db/database/model/triggers/C_ACCTSCHEMA_PROCESS_TRG.xml       Tue Aug 
25 15:25:57 2009 +0530
@@ -62,9 +62,7 @@
         WHERE AD_CLIENT_ID = :NEW.AD_CLIENT_ID AND AD_ORG_ID = :NEW.AD_ORG_ID;
       ELSE
         -- No accounting schema was found!
-       --RAISE_APPLICATION_ERROR(-20000,'@NoAcctSchema@');
-       --RAISE_APPLICATION_ERROR(-20000, 'NoAcctSchema');
-       RAISE_APPLICATION_ERROR(-20000, '@NoAcctSchema@');
+        RAISE_APPLICATION_ERROR(-20000,'@NoAcctSchema@');
       END IF;
     ELSIF (v_Count>1) THEN
       -- If there exists more than one accounting schema for the organization 
then
@@ -99,7 +97,7 @@
         END IF;
       END LOOP;
     END IF;
-    :new.C_ACCTSCHEMA_ID=v_c_ACCTSCHEMA_ID;
+    :NEW.C_ACCTSCHEMA_ID := v_c_ACCTSCHEMA_ID;
   END IF;
 END IF;
   

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Openbravo-commits mailing list
Openbravo-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to