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

SF.net SVN: ledger-smb:[4638] branches/1.3/sql/modules/Reconciliation.sql



Revision: 4638
          http://ledger-smb.svn.sourceforge.net/ledger-smb/?rev=4638&view=rev
Author:   ehuelsmann
Date:     2012-04-06 12:19:12 +0000 (Fri, 06 Apr 2012)
Log Message:
-----------
Fix function signature for reconciliation__new_report_id(),
both in the definition and the comment creation.

Modified Paths:
--------------
    branches/1.3/sql/modules/Reconciliation.sql

Modified: branches/1.3/sql/modules/Reconciliation.sql
===================================================================
--- branches/1.3/sql/modules/Reconciliation.sql	2012-03-31 11:00:28 UTC (rev 4637)
+++ branches/1.3/sql/modules/Reconciliation.sql	2012-04-06 12:19:12 UTC (rev 4638)
@@ -204,7 +204,7 @@
 
 -- XXX Badly named, rename for 1.4.  --CT
 CREATE OR REPLACE FUNCTION reconciliation__new_report_id 
-(in_chart_id int, in_total numeric, in_end_date date, in_recon_fx) returns INT as $$
+(in_chart_id int, in_total numeric, in_end_date date, in_recon_fx bool) returns INT as $$
 
     INSERT INTO cr_report(chart_id, their_total, end_date, recon_fx) 
     values ($1, $2, $3, $4);
@@ -213,7 +213,7 @@
 $$ language 'sql';
 
 COMMENT ON FUNCTION reconciliation__new_report_id 
-(in_chart_id int, in_total numeric, in_end_date date)  IS
+(in_chart_id int, in_total numeric, in_end_date date, in_recon_fx bool)  IS
 $$ Inserts creates a new report and returns the id.$$;
 
 create or replace function reconciliation__add_entry(

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