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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028775
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementmajoralways2015-01-26 19:472015-02-23 05:11
ReportermaiteView Statuspublic 
Assigned Toreinaldoguerra 
PriorityurgentResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revision07f0f908a7eb
ProjectionnoneETAnoneTarget Version3.0PR15Q2
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toumartirena
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028775: "Order quantity" incorrectly set in Purchase Order Line when several requisition line are referenced

Description"Order quantity" incorrectly set in Purchase Order Line when several requisition line are referenced
Steps To Reproduce1. Access as System Administrator and display:
  - "UOM" tab in Product window
  - "Conversion" tab in Unit of Measure window
  - "Order Quantity" and "Order UOM" fields in Purchase Order Line window
2. Logout and login
3. Create new Product with Unit= unit. Define Price for Bebidas Alegres pricelist. And define UOM as "Ounce"
4. Navigate to Unit of Measure window and define conversion from Ounce to Unit and multiplied by 5.
5. Create new Requisition document for Bebidas Alegres. Add line and select your product. Set Order UOM= Ounce and Order Quantity= 1. Verify that Quantity is calculated to 5 and Complete Requisition
6. Create new Requisition document identical to previous one and Complete it
7. Access Requisition to Order window, choose previous lines and create order
8. Access Purchase Order just created and verify that Ordered Quantity has been correctly set to 10 but Order Quantity is set to 1 (when it should be set to 2)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0030021 closedvmromanos Requisition To Order does not take into account several secondary UOMs 
causes defect 0030002 closedvmromanos Cannot create a purchase order from the Requisition To Order window 

-  Notes
(0074344)
reinaldoguerra (developer)
2015-02-11 00:46

Test plan used:
1- Login into Openbravo ERP
2- As system administrator go to Product window
3- Set tab "UOM" as active
4- Now select "Conversion" tab in Unit of Measure window
5- Set it as active too
6- Select Purchase Order window
7- Go to lines tab and display "Order Quantity" and "Order UOM" fields
8- Logout and login
9- Go to Product window and create new one with UOM = Unit.
10- Go to Price tab and define prices for Tarifa Bebidas Alegres pricelist.
11- Go to UOM tab and create a new record, define UOM as "Ounce"
12- Navigate to Unit of Measure window, select Ounce in header and go to conversion tab. Define a new conversion to Unit and multiplied by 5.
13- Create new Requisition document for business partner Bebidas Alegres, S.L. Price List = Tarifa Bebidas Alegres
14- Add a line and select your product. Need by date = today. Set Order UOM = Ounce and Order Quantity = 1. Verify that Quantity is calculated to 5
15- Complete Requisition
16- Create new Requisition document identical to previous one (steps 13 y 14) and Complete it too.
17- Access Requisition to Order window, choose previous lines and create order
18- Access Purchase Order just created and verify that in the lines tab, Ordered Quantity has been correctly set to 10 and also Order Quantity is set to 2 as it is the sum of the Order Quantity defined in each requisition line.
(0074453)
hgbot (developer)
2015-02-13 14:06

Repository: erp/devel/pi
Changeset: 07f0f908a7eb8af5a08df2c96b3ee827dcc1eb52
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Tue Feb 10 21:06:42 2015 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/07f0f908a7eb8af5a08df2c96b3ee827dcc1eb52 [^]

Fixed bug 28775: "Order quantity" incorrectly set for several requisition lines.

Requisition to order process was also changed to accumulate order quantity field registered on each requisition's lines processed.
Now not just is calculated total lock quantity, but also order's quantity for all processed requisition lines, so "Order quantity" is registered successfuly in created purchase order.

---
M src/org/openbravo/erpCommon/ad_forms/RequisitionToOrder.java
---
(0074456)
umartirena (reporter)
2015-02-13 14:19

Code Review + Testing OK
(0074757)
hudsonbot (developer)
2015-02-23 05:11

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/6856352d7235 [^]
Maturity status: Test

- Issue History
Date Modified Username Field Change
2015-01-26 19:47 maite New Issue
2015-01-26 19:47 maite Assigned To => dmiguelez
2015-01-26 19:47 maite Modules => Core
2015-01-26 19:47 maite Resolution time => 1423868400
2015-01-26 19:47 maite Triggers an Emergency Pack => No
2015-01-26 19:47 maite Assigned To dmiguelez => Sandrahuguet
2015-01-26 19:48 maite Issue Monitored: networkb
2015-02-10 01:16 reinaldoguerra Assigned To Sandrahuguet => reinaldoguerra
2015-02-10 01:16 reinaldoguerra Status new => scheduled
2015-02-11 00:46 reinaldoguerra Note Added: 0074344
2015-02-12 17:17 Sandrahuguet Review Assigned To => umartirena
2015-02-13 14:06 hgbot Checkin
2015-02-13 14:06 hgbot Note Added: 0074453
2015-02-13 14:06 hgbot Status scheduled => resolved
2015-02-13 14:06 hgbot Resolution open => fixed
2015-02-13 14:06 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/07f0f908a7eb8af5a08df2c96b3ee827dcc1eb52 [^]
2015-02-13 14:19 umartirena Note Added: 0074456
2015-02-13 14:19 umartirena Status resolved => closed
2015-02-13 14:19 umartirena Fixed in Version => pi
2015-02-23 05:11 hudsonbot Checkin
2015-02-23 05:11 hudsonbot Note Added: 0074757
2015-05-25 17:12 ngarcia Relationship added causes 0030002
2015-05-26 18:48 vmromanos Relationship added related to 0030021


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker