Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0057558
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Modules] Advanced Warehouse Operationsmajorhave not tried2025-01-03 05:302025-01-14 08:29
ReporterAtulOpenbravoView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Merge Request Statusapproved
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Support ticket
OBNetwork customerNo
Regression introduced in release
Summary

0057558: Incorrect Organization set in Storage Detail

DescriptionWhen 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.
Steps To ReproduceIn 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0057398 closedAtulOpenbravo Incorrect Organization set in Storage Detail 

-  Notes
(0173799)
hgbot (developer)
2025-01-03 05:48

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/347 [^]
(0174099)
hgbot (developer)
2025-01-14 08:29

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.warehouse.advancedwarehouseoperations/-/merge_requests/347 [^]
(0174100)
hgbot (developer)
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 (developer)
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
---

- Issue History
Date Modified Username Field Change
2025-01-03 05:30 AtulOpenbravo New Issue
2025-01-03 05:30 AtulOpenbravo Assigned To => Triage Omni WMS
2025-01-03 05:30 AtulOpenbravo OBNetwork customer => No
2025-01-03 05:31 AtulOpenbravo Relationship added related to 0057398
2025-01-03 05:35 AtulOpenbravo Description Updated View Revisions
2025-01-03 05:35 AtulOpenbravo Steps to Reproduce Updated View Revisions
2025-01-03 05:48 hgbot Merge Request Status => open
2025-01-03 05:48 hgbot Note Added: 0173799
2025-01-03 10:25 AtulOpenbravo Status new => scheduled
2025-01-03 10:25 AtulOpenbravo Assigned To Triage Omni WMS => AtulOpenbravo
2025-01-14 08:25 hgbot Merge Request Status open => approved
2025-01-14 08:29 hgbot Note Added: 0174099
2025-01-14 08:29 hgbot Note Added: 0174100
2025-01-14 08:29 hgbot Resolution open => fixed
2025-01-14 08:29 hgbot Status scheduled => closed
2025-01-14 08:29 hgbot Note Added: 0174101


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker