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

SF.net SVN: ledger-smb:[6309] trunk/sql/modules/Account.sql



Revision: 6309
          http://sourceforge.net/p/ledger-smb/code/6309
Author:   einhverfr
Date:     2013-11-29 13:37:05 +0000 (Fri, 29 Nov 2013)
Log Message:
-----------
Making account deletion easier

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

Modified: trunk/sql/modules/Account.sql
===================================================================
--- trunk/sql/modules/Account.sql	2013-11-22 11:08:22 UTC (rev 6308)
+++ trunk/sql/modules/Account.sql	2013-11-29 13:37:05 UTC (rev 6309)
@@ -398,6 +398,7 @@
 RETURNS BOOL AS
 $$
 BEGIN
+DELETE FROM tax WHERE chart_id = in_id;
 DELETE FROM account_link WHERE account_id = in_id;
 DELETE FROM account WHERE id = in_id;
 RETURN FOUND;

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


------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits