Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011687Openbravo ERPZ. Otherspublic2009-12-09 07:002010-01-20 23:25
arunkumar 
rafaroda 
normalmajorhave not tried
closedfixed 
5
2.40 
pi 
Core
No
0011687: Amount filter does not work properly in Invoice line selector
In the Information -> Invoice line selector the amount filter does not work properly.We have two fields called "Total Amount From" and "To".By creating an invoice 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 Invoice
Create a sales invoice with 10 lines. Each have the amount as 10,20,30,40,50,60,70,80,90,100.
Complete the sales invoice.

Click Information -> Invoice line
The popup will appear.
Enter the recently created sales invoice 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 invoice. For example the grand total amount of the invoice comes around 600 if we enter the amount values as 550 in From filed and 650 in To field we will be able to see the 10 invoice lines there.

The filter should not consider the "Grand Total Amount" of the sales invoice.It should consider the summed line net amount of the invoice lines.
page data grid
depends on backport 0011758 closed rafaroda Amount filter does not work properly in Invoice line selector 
Issue History
2009-12-09 07:00arunkumarNew Issue
2009-12-09 07:00arunkumarAssigned To => rafaroda
2009-12-09 07:00arunkumarTag Attached: page data grid
2009-12-10 12:03arunkumarTag Detached: page data grid
2009-12-10 12:30arunkumarTag Attached: page data grid
2009-12-12 11:28rafarodaStatusnew => scheduled
2009-12-12 11:28rafarodafix_in_branch => pi
2009-12-22 11:00harikrishnanNote Added: 0023000
2009-12-22 11:01harikrishnanStatusscheduled => resolved
2009-12-22 11:01harikrishnanFixed in SCM revision => https://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/532cb6744ef0 [^]
2009-12-22 11:01harikrishnanResolutionopen => fixed
2009-12-28 14:40arunkumarNote Added: 0023114
2009-12-28 14:40arunkumarStatusresolved => closed
2009-12-28 14:40arunkumarFixed in Version => pi
2009-12-29 00:00anonymoussf_bug_id0 => 2922533
2010-01-14 11:27hgbotCheckin
2010-01-14 11:27hgbotNote Added: 0023407
2010-01-14 11:27hgbotStatusclosed => resolved
2010-01-14 11:27hgbotFixed in SCM revisionhttps://code.openbravo.com/erp/devel/pi-pageddatagrid/rev/532cb6744ef0 [^] => http://code.openbravo.com/erp/devel/pi/rev/532cb6744ef04698e4555cf72f26351ef6c944bf [^]
2010-01-14 13:44rafarodaStatusresolved => closed
2010-01-14 13:45rafarodaNote Added: 0023448
2010-01-20 23:25hudsonbotCheckin
2010-01-20 23:25hudsonbotNote Added: 0023643

Notes
(0023000)
harikrishnan   
2009-12-22 11:00   
This issue is fixed and committed .
(0023114)
arunkumar   
2009-12-28 14:40   
Tested & Working fine
(0023407)
hgbot   
2010-01-14 11:27   
Repository: erp/devel/pi
Changeset: 532cb6744ef04698e4555cf72f26351ef6c944bf
Author: Harikrishnan Raja <harikrishnan.raja <at> openbravo.com>
Date: Tue Dec 22 15:29:09 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/532cb6744ef04698e4555cf72f26351ef6c944bf [^]

Fixes Issue 11687: Amount filter does not work properly in Invoice line selector.

---
M src/org/openbravo/erpCommon/info/InvoiceLine_data.xsql
---
(0023448)
rafaroda   
2010-01-14 13:45   
Closed since already tested and approved by QA.
(0023643)
hudsonbot   
2010-01-20 23:25   
A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/532cb6744ef0 [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/fa6621f85351 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15942.obx [^]