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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0043480
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Advanced Warehouse Operationsmajoralways2020-03-12 12:462020-03-30 17:52
Reportersanti_lozanoView Statuspublic 
Assigned Toinigo_lerga 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisioncdd2211c039b
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Todmiguelez
Regression introduced in release
Summary

0043480: Confirming task from AWO FE doesn’t fill dimension fields on created document

DescriptionFor example the Dimension field Project of a Goods Receipt is not filled with the data of the corresponding Purchase Order if it has been created after confirming a Receipt Purchase Order task from AWO FE (Advanced Warehouse Operations Front End). Otherwise if you create the Purchase Order with a Project related to it and create the Goods Receipt from Pending Goods Receipt window, it is correctly filled with the corresponding data of the project that appears on the Purchase Order.
Also happens on other similar flows: Sales Order, Return From Customer, Return To Vendor (more cases should be reviewed if there are)
Also happens with other Dimensions not only Project
(seems that this has not been thought on code to copy the corresponding dimensions from AWO FE flow)
Steps To Reproduce* Download Openbravo 19Q3.4 locally, install Openbravo for Retail, Retail SampleData, Advanced Warehouse Operations Pack, Advanced Warehouse Operations Sampledata (rebuild the application and launch ant import.sample.data)
* Change role to AWO-QA Admin, go to Client window, for AWO-QA set on Accounting Dimensions Project to be checked, then also Show in Header and Show in Lines (do the same with role F&B International Group Admin if necessary). This way project field will be shown on Goods Receipt and Purchase Order
http://wiki.openbravo.com/wiki/Client#Dimensions [^]
* Change role to System Admin, select Openbravo for Retail Module, uncheck Apply Configuration Script, compile (this way the window Multiphase Project will appear from the menu, which refers to the project field)
* Change role to AWO-QA Admin, go to Multiphase Project window. Create a new one: Organization = US, Search Key and Name = Project Test, Starting Date = today, Planned End Date = today + 1 month, Business Partner = Milk & More (shown on More Information section)
* Go to window Purchase Order, create a new one: Organization = US West Coast, Business Partner = Milk & More, Warehouse = US West Coast, Project = Project Test
* On Lines tab for that Purchase Order, create a new one: Product = Alouette Creme de Brie, Operative Quantity = 4 (whatever)
* Click on button Book then OK. Then click on button Receive to generate the Task, on popup select user AWO_US_W to be assigned to this task
* Go to AWO Front End, enter with user AWO_US_W, select the task displayed that we have just created, confirm it (a goods receipt has been created for it on backoffice)
* Go back to backoffice, window Goods Receipt, select the one that has been created, check that Project field has not been filled with the project related to the corresponding Purchase Order
* Neither lines
CASE B
You could access now with role F&B International Group Admin, create a Multiphase Project, create a Purchase Order with it, then create the Goods Receipt from window Pending Goods Receipt to see a case in which this Project field is filled correctly with the data of the related Purchase Order
TagsNo tags attached.
Attached Filespng file icon 15115 - Dimensions not filled.png [^] (158,003 bytes) 2020-03-13 10:41


png file icon 15115 - from sales order example.png [^] (106,473 bytes) 2020-03-13 12:01


png file icon 15115 - other dimension (cost center) example.png [^] (125,170 bytes) 2020-03-13 12:10

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0118790)
inigo_lerga (reporter)
2020-03-24 15:49

--Test Plan Mantis--
With AWO installed in an activated Openbravo Instance with both Retail and AWO sampledatas:
As the AWO-QA Admin role in the backoffice:
  - Go to Client window, for AWO-QA set on Accounting Dimensions Project to be checked,
    then also Show in Header and Show in Lines.

As the System Admin role in the backoffice:
  - Select Openbravo for Retail Module, uncheck Apply Configuration Script and compile.

As the AWO-QA Admin role in the backoffice:
  - Go to Multiphase Project window. Create a new one: Organization = US, Search Key
    and Name = Project Test, Starting Date = today, Planned End Date = today + 1 month,
    Business Partner = Milk & More (shown on More Information section).
  - Go to window Purchase Order, create a new one: Organization = US West Coast,
    Business Partner = Milk & More, Warehouse = US West Coast, Project = Project Test
  - Go to the Lines tab for the previous Purchase Order, create a new one:
    Product = Alouette Creme de Brie, Operative Quantity = 4 (whatever)
    Click on button Book then OK. Then click on button Receive to generate the Task,
    on popup select user AWO_US_W to be assigned to this task.

