Openbravo Issue Tracking System - Modules
View Issue Details
0028302ModulesPayment Aging Balance Reportpublic2014-11-27 12:562015-03-13 11:22
maite 
fsoto82 
immediatemajoralways
closedfixed 
5
 
 
aferraz
0028302: Include preference to configure if VOID invoices should be included in report or not
Invoices in VOID status are currently excluded from Aging report (due to related issue 21336). This is wrong as VOId invoice which has payment plan info should also appear in the report (in negative) to be able to obtain real data situation.
1. Create sales invoice for any bp and any amount
2. Create payment associated to that invoice, paying total invoice
3. Void previous sales invoice. Reversed Sales Invoice will be automatically created. Both Invoices will have "Voided" status
4. Run Aging report and realize that Reversed Sales Invoice does not appear
In order to maintain current behaviour, solution will be (decides with Eduardo):
- To include a checkbox in the report to decide if "Voided invoices needs to be included"
- This checkbox will be checked by default (so voided invoices will be included) and hidden
- Include a preference in case user decides to show that checkbox
- Depending on checkbox's value, "createObCriteria" method of AgingDao.java needs to include following clause or not : hsqlScript.append(" and i.documentStatus <> 'VO'");
- Document that change in http://wiki.openbravo.com/wiki/Projects/Payment_Aging_Balance/User_Documentation [^]
No tags attached.
related to defect 0021336 closed dmiguelez Voided invoices appear in report, under some circumstances 
Issue History
2014-11-27 12:56maiteNew Issue
2014-11-27 12:56maiteAssigned To => dmiguelez
2014-11-27 12:56maiteResolution time => 1420066800
2014-11-27 12:56maiteAssigned Todmiguelez => eduardo_Argal
2014-11-27 12:56maiteIssue Monitored: networkb
2014-11-27 12:57maiteRelationship addedrelated to 0021336
2014-11-27 13:25maiteProposed Solution updated
2014-12-02 20:27fsoto82Statusnew => scheduled
2014-12-02 20:27fsoto82Assigned Toeduardo_Argal => fsoto82
2014-12-02 20:27fsoto82fix_in_branch => pi
2015-02-16 16:39hgbotCheckin
2015-02-16 16:39hgbotNote Added: 0074517
2015-02-16 16:39hgbotStatusscheduled => resolved
2015-02-16 16:39hgbotResolutionopen => fixed
2015-02-16 16:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/7ff2135d399c075650c00213801beccd415de649 [^]
2015-02-16 17:18aferrazReview Assigned To => aferraz
2015-02-16 17:18aferrazNote Added: 0074520
2015-02-16 17:18aferrazStatusresolved => closed
2015-02-17 11:25hgbotCheckin
2015-02-17 11:25hgbotNote Added: 0074547
2015-02-17 12:00hgbotCheckin
2015-02-17 12:00hgbotNote Added: 0074548
2015-02-27 09:35hgbotCheckin
2015-02-27 09:35hgbotNote Added: 0075013
2015-03-09 20:24hgbotCheckin
2015-03-09 20:24hgbotNote Added: 0075351
2015-03-13 11:22hgbotCheckin
2015-03-13 11:22hgbotNote Added: 0075530
2015-03-13 11:22hgbotCheckin
2015-03-13 11:22hgbotNote Added: 0075531
2015-03-13 11:22hgbotCheckin
2015-03-13 11:22hgbotNote Added: 0075532

Notes
(0074517)
hgbot   
2015-02-16 16:39   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: 7ff2135d399c075650c00213801beccd415de649
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Fri Feb 13 08:16:44 2015 -0500
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/7ff2135d399c075650c00213801beccd415de649 [^]

Fixed bug 28302: New preference to configure if VOID invoices should be included in report

Created the preference "Enable void documents filter in Aging Reports" (AGING_ShowVoidCheckbox).
If set to Y, then a checkbox is shown to select if the void documents should be excluded from the report.

