|View Issue Details|
|Type||Category||Severity||Reproducibility||Date Submitted||Last Update|
|defect||[Modules] Distribution Orders||major||always||2020-09-25 11:51||2020-10-22 16:06|
|Priority||urgent||Resolution||fixed||Fixed in Version|
|Status||closed||Fix in branch||Fixed in SCM revision|
|OS||Linux 64 bit||Database||PostgreSQL||Java version||7.x|
|OS Version||Openbravo Appliance 14.04||Database version||9.3.x||Ant version||1.9.x|
|Product Version||SCM revision|
|Regression introduced by commit|
|Review Assigned To|
|Regression introduced in release|
0045142: No possible to complete Distribution Order flow for 2 Warehouses within the same Organization
|Description||Remove e.organization.id <> @inpadOrgId@ restriction, therefore it is possible to issue DO inside the same organization and different Warehouse.|
|Steps To Reproduce||Configure several warehouses in the same organization (Legal Entity)|
Create a Distribution Order Receipt (purchase order from Warehouse Receipt A to Warehouse Issue B)
Create a Distribution Order Issue (sales order from Warehouse Issue B to Warehouse Receipt A)
Creation of the corresponding Issue Distribution Order
Creation of the corresponding Receive Distribution Order, however it is not possible to select any Issue Movement, because it is being book in the same organization.
|Proposed Solution||Remove the restriction|
e.processed='Y' AND e.receiptStatus < 100 AND e.issueStatus >= 100 AND e.organization.id <> @inpadOrgId@
|Tags||No tags attached.|
--Test Plan Mantis--
Login to Openbravo Backend with "F&B International Group Admin" role
and "F&B US, Inc." as Organization.
As the F&B International Group Admin role in Backend:
1º- Go to Distribution Order Receipt window and create a new record with
US East Coast as Warehouse Receipt and US West coast as Warehouse Issue.
2º- Go to Lines tab and create a new Line with "Ale Beer" as Product and 50
as Operative Quantity.
3º- Book the record.
4º- Go to Distribution Order Issue window and open the record (latest) related to the
just created Distribution Order Receipt.
5º- Confirm the record.
6º- Go to Issue Distribution Order window and create a new record with the
previous Distribution Order and "EC-0-0-0" as In Transit Bin.
7º- Go to Lines tab and create a new Line with "Ale Beer" as Product and 50 as
Operative Quantity, "EC-0-0-0" as Storage Bin, "EC-2-0-0" as New Storage Bin and
the Distribution Order Line previously created.
8º- Generate Issue.
9º- Go to Receive Distribution Order window and create a new record with the preciously
created Issue Movement.
#In this moment the Issue Movement generated in the previous steps appears available
to be selected in the Issue Movement selector, being able to finish the Distribution Order flow
with 2 Warehouses within the same Legal Entity#
Merge Request created: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/1 [^]
With AWO and AWO SampleData installed
Log in as QAAdmin
Go to Warehouse Defintion and create a new record with:
* Organization: F&B US West Coast
* Fill rest of parameters as necessary
Create the necessary definition to be able to have:
* One Area named reception with one Bin (functional area, no capacity)
* A routing from the Trucks Warehouse to the Reception Area assigned to Receive Distribution Orders with the default Warehouse Algorithms
Execute the previous test plan between this two warehouses
Execute the same flow using AWO (Pick - Issue - Reception) between this two warehouses
Both flows should work without any issue
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder [^]
Author: inigo_lerga <email@example.com>
URL: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/commit/af8ce9dc829c348fb42d0aedca14f82e62a0faa7 [^]
fixes BUG-45142:Issue Movement Restriction relaxed
Without this relaxation, manual Distribution Order flow for 2 Warehouses
within the same Legal Entity could not be executed correctly.
Merge request merged: https://gitlab.com/openbravo/product/mods/org.openbravo.distributionorder/-/merge_requests/1 [^]
|2020-09-25 11:51||psanjuan||New Issue|
|2020-09-25 11:51||psanjuan||Assigned To||=> Triage Finance|
|2020-09-25 11:53||psanjuan||Steps to Reproduce Updated||View Revisions|
|2020-09-29 11:53||dmiguelez||Summary||Remove e.organization.id <> @inpadOrgId@ restriction => No possible to complete Distribution Order flow for 2 Warehouses within the same Organization|
|2020-09-29 11:56||dmiguelez||Relationship added||has duplicate 0045137|
|2020-10-09 10:47||dmiguelez||Assigned To||Triage Finance => inigo_lerga|
|2020-10-19 12:55||inigo_lerga||Status||new => scheduled|
|2020-10-19 12:56||inigo_lerga||Note Added: 0123765|
|2020-10-19 13:03||hgbot||Note Added: 0123766|
|2020-10-22 16:04||dmiguelez||Note Added: 0123874|
|2020-10-22 16:06||hgbot||Resolution||open => fixed|
|2020-10-22 16:06||hgbot||Status||scheduled => closed|
|2020-10-22 16:06||hgbot||Note Added: 0123875|
|2020-10-22 16:06||hgbot||Note Added: 0123876|
|Copyright © 2000 - 2009 MantisBT Group|