Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0011813Openbravo ERP09. Financial managementpublic2009-12-17 17:292010-01-22 17:05
networkb 
rajagopal 
urgentmajorrandom
closedfixed 
5
2.50MP9 
2.50MP102.50MP11 
Core
No
0011813: It is not possible to close January period
If all periods in one year are open, and January is wanted to be closed, it is not possible. The following error appears:
    
Error:
In order to close a year, all the previous ones must be closed.

It has no sense because January is the first period.
In a client whith a calendar that has just got one only fiscal year defined, go to Financial Management > Accounting > Transactions > Open/close period control.
Create a new record.
Select one Organization, one year, and December as a period. As action, open period.
Select one Organization, one year, and January as a period. As action, close period.
Process it
No tags attached.
related to defect 0010087pi closed jayakumar User shouldn't be able to close a year, if the previous one is not closed as well 
related to defect 0012071pi closed rajagopal Opening/closing period actions according to multi-org restrictions 
Issue History
2009-12-17 17:29networkbNew Issue
2009-12-17 17:29networkbAssigned To => rafaroda
2009-12-17 17:33rafarodaAssigned Torafaroda => vmromanos
2009-12-17 17:33rafarodaPriorityimmediate => urgent
2009-12-17 17:33rafarodaStatusnew => scheduled
2009-12-17 17:33rafarodaSummaryIt is not possible to close periods => It is not possible to close January period
2009-12-17 17:33rafarodaDescription Updated
2009-12-28 09:55vmromanosRelationship addedrelated to 0010087
2009-12-28 09:55vmromanosNote Added: 0023102
2009-12-28 10:05networkbNote Added: 0023103
2009-12-28 16:233vianIssue Monitored: 3vian
2010-01-18 10:06rajagopalAssigned Tovmromanos => rajagopal
2010-01-19 23:44dalsasuaProposed Solution updated
2010-01-19 23:46dalsasuaProposed Solution updated
2010-01-19 23:46dalsasuaNote Added: 0023584
2010-01-20 00:48dalsasuaReproducibilityalways => random
2010-01-20 00:49dalsasuaNote Edited: 0023584
2010-01-20 00:52hgbotCheckin
2010-01-20 00:52hgbotNote Added: 0023585
2010-01-20 00:52hgbotStatusscheduled => resolved
2010-01-20 00:52hgbotResolutionopen => fixed
2010-01-20 00:52hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/7f52a871237d504cb5c3168534e89e6ac913a4e0 [^]
2010-01-20 06:58arunkumarNote Added: 0023592
2010-01-20 06:58arunkumarStatusresolved => closed
2010-01-20 06:58arunkumarFixed in Version => 2.50MP11
2010-01-21 00:00anonymoussf_bug_id0 => 2935927
2010-01-22 17:05hudsonbotCheckin
2010-01-22 17:05hudsonbotNote Added: 0023746
2010-01-26 18:20dalsasuaRelationship addedrelated to 0012071

Notes
(0023102)
vmromanos   
2009-12-28 09:55   
Is the previous year closed? See 0010087
(0023103)
networkb   
2009-12-28 10:05   
It was the first year created
(0023584)
dalsasua   
2010-01-19 23:46   
(edited on: 2010-01-20 00:49)
Updated the steps to reproduce, as just with the provided ones, it's not possible to reproduce it. Also updated the reproducibility: it is not always reproducible, but randomly: it depended in the UUID generated for a row in database...

(0023585)
hgbot   
2010-01-20 00:52   
Repository: erp/devel/pi
Changeset: 7f52a871237d504cb5c3168534e89e6ac913a4e0
Author: David Alsasua <david.alsasua <at> openbravo.com>
Date: Wed Jan 20 00:51:35 2010 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/7f52a871237d504cb5c3168534e89e6ac913a4e0 [^]

Fixes issue 11813: It is not possible to close January period

---
M src-db/database/model/functions/C_PERIOD_PROCESS.xml
---
(0023592)
arunkumar   
2010-01-20 06:58   
Tested & Working fine
(0023746)
hudsonbot   
2010-01-22 17:05   
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/7f52a871237d [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/ba83bb4d9240 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/obx/core/OpenbravoERP-2.50CI.15962.obx [^]