Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019064Openbravo ERP09. Financial managementpublic2011-11-14 17:332011-11-17 09:54
maite 
mirurita 
urgentmajoralways
closedfixed 
5
 
2.50MP362.50MP36 
Core
No
0019064: Error when opening year with several organizations and same calendar
If you have 2 legal entities with accounting and you close year 2006 for organization A and also close year 2010 and January 2007 for organization B.
Try to open year 2006 for organization A. You will obtain error saying that "'a period can only be open if none of the periods of future years is closed.'"

Problem is that process "c_period_process" is not filtering by organization
1. General Setup || Enterprise || Initial organization setup || Initial organization setup: create 2 legal entities with accounting at same level and same calendar
2. General Setup || Enterprise || Organization || Organization : allow period control and select calendar. Set as Ready.
3. Financial Management || Accounting || Transactions || Open/Close Period Control || Open/Close Period Control : create record for closing year 2006 in Org A
4. Financial Management || Accounting || Transactions || Open/Close Period Control || Open/Close Period Control : create record for closing year 2006 in Org B
5. Financial Management || Accounting || Transactions || Open/Close Period Control || Open/Close Period Control : create record for closing January 2007 in Org B
6. Financial Management || Accounting || Transactions || Open/Close Period Control || Open/Close Period Control : create record for opening year 2006 in Org A

Error will be obtained.
solution should be similar to issue 14993, but when performing Opening actions.
No tags attached.
related to defect 00149932.50MP25 closed dalsasua Error when closing year with several organizations and same calendar 
blocks defect 00190633.0MP6 closed ioritzCia Error when opening year with several organizations and same calendar 
Issue History
2011-11-14 17:44maiteTypedefect => backport
2011-11-14 17:44maitefix_in_branch => 2.50
2011-11-14 17:48maiteRelationship addedrelated to 0014993
2011-11-14 17:51maiteIssue Monitored: networkb
2011-11-15 10:36jonalegriaesarteAssigned Tojonalegriaesarte => mirurita
2011-11-16 09:29hgbotCheckin
2011-11-16 09:29hgbotNote Added: 0042864
2011-11-16 09:29hgbotStatusscheduled => resolved
2011-11-16 09:29hgbotResolutionopen => fixed
2011-11-16 09:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/9410fface38ab9120bf1c599cf11f96d5654548f [^]
2011-11-17 09:54maiteNote Added: 0042906
2011-11-17 09:54maiteStatusresolved => closed
2011-11-17 09:54maiteFixed in Version => 2.50MP36

Notes
(0042864)
hgbot   
2011-11-16 09:29   
Repository: erp/stable/2.50
Changeset: 9410fface38ab9120bf1c599cf11f96d5654548f
Author: Mikel Irurita <mikel.irurita <at> openbravo.com>
Date: Wed Nov 16 09:23:46 2011 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/9410fface38ab9120bf1c599cf11f96d5654548f [^]

Fixes issue 19064: Error when opening year with several organizations and same calendar

---
M src-db/database/model/functions/C_PERIOD_PROCESS.xml
---
(0042906)
maite   
2011-11-17 09:54   
verified