Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053523Openbravo ERP04. Warehouse managementpublic2023-09-22 10:492024-02-13 14:48
philippe_mui 
AtulOpenbravo 
normalmajorrandom
closedfixed 
5
 
PR24Q1 
Core
No
0053523: RM-8537 [Stock][IC] When creating an IC with no gap with book quantity in BO : a pop up appears to alert of a discrepancy
Current result : An alert pop randomly appears when no gap is confirmed between quantities count and book quantities

Expected result : If there is no gap between quantities count and book quantities no pop up alert from discrepancy is displayed

https://openbravo.atlassian.net/browse/RM-8537 [^]

See video : https://drive.google.com/file/d/1-q7EmCCH4OAXHBhwRHier0KsM2nUtNm_/view?usp=sharing [^]
Steps to reproduce the bug :

In AWO, create an IC task
Add products and indicated the same quantities as in back office
I confirm the IC with no gap between counted quantities and book quantities

A pop up appears to alert a gap = KO
No tags attached.
Issue History
2023-09-22 10:49philippe_muiNew Issue
2023-09-22 10:49philippe_muiAssigned To => Triage Omni WMS
2023-09-22 10:49philippe_muiModules => Core
2023-09-22 10:49philippe_muiTriggers an Emergency Pack => No
2023-09-29 09:03mtaalAssigned ToTriage Omni WMS => AtulOpenbravo
2023-09-29 09:03mtaalStatusnew => scheduled
2023-09-29 09:03mtaalStatusscheduled => acknowledged
2023-10-13 13:39AtulOpenbravoNote Added: 0155832
2023-10-16 16:20AtulOpenbravoStatusacknowledged => scheduled
2023-10-16 16:20AtulOpenbravoNote Deleted: 0155832
2023-10-16 16:26hgbotNote Added: 0155893
2023-10-16 19:34AtulOpenbravoNote Added: 0155896
2023-10-17 08:48hgbotNote Added: 0155903
2023-10-17 08:48hgbotResolutionopen => fixed
2023-10-17 08:48hgbotStatusscheduled => closed
2023-10-17 08:48hgbotNote Added: 0155904
2024-02-13 14:48mtaalFixed in Version => PR24Q1

Notes
(0155893)
hgbot   
2023-10-16 16:26   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/185 [^]
(0155896)
AtulOpenbravo   
2023-10-16 19:34   
Test Plan

- Define below Preferences
- Organization: *, Property: Create Blind Inventory Counts by default, Value : N, Visible at Client: AWO-QA
- Organization: *, Property: Force Blind Inventory Count, Value : N, Visible at Client: AWO-QA
- Organization: *, Property: Check Inventory Lines Gaps, Value : Y, Visible at Client: AWO-QA
 
A.

- Login in AWO Front End
- Create a Inventory Count, Start a count
- Set Storage Bin as Food003, Add Product: Pine Apple
- Set Qty Counted = Qty Booked
- Confirm IC, Click OK
- Realize no popup appears for gap qty.

B.

- Create a Inventory Count, Start a count
- Set Storage Bin as Food003, Add Product: Pine Apple
- Set Qty Counted not equal to Qty Booked
- Confirm IC, Click OK
- Realize popup appears for gap qty.
(0155903)
hgbot   
2023-10-17 08:48   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/185 [^]
(0155904)
hgbot   
2023-10-17 08:48   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 4e83edaf677a14150be121966b4e47154e12c837
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 16-10-2023 19:54:15
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/4e83edaf677a14150be121966b4e47154e12c837 [^]

Fixes BUG-0053523: RM-8537 [Stock][IC] When creating an IC with
no gap with book quantity in BO : a pop up appears to alert of
a discrepancy

**Use compareTo to check difference between QtyBooked and Qty
Count instead of !=

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/mobile/processors/InventoryCountConfirmProcessor.java
---