As the AWO_US_W user in AWO Front End:
  - Enter with user AWO_US_W, select the task displayed that we have just created,
    confirm it (a goods receipt has been created for it on backoffice).

As the AWO-QA Admin role in the backoffice:
  - Go back to Goods Receipt window, select the one that has been created,
    check that Project field has been filled with the project related
    to the corresponding Purchase Order.
(0118881)
hgbot (developer)
2020-03-30 17:51

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: cdd2211c039be6b03904f047df1e473209d72764
Author: Iñigo Lerga <inigo.lerga <at> openbravo.com>
Date: Tue Mar 24 14:53:01 2020 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/cdd2211c039be6b03904f047df1e473209d72764 [^]

fixes BUG-43480:Added Dimensions info in Header and Lines

Goods receipts now have the Dimensions info that Purchase
Orders contain, both in the Header and in Lines.

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/ShipmentInOutGenerator.java
---
(0118882)
hgbot (developer)
2020-03-30 17:51

Repository: erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations
Changeset: c1fcceae35b32518007fcc38817798747f96c0e7
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Mar 30 17:51:13 2020 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/c1fcceae35b32518007fcc38817798747f96c0e7 [^]

Related to ISSUE-43480 Code Review Changes:
* Created Order and OrderLine variables instead of indirectly
  referencing them so many times

---
M src/org/openbravo/warehouse/advancedwarehouseoperations/centralbroker/ShipmentInOutGenerator.java
---
(0118883)
dmiguelez (developer)
2020-03-30 17:52

Code Review + Testing Ok

- Issue History
Date Modified Username Field Change
2020-03-12 12:46 santi_lozano New Issue
2020-03-12 12:46 santi_lozano Assigned To => Triage Finance
2020-03-12 12:46 santi_lozano File Added: 15115 - field not filled after confirming awo fe receipt purchase order task.png
2020-03-12 12:46 santi_lozano Resolution time => 1586210400
2020-03-12 12:51 santi_lozano Resolution time 1586210400 => 1585778400
2020-03-12 12:57 dmiguelez Assigned To Triage Finance => inigo_lerga
2020-03-12 14:25 eugeni Issue Monitored: eugeni
2020-03-13 10:41 santi_lozano Summary Receipt Purchase Order task from AWO FE doesn’t fill Project field on Goods Receipt => Task from AWO FE doesn’t fill dimension fields on created document
2020-03-13 10:41 santi_lozano Description Updated View Revisions
2020-03-13 10:41 santi_lozano Steps to Reproduce Updated View Revisions
2020-03-13 10:41 santi_lozano File Deleted: 15115 - field not filled after confirming awo fe receipt purchase order task.png
2020-03-13 10:41 santi_lozano File Added: 15115 - Dimensions not filled.png
2020-03-13 10:42 santi_lozano Summary Task from AWO FE doesn’t fill dimension fields on created document => Confirming task from AWO FE doesn’t fill dimension fields on created document
2020-03-13 12:01 santi_lozano File Added: 15115 - from sales order example.png
2020-03-13 12:03 santi_lozano Description Updated View Revisions
2020-03-13 12:10 santi_lozano File Added: 15115 - other dimension (cost center) example.png
2020-03-20 09:21 inigo_lerga Status new => scheduled
2020-03-24 15:49 inigo_lerga Note Added: 0118790
2020-03-30 17:51 hgbot Checkin
2020-03-30 17:51 hgbot Note Added: 0118881
2020-03-30 17:51 hgbot Status scheduled => resolved
2020-03-30 17:51 hgbot Resolution open => fixed
2020-03-30 17:51 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.warehouse.advancedwarehouseoperations/rev/cdd2211c039be6b03904f047df1e473209d72764 [^]
2020-03-30 17:51 hgbot Checkin
2020-03-30 17:51 hgbot Note Added: 0118882
2020-03-30 17:52 dmiguelez Review Assigned To => dmiguelez
2020-03-30 17:52 dmiguelez Note Added: 0118883
2020-03-30 17:52 dmiguelez Status resolved => closed
2022-09-06 17:18 caristu Category Advance Warehouse Operations => Advanced Warehouse Operations


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker