pgsql/investigations/ar-cash.sql
authorEdward <edward@roojs.com>
Wed, 5 Feb 2014 06:43:56 +0000 (14:43 +0800)
committerEdward <edward@roojs.com>
Wed, 5 Feb 2014 06:43:56 +0000 (14:43 +0800)
pgsql/investigations/ar-cash.sql

index 09c262b..25a07ee 100644 (file)
@@ -130,7 +130,7 @@ BEGIN
     
         v_new_rate := _ar.arapply_applied / v_gltrans_amount;
         
-        RAISE NOTICE 'aropen_id  % change currency rate from % to %', i_aropen_id, _ar.aropen_curr_rate  ,v_new_rate ;
+        RAISE NOTICE 'aropen_id  % change currency rate from % to %', i_arapply_id, _citem.cashrcpt_curr_rate  ,v_new_rate ;
     
 --         UPDATE 
 --                 aropen