Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0011258
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminoralways2009-11-05 11:332009-11-20 00:00
ReporternetworkbView Statuspublic 
Assigned Tovmromanos 
PriorityhighResolutionfixedFixed in Version2.50MP9
StatusclosedFix in branchFixed in SCM revisiond4efa4cd14bd
ProjectionnoneETAnoneTarget Version2.50MP9
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP6SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0011258: It is not possible to create a new calendar for an Organization

DescriptionIf 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 ReproduceGo 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.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00114182.50MP9 closedvmromanos api checkbuild 210 fails 

-  Notes
(0021966)
vmromanos (manager)
2009-11-18 14:07

Breaking the API is needed for fixing this bug
(0021978)
vmromanos (manager)
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 (reporter)
2009-11-19 05:41

Tested working fine

- Issue History
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: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
Powered by Mantis Bugtracker