---
M src-db/database/sourcedata/AD_TEXTINTERFACES.xml
M src/org/openbravo/agingbalance/ad_reports/AgingDao.java
M src/org/openbravo/agingbalance/ad_reports/AgingInquiry.html
M src/org/openbravo/agingbalance/ad_reports/AgingInquiry.xml
M src/org/openbravo/agingbalance/ad_reports/AgingProcess.java
M src/org/openbravo/agingbalance/ad_reports/AgingScheduleDetailHTML.jrxml
M web/org.openbravo.agingbalance/js/aging-html-functions.js
A src-db/database/sourcedata/AD_REF_LIST.xml
---
(0074520)
aferraz   
2015-02-16 17:18   
Code review + Testing OK
(0074547)
hgbot   
2015-02-17 11:25   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: f39538ac7c729505a95c353ddc7b904ffff42877
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Feb 17 11:25:11 2015 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/f39538ac7c729505a95c353ddc7b904ffff42877 [^]

related to issue 28302 Fixed jslint errors

---
M web/org.openbravo.agingbalance/js/aging-html-functions.js
---
(0074548)
hgbot   
2015-02-17 12:00   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: 9c8a1baf4342ba2952ecea402bf5efedeae7ee69
Author: Sandra Huguet <sandra.huguet <at> openbravo.com>
Date: Tue Feb 17 11:59:45 2015 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/9c8a1baf4342ba2952ecea402bf5efedeae7ee69 [^]

related to issue 28302 Fixed jslint errors

---
M web/org.openbravo.agingbalance/js/aging-html-functions.js
---
(0075013)
hgbot   
2015-02-27 09:35   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: 9a342d965225dac26fb7308914fab60c6f00845d
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Feb 27 09:34:30 2015 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/9a342d965225dac26fb7308914fab60c6f00845d [^]

Related to issue 28302: Fixed sessionStorage declaration

---
M web/org.openbravo.agingbalance/js/aging-html-functions.js
---
(0075351)
hgbot   
2015-03-09 20:24   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: d48966438691b73a65abf0ee5f7b1e12bc26ccd2
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Mon Mar 09 11:21:08 2015 -0500
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/d48966438691b73a65abf0ee5f7b1e12bc26ccd2 [^]

Related to issue 28302: removed use of sessionStorage and other fixes

set checked the "Voided invoices needs to be included" checkbox by default
if the preference is not set, the include the voided invoices by default

---
M src/org/openbravo/agingbalance/ad_reports/AgingProcess.java
M web/org.openbravo.agingbalance/js/aging-html-functions.js
---
(0075530)
hgbot   
2015-03-13 11:22   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: 8dd2e075e74483329304bdaab3215504c46dbc4c
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Mon Mar 09 11:21:08 2015 -0500
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/8dd2e075e74483329304bdaab3215504c46dbc4c [^]

Related to issue 28302: removed use of sessionStorage and other fixes

set checked the "Voided invoices needs to be included" checkbox by default
if the preference is not set, the include the voided invoices by default

---
M src/org/openbravo/agingbalance/ad_reports/AgingProcess.java
M web/org.openbravo.agingbalance/js/aging-html-functions.js
---
(0075531)
hgbot   
2015-03-13 11:22   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: e23f532c978dfd168e1e9f3cc9a10e953f06f5ae
Author: Fernando Soto <fernando.soto <at> peoplewalking.com>
Date: Tue Mar 10 14:58:34 2015 -0500
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/e23f532c978dfd168e1e9f3cc9a10e953f06f5ae [^]

Related to issue 28302: modified AgingScheduleHTML.jrxml hyperlinks

---
M src/org/openbravo/agingbalance/ad_reports/AgingProcess.java
M src/org/openbravo/agingbalance/ad_reports/AgingScheduleHTML.jrxml
---
(0075532)
hgbot   
2015-03-13 11:22   
Repository: erp/mods/org.openbravo.agingbalance
Changeset: b8786b4436b1d55646a9cd1e5edc223d4dac12e7
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Fri Mar 13 11:05:20 2015 +0100
URL: http://code.openbravo.com/erp/mods/org.openbravo.agingbalance/rev/b8786b4436b1d55646a9cd1e5edc223d4dac12e7 [^]

Related to issue 28302: Fix aging-html-functions.js copyright and jslint errors

---
M web/org.openbravo.agingbalance/js/aging-html-functions.js
---