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

index d8e305c..f333d76 100644 (file)
@@ -132,7 +132,7 @@ BEGIN
     
         v_new_rate := _ar.arapply_applied / v_gltrans_amount;
         
-        RAISE NOTICE 'arapply_id  % change currency rate from % to %', i_arapply_id, _citem.cashrcpt_curr_rate  ,v_new_rate ;
+        RAISE NOTICE 'arapply_id  % change currency rate from % to %, applied % gl amount %', i_arapply_id, _citem.cashrcpt_curr_rate  ,v_new_rate,_ar.arapply_applied,v_gltrans_amount ;
     
 --         UPDATE 
 --                 aropen