Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0023679Openbravo ERP09. Financial managementpublic2013-04-29 18:592014-12-30 23:26
mirurita 
reinaldoguerra 
highminoralways
closedfixed 
20Community Appliance
pi 
 
pramakrishnan
Core
Production - Confirmed Stable
2012-11-28
https://code.openbravo.com/erp/devel/pi/rev/8e775c18f204 [^]
No
0023679: G\L Journal: not possible to enter different Document and Accounting dates (loop in callout)
G\L Journal: not possible to enter different Document and Accounting dates (loop in callout)
1) Create a new G/L Journal batch
2) Create a new G/L Journal Header
3) Enter the following Document Date: 20/04/2013
4) Realize that the callout has populated the Accounting Date with the same value
5) Change the Accounting Date to 22/04/2013
6) Realize that the callout has populated the Document Date with the same value

It is not possible to have different dates.
Looking at this change
https://code.openbravo.com/erp/devel/pi/diff/8e775c18f204/src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java [^]

see attached (issue23679.diff) proposed solution.
No tags attached.
related to defect 00241173.0MP29 closed ngarcia Document date and accounting date in G/L Journal can not be different 
causes defect 0028943 closed aferraz It should be possible to enter different accounting and document date in GL Journal and Header 
diff issue23679.diff (1,465) 2013-04-29 19:00
https://issues.openbravo.com/file_download.php?file_id=6115&type=bug
Issue History
2013-04-29 18:59miruritaNew Issue
2013-04-29 18:59miruritaAssigned To => dmiguelez
2013-04-29 18:59miruritaModules => Core
2013-04-29 18:59miruritaTriggers an Emergency Pack => No
2013-04-29 18:59miruritaRegression level => Production - Confirmed Stable
2013-04-29 18:59miruritaRegression date => 2012-11-28
2013-04-29 18:59miruritaRegression introduced by commit => https://code.openbravo.com/erp/devel/pi/rev/8e775c18f204 [^]
2013-04-29 19:00miruritaFile Added: issue23679.diff
2013-04-29 19:01miruritaProposed Solution updated
2014-11-17 15:03reinaldoguerraAssigned Todmiguelez => reinaldoguerra
2014-11-17 15:03reinaldoguerraStatusnew => scheduled
2014-11-18 14:26reinaldoguerraNote Added: 0071760
2014-12-08 06:12hgbotCheckin
2014-12-08 06:12hgbotNote Added: 0072319
2014-12-08 06:12hgbotStatusscheduled => resolved
2014-12-08 06:12hgbotResolutionopen => fixed
2014-12-08 06:12hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/ca006bb312dd1243f340d64c73f426304d88263c [^]
2014-12-08 06:23pramakrishnanReview Assigned To => pramakrishnan
2014-12-08 06:23pramakrishnanNote Added: 0072320
2014-12-08 06:23pramakrishnanStatusresolved => closed
2014-12-30 23:26hudsonbotCheckin
2014-12-30 23:26hudsonbotNote Added: 0073182
2015-02-13 13:04ngarciaRelationship addedrelated to 0024117
2015-02-16 13:26ngarciaRelationship addedcauses 0028943

Notes
(0071760)
reinaldoguerra   
2014-11-18 14:26   
Test plan used:
1- Login into Openbravo ERP
2- Go to G/L Journal window and create a new record.
3- Go to Header tab and create a new one.
4- Enter the following Document Date: 20/04/2013
5- Realize that the callout has populated the Accounting Date with the same value
6- Change the Accounting Date to 22/04/2013
7- Realize that the callout now updates the Document Date with the Accounting Date value (22/04/2013)
(0072319)
hgbot   
2014-12-08 06:12   
Repository: erp/devel/pi
Changeset: ca006bb312dd1243f340d64c73f426304d88263c
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Mon Nov 17 18:24:32 2014 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/ca006bb312dd1243f340d64c73f426304d88263c [^]

Fixed bug 23679: In G\L Journal window is possible to enter different dates.

Callout logic when changing G\L Journal data was modified to equally change document date when accounting date is updated.
Now it is possible to change one of both dates and the other takes the same value, as is requested in the issue content.

---
M src/org/openbravo/erpCommon/ad_callouts/SL_Journal_Period.java
---
(0072320)
pramakrishnan   
2014-12-08 06:23   
Code Review + Testing - OK.
(0073182)
hudsonbot   
2014-12-30 23:26   
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/6525fe229e06 [^]
Maturity status: Test