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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034332
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2016-10-28 11:132016-12-16 18:38
ReporterngarciaView Statuspublic 
Assigned Torqueralta 
PriorityurgentResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revision90f6105a394e
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0034332: Purchase Order field is empty in Purchase Invoice header when selecting the Goods Receipt in Create Lines From process

DescriptionPurchase Order field is empty in Purchase Invoice header when selecting the Goods Receipt in Create Lines From process
Steps To ReproduceAs group admin role:
   Create a purchase order and a goods receipt
   Go to purchase invoice window and open the create lines from process
   Select the previously created order in Order field and check all its lines
   Check the Purchase Order field is filled in Purchase Invoice header
   Remove the lines and open the create lines from process again
   Select the previously created receipt in Goods Receipt field and check all its lines
   Check the Purchase Order field is empty in Purchase Invoice header. This is not consistent
   Remove the lines
   Go to Goods Receipt window and launch the Generate Invoice From Receipt process
   Check the Purchase Order field is filled in Purchase Invoice header
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0024236 newdmiguelez Purchase Invoice: Purchase Order reference is incorrectly reflected when lines are for different purchase orders 

-  Notes
(0091186)
rqueralta (developer)
2016-11-06 21:17

Test plan:

As F&B International Group Admin

  - Go to Purchase Order window
  Create a Purchase Order and book it

  - Go to Goods Receipt window
  Create a Goods Receipt
  Open the Create Line From and select the Purchase Order created before
  Complete the Goods Receipt document
  - Go to purchase invoice window
  Open the create lines from process
  Select the previously created order in Order field and check all its lines
  Check the Purchase Order field is filled in Purchase Invoice header
  Remove the lines
  Open the create lines from process again
  Select the previously created receipt in Goods Receipt field and check all its lines
  Check the Purchase Order field is filled in Purchase Invoice header.
(0091200)
psanjuan (manager)
2016-11-07 14:56

Issue verified.
(0091204)
psanjuan (manager)
2016-11-07 15:22
edited on: 2016-11-08 10:09

Test Plan

**Test Case 1 - 01 purchase order + 01 goods receipt + 01 purchase invoice

As F&B International Group Admin role, create a purchase order.
Create a goods receipt by using "Create Lines From" function, select the order.
Select all the lines and Complete the receipt.
Check that purchase order field in the header is filled in Goods Receipt header.

Go to purchase invoice window and create a new one.
Run "Create lines from" process, and select the previously created order in Order field. Check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines and run the "Create lines from" process again.
Select the previously created receipt in Goods Receipt field and check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines once again.

Go to Goods Receipt window and launch the Generate Invoice From Receipt process
Check the Purchase Order field is filled in Purchase Invoice header

** Test Case 2 - 01 purchase order + 02 goods receipt + 01 purchase invoice

As F&B International Group Admin role, create a purchase order for 10 units of a product.
Create first goods receipt by using "Create Lines From" function, select the line but change the quantity to receive to 5. Complete.
Check that purchase order field in the header is filled in Goods Receipt header.

Create second goods receipt by using "Create Lines From" function, select the order, select the line and the quantity remaining.
Check that purchase order field in the header is filled in Goods Receipt header.

Go to purchase invoice window and create a new one.
Run "Create lines from" process, and select the previously created order in Order field. Check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines and run the "Create lines from" process again.
Select first receipt in Goods Receipt field and check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines once again and run the "Create lines from" process again.
Select second receipt in Goods Receipt field and check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Repeat same test, this time do not removing the lines but invoicing the two receipts within the same invoice.

Check the Purchase Order field is filled in Purchase Invoice header.

** Test Case 3 - 02 purchase orders + 01 goods receipt + 01 purchase invoice

As F&B International Group Admin role, create a purchase order for 10 units of a product.

Create a second purchase order for 5 units of a product.

Create a goods receipt by using "Create Lines From" function, select both orders within the same receipt. Complete it.

Check that purchase order field in the header is NOT filled in Goods Receipt header, as it is not unique, but in Goods Receipt Lines tab.

Go to purchase invoice window and create a new one.
Run "Create lines from" process, and select one of the previously created order in Order field. Check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines and run the "Create lines from" process again.
Select second order and check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines once again and run the "Create lines from" process again.
Select the receipt in Goods Receipt field and check all its lines.

Check the Purchase Order field is NOT filled in Purchase Invoice header, as in regards to the receipts is not unique, but in Purchase Invoice Lines tab.

** Test Case 4 - 02 purchase order + 02 goods receipt + 01 purchase invoice

As F&B International Group Admin role, create a purchase order for 10 units of a product.

Create a second purchase order for 15 units of another product.

Create a goods receipt by using "Create Lines From" function, select first order and change movement quantity to 5. Repeat same step for the second order and change movement quantity to 10. Complete this first receipt.

Create a second goods receipt by using "Create Lines From" function, select first order and receipt remaining quantity. Repeat same step for the second order, therefore remaining quantity is receipt. Complete this second receipt.

Check that purchase order field in the header is NOT filled in Goods Receipt header, as it is not unique, but in Goods Receipt Lines tab.


