[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

SF.net SVN: ledger-smb:[2276] branches/1.2/sql/fixes/ar_ap_summary_fix_1.2. 14.sql



Revision: 2276
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2276&view=rev
Author:   einhverfr
Date:     2008-08-17 17:44:59 +0000 (Sun, 17 Aug 2008)

Log Message:
-----------
Correcting issue with ar_ap_summary_data.sql

Modified Paths:
--------------
    branches/1.2/sql/fixes/ar_ap_summary_fix_1.2.14.sql

Modified: branches/1.2/sql/fixes/ar_ap_summary_fix_1.2.14.sql
===================================================================
--- branches/1.2/sql/fixes/ar_ap_summary_fix_1.2.14.sql	2008-08-16 23:15:13 UTC (rev 2275)
+++ branches/1.2/sql/fixes/ar_ap_summary_fix_1.2.14.sql	2008-08-17 17:44:59 UTC (rev 2276)
@@ -2,7 +2,7 @@
 
 UPDATE ap 
 SET netamount = 
-	CASE WHEN amount > 0 THEN -1 *
+	CASE WHEN amount > 0 THEN 
 		(select sum(amount) from acc_trans 
 		where trans_id = ap.id 
 			AND ((chart_id IN (select id from chart where link = 'AP')


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.