details:   https://code.openbravo.com/erp/devel/pi/rev/6599ad024496
changeset: 22677:6599ad024496
user:      Jon Alegría <jon.alegria <at> openbravo.com>
date:      Tue Mar 11 12:18:27 2014 +0100
summary:   Fixes issue 0024800: createAccDefExpenseFact and 
computeTaxUndeductableLine
methods of DocInvoice class must be public

diffstat:

 src/org/openbravo/erpCommon/ad_forms/DocInvoice.java |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 9a1b082f1cab -r 6599ad024496 
src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
--- a/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java      Tue Mar 11 
09:32:59 2014 +0100
+++ b/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java      Tue Mar 11 
12:18:27 2014 +0100
@@ -1077,7 +1077,7 @@
     return plan;
   }
 
-  String createAccDefExpenseFact(Fact fact, DocLine_Invoice line, Account 
prodExpAccount,
+  public String createAccDefExpenseFact(Fact fact, DocLine_Invoice line, 
Account prodExpAccount,
       Account prodDefExpAccount, String lineAmount, String strCurrencyId, 
ConnectionProvider conn) {
     BigDecimal amount = new BigDecimal(lineAmount);
     String Fact_Acct_Group_ID = SequenceIdData.getUUID();
@@ -1349,7 +1349,7 @@
     return "Servlet for the accounting";
   } // end of getServletInfo() method
 
-  private void computeTaxUndeductableLine(ConnectionProvider conn, AcctSchema 
as, Fact fact,
+  public void computeTaxUndeductableLine(ConnectionProvider conn, AcctSchema 
as, Fact fact,
       DocLine docLine, String Fact_Acct_Group_ID, String taxId, String 
strTaxAmount) {
     int invoiceLineTaxCount = 0;
     int totalInvoiceLineTax = getTaxLineCount(conn, taxId);

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to