Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0052687Openbravo ERP04. Warehouse managementpublic2023-06-07 10:452023-07-31 11:51
philippe_mui 
agusti_gallego 
normalminoralways
closedfixed 
5
 
 
Core
No
0052687: [DO OTF] [Offline] [RM-7144] Last online value is not taken into account in other DO
In AWO, when going offline, Last online value is not taken into account in other DO when I scan an item.
The last online value should be the same as in the 1st DO

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

https://openbravo.atlassian.net/browse/RM-7144 [^]
In AWO when online, load a 1st DO with item A and corresponding quantity. Load a second DO without item A
Go offline
See the Last online value in the 1st loaded DO : it is OK
Open the 2nd DO and add item A : the Last online value is not taken into account and show '-' instead of the last online value.

Expected result : to have the same last online value if already loaded in all DOs.
FASH
related to defect 0053288 new Triage Omni WMS Modules Product without stock cannot be added to DO OTF if Ongoing DO document has line for that product 
Issue History
2023-06-07 10:45philippe_muiNew Issue
2023-06-07 10:45philippe_muiAssigned To => Triage Omni WMS
2023-06-07 10:45philippe_muiModules => Core
2023-06-07 10:45philippe_muiTriggers an Emergency Pack => No
2023-06-07 10:46philippe_muiTag Attached: FASH
2023-07-11 10:35mtaalAssigned ToTriage Omni WMS => ruben_jimenez
2023-07-11 11:20mtaalSummary[DO OTF] [Offline] Last online value is not taken into account in other DO => [DO OTF] [Offline] [RM-7144] Last online value is not taken into account in other DO
2023-07-11 11:20mtaalDescription Updatedbug_revision_view_page.php?rev_id=26427#r26427
2023-07-24 12:17hgbotNote Added: 0152822
2023-07-25 12:28AtulOpenbravoAssigned Toruben_jimenez => agusti_gallego
2023-07-25 12:28AtulOpenbravoStatusnew => scheduled
2023-07-25 12:39agusti_gallegoNote Added: 0152862
2023-07-27 15:10agusti_gallegoNote Edited: 0152862bug_revision_view_page.php?bugnote_id=0152862#r26532
2023-07-31 11:51hgbotResolutionopen => fixed
2023-07-31 11:51hgbotStatusscheduled => closed
2023-07-31 11:51hgbotNote Added: 0153011
2023-07-31 11:51hgbotNote Added: 0153012
2023-08-24 13:01AtulOpenbravoRelationship addedrelated to 0053288

Notes
(0152822)
hgbot   
2023-07-24 12:17   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/84 [^]
(0152862)
agusti_gallego   
2023-07-25 12:39   
(edited on: 2023-07-27 15:10)
Test Plan:

Test scenario 1: Two DOs

1. In BO, switch to AWO-QA Admin role. Go to Master Data Model Configuration and add a record with Master Data Model = Product and Mode = Local.
2. In BO, go to Pineapple product and add UPC 1234567890 (or whatever number) and copy it.
3. In AWO, login as the AWO-QA admin
   Organization: US West Coast
   Warehouse: US West Coast
4. Create a DO to US East Coast in the Food003 bin. Add a line of Pineapple (by scanning the code or manually, it doesn't matter). Available qty: 250.
5. Create another DO with the same info, but do not add any line.
6. Go offline and let the system detect that you are offline.
7. Add the line by scanning the Pineapple code set in step 2. The new line should display the same available stock quantity as the other DO (250).

Test scenario 2: Three DOs

1. In AWO, login as the AWO-QA admin
   Organization: US West Coast
   Warehouse: US West Coast
2. Create a DO to US East Coast in the Food003 bin. Add a line with 5 Pineapples. Available qty: 250.
3. Create another DO with the same info, and another Pineapple line with 5 pineapples. Availabe qty: 245.
4. Create another DO with the same info, but do no add any line.
5. Go offline and let the system detect that you are offline.
6. Add the line by scanning the Pineapple code set before. The new line should display the same available stock quantity as the second DO (245).


Test scenario 3: Two DOs, different bin

1. In BO, switch to AWO-QA Admin role. Go to Master Data Model Configuration and add a record with Master Data Model = Locator and Mode = Local.
2. In AWO, login as the AWO-QA admin
   Organization: US West Coast
   Warehouse: US West Coast
3. Create a DO to US East Coast in the Food003 bin. Add a line of Pineapple (by scanning the code or manually, it doesn't matter). Available qty: 250.
4. Create another DO to US East Coast in the Food003 bin, but do not add any line.
5. Go offline and let the system detect that you are offline.
6. Add the line by scanning the Pineapple code set before. The new line should display the same available stock quantity as the other DO (250).
7. Remove the line while offline. Change the bin to Food002. Add the line by scanning the Pineapple code. Available quantity should be -.

(0153011)
hgbot   
2023-07-31 11:51   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders [^]
Changeset: fda6f9ffebd1772ee7ad15c47a30fb7fbf3889c7
Author: Agustí Gállego <agusti.gallego@openbravo.com>
Date: 31-07-2023 09:51:06
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/commit/fda6f9ffebd1772ee7ad15c47a30fb7fbf3889c7 [^]

Fixed ISSUE-52687: Now DOlines show the correct last online value if there are...

---
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-model.js
M web/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/source/obawo-distributionorder-view.js
---
(0153012)
hgbot   
2023-07-31 11:51   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations.distributionorders/-/merge_requests/84 [^]