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

SF.net SVN: ledger-smb:[2992] addons/1.3/assets/trunk/sql/modules/Assets. sql



Revision: 2992
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2992&view=rev
Author:   einhverfr
Date:     2010-04-28 18:51:51 +0000 (Wed, 28 Apr 2010)

Log Message:
-----------
Correcting incorrect report type saved on asset_report

Modified Paths:
--------------
    addons/1.3/assets/trunk/sql/modules/Assets.sql

Modified: addons/1.3/assets/trunk/sql/modules/Assets.sql
===================================================================
--- addons/1.3/assets/trunk/sql/modules/Assets.sql	2010-04-26 23:05:25 UTC (rev 2991)
+++ addons/1.3/assets/trunk/sql/modules/Assets.sql	2010-04-28 18:51:51 UTC (rev 2992)
@@ -440,8 +440,6 @@
            (report_id, asset_id, disposal_method_id, percent_disposed)
     VALUES (in_id, in_asset_id, in_dm, in_percent_disposed);
 
-    UPDATE asset_report set report_class = 2 where id = in_id;
-
     RETURN TRUE;
     END;
 $$ language PLPGSQL;


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