Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011258 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | minor | always | 2009-11-05 11:33 | 2009-11-20 00:00 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | high | Resolution | fixed | Fixed in Version | 2.50MP9 | |||
Status | closed | Fix in branch | Fixed in SCM revision | d4efa4cd14bd | ||||
Projection | none | ETA | none | Target Version | 2.50MP9 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP6 | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | OBPS | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0011258: It is not possible to create a new calendar for an Organization | |||||||
Description | If a new Organization (with accounting), is created. It is not possible to create a new Fiscal calendar for it. The reason is c_period_unique_period constraint (ad_client_id, startdate, enddate). It should be updated. | |||||||
Steps To Reproduce | Go to General Setup > Enterprise > Initial Organization Setup. Create a new one, selecting as Organization type, "Legal with accounting". Enter a name, an organziation user, select as currency "EUR", and Business Partner, Product and Project checkboxes. Go to Financial Management > Accounting > Setup > Fiscal Calendar. Create a new one for your Organization (select it in Organization combo box). Go to Year tab. Create a new one (IE 2009). Press "Create periods". An error is shown. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0021966) vmromanos (viewer) 2009-11-18 14:07 |
Breaking the API is needed for fixing this bug |
(0021978) vmromanos (viewer) 2009-11-18 17:02 |
Just a clarification for networkb (and users in general): The c_period_unique_period unique constraint is wrong and it's going to be fixed, but I want to inform you that two or more organizations can share the same calendar; so it's not necessary to create a new calendar for each legal entity if the calendars have exactly the same years and periods. Remember that in 2.50, the calendar is defined at Organization's level (after checking "allow period control" flag, you can associate a calendar) and not at Calendar's level. The organization in the calendar's window is not related with the organization that owns this calendar (it's just kept for backward compatibility for the migration process). Best regards, Víctor. |
(0021981) hgbot (developer) 2009-11-18 17:51 |
Repository: erp/devel/pi Changeset: d4efa4cd14bd789fcfb5bb54cfcee1fd12d85f5a Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Wed Nov 18 17:52:19 2009 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/d4efa4cd14bd789fcfb5bb54cfcee1fd12d85f5a [^] Fixed bug 11258: impossible to create two identical calendars for the same client --- M src-db/database/model/tables/C_PERIOD.xml --- |
(0021998) sureshbabu (viewer) 2009-11-19 05:41 |
Tested working fine |
![]() |
|||
Date Modified | Username | Field | Change |
2009-11-05 11:33 | networkb | New Issue | |
2009-11-05 11:33 | networkb | Assigned To | => rafaroda |
2009-11-05 11:33 | networkb | OBNetwork customer | => Yes |
2009-11-05 11:35 | rafaroda | Assigned To | rafaroda => vmromanos |
2009-11-05 11:35 | rafaroda | Priority | immediate => high |
2009-11-05 11:35 | rafaroda | Status | new => scheduled |
2009-11-13 09:33 | networkb | Target Version | 2.50MP10 => 2.50MP9 |
2009-11-18 14:07 | vmromanos | Note Added: 0021966 | |
2009-11-18 17:02 | vmromanos | Note Added: 0021978 | |
2009-11-18 17:51 | hgbot | Checkin | |
2009-11-18 17:51 | hgbot | Note Added: 0021981 | |
2009-11-18 17:51 | hgbot | Status | scheduled => resolved |
2009-11-18 17:51 | hgbot | Resolution | open => fixed |
2009-11-18 17:51 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d4efa4cd14bd789fcfb5bb54cfcee1fd12d85f5a [^] |
2009-11-19 05:41 | sureshbabu | Note Added: 0021998 | |
2009-11-19 05:41 | sureshbabu | Status | resolved => closed |
2009-11-19 05:41 | sureshbabu | Fixed in Version | => 2.50MP9 |
2009-11-19 14:47 | shuehner | Relationship added | related to 0011418 |
2009-11-20 00:00 | anonymous | sf_bug_id | 0 => 2900816 |
Copyright © 2000 - 2009 MantisBT Group |