Go to purchase invoice window and create a new one.

Run "Create lines from" process, and select one of the previously created orders in Order field. Check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines and run the "Create lines from" process again.
Select second order and check all its lines.

Check the Purchase Order field is filled in Purchase Invoice header.

Remove invoice lines once again and run the "Create lines from" process again.
Select first receipt in Goods Receipt field and check all its lines.

Check the Purchase Order field is NOT filled in Purchase Invoice header, as in regards to the receipts is not unique, but in Purchase Invoice Lines tab.

Remove invoice lines once again and run the "Create lines from" process again.
Select second receipt in Goods Receipt field and check all its lines.

Check the Purchase Order field is NOT filled in Purchase Invoice header, as in regards to the receipts is not unique, but in Purchase Invoice Lines tab.

Remove invoice lines once again.

Go to first Goods Receipt window and launch the Generate Invoice From Receipt process

Check the Purchase Order field is NOT filled in Purchase Invoice header, but in the purchase invoice lines as corresponding.

Go to second Goods Receipt window and launch the Generate Invoice From Receipt process

Check the Purchase Order field is NOT filled in Purchase Invoice header, but in the purchase invoice lines as corresponding.


Repeat test plan above for sales cycle.

(0091221)
psanjuan (manager)
2016-11-08 10:12

Test plan above verified.

Issue can be code reviewed and closed.
(0091233)
hgbot (developer)
2016-11-08 13:11

Repository: erp/devel/pi
Changeset: 90f6105a394e6ff0c9d13e5c312af56e57491dfe
Author: Rafael Queralta Pozo <rqueralta <at> nauta.cu>
Date: Tue Nov 08 13:07:05 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/90f6105a394e6ff0c9d13e5c312af56e57491dfe [^]

Fixes issue 34332: Purchase Order field is empty in Purchase Invoice header

Purchase Order field was empty in Purchase Invoice header when selecting the Goods Receipt
in Create Lines From process, because the Purchase Order Id of Goods Receipt was not take into account to fill
Purchase Order field in Purchase Invoice header. Now the Purchase Order Id of Goods Receipt is retrieved to fill this field.

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
---
(0091234)
aferraz (manager)
2016-11-08 13:12

Code review + Testing OK
(0092600)
hudsonbot (developer)
2016-12-16 18:38

A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/dc8bf00badd0 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2016-10-28 11:13 ngarcia New Issue
2016-10-28 11:13 ngarcia Assigned To => Triage Finance
2016-10-28 11:13 ngarcia Modules => Core
2016-10-28 11:13 ngarcia Triggers an Emergency Pack => No
2016-10-28 11:13 ngarcia Issue Monitored: networkb
2016-10-28 11:16 ngarcia Relationship added related to 0024236
2016-10-28 11:43 ngarcia Resolution time => 1479423600
2016-10-28 11:43 ngarcia Priority high => urgent
2016-10-28 11:43 ngarcia Severity minor => major
2016-11-03 20:58 aferraz Assigned To Triage Finance => nonofrancisco
2016-11-06 21:15 rqueralta Assigned To nonofrancisco => rqueralta
2016-11-06 21:16 rqueralta Status new => scheduled
2016-11-06 21:17 rqueralta Note Added: 0091186
2016-11-07 14:56 psanjuan Note Added: 0091200
2016-11-07 15:22 psanjuan Note Added: 0091204
2016-11-07 15:23 psanjuan Note Edited: 0091204 View Revisions
2016-11-07 15:24 psanjuan Note Edited: 0091204 View Revisions
2016-11-07 15:30 psanjuan Note Edited: 0091204 View Revisions
2016-11-07 15:36 psanjuan Note Edited: 0091204 View Revisions
2016-11-07 15:42 psanjuan Note Edited: 0091204 View Revisions
2016-11-07 15:42 psanjuan Note Edited: 0091204 View Revisions
2016-11-07 15:49 psanjuan Note Edited: 0091204 View Revisions
2016-11-08 10:00 psanjuan Note Edited: 0091204 View Revisions
2016-11-08 10:02 psanjuan Note Edited: 0091204 View Revisions
2016-11-08 10:09 psanjuan Note Edited: 0091204 View Revisions
2016-11-08 10:12 psanjuan Note Added: 0091221
2016-11-08 13:11 hgbot Checkin
2016-11-08 13:11 hgbot Note Added: 0091233
2016-11-08 13:11 hgbot Status scheduled => resolved
2016-11-08 13:11 hgbot Resolution open => fixed
2016-11-08 13:11 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/90f6105a394e6ff0c9d13e5c312af56e57491dfe [^]
2016-11-08 13:12 aferraz Review Assigned To => aferraz
2016-11-08 13:12 aferraz Note Added: 0091234
2016-11-08 13:12 aferraz Status resolved => closed
2016-11-08 13:12 aferraz Fixed in Version => 3.0PR17Q1
2016-12-16 18:38 hudsonbot Checkin
2016-12-16 18:38 hudsonbot Note Added: 0092600


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker