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

SF.net SVN: ledger-smb:[6445] trunk



Revision: 6445
          http://sourceforge.net/p/ledger-smb/code/6445
Author:   einhverfr
Date:     2014-01-11 14:06:51 +0000 (Sat, 11 Jan 2014)
Log Message:
-----------
fix to be later committed to 1.3 after release: ar vouchers can't be deleted

Modified Paths:
--------------
    trunk/Changelog
    trunk/sql/modules/Voucher.sql

Modified: trunk/Changelog
===================================================================
--- trunk/Changelog	2014-01-11 10:00:15 UTC (rev 6444)
+++ trunk/Changelog	2014-01-11 14:06:51 UTC (rev 6445)
@@ -101,6 +101,9 @@
 Initial Release:  Monday, Oct 12 2011
 Supported Presently
 
+Changelog for 1.3.37
+* Fixed unable to delete ar vouchers (Chris T)
+
 Changelog for 1.3.36
 * Set default date for AP invoice creation to current date (Chris T)
 * Removed "apply discount" from use overpayment screen (Chris T)

Modified: trunk/sql/modules/Voucher.sql
===================================================================
--- trunk/sql/modules/Voucher.sql	2014-01-11 10:00:15 UTC (rev 6444)
+++ trunk/sql/modules/Voucher.sql	2014-01-11 14:06:51 UTC (rev 6445)
@@ -467,6 +467,7 @@
                  where trans_id = any(t_transaction_ids));
 
 	DELETE FROM acc_trans WHERE trans_id = ANY(t_transaction_ids);
+	DELETE FROM ar WHERE id = ANY(t_transaction_ids);
 	DELETE FROM ap WHERE id = ANY(t_transaction_ids);
 	DELETE FROM gl WHERE id = ANY(t_transaction_ids);
 	DELETE FROM voucher WHERE batch_id = in_batch_id;

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


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits