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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0036182
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Mobile Warehouse operationsmajoralways2017-06-06 11:342017-06-20 16:21
ReporternataliagView Statuspublic 
Assigned Tomigueldejuana 
PrioritynormalResolutionfixedFixed in VersionRR17Q3
StatusclosedFix in branchFixed in SCM revisiondb5cc04829b0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Tomarvintm
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0036182: Goods movement is not working correctly when using more stock than the available.

DescriptionIf you have the "Allow negative stock" disabled and you do a goods movement using a quantity higher than the stock available it does not appear in "Goods Movement" window in backoffice and an error is shown in tomcat log.


Steps To Reproduce1- Log in into backoffice and disable the "Allow negative stock" option in "Client" window.
2-Then go to Mobile Warehouse and create a new Goods Movement. (The organization used can't be * and should have a warehouse associated)
3-Select a product and the bins origin and destination. Automatically a quantity is shown.
4- Change that quantity using the keyboard and increase it.
5-Process the movement and go to "Goods movement" window in backoffice. This movement does not appear there and if you look the tomcat log an error is shown.
Proposed SolutionA message should appear in the mobile warehouse screen, advising the user that this order is not going to be processed due to the lack of stock. Otherwise, the user does not know that its order has not been processed.

TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0036040 closedranjith_qualiantech_com Goods Movements created from mobile are not saved in backend if the user's default organization is * 

-  Notes
(0097171)
hgbot (developer)
2017-06-06 18:09

Repository: erp/pmods/org.openbravo.mobile.warehouse
Changeset: 1513b55303b90704381cf1580c72a238851a4060
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Tue Jun 06 18:04:05 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.warehouse/rev/1513b55303b90704381cf1580c72a238851a4060 [^]

Fixed issue 0036182: Goods movement is not working correctly when using more stock than the available.

- Change to FailOver in order to make it transactional
- Handle the error and show a generic message

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src-db/database/sourcedata/OBMOBC_SERVICES.xml
M web/org.openbravo.mobile.warehouse/source/goodsMovement/wh-movement-model.js
---
(0097217)
malsasua (developer)
2017-06-08 13:38

The message displayed is not provided info about what is the line with problems to process. Could be possible to improve the error message informing about the product (or line) with the problem?
(0097303)
hgbot (developer)
2017-06-12 10:32

Repository: erp/pmods/org.openbravo.mobile.warehouse
Changeset: c1c14ccde98b65a5813353d414a616dba3a7a179
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 12 10:04:55 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.warehouse/rev/c1c14ccde98b65a5813353d414a616dba3a7a179 [^]

Fixed issue 0036182: Goods movement is not working correctly when using more stock than the available.

- Show the error message sent from backend in a modal

---
M web/org.openbravo.mobile.warehouse/source/goodsMovement/wh-movement-model.js
---
(0097315)
hgbot (developer)
2017-06-12 14:06

Repository: erp/pmods/org.openbravo.mobile.core
Changeset: db5cc04829b0ecc9b17618cea5daf0515198a4b8
Author: Miguel de Juana <miguel.dejuana <at> openbravo.com>
Date: Mon Jun 12 10:03:44 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/db5cc04829b0ecc9b17618cea5daf0515198a4b8 [^]

Fixed issue 0036182: Goods movement is not working correctly when using more stock than the available.

- If main Servlets gives an error message, send it to frontend

---
M src/org/openbravo/mobile/core/process/DataSynchronizationProcess.java
---

- Issue History
Date Modified Username Field Change
2017-06-06 11:34 nataliag New Issue
2017-06-06 11:34 nataliag Assigned To => Retail
2017-06-06 11:34 nataliag Resolution time => 1498514400
2017-06-06 11:34 nataliag Triggers an Emergency Pack => No
2017-06-06 11:35 nataliag Relationship added related to 0036040
2017-06-06 14:55 Practics Issue Monitored: Practics
2017-06-06 18:09 hgbot Checkin
2017-06-06 18:09 hgbot Note Added: 0097171
2017-06-06 18:09 hgbot Status new => resolved
2017-06-06 18:09 hgbot Resolution open => fixed
2017-06-06 18:09 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.warehouse/rev/1513b55303b90704381cf1580c72a238851a4060 [^]
2017-06-07 08:18 migueldejuana Assigned To Retail => migueldejuana
2017-06-07 10:47 marvintm Review Assigned To => marvintm
2017-06-07 10:47 marvintm Status resolved => closed
2017-06-07 10:47 marvintm Fixed in Version => RR17Q3
2017-06-08 13:38 malsasua Note Added: 0097217
2017-06-12 10:32 hgbot Checkin
2017-06-12 10:32 hgbot Note Added: 0097303
2017-06-12 10:32 hgbot Status closed => resolved
2017-06-12 10:32 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.warehouse/rev/1513b55303b90704381cf1580c72a238851a4060 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.warehouse/rev/c1c14ccde98b65a5813353d414a616dba3a7a179 [^]
2017-06-12 14:06 hgbot Checkin
2017-06-12 14:06 hgbot Note Added: 0097315
2017-06-12 14:06 hgbot Fixed in SCM revision http://code.openbravo.com/erp/pmods/org.openbravo.mobile.warehouse/rev/c1c14ccde98b65a5813353d414a616dba3a7a179 [^] => http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/db5cc04829b0ecc9b17618cea5daf0515198a4b8 [^]
2017-06-20 16:21 marvintm Status resolved => closed


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker