Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0036068Openbravo ERP09. Financial managementpublic2017-05-23 10:382017-05-31 15:23
maite 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR17Q3 
aferraz
Core
No
0036068: Zero payment not shown in General Ledger Report when general ledger configured to "allow negative"
In case General Ledger Configuration is set as "allow negatives", zero payment does not appear in General Ledger Report
1. Register Sales Invoice document. Add any line and process. Post invoice
2. Void previous invoice. Accessed reversed invoice and post it
3. Access zero payment automatically created (as invoice was not paid when voided) and post it
4. Run General Ledger report and realize that zero payment properly appears
5. Access General Ledger Configuration and set it as "allow negatives"
6. Unpost/post again previous documents
7. Run General Ledger Report again and realize that zero payment does not appear when it should
No tags attached.
Issue History
2017-05-23 10:38maiteNew Issue
2017-05-23 10:38maiteAssigned To => Triage Finance
2017-05-23 10:38maiteModules => Core
2017-05-23 10:38maiteResolution time => 1497304800
2017-05-23 10:38maiteTriggers an Emergency Pack => No
2017-05-23 10:38maiteIssue Monitored: networkb
2017-05-24 10:27jfrancesIssue Monitored: jfrances
2017-05-24 11:55aferrazAssigned ToTriage Finance => AtulOpenbravo
2017-05-26 11:35AtulOpenbravoStatusnew => scheduled
2017-05-26 14:22AtulOpenbravoNote Added: 0096836
2017-05-30 19:35hgbotCheckin
2017-05-30 19:35hgbotNote Added: 0097034
2017-05-30 19:35hgbotStatusscheduled => resolved
2017-05-30 19:35hgbotResolutionopen => fixed
2017-05-30 19:35hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/aeda777dc53894d5b2efe9a55ea2b7ad43156426 [^]
2017-05-30 19:36aferrazReview Assigned To => aferraz
2017-05-30 19:36aferrazNote Added: 0097035
2017-05-30 19:36aferrazStatusresolved => closed
2017-05-30 19:36aferrazFixed in Version => 3.0PR17Q3
2017-05-31 15:23hudsonbotCheckin
2017-05-31 15:23hudsonbotNote Added: 0097056

Notes
(0096836)
AtulOpenbravo   
2017-05-26 14:22   
Test Plan

- Register Sales Invoice document. Add any line and process. Post invoice
- Void previous invoice. Accessed reversed invoice and post it
- Access zero payment automatically created (as invoice was not paid when voided) and post it
- Run General Ledger report and realize that zero payment properly appears
- Access General Ledger Configuration and set it as "allow negatives"
- Unpost/post again previous documents
- Run General Ledger Report again and realize that zero payment does appears in the report.
(0097034)
hgbot   
2017-05-30 19:35   
Repository: erp/devel/pi
Changeset: aeda777dc53894d5b2efe9a55ea2b7ad43156426
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Fri May 26 17:48:01 2017 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/aeda777dc53894d5b2efe9a55ea2b7ad43156426 [^]

Fixes issue 36068: Zero payment not shown in General Ledger Report

Zero payment not shown in General Ledger Report when
general ledger configured to "allow negative".

ISDEBIT flag should not only be based on non zero amtacctdr values but
also negative amtacctcr values.

---
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedger_data.xsql
---
(0097035)
aferraz   
2017-05-30 19:36   
Code review + Testing OK
(0097056)
hudsonbot   
2017-05-31 15:23   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/e39fb42d847c [^]
Maturity status: Test