Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019063Openbravo ERP09. Financial managementpublic2011-11-14 17:332011-12-07 13:57
maite 
ioritzCia 
urgentmajoralways
closedfixed 
5
 
3.0MP6 
Core
No
0019063: 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.
depends on backport 00190642.50MP36 closed mirurita Error when opening year with several organizations and same calendar 
Issue History
2011-11-14 17:33maiteNew Issue
2011-11-14 17:33maiteAssigned To => jonalegriaesarte
2011-11-14 17:33maiteModules => Core
2011-11-14 17:44maiteStatusnew => scheduled
2011-11-14 17:44maitefix_in_branch => pi
2011-11-14 17:47maiteTarget Version2.50MP36 => 3.0MP6
2011-11-14 17:47maitefix_in_branchpi =>
2011-11-28 09:37jonalegriaesarteAssigned Tojonalegriaesarte => ioritzCia
2011-11-30 16:22hgbotCheckin
2011-11-30 16:22hgbotNote Added: 0043593
2011-11-30 16:22hgbotStatusscheduled => resolved
2011-11-30 16:22hgbotResolutionopen => fixed
2011-11-30 16:22hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/cea448dfffc35f5836224c6d7d40e21b9f9ba8cb [^]
2011-12-01 18:42hudsonbotCheckin
2011-12-01 18:42hudsonbotNote Added: 0043665
2011-12-07 13:57xabiermerinoNote Added: 0043736
2011-12-07 13:57xabiermerinoStatusresolved => closed

Notes
(0043593)
hgbot   
2011-11-30 16:22   
Repository: erp/devel/pi
Changeset: cea448dfffc35f5836224c6d7d40e21b9f9ba8cb
Author: Ioritz Cia <ioritz.cia <at> openbravo.com>
Date: Mon Nov 28 11:07:49 2011 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/cea448dfffc35f5836224c6d7d40e21b9f9ba8cb [^]

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

---
M src-db/database/model/functions/C_PERIOD_PROCESS.xml
---
(0043665)
hudsonbot   
2011-12-01 18:42   
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/d188a2d275a9 [^]

Maturity status: Test
(0043736)
xabiermerino   
2011-12-07 13:57   
verified