Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053532Openbravo ERP04. Warehouse managementpublic2023-09-22 16:102023-10-18 15:06
philippe_mui 
ludmila_ursu 
highmajoralways
closedinvalid 
5
 
 
Core
No
0053532: RM-8084 [Total stock take] Final stock wrong in case of multiple import with stock updates inside
I may found a corner case where the system does not count the good final quantity.

See video : https://drive.google.com/file/d/1bp6dNiyNR3svupL0BlY__LssS9Vp2Sx4/view?usp=sharing [^]

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

Scenario :
Prerequisite : Make 2 x 1 sale of Item A in POS
Create the PI
Export the csv. Example : Item A has 4 quantity and item B 5 quantity
Import the csv. Example : Item A has 1 quantity and item B 7 quantity
Do not process the PI
Add +1 in stock Item A by making a return and remove -1 to item B by making a sale
Reimport the initial csv (gap book qty is recalculated)
Do not process the PI
Add +1 in stock Item A by making a return and remove -1 to item B by making a sale
Process the PI


Expected result : item A has quantity = 3 and item B has quantity = 5

Actual result : item A finishes in BO with quantity = 2 and item B with quantity = 6

Only 1 gap book quantity is removed from imported quantity. The second one is not taken into account.
FASH
Issue History
2023-09-22 16:10philippe_muiNew Issue
2023-09-22 16:10philippe_muiAssigned To => Triage Omni WMS
2023-09-22 16:10philippe_muiModules => Core
2023-09-22 16:10philippe_muiTriggers an Emergency Pack => No
2023-09-22 16:10philippe_muiTag Attached: FASH
2023-09-29 09:03mtaalAssigned ToTriage Omni WMS => agusti_gallego
2023-10-09 10:57mtaalAssigned Toagusti_gallego => ludmila_ursu
2023-10-09 11:55hgbotNote Added: 0155673
2023-10-09 13:51ludmila_ursuNote Added: 0155691
2023-10-09 13:51ludmila_ursuStatusnew => feedback
2023-10-18 12:13dmiguelezNote Added: 0155991
2023-10-18 12:13dmiguelezStatusfeedback => closed
2023-10-18 12:13dmiguelezResolutionopen => invalid
2023-10-18 15:06hgbotNote Added: 0156012

Notes
(0155673)
hgbot   
2023-10-09 11:55   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1013 [^]
(0155691)
ludmila_ursu   
2023-10-09 13:51   
Asked reporter for more information (please refer to the JIRA)
(0155991)
dmiguelez   
2023-10-18 12:13   
This is not a supported scenario.

A count should not be done when there are sales at the same time, and the system does provide some help to avoid the problems, but it does not support multiple imports of the same file without processing or exporting in the middle.
(0156012)
hgbot   
2023-10-18 15:06   
Merge request closed: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/1013 [^]