Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013955 | Openbravo ERP | 03. Procurement management | public | 2010-07-14 12:34 | 2012-04-26 19:32 |
|
Reporter | RenateNieuwkoop | |
Assigned To | naiaramartinez | |
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.50MP19 | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0013955: Requisition: When pricelist information is added to the header after the line was added, the prices do not get applied in line |
Description | Pricelist 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 Reproduce | To 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 Solution | When the header gets updated with a pricelist, this information should be populated in the lines also. |
Additional Information | |
Tags | VMA-Reviewed |
Relationships | related to | defect | 0013039 | | closed | mirurita | Callout SL_RequisitionLine_Amt gets the standard and price precision from data in header instead of lines |
|
Attached Files | |
|
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 | |
Notes |
|
|
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. |
|
|
|
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
|
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
|
2012-04-24 19:59
|
|
|
|
(0047941)
|
mirurita
|
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. |
|
|
|
|
|
|
|