[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[5943] branches/1.3/sql/modules/Company.sql
- Subject: SF.net SVN: ledger-smb:[5943] branches/1.3/sql/modules/Company.sql
- From: ..hidden..
- Date: Thu, 15 Aug 2013 18:44:28 +0000
Revision: 5943
http://sourceforge.net/p/ledger-smb/code/5943
Author: freelock
Date: 2013-08-15 18:44:23 +0000 (Thu, 15 Aug 2013)
Log Message:
-----------
Fix for bug #886, reported by Ramjett: Saving a company results in duplicates in the company table.
Actual problem is worse -- company table is updated using the wrong id.
Modified Paths:
--------------
branches/1.3/sql/modules/Company.sql
Modified: branches/1.3/sql/modules/Company.sql
===================================================================
--- branches/1.3/sql/modules/Company.sql 2013-08-08 20:36:35 UTC (rev 5942)
+++ branches/1.3/sql/modules/Company.sql 2013-08-15 18:44:23 UTC (rev 5943)
@@ -678,7 +678,7 @@
SET legal_name = in_name,
tax_id = in_tax_id,
sic_code = in_sic_code
- WHERE id = t_company_id;
+ WHERE entity_id = t_entity_id;
IF NOT FOUND THEN
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits