Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0053454Openbravo ERP04. Warehouse managementpublic2023-09-13 17:212023-09-15 20:58
agusti_gallego 
agusti_gallego 
normalminoralways
closedfixed 
5
 
PR23Q4 
approved
No
Core
No
0053454: [RM-7333] [Total ST] Errors management: EAN from different organization
Including products from an organization in an inventory count from another organization does not trigger an error when the organizations do not belong to the same natural tree.

Jira: https://openbravo.atlassian.net/browse/RM-7333 [^]
Scenario: Add incoherent data in the file. Example: A EAN or A product search key in a B store

Actual result: we have an error line in the result but it is well imported in OB BO.

Expected result: the line should not be imported in OB BO

Note: when you add incoherent storage bin, it is well rejected so OK for this.
No tags attached.
Issue History
2023-09-13 17:21agusti_gallegoNew Issue
2023-09-13 17:21agusti_gallegoAssigned To => Triage Omni WMS
2023-09-13 17:21agusti_gallegoOBNetwork customer => No
2023-09-13 17:21agusti_gallegoModules => Core
2023-09-13 17:21agusti_gallegoTriggers an Emergency Pack => No
2023-09-13 17:21agusti_gallegoAssigned ToTriage Omni WMS => agusti_gallego
2023-09-13 17:24hgbotMerge Request Status => open
2023-09-13 17:24hgbotNote Added: 0154821
2023-09-14 15:37agusti_gallegoNote Added: 0154863
2023-09-14 16:01agusti_gallegoNote Edited: 0154863bug_revision_view_page.php?bugnote_id=0154863#r26827
2023-09-15 11:59SandrahuguetDescription Updatedbug_revision_view_page.php?rev_id=26831#r26831
2023-09-15 14:46agusti_gallegoNote Edited: 0154863bug_revision_view_page.php?bugnote_id=0154863#r26834
2023-09-15 14:52agusti_gallegoNote Edited: 0154863bug_revision_view_page.php?bugnote_id=0154863#r26835
2023-09-15 20:57hgbotMerge Request Statusopen => approved
2023-09-15 20:58hgbotResolutionopen => fixed
2023-09-15 20:58hgbotStatusnew => closed
2023-09-15 20:58hgbotNote Added: 0154906
2023-09-15 20:58hgbotFixed in Version => PR23Q4
2023-09-15 20:58hgbotNote Added: 0154907

Notes
(0154821)
hgbot   
2023-09-13 17:24   
Merge Request created: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/997 [^]
(0154863)
agusti_gallego   
2023-09-14 15:37   
(edited on: 2023-09-15 14:52)
Test Plan:

1. Log in to BO.
  Role: AWOQA-Admin
  Organization: US
  Warehouse: US West Coast.
2. Go to product and take note of a product Search Key from España organization. For instance: ES/0001.
3. Go to Physical Inventory and create a total inventory count for the US West Coast warehouse.
4. Export the data as CSV. Open the CSV, duplicate a line, and replace the Search Key of the duplicated line with the key note in step 2.
5. Import the data. There should be an error indicating that you cannot import the product into that inventory count. Check that the product hasn't been imported.

(0154906)
hgbot   
2023-09-15 20:58   
Merge request merged: https://gitlab.com/openbravo/product/openbravo/-/merge_requests/997 [^]
(0154907)
hgbot   
2023-09-15 20:58   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/openbravo [^]
Changeset: ff76bd292fe9a09c33a760da987ebfce430505d6
Author: Agustí Gállego <agusti.gallego@openbravo.com>
Date: 15-09-2023 18:58:24
URL: https://gitlab.com/openbravo/product/openbravo/-/commit/ff76bd292fe9a09c33a760da987ebfce430505d6 [^]

Fixed ISSUE-53454: Added check to ensure products in inventory counts are...

---
M modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
M modules/org.openbravo.client.application/src/org/openbravo/client/application/businesslogic/ImportInventoryLines.java
---