details:   https://code.openbravo.com/erp/devel/pi/rev/fe6da6cee966
changeset: 23935:fe6da6cee966
user:      Daniel Ruiz <daniel.ruiz <at> openbravo.com>
date:      Mon Jun 30 16:11:53 2014 +0200
summary:   Fixes issue 26293: Unable to add exploded BOM to invoice from order 
when multiple shipments

diffstat:

 src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (21 lines):

diff -r 63b36e87a7fd -r fe6da6cee966 
src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
--- a/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java       Mon Jun 
30 13:59:05 2014 +0200
+++ b/src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java       Mon Jun 
30 16:11:53 2014 +0200
@@ -1610,11 +1610,12 @@
                   data[i].description, data[i].mProductId, data[i].cUomId, 
data[i].id, priceList,
                   priceActual, priceLimit, lineNetAmt.toString(), C_Tax_ID, 
taxAmt.toPlainString(),
                   data[i].quantityorder, data[i].mProductUomId, 
data[i].mAttributesetinstanceId,
-                  priceStd, lineNetAmt.toString(), priceGross, 
grossAmt.toString(),
-                  priceListGross.toString(), priceStdGross.toString(), 
isDeferred, planType,
-                  periodNumber, startingPeriodId, data[i].aAssetId, 
data[i].cProjectId,
-                  data[i].cCostcenterId, data[i].user1Id, data[i].user2Id, 
data[i].explode,
-                  data[i].isorder);
+                  priceStd, lineNetAmt.toString(), priceGross, 
grossAmt.toString(), priceListGross
+                      .toString(), priceStdGross.toString(), isDeferred, 
planType, periodNumber,
+                  startingPeriodId, data[i].aAssetId, data[i].cProjectId, 
data[i].cCostcenterId,
+                  data[i].user1Id, data[i].user2Id, data[i].explode,
+                  data[i].mInoutlineId.equals("") || data[i].mInoutlineId == 
null ? data[i].isorder
+                      : "N");
 
               if (!data[i].mInoutlineId.isEmpty() && 
strType.equals("SHIPMENT")) {
                 CreateFromInvoiceData.insertShipmentAcctDimension(conn, this, 
strSequence,

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to