pgsql/investigations/ar-creditmemo.sql
authorEdward <edward@roojs.com>
Tue, 4 Feb 2014 10:01:40 +0000 (18:01 +0800)
committerEdward <edward@roojs.com>
Tue, 4 Feb 2014 10:01:40 +0000 (18:01 +0800)
pgsql/investigations/ar-creditmemo.sql

index 7f3a948..5c6f4a1 100644 (file)
@@ -142,7 +142,8 @@ BEGIN
     
         RAISE EXCEPTION 'aropen is missing gltrans in A/R account aropen_id=%' ,i_aropen_id;
     END IF;
-
+    
+    RAISE NOTICE 'v_gl_id %', v_gl_id;
 
 --     SELECT
 --             gltrans_sequence,