Openbravo Issue Tracking System - Modules
View Issue Details
0057558ModulesAdvanced Warehouse Operationspublic2025-01-03 05:302025-01-14 08:29
AtulOpenbravo 
AtulOpenbravo 
normalmajorhave not tried
closedfixed 
5
 
 
approved
No
0057558: Incorrect Organization set in Storage Detail
When we have a warehouse operation of a product belonging to the parent organization (for example US), if we make movements corresponding to a child organization (US East Coast or US West Coast, the operation should not change organization, it should continue to belong to the parent organization.
In backoffice, Login with AWO-QAAdmin Role, Organization: US, Warehouse: US East Coast.


1. Create a Purchase Order
  - Organization: US
  - Business Partner: Be Soft Drinker, Inc.
  - Warehouse: US East Coast
  - Product: Ale Beer, Quantity 250
  - Book PO.


2-In AWO Front, Login with AWO-QAAdmin Role, Organization: US, Warehouse: US East Coast.
3. Receive the PO created in Storage Bin: Food002
4. Navigate to Back Office
5. Go to Product : Ale Beer, Stock Tab: Select the ID from record with Storage Bin: Food002.
6. Using PgAdmin Tool, in DB check that AD_Org_ID for this record is of US Org i.e F477B20FCDEB46D897DC5B361B92D95F

7. Navigate to Warehouse Operations, select the line with Product : Ale Beer, Storage Bin: Food002, Quantity: 250.
8. Move it to Storage Bin: Food 003.
9. Process the Task create for above operations.
10. Navigate to Back Office
11. Go to Product : Ale Beer, Stock Tab: Select the ID from record with Storage Bin: Food003.
12. Using PgAdmin Tool, in DB check that AD_Org_ID for this record is of US East Coast Org i.e 3FF21930C89F4A8FAC60E7264BF96568
No tags attached.
related to defect 0057398 closed AtulOpenbravo Incorrect Organization set in Storage Detail 
Issue History
2025-01-03 05:30AtulOpenbravoNew Issue
2025-01-03 05:30AtulOpenbravoAssigned To => Triage Omni WMS
2025-01-03 05:30AtulOpenbravoOBNetwork customer => No
2025-01-03 05:31AtulOpenbravoRelationship addedrelated to 0057398
2025-01-03 05:35AtulOpenbravoDescription Updatedbug_revision_view_page.php?rev_id=28983#r28983
2025-01-03 05:35AtulOpenbravoSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28985#r28985
2025-01-03 05:48hgbotMerge Request Status => open
2025-01-03 05:48hgbotNote Added: 0173799
2025-01-03 10:25AtulOpenbravoStatusnew => scheduled
2025-01-03 10:25AtulOpenbravoAssigned ToTriage Omni WMS => AtulOpenbravo
2025-01-14 08:25hgbotMerge Request Statusopen => approved
2025-01-14 08:29hgbotNote Added: 0174099
2025-01-14 08:29hgbotNote Added: 0174100
2025-01-14 08:29hgbotResolutionopen => fixed
2025-01-14 08:29hgbotStatusscheduled => closed
2025-01-14 08:29hgbotNote Added: 0174101

Notes
(0173799)
hgbot   
2025-01-03 05:48   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/347 [^]
(0174099)
hgbot   
2025-01-14 08:29   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/347 [^]
(0174100)
hgbot   
2025-01-14 08:29   
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 8300cb49ef5810d90656743d72c4e010613f8c41
Author: Atul Gaware <atul.gaware@openbravo.com>
Date: 03-01-2025 10:14:35
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/8300cb49ef5810d90656743d72c4e010613f8c41 [^]

Related to BUG-0057558: Incorrect Organization set in Storage Detail

**Revert the change to set Organization of Storage bin from
Storage Details in Task Requirement.

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/task/StorageDetailUtils.java
M src/org/openbravo/warehouse/advancedwarehouseoperations/task/TaskRequirement.java
---
(0174101)
hgbot   
2025-01-14 08:29   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations [^]
Changeset: 699ab643c262d076bca41404fb2c5c8dba662ca0
Author: Víctor Martínez Romanos <v.martinez@orisha.com>
Date: 10-01-2025 15:52:20
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/commit/699ab643c262d076bca41404fb2c5c8dba662ca0 [^]

Fixes BUG-0057558: Admin mode false when generating and confirming Counts

The storage detail might belong to an organization without write access.
In this case DAL, exceptionally, must not check the organization to allow
saving the task in the storage detail organization.

This organization is used later on to create the Inventory Count and, when
processing it, to update the storage detail accordingly.

With this changeset we ensure the task and inventory count are properly saved,
and that the storage detail keeps its original organization.

This is how it works the Put-Away like tasks, which are also based on a
storage detail.

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