details: https://code.openbravo.com/erp/devel/pi/rev/0daf8bc29298
changeset: 32715:0daf8bc29298
user: Carlos Sousa <carlos.sousa <at> openbravo.com>
date: Thu Apr 20 11:18:53 2017 +0200
summary: Fixes issue 35107: To include "line_id" information in fact_acct when
posting "Undeductable" invoice line tax in Purchase Invoice.
"line_id" information included in fact_acct when a
"Undeductable" invoice line tax in Purchase Invoice has been posted
diffstat:
src/org/openbravo/erpCommon/ad_forms/DocInvoice.java | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diffs (11 lines):
diff -r fc659d830363 -r 0daf8bc29298
src/org/openbravo/erpCommon/ad_forms/DocInvoice.java
--- a/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java Thu Apr 20
08:56:30 2017 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/DocInvoice.java Thu Apr 20
11:18:53 2017 +0200
@@ -873,6 +873,7 @@
for (int j = 0; data != null && j < data.length; j++) {
DocLine docLine1 = new DocLine(DocumentType, Record_ID, "");
docLine1.m_C_Tax_ID = data[j].cTaxId;
+ docLine1.m_TrxLine_ID = data[j].cInvoicelineId;
docLine1.m_C_BPartner_ID = data[j].cBpartnerId;
docLine1.m_M_Product_ID = data[j].mProductId;
docLine1.m_C_Costcenter_ID = data[j].cCostcenterId;
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits