Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011756Openbravo ERPZ. Otherspublic2009-12-09 08:372010-01-14 13:45
arunkumar 
harikrishnan 
normalmajorhave not tried
closedfixed 
5
2.40 
2.40 
Core
No
0011756: Amount filter does not work properly in Order line selector
In the Information -> Order line selector the amount filter does not work properly.We have two fields called "Total Amount From" and "To".By creating an order with 10 lines each lines have the line net amount of 10,20,30,40,50,60,70,80,90,100. If you use the values 50 in "Total Amount From" and 80 in "To" fields you should be able to see four lines which have the amount of 50,60,70,80. But it does not display anything.
Login as Openbravo/openbravo and role as "Openbravo Admin".
Go to Sales Management -> Transactions -> Sales Order
Create a sales Order with 10 lines. Each have the amount as 10,20,30,40,50,60,70,80,90,100.
Complete the sales order.

Click Information -> Order line
The popup will appear.
Enter the recently created sales order document number in the "Doc No" field and Enter 50 as "Total Amount From" and 80 in "To" fields.
You will not see anything.
 It considers the Grand Total Amount of the sales order. For example the grand total amount of the invoice comes around 600 if we enter the amount values as 550 in From field and 650 in To field we will be able to see the 10 order lines there.

The filter should not consider the "Grand Total Amount" of the sales order header.It should consider the summed line net amount of the order lines.
page data grid
blocks defect 0011692 closed harikrishnan Amount filter does not work properly in Order line selector 
Issue History
2009-12-12 11:09rafarodaTypedefect => backport
2009-12-12 11:09rafarodafix_in_branch => 2.40
2009-12-12 11:10rafarodaTag Attached: page data grid
2009-12-22 12:50harikrishnanAssigned Torafaroda => harikrishnan
2009-12-22 12:59harikrishnanNote Added: 0023009
2009-12-22 12:59harikrishnanStatusscheduled => resolved
2009-12-22 12:59harikrishnanFixed in SCM revision => https://code.openbravo.com/erp/stable/2.40_pageddatagrid/rev/ecb497b6583d [^]
2009-12-22 12:59harikrishnanResolutionopen => fixed
2009-12-28 08:08arunkumarNote Added: 0023098
2009-12-28 08:08arunkumarStatusresolved => closed
2009-12-28 08:08arunkumarFixed in Version => 2.40
2010-01-14 13:17hgbotCheckin
2010-01-14 13:17hgbotNote Added: 0023425
2010-01-14 13:17hgbotStatusclosed => resolved
2010-01-14 13:17hgbotFixed in SCM revisionhttps://code.openbravo.com/erp/stable/2.40_pageddatagrid/rev/ecb497b6583d [^] => http://code.openbravo.com/erp/stable/2.40/rev/ecb497b6583d62fdcc0b81dd7cbdad7aeea32db2 [^]
2010-01-14 13:44rafarodaStatusresolved => closed
2010-01-14 13:45rafarodaNote Added: 0023443

Notes
(0023009)
harikrishnan   
2009-12-22 12:59   
This issue is fixed and committed.
(0023098)
arunkumar   
2009-12-28 08:08   
Tested & Working fine
(0023425)
hgbot   
2010-01-14 13:17   
Repository: erp/stable/2.40
Changeset: ecb497b6583d62fdcc0b81dd7cbdad7aeea32db2
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Dec 22 17:28:27 2009 +0530
URL: http://code.openbravo.com/erp/stable/2.40/rev/ecb497b6583d62fdcc0b81dd7cbdad7aeea32db2 [^]

Fixes Issue 11756: Amount filter does not work properly in Order line selector.

---
M src/org/openbravo/erpCommon/info/SalesOrderLine_data.xsql
---
(0023443)
rafaroda   
2010-01-14 13:45   
Closed since already tested and approved by QA.