pgsql/investigations/ar-creditmemo.sql
authorEdward <edward@roojs.com>
Tue, 4 Feb 2014 09:44:41 +0000 (17:44 +0800)
committerEdward <edward@roojs.com>
Tue, 4 Feb 2014 09:44:41 +0000 (17:44 +0800)
pgsql/investigations/ar-creditmemo.sql

index 38c601e..6b0ae01 100644 (file)
@@ -235,7 +235,7 @@ BEGIN
     
         v_new_rate := _ar.aropen_amount / v_gltrans_amount;
         
-        RAISE NOTICE 'change currency rate from % to %', _ar.aropen_curr_rate  ,v_new_rate ;
+        RAISE NOTICE 'aropen_id  % change currency rate from % to %', i_aropen_id, _ar.aropen_curr_rate  ,v_new_rate ;
     
         UPDATE 
                 aropen