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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0035693
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementmajoralways2016-12-22 09:412017-04-04 19:14
ReporterpsanjuanView Statuspublic 
Assigned Tocollazoandy4 
PriorityurgentResolutionfixedFixed in Version3.0PR17Q1.1
StatusclosedFix in branchFixed in SCM revisione414a438a5bf
ProjectionnoneETAnoneTarget Version3.0PR17Q1.1
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_18
OS VersionCommunity ApplianceDatabase version8.3.9Ant version1.7.1
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

0035693: Operative Quantity needs to be updated to 0 same as Ordered/Return quanity if the corresponding order is closed (not delivered)

DescriptionOperative Quantity needs to be updated to 0 same as Ordered/Return quanity if the corresponding order is closed (not delivered)
Steps To ReproduceEnable "Enable UOM Management" preference.

Go to Unit of Measure window and create a new UOM with below setup:
Edi Code = PA
Name = Pallet
Standard Precision = 2

Go to Product window and create a new one for F&B España with below setup:
Search key = Product 1
Name = Product 1
Go to price tab and select "Tarifa Bebidas Alegres" business partner.
Enter a unit price and a list price.
Go to Alternate UOM.
Enter Pallet, Conversion Rate = 10, Sales = Purchase = Primary. Logistics = Not applicable.
Save it.

Go to purchase order window and create one order for F&B España, Bebidas Alegres business partner, dated on today's date.
Go to lines and select Product 1.
Enter 55 in the field Operative Quantity.
Book the order
Close the order and verify that Ordered quantity changes to 0 Unit.

Run Purchase Order Report for Bebidas Alegres business partner and for today's date, in HTML.

Verify that close purchase order is shown as Qty IN AUM remains as 55 and that should not be the case.

Same applies in the case of a Sales order including a product having an alternative UOM. Same way if that sales order is not delivered but closed "Operative Quanity" does not change to 0

Same applies to:
Return to Vendor
Return from Customer
Proposed SolutionIf a not delivered order is closed same way that Ordered/Returm Quantity field is changed to 0, Operative Quantity should also be changed to 0.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0034805 closedcollazoandy4 Operative Quantity needs to be updated to 0 same as Ordered/Return quanity if the corresponding order is closed (not delivered) 

-  Notes
(0095832)
hgbot (developer)
2017-04-04 19:14

Repository: erp/backports/3.0PR17Q1.1
Changeset: e414a438a5bfac3594f8d00782bc6f85cabb69a9
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Fri Mar 31 13:58:32 2017 -0400
URL: http://code.openbravo.com/erp/backports/3.0PR17Q1.1/rev/e414a438a5bfac3594f8d00782bc6f85cabb69a9 [^]

Fixes issue 35693: Operative quantity should be updated when document is closed

When a Purchase Order/Return From Customer/Return to Vendor document is closed,
the Operative Quantity field is updated to the corresponding value, according to
the Product, Quantity and Aum of the line.

---
M src-db/database/model/functions/C_ORDER_POST1.xml
---
(0095833)
aferraz (developer)
2017-04-04 19:14

Code review + Testing OK

- Issue History
Date Modified Username Field Change
2017-04-04 17:25 aferraz Type defect => backport
2017-04-04 17:25 aferraz Target Version => 3.0PR17Q1.1
2017-04-04 19:14 hgbot Checkin
2017-04-04 19:14 hgbot Note Added: 0095832
2017-04-04 19:14 hgbot Status scheduled => resolved
2017-04-04 19:14 hgbot Resolution open => fixed
2017-04-04 19:14 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR17Q1.1/rev/e414a438a5bfac3594f8d00782bc6f85cabb69a9 [^]
2017-04-04 19:14 aferraz Review Assigned To => aferraz
2017-04-04 19:14 aferraz Note Added: 0095833
2017-04-04 19:14 aferraz Status resolved => closed
2017-04-04 19:14 aferraz Fixed in Version => 3.0PR17Q1.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker