Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053117Openbravo ERP04. Warehouse managementpublic2023-08-01 14:112023-08-02 14:17
AtulOpenbravo 
AtulOpenbravo 
normalmajorhave not tried
closedfixed 
5
 
PR23Q4 
approved
No
Core
No
0053117: [Stock take] [Total] [RM-7615] The Stock Level is not correctly updated when there is a gap
[Stock take] [Total] The Stock Level is not correctly updated when there is a gap

https://openbravo.atlassian.net/browse/RM-7615 [^]
The Stock Level is not correctly updated when there is a gap. Step to reproduce it:

1.Created a PI for any product and exported the CSV.
Added Quantity count = exported quantity which means no gap during count and saved the CSV

2 Do sale for that product and import the CSV.

3.Gap book quantity and book quantity are correct.

4.After “Process inventory count”, the stock is not updated properly.
No tags attached.
Issue History
2023-08-01 14:11AtulOpenbravoNew Issue
2023-08-01 14:11AtulOpenbravoAssigned To => Triage Omni WMS
2023-08-01 14:11AtulOpenbravoOBNetwork customer => No
2023-08-01 14:11AtulOpenbravoModules => Core
2023-08-01 14:11AtulOpenbravoTriggers an Emergency Pack => No
2023-08-01 14:11AtulOpenbravoAssigned ToTriage Omni WMS => AtulOpenbravo
2023-08-01 14:11AtulOpenbravoStatusnew => scheduled
2023-08-01 14:11AtulOpenbravoNote Added: 0153061
2023-08-01 14:11AtulOpenbravoDescription Updatedbug_revision_view_page.php?rev_id=26555#r26555
2023-08-01 14:16hgbotMerge Request Status => open
2023-08-01 14:16hgbotNote Added: 0153062
2023-08-01 15:50AtulOpenbravoNote Added: 0153066
2023-08-01 15:50AtulOpenbravoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=26557#r26557
2023-08-02 08:04hgbotMerge Request Statusopen => approved
2023-08-02 14:17hgbotResolutionopen => fixed
2023-08-02 14:17hgbotStatusscheduled => closed
2023-08-02 14:17hgbotNote Added: 0153123
2023-08-02 14:17hgbotFixed in Version => PR23Q4
2023-08-02 14:17hgbotNote Added: 0153124

Notes
(0153061)
AtulOpenbravo   
2023-08-01 14:11   
https://openbravo.atlassian.net/browse/RM-7615 [^]
(0153062)
hgbot   
2023-08-01 14:16   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/957 [^]
(0153066)
AtulOpenbravo   
2023-08-01 15:50   
Test Plan

- Login to AWOQAAdmin role
- Create PI for product Pine Apple with Storage Bin Food003 for example Qty = 250
- Export CSV with both flag in the pop up as No.
- DO a Sales Order with POS Document Type for product Pine Apple with Qty 1 Pack = 5 units. Process It.
- Navigate to PI again and import the CSV.
- Realize that Booked Qty is set as 245, Quantity Count is 250, Gap Booked Qty is 5
- Process the Physical Inventory.
- Realize that Stock is set as 245 for Pine Apple in Food003 Bin.
(0153123)
hgbot   
2023-08-02 14:17   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/957 [^]
(0153124)
hgbot   
2023-08-02 14:17   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: 25565ddfe78a32748b779203b1131a619c179830
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 01-08-2023 17:42:53
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/25565ddfe78a32748b779203b1131a619c179830 [^]

Fixes BUG-0053117: [Stock take] [Total] [RM-7615] The Stock Level
is not correctly updated when there is a gap

**update inventory line properly before creating related
m_transaction

---
M src/org/openbravo/materialmgmt/InventoryCountProcess.java
---