Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0033281
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Retail Modules] Web POSmajoralways2016-06-15 09:552016-06-21 09:03
ReporterguillermogilView Statuspublic 
Assigned Toranjith_qualiantech_com 
PriorityimmediateResolutionfixedFixed in VersionRR16Q2.1
StatusclosedFix in branchFixed in SCM revisiond48eb43da477
ProjectionnoneETAnoneTarget VersionRR16Q2.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression levelProduction - Confirmed Stable
Regression date2015-03-08
Regression introduced in releaseRR15Q2
Regression introduced by commithttps://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/c0a35478e6ff [^]
Triggers an Emergency PackNo
Summary

0033281: M_GetStock in OrderLoader is not taking into account the Priority Warehouse

DescriptionM_GetStock in OrderLoader is not taking into account the Priority Warehouse.
Once the new way to call M_getStock was implemented it change the behaviour and instead of sending the priority_warehouse the warehouse parameter gets sent.
Steps To ReproduceHave 2 warehouses defined for the store, one with some qty for avalanche transceiver and other with none (The priority warehouse).
Then, on webPOS, add the avalanche transceiver and complete the sale.
You will see that on the priority warehouse you have negative stock.
Proposed SolutionJust change the call to:
StockUtils.getStock(processId, recordID, quantity, productId, null, null, warehouseId, orgId, attributesetinstanceId, OBContext.getOBContext().getUser().getId(), clientId, warehouseRuleId, uomId, null, null, null, null, null, reservationId, "N");
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0033268 closedranjith_qualiantech_com M_GetStock in OrderLoader is not taking into account the Priority Warehouse 

-  Notes
(0087699)
hgbot (developer)
2016-06-21 08:03

Repository: retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal
Changeset: d48eb43da477fe17cd34c51506d66d5226d3e3eb
Author: Ranjith S R <ranjith <at> qualiantech.com>
Date: Tue Jun 21 11:23:01 2016 +0530
URL: http://code.openbravo.com/retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal/rev/d48eb43da477fe17cd34c51506d66d5226d3e3eb [^]

Fixes issue 33281 : Order Loader getStock, warehouseId is replaced with priorityWarehouseId

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
---

- Issue History
Date Modified Username Field Change
2016-06-16 09:23 marvintm Type defect => backport
2016-06-16 09:23 marvintm Target Version => RR16Q2.1
2016-06-21 07:51 ranjith_qualiantech_com Assigned To Retail => ranjith_qualiantech_com
2016-06-21 08:03 hgbot Checkin
2016-06-21 08:03 hgbot Note Added: 0087699
2016-06-21 08:03 hgbot Status scheduled => resolved
2016-06-21 08:03 hgbot Resolution open => fixed
2016-06-21 08:03 hgbot Fixed in SCM revision => http://code.openbravo.com/retail/backports/3.0RR16Q2.1/org.openbravo.retail.posterminal/rev/d48eb43da477fe17cd34c51506d66d5226d3e3eb [^]
2016-06-21 09:03 marvintm Review Assigned To => marvintm
2016-06-21 09:03 marvintm Status resolved => closed
2016-06-21 09:03 marvintm Fixed in Version => RR16Q2.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker