details: https://code.openbravo.com/erp/devel/pi/rev/f1c506df75cd
changeset: 17752:f1c506df75cd
user: Mikel Irurita <mikel.irurita <at> openbravo.com>
date: Thu Aug 23 10:46:07 2012 +0200
summary: Related to issue 21277: missing parameters on MA_PRODUCTION_COST
diffstat:
src/org/openbravo/costing/CostingAlgorithm.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (20 lines):
diff -r 76bc4890f3db -r f1c506df75cd
src/org/openbravo/costing/CostingAlgorithm.java
--- a/src/org/openbravo/costing/CostingAlgorithm.java Thu Aug 23 10:09:14
2012 +0200
+++ b/src/org/openbravo/costing/CostingAlgorithm.java Thu Aug 23 10:46:07
2012 +0200
@@ -30,6 +30,7 @@
import org.openbravo.base.structure.BaseOBObject;
import org.openbravo.costing.CostingServer.TrxType;
import org.openbravo.dal.core.DalUtil;
+import org.openbravo.dal.core.OBContext;
import org.openbravo.dal.service.OBDal;
import org.openbravo.erpCommon.utility.OBDateUtils;
import org.openbravo.financial.FinancialUtils;
@@ -517,6 +518,8 @@
try {
List<Object> params = new ArrayList<Object>();
+ params.add(production.getId());
+ params.add((String) DalUtil.getId(OBContext.getOBContext().getUser()));
CallStoredProcedure.getInstance().call("MA_PRODUCTION_COST", params,
null, true, false);
} catch (Exception e) {
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits