Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0038620Openbravo ERP09. Financial managementpublic2018-05-24 17:302018-06-08 07:29
maite 
AtulOpenbravo 
urgentmajoralways
closedfixed 
5
 
3.0PR18Q3 
dmiguelez
Core
No
0038620: Reset Accounting process is not considering specific day set but deleting accounting of entire month
In case Reset Accounting process is run setting specific Starting Date and Ending date, accounting information for entire month will be deleted
1. Run General Ledger Report with parameters:
   a) From Date= 01-01-2018
   b) To Date= 31-12-2018
   c) Organization = España
   d) General Ledger = España
   e) From account "43000 Clientes (euros) a corto plazo" to account "43000 Clientes (euros) a corto plazo"
2. Realize that exists accounting information from different days of february 2018 (12-02-2018, 13-02-2018 and 14-02-2018)
3. Run Reset accounting process with parameters:
   a) Organization= España
   b) Delete existing accounting entries= YES
   c) Starting date= 12-02-2018
   d) Ending date= 12-02-2018
4. Run General Ledger Report again using same parameters and verify that all februey entries have been deleted and not only the one for 12-02-2018
No tags attached.
Issue History
2018-05-24 17:30maiteNew Issue
2018-05-24 17:30maiteAssigned To => Triage Finance
2018-05-24 17:30maiteModules => Core
2018-05-24 17:30maiteResolution time => 1528927200
2018-05-24 17:30maiteTriggers an Emergency Pack => No
2018-05-24 17:30maiteIssue Monitored: networkb
2018-05-28 17:34dmiguelezAssigned ToTriage Finance => AtulOpenbravo
2018-05-31 22:15AtulOpenbravoStatusnew => scheduled
2018-05-31 22:15AtulOpenbravoNote Added: 0104856
2018-06-06 17:47hgbotCheckin
2018-06-06 17:47hgbotNote Added: 0104982
2018-06-06 17:47hgbotStatusscheduled => resolved
2018-06-06 17:47hgbotResolutionopen => fixed
2018-06-06 17:47hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/07613a7602fbd25a9a227eef42966c39eb50d46c [^]
2018-06-06 17:47hgbotCheckin
2018-06-06 17:47hgbotNote Added: 0104983
2018-06-06 17:49dmiguelezReview Assigned To => dmiguelez
2018-06-06 17:49dmiguelezNote Added: 0104984
2018-06-06 17:49dmiguelezStatusresolved => closed
2018-06-06 17:49dmiguelezFixed in Version => 3.0PR18Q3
2018-06-08 07:29hudsonbotCheckin
2018-06-08 07:29hudsonbotNote Added: 0105017
2018-06-08 07:29hudsonbotCheckin
2018-06-08 07:29hudsonbotNote Added: 0105018

Notes
(0104856)
AtulOpenbravo   
2018-05-31 22:15   
Test Plan

- Run General Ledger Report with parameters:
   a) From Date= 01-01-2018
   b) To Date= 31-12-2018
   c) Organization = F&B España, S.A
   d) General Ledger = F&B España, S.A US/A/EURO
   e) From account "43000 Clientes (euros) a corto plazo" to account "43000 Clientes (euros) a corto plazo"
- Realize that there exists accounting information from different days of February 2018 (12-02-2018, 13-02-2018 and 14-02-2018)
- Run Reset accounting process with parameters:
   a) Organization= F&B España, S.A
   b) Delete existing accounting entries= YES
   c) Starting date= 12-02-2018
   d) Ending date= 12-02-2018
- Run General Ledger Report again using same parameters and verify that all entries have been deleted for only the one whose date is 12-02-2018.
(0104982)
hgbot   
2018-06-06 17:47   
Repository: erp/devel/pi
Changeset: 07613a7602fbd25a9a227eef42966c39eb50d46c
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Jun 04 00:07:30 2018 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/07613a7602fbd25a9a227eef42966c39eb50d46c [^]

Fixes Issue 38620: Reset Accounting process is not considering
specific day set but deleting accounting of entire month

Fetch data from fact_acct for Date filters when applied From
Date and To Date, if not applied then use periods Starting
Date and Ending Date.

---
M src/org/openbravo/financial/ResetAccounting.java
---
(0104983)
hgbot   
2018-06-06 17:47   
Repository: erp/devel/pi
Changeset: 9cd5f090b3797c853ce921e57d22cff79ab02f9c
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Jun 06 17:46:08 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/9cd5f090b3797c853ce921e57d22cff79ab02f9c [^]

Related to Issue 38620. Code Review changes.

Renamed vairables to make their name more meaningful.

---
M src/org/openbravo/financial/ResetAccounting.java
---
(0104984)
dmiguelez   
2018-06-06 17:49   
Code Review + Changes Ok
(0105017)
hudsonbot   
2018-06-08 07:29   
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/4e0c05c97edf [^]
Maturity status: Test
(0105018)
hudsonbot   
2018-06-08 07:29   
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/4e0c05c97edf [^]
Maturity status: Test