Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0007098 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 07. Sales management | major | always | 2009-01-23 12:41 | 2009-02-23 13:07 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | rafaroda | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | pi | Fixed in SCM revision | 12313 | |||
Projection | none | ETA | none | Target Version | 2.40 | |||
OS | Any | Database | Oracle | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.40 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0007098: Unit price set to zero when you change quantity in lines created with Copy Lines button | |||||||
Description | When you create a sales order using Copy lines button and then change the ordered quantity of a line, its unit price is set to zero. | |||||||
Steps To Reproduce | 1. Sales Management || Transactions || Sales Order : choose any partner and press "Copy Lines" button 2. Select one or more products and press OK 3. Go to lines and change quantity ordered. Press save or save and new 4. Notice that the Unit price at this moment is zero. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||||||||||||||||||||||||||||||
|
![]() |
|
(0012632) rafaroda (viewer) 2009-01-26 16:51 |
In order to test the fix, follow these steps: 1) Create a price adjustment in 'Master Data Management || Pricing || Price Adjustments || Adjustments' with values: * Starting date = 01-01-2000 * Discount % = 50 * Min Quantity = 499 * Business Partner = All Selected * Product = All Selected 2) Move to Business Partner tab and select one business partner 3) Move to Product tab and select one product 4) Create a new Sales or Purchase Order for the business partner of the price adjustment 5) Create one line for the product of the price adjustment 6) Save this line 7) Change quantity to 500. Unit Price should have half amount 8) Go to the header of the order and complete it 9) Create a new order for the same business partner 10) Click on Copy Lines and select the product of the previous order 11) Change the last price and the quantity (to less than 500) then click OK 12) Go to the line created and change the quantity to 500 13) Unit Price should have half amount (same behavior that in step 7 but different amount if Unit Prices were not the same) 14) Save this line. |
(0012683) svnbot (viewer) 2009-01-27 13:09 |
Repository: openbravo Revision: 12313 Author: rafaroda Date: 2009-01-27 13:09:55 +0100 (Tue, 27 Jan 2009) Fixes bug 0007098 Now Copy Lines button does calculate and insert Price Std inside order lines. This way unit price is not set to zero when changing the quantity. --- U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder.java U trunk/src/org/openbravo/erpCommon/ad_actionButton/CopyFromOrder_data.xsql --- https://dev.openbravo.com/websvn/openbravo/?rev=12313&sc=1 [^] |
(0013889) sureshbabu (viewer) 2009-02-23 07:50 |
The issue related to Unit price is fixed but wrong discount value displayed in the line item after completing the below steps Steps to reproduce the issue. 1) Create a price adjustment in 'Master Data Management || Pricing || Price Adjustments || Adjustments' with values: * Starting date = 01-01-2000 * Discount % = 50 * Min Quantity = 499 * Business Partner = All Selected * Product = All Selected 2) Move to Business Partner tab and select one business partner 3) Move to Product tab and select one product 4) Create a new Sales or Purchase Order for the business partner of the price adjustment 5) Create one line for the product of the price adjustment 6) Save this line 7) Change quantity to 500. Unit Price should have half amount 8) Go to the header of the order and complete it 9) Create a new order for the same business partner 10) Click on Copy Lines and select the product of the previous order 11) Change the last price and the quantity (to less than 500) then click OK 12) Go to the line created and change the quantity to 500 13) Unit Price should have half amount (same behavior that in step 7 but different amount if Unit Prices were not the same) 14) Save this line. Check the Discount % value it shows some negative (-ve) value. |
(0013923) rafaroda (viewer) 2009-02-23 13:06 |
The behavior described by Suresh in the notes is addressed in issue 7323 [1] and is still pending from a functional review. [1] https://issues.openbravo.com/view.php?id=7323 [^] |
![]() |
|||
Date Modified | Username | Field | Change |
2009-01-23 12:41 | networkb | New Issue | |
2009-01-23 12:41 | networkb | Assigned To | => rafaroda |
2009-01-23 12:41 | networkb | sf_bug_id | 0 => 2530925 |
2009-01-23 12:41 | networkb | OBNetwork customer | => Yes |
2009-01-23 12:41 | networkb | Regression testing | => No |
2009-01-23 12:45 | rafaroda | Relationship added | duplicate of 0006172 |
2009-01-26 16:51 | rafaroda | Note Added: 0012632 | |
2009-01-26 16:51 | rafaroda | Severity | minor => major |
2009-01-26 16:51 | rafaroda | Status | new => scheduled |
2009-01-26 16:51 | rafaroda | fix_in_branch | => trunk |
2009-01-26 16:53 | rafaroda | Relationship replaced | has duplicate 0006172 |
2009-01-27 13:09 | svnbot | Checkin | |
2009-01-27 13:09 | svnbot | Note Added: 0012683 | |
2009-01-27 13:09 | svnbot | Status | scheduled => resolved |
2009-01-27 13:09 | svnbot | Resolution | open => fixed |
2009-01-27 13:09 | svnbot | svn_revision | => 12313 |
2009-02-23 07:50 | sureshbabu | Status | resolved => new |
2009-02-23 07:50 | sureshbabu | Resolution | fixed => open |
2009-02-23 07:50 | sureshbabu | Note Added: 0013889 | |
2009-02-23 09:44 | psarobe | Status | new => scheduled |
2009-02-23 09:45 | psarobe | Status | scheduled => resolved |
2009-02-23 09:45 | psarobe | Resolution | open => fixed |
2009-02-23 09:45 | psarobe | Status | resolved => closed |
2009-02-23 13:06 | rafaroda | Note Added: 0013923 | |
2009-02-23 13:07 | rafaroda | Relationship added | related to 0007323 |
2009-06-24 09:43 | rafaroda | Relationship added | has duplicate 0009596 |
Copyright © 2000 - 2009 MantisBT Group |