Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0005851 | Openbravo ERP | 01. General setup | public | 2008-11-06 12:48 | 2009-04-21 11:05 |
Reporter | rafaroda | ||||
Assigned To | vmromanos | ||||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 20 | OS Version | Ubuntu 7.10 | |
Product Version | pi | ||||
Target Version | 2.50 | Fixed in Version | |||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0005851: Problems in opening periods for son organizations | ||||
Description | One should be able to open the periods of sons organizations. | ||||
Steps To Reproduce | 1) Create new organization in 'General Setup || Enterprise || Organization' 2) Its Organization Type must be a legal entity. 3) Check Allow Period Control check box then select a calendar. 4) Set this organization as ready. 5) Create a new organization with Organization Type equals legal entity. 6) Do NOT check Allow Period Control check box. 7) In the organization tree, set this organization as son of the first one. 8) Set the second organization as ready. 9) Go to 'Financial Management || Accounting || Transactions || Open/Close Period Control'. 10) Select the first organization, select a year, number of periods, action 'Open period' and tick 'Open also child organizations' check box. 11) Save then press 'Open/Close All' button. 12) Go to 'General Setup || Enterprise || Organization' and check that all periods of the first organization are open in 'General Setup || Enterprise || Organization || Organization >> Year >> Period >> Period Control' 13) Create an invoice for second organization and add some lines to it. 14) Complete this invoice. You can not. The check for periods is not done for antecesors. | ||||
Proposed Solution | Get the calendar owner for the organization header in the check period control is opened inside the procedures in http://wiki.openbravo.com/wiki/Projects/EnhancedMulti-organizationSupport/Technical_Documentation#2.3 [^] -- Check the period control is opened SELECT COUNT(C_Period_ID) INTO v_available_period FROM C_Period WHERE v_DateAcct BETWEEN STARTDATE AND ENDDATE AND EXISTS (SELECT 1 FROM C_PeriodControl WHERE C_PeriodControl.C_Period_ID=C_Period.C_Period_ID AND DocBaseType=(SELECT DocBaseType FROM C_DocType WHERE C_DocType_ID=v_DocTypeTarget_ID) AND AD_Org_ID=AD_ORG_GETCALENDAROWNER (v_AD_Org_ID) AND PeriodStatus='O' ); | ||||
Additional Information | |||||
Tags | multi-org | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-11-06 12:48 | rafaroda | New Issue | |||
2008-11-06 12:48 | rafaroda | Assigned To | => vmromanos | ||
2008-11-06 12:48 | rafaroda | sf_bug_id | 0 => 2229291 | ||
2008-11-06 12:48 | rafaroda | Regression testing | => No | ||
2008-11-06 12:48 | rafaroda | Tag Attached: multi-org | |||
2008-11-06 18:12 | rafaroda | Proposed Solution updated | |||
2008-11-06 18:12 | rafaroda | Steps to Reproduce Updated | |||
2008-11-06 18:21 | rafaroda | Steps to Reproduce Updated | |||
2008-11-09 20:12 | psarobe | Status | new => scheduled | ||
2008-11-09 20:12 | psarobe | Note Added: 0010104 | |||
2008-11-09 20:12 | psarobe | fix_in_branch | => trunk | ||
2008-11-17 18:51 | svnbot | Checkin | |||
2008-11-17 18:51 | svnbot | Note Added: 0010353 | |||
2008-11-17 18:51 | svnbot | Status | scheduled => resolved | ||
2008-11-17 18:51 | svnbot | Resolution | open => fixed | ||
2008-11-17 18:51 | svnbot | svn_revision | => 10167 | ||
2009-04-21 11:05 | psarobe | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|