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

SF.net SVN: ledger-smb:[6778] trunk/LedgerSMB/Report/Inventory/Adj_Details. pm



Revision: 6778
          http://sourceforge.net/p/ledger-smb/code/6778
Author:   einhverfr
Date:     2014-02-06 06:22:57 +0000 (Thu, 06 Feb 2014)
Log Message:
-----------
more fixes, the APIs appear to be called mostly correctly now.  Next, final fixes and menu items.

Modified Paths:
--------------
    trunk/LedgerSMB/Report/Inventory/Adj_Details.pm

Modified: trunk/LedgerSMB/Report/Inventory/Adj_Details.pm
===================================================================
--- trunk/LedgerSMB/Report/Inventory/Adj_Details.pm	2014-02-06 06:20:14 UTC (rev 6777)
+++ trunk/LedgerSMB/Report/Inventory/Adj_Details.pm	2014-02-06 06:22:57 UTC (rev 6778)
@@ -18,6 +18,7 @@
 use LedgerSMB::Form;
 use LedgerSMB::IS;
 use LedgerSMB::IR;
+use LedgerSMB::AA;
 use LedgerSMB::App_State;
 
 =head1 DESCRIPTION
@@ -193,8 +194,8 @@
         }
     }
     ## Posting
-    IS->post_invoice($form_ar);
-    IR->post_invoice($form_ap);
+    IS->post_invoice({}, $form_ar);
+    IR->post_invoice({}, $form_ap);
     $self->call_procedure(procname => 'inventory_report__approve',
        args => [$self->id, $form_ar->{id}, $form_ap->{ap}]
     );

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


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-commits mailing list
..hidden..
https://lists.sourceforge.net/lists/listinfo/ledger-smb-commits