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

SF.net SVN: ledger-smb:[6301] addons/1.3/wxPOS/WXPOS/Invoice.pm



Revision: 6301
          http://sourceforge.net/p/ledger-smb/code/6301
Author:   einhverfr
Date:     2013-11-21 11:04:56 +0000 (Thu, 21 Nov 2013)
Log Message:
-----------
fixed posting error due to bad funcprefix handling

Modified Paths:
--------------
    addons/1.3/wxPOS/WXPOS/Invoice.pm

Modified: addons/1.3/wxPOS/WXPOS/Invoice.pm
===================================================================
--- addons/1.3/wxPOS/WXPOS/Invoice.pm	2013-11-21 10:52:48 UTC (rev 6300)
+++ addons/1.3/wxPOS/WXPOS/Invoice.pm	2013-11-21 11:04:56 UTC (rev 6301)
@@ -63,9 +63,9 @@
    } elsif ('2' eq $self->entity_class){
         $invseq = 'sinumber';
    }
-    my ($seq) = $self->call_procedure(funcname => 'setting_increment',
-                                    funcprefix => '',
-                                          args => [$invseq],
+    my ($seq) = $self->call_dbmethod(funcname => 'increment',
+                                    funcprefix => 'setting_',
+                                          args => {key => $invseq},
     );
     my ($val) = values %$seq;
     return $val;

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


------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits