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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0013955
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementminoralways2010-07-14 12:342012-04-26 19:32
ReporterRenateNieuwkoopView Statuspublic 
Assigned Tonaiaramartinez 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchpiFixed in SCM revisiona1787a1d8fd0
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP19SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0013955: Requisition: When pricelist information is added to the header after the line was added, the prices do not get applied in line

DescriptionPricelist is not a mandatory field in requisitions, yet when you enter a pricelist before you enter a product, the price information will appear in the lines.

However, if initially the pricelist is not entered, but you first enter the line with the product, upon changing the header with the pricelist, the line doesn't get updated with prices.
Steps To ReproduceTo see the difference in behaviour:
A.
1. enter a requisition:
Procurement Management || Transactions || Requisition || Header
Vendor can be left blank, but make sure to select a pricelist
2. go to lines and enter a product that exists on that pricelist
you notice that a unit price and list price appear for the product.

B. Now the problem occurs when:
1. 1. enter a requisition:
Procurement Management || Transactions || Requisition || Header
Leave Vendor and pricelist blank
2. Go to lines and enter the same product as selected in scenario A.
save. The unit price and list price didn't get populated.
3. Go to header and add the same pricelist as in scenario A and save.
On the line the unit price and list price remain blank
Proposed SolutionWhen the header gets updated with a pricelist, this information should be populated in the lines also.
TagsVMA-Reviewed
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0013039 closedmirurita Callout SL_RequisitionLine_Amt gets the standard and price precision from data in header instead of lines 

-  Notes
(0047881)
naiaramartinez (developer)
2012-04-23 15:42

Test Plan:
  Go to Requisition window.
  Create a header. Select a pricelist
  Create a line. Select a product. Select a pricelist.
  Notice that a net unit price and net list price appear for the product with the data of the lines pricelist.

  Create another line. Leave the pricelist blank.
  Notice that a net unit price and net list price appear for the product with the data of the header pricelist.

  So, if a pricelist exists in the line, the unit price and list price are populated with this data. If a pricelist doesn't exist in the line but exits in the header, the unit price and list price are populated with header's data.If there is no pricelist,the unit price and list price is not populated.
(0047905)
naiaramartinez (developer)
2012-04-24 11:29

The application is working as expected. If a pricelist exists in the line, the price unit will populated with this information. If pricelist doesn't exist in the line but exists in the header, the unit price and list price will populated with header's data.

But unit price and list price can be null, so if you complete the pricelist after having a line, those have not have to be populated with that data.
(0047937)
hgbot (developer)
2012-04-24 19:59

Repository: erp/devel/pi
Changeset: a1787a1d8fd00ccb1825bbd830f82b9e03736e64
Author: Naiara Martinez <naiara.martinez <at> openbravo.com>
Date: Mon Apr 23 15:27:42 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/a1787a1d8fd00ccb1825bbd830f82b9e03736e64 [^]

fixed bug 13955 Compare if the variable is null for avoiding the exception

---
M src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java
---
(0047939)
hgbot (developer)
2012-04-24 19:59

Repository: erp/devel/pi
Changeset: 26d0c484a5cafa11ee3ae5bac4ed826368b7839c
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Tue Apr 24 19:58:20 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/26d0c484a5cafa11ee3ae5bac4ed826368b7839c [^]

Related to issue 13955: update license text year

---
M src/org/openbravo/erpCommon/ad_callouts/SL_RequisitionLine_Product.java
---
(0047941)
mirurita (developer)
2012-04-25 09:11

code review + testing OK

selecting a price list in the header should not overwrite all the lines price list.
Price list selected at line level is more specific.

The price list information in the header is useful when creating a new line, if you do not select a price list in the line it will inherit the prices defined in the header price list.
(0048089)
hudsonbot (developer)
2012-04-26 19:32

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/70a717a9ffa1 [^]

Maturity status: Test
(0048091)
hudsonbot (developer)
2012-04-26 19:32

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/70a717a9ffa1 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2010-07-14 12:34 RenateNieuwkoop New Issue
2010-07-14 12:34 RenateNieuwkoop Assigned To => adrianromero
2011-06-03 10:59 dalsasua Assigned To adrianromero => dalsasua
2011-07-20 18:12 dalsasua Assigned To dalsasua => jonalegriaesarte
2012-02-15 19:05 iciordia Assigned To jonalegriaesarte => vmromanos
2012-02-16 14:21 vmromanos Tag Attached: VMA-Reviewed
2012-02-16 16:13 vmromanos Relationship added related to 0013039
2012-04-23 15:29 naiaramartinez Assigned To vmromanos => naiaramartinez
2012-04-23 15:42 naiaramartinez Note Added: 0047881
2012-04-24 11:29 naiaramartinez Note Added: 0047905
2012-04-24 11:29 naiaramartinez Status new => scheduled
2012-04-24 11:29 naiaramartinez fix_in_branch => pi
2012-04-24 19:59 hgbot Checkin
2012-04-24 19:59 hgbot Note Added: 0047937
2012-04-24 19:59 hgbot Status scheduled => resolved
2012-04-24 19:59 hgbot Resolution open => fixed
2012-04-24 19:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/a1787a1d8fd00ccb1825bbd830f82b9e03736e64 [^]
2012-04-24 19:59 hgbot Checkin
2012-04-24 19:59 hgbot Note Added: 0047939
2012-04-25 09:11 mirurita Note Added: 0047941
2012-04-25 09:11 mirurita Status resolved => closed
2012-04-26 19:32 hudsonbot Checkin
2012-04-26 19:32 hudsonbot Note Added: 0048089
2012-04-26 19:32 hudsonbot Checkin
2012-04-26 19:32 hudsonbot Note Added: 0048091


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker