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

SF.net SVN: ledger-smb:[2345] trunk/sql/modules/Payment.sql



Revision: 2345
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2345&view=rev
Author:   einhverfr
Date:     2008-09-30 14:53:27 +0000 (Tue, 30 Sep 2008)

Log Message:
-----------
Correcting bug with multiple payment posting.

Modified Paths:
--------------
    trunk/sql/modules/Payment.sql

Modified: trunk/sql/modules/Payment.sql
===================================================================
--- trunk/sql/modules/Payment.sql	2008-09-29 23:38:19 UTC (rev 2344)
+++ trunk/sql/modules/Payment.sql	2008-09-30 14:53:27 UTC (rev 2345)
@@ -477,6 +477,7 @@
 		set paid = paid + (select amount from bulk_payments_in b 
 			where b.id = ap.id)
 		where id in (select id from bulk_payments_in) $E$;
+	EXECUTE $E$ DROP TABLE bulk_payments_in $E$;
 	perform unlock_all();
 	return out_count;
 END;


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