Related to Issue 39822. Added previously deleted method and set it as deprecated
authorDavid Miguelez <david.miguelez@openbravo.com>
Mon, 14 Jan 2019 12:10:40 +0100
changeset 35317 00f3ad11d13d
parent 35316 a913d96060c7
child 35318 41b709331d14
child 35342 a8ea55646479
child 35361 020c1a9b3132
child 35411 3a582731abb4
Related to Issue 39822. Added previously deleted method and set it as deprecated
to avoid API Change.

This method however should be avoided as it should be removed in the future,
as the other deprecated methods in this issue.
src/org/openbravo/costing/CostingAlgorithmAdjustmentImp.java
--- a/src/org/openbravo/costing/CostingAlgorithmAdjustmentImp.java	Mon Jan 14 09:40:46 2019 +0100
+++ b/src/org/openbravo/costing/CostingAlgorithmAdjustmentImp.java	Mon Jan 14 12:10:40 2019 +0100
@@ -203,6 +203,15 @@
     return insertCostAdjustmentLine(lineParameters, null);
   }
 
+  @Deprecated
+  protected CostAdjustmentLine insertCostAdjustmentLine(MaterialTransaction trx,
+      BigDecimal adjustmentamt, CostAdjustmentLine _parentLine) {
+    final CostAdjustmentLineParameters lineParameters = new CostAdjustmentLineParameters(trx,
+        adjustmentamt, getCostAdj());
+    return insertCostAdjustmentLine(lineParameters, _parentLine);
+
+  }
+
   /**
    * Inserts a new cost adjustment line
    *