[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb:[2831] trunk/sql/modules/test/Account.sql
- Subject: SF.net SVN: ledger-smb:[2831] trunk/sql/modules/test/Account.sql
- From: ..hidden..
- Date: Tue, 22 Dec 2009 01:10:50 +0000
Revision: 2831
http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=2831&view=rev
Author: einhverfr
Date: 2009-12-22 01:10:49 +0000 (Tue, 22 Dec 2009)
Log Message:
-----------
Correcting AP insert in Accounts test script
Modified Paths:
--------------
trunk/sql/modules/test/Account.sql
Modified: trunk/sql/modules/test/Account.sql
===================================================================
--- trunk/sql/modules/test/Account.sql 2009-12-21 23:44:45 UTC (rev 2830)
+++ trunk/sql/modules/test/Account.sql 2009-12-22 01:10:49 UTC (rev 2831)
@@ -15,8 +15,8 @@
INSERT INTO entity_credit_account (id, meta_number, entity_id, entity_class, ar_ap_account_id)
values (-100, 'test1', -100, 1, -1000);
-INSERT INTO ap (invnumber, netamount, amount, entity_credit_account, id)
-VALUES ('TEST', '0', '0', -100, -100);
+INSERT INTO ap (invnumber, netamount, amount, entity_credit_account, id, curr)
+VALUES ('TEST', '0', '0', -100, -100, 'USD');
INSERT INTO acc_trans (trans_id, chart_id, amount)
VALUES (-100, currval('account_id_seq')::int, '0');
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.