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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010130
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 02. Master data managementminoralways2009-07-30 13:582009-08-18 00:00
ReporternetworkbView Statuspublic 
Assigned Toharikrishnan 
PriorityhighResolutionfixedFixed in Versionpi
StatusclosedFix in branchFixed in SCM revisionb1a726132510
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product Version2.50MP2SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010130: The discounts are not correctly copied when using create lines from in the invoice window

DescriptionThe discounts are not correctly copied when using create lines from in the invoice window.
The discounts are copied but the multiplication with the price and quantity
to calculate the total is not correctly done.
Steps To Reproduce-Create a sales order with one line an a discount
-Complete the sales order and see that the discount has been aplied.
-Create a new sales invoice
-Execute the create from lines and select the lines of the order created previously.
-See that the lines have been created.
-Check the line of the discount and see that the total of this line is not correct
TagsNo tags attached.
Attached Filespng file icon CreateLinesFrom.png [^] (69,677 bytes) 2009-07-31 17:00


png file icon Select.png [^] (18,934 bytes) 2009-08-05 12:11

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00115122.50MP10 closedrafaroda Invoice line net amount wrongly rounded of, while line item is created using the button create line from 
related to defect 00119432.50MP11 closedharikrishnan the quantity of line is rounded when it is created by "create from lines" in goods receipt 

-  Notes
(0018754)
networkb (developer)
2009-07-31 10:37

We have seen that what happens is that the decimals are not correctly managed in the multiplications in this process
(0018839)
rafaroda (developer)
2009-08-05 12:12

Copy lines from is not respecting currency precision for line net amount:

SELECT ol.priceactual AS ORDERPRICE, IL.PRICEACTUAL AS INVOCIEPRICE,
ol.qtyordered AS ORDERQTY, IL.QTYINVOICED AS INVOICEQTY,
OL.linenetamt AS ORDERNETAMT, IL.LINENETAMT AS INVOICENETAMT
FROM C_ORDERLINE OL, C_INVOICELINE IL
WHERE il.c_orderline_id = ol.c_orderline_id
ORDER BY IL.UPDATED DESC
(0018860)
hgbot (developer)
2009-08-06 11:52

Repository: erp/devel/pi
Changeset: b1a726132510ffc93da4a16f58c5546fc370c67f
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Thu Aug 06 15:20:12 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/b1a726132510ffc93da4a16f58c5546fc370c67f [^]

Fixes Issue 10130: The discounts are not correctly copied when using create lines from in the invoice window

---
M src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
---
(0018961)
sureshbabu (reporter)
2009-08-17 11:09

Tested, discount is rightly applied in the discount line item in invoice document.

- Issue History
Date Modified Username Field Change
2009-07-30 13:58 networkb New Issue
2009-07-30 13:58 networkb Assigned To => rafaroda
2009-07-31 10:37 networkb Note Added: 0018754
2009-07-31 17:00 rafaroda File Added: CreateLinesFrom.png
2009-07-31 17:12 rafaroda Assigned To rafaroda => harikrishnan
2009-07-31 17:12 rafaroda Status new => scheduled
2009-08-04 09:50 rafaroda Priority immediate => high
2009-08-05 12:11 rafaroda File Added: Select.png
2009-08-05 12:12 rafaroda Note Added: 0018839
2009-08-06 11:52 hgbot Checkin
2009-08-06 11:52 hgbot Note Added: 0018860
2009-08-06 11:52 hgbot Status scheduled => resolved
2009-08-06 11:52 hgbot Resolution open => fixed
2009-08-06 11:52 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/b1a726132510ffc93da4a16f58c5546fc370c67f [^]
2009-08-17 11:09 sureshbabu Status resolved => closed
2009-08-17 11:09 sureshbabu Note Added: 0018961
2009-08-17 11:09 sureshbabu Fixed in Version => pi
2009-08-18 00:00 anonymous sf_bug_id 0 => 2839268
2010-01-11 09:43 rafaroda Relationship added related to 0011512
2010-01-12 18:10 rafaroda Relationship added related to 0011943


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker