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

index 3e3c6b4..7f3a948 100644 (file)
@@ -236,7 +236,7 @@ BEGIN
     IF v_diff != 0.00  THEN
     
         v_new_rate := _ar.aropen_amount / v_gltrans_amount;
-        
+        RAISE NOTICE '_ar.aropen_amount  % v_gltrans_amount % ', _ar.aropen_amount  ,v_gltrans_amount ;
         RAISE NOTICE 'aropen_id  % change currency rate from % to %', i_aropen_id, _ar.aropen_curr_rate  ,v_new_rate ;
     
         UPDATE