Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025432Openbravo ERP07. Sales managementpublic2014-01-06 11:092014-01-06 11:13
thirumalaik 
dmiguelez 
normalminoralways
newopen 
5
 
 
Core
No
0025432: Enforce price limit callout issues in Sales Order
We have enforce price limit hidden feature in price list.Enable this feature by of displaying following fields(Price list(tab) - Enforce price list(field),Product price (tab) - Price limit (field))


Enable Enforce price limit feature and update product price less than price limit.You may get some callout error in error log.
(code issues in callout)
1.Enable enforce pricelimit in Price list
2.Add a Price limit as '23' for Product 'ABC'
3.add product ABC in Orderline and set Unit price as 22.
(got error in backend and no info in front end)
src/org/openbravo/erpCommon/ad_callouts/SL_Order_Amt.java

Issue : 1
  387 boolean enforced = SLOrderAmtData.listPriceType(this, strPriceList);
passing pricelist amount value instead of pricelist ID.

current: boolean enforced = SLOrderAmtData.listPriceType(this, strPriceList);
fix: boolean enforced = SLOrderAmtData.listPriceType(this, strMPricelistId);


Issue : 2
   392 + Utility.messageBD(this, "UnderLimitPrice", vars.getLanguage()) + "\")");

comma missed at end.

No tags attached.
Issue History
2014-01-06 11:09thirumalaikNew Issue
2014-01-06 11:09thirumalaikAssigned To => dmiguelez
2014-01-06 11:09thirumalaikModules => Core
2014-01-06 11:09thirumalaikTriggers an Emergency Pack => No
2014-01-06 11:13thirumalaikProposed Solution updated

There are no notes attached to this issue.