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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0012071
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajoralways2010-01-26 18:202010-02-01 17:53
ReporterdalsasuaView Statuspublic 
Assigned Torajagopal 
PriorityurgentResolutionfixedFixed in Version2.50MP12
StatusclosedFix in branchpiFixed in SCM revision54a4f104b26b
ProjectionnoneETAnoneTarget Versionpi
OSLinux 32 bitDatabaseOracleJava version1.6.0_14
OS VersionUbuntu 9.04Database version11.1.0.6.0 SEAnt version1.7.1
Product VersionpiSCM revision23ac74829856 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0012071: Opening/closing period actions according to multi-org restrictions

DescriptionIn the multi-org project a new feature was set: avoid the possibility of having open periods in a year, if all previous years haven't got all its periods closed as well.
For example, if the user wants to close January-2010 but some of the periods of 2009 are still open, ERP should prevent the user doing so.

This was implemented checking that in order to close a period, previous year must be closed as well.

This measure is ok, but not enough, as it is not taking into account the possibility of opening periods again. See steps to reproduce.
Steps To Reproduce-Go to Financial Management || Accounting || Transactions || Open/Close Period Control.
-Process this record: Until: Dec-06, Action: Close Period.
-Process this record: Until: Jan-07, Action: Close Period.
-Process this record: Until: Dec-06, Action: Open Period.
-Go to General Setup || Enterprise || Organization || Organization >> Period Control.
-Realize that all periods in 2006 are open, and January 2007 is closed. This must not be the case.
Proposed SolutionModify the C_PERIOD_PROCESS function, so it checks that a period can only be open if none of the periods of future years is closed.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00118132.50MP10 closedrajagopal It is not possible to close January period 
related to defect 0010087pi closedjayakumar User shouldn't be able to close a year, if the previous one is not closed as well 

-  Notes
(0023813)
dalsasua (reporter)
2010-01-26 18:32

Hi Rajagopal,

Please, kindly refer to the fix of the related issues in order to get introduced to the topic, and oriented in the approach to follow to fix the issue.

Thanks. Regards.
(0023821)
hgbot (developer)
2010-01-27 12:32

Repository: erp/devel/pi
Changeset: 54a4f104b26b58135090a5c6ccb718f44aa4338c
Author: Rajagopal Baskaran <rajagopal.baskaran <at> openbravo.com>
Date: Wed Jan 27 17:01:13 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/54a4f104b26b58135090a5c6ccb718f44aa4338c [^]

Fixes issue 12071 Opening/closing period actions according to multi-org restrictions

---
M src-db/database/model/functions/C_PERIOD_PROCESS.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0023842)
arunkumar (reporter)
2010-01-28 07:11

Tested & Working fine
(0023893)
hudsonbot (developer)
2010-02-01 17:53

A changeset related to this issue has been promoted to main after passing a series of tests and an OBX has been generated:

Changeset: http://code.openbravo.com/erp/devel/main/rev/54a4f104b26b [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/3d5bd712a24b [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.16007.obx [^]

- Issue History
Date Modified Username Field Change
2010-01-26 18:20 dalsasua New Issue
2010-01-26 18:20 dalsasua Assigned To => rajagopal
2010-01-26 18:20 dalsasua Relationship added related to 0011813
2010-01-26 18:21 dalsasua Relationship added related to 0010087
2010-01-26 18:32 dalsasua Note Added: 0023813
2010-01-27 09:54 rajagopal Status new => acknowledged
2010-01-27 09:54 rajagopal Status acknowledged => scheduled
2010-01-27 09:54 rajagopal fix_in_branch => pi
2010-01-27 12:32 hgbot Checkin
2010-01-27 12:32 hgbot Note Added: 0023821
2010-01-27 12:32 hgbot Status scheduled => resolved
2010-01-27 12:32 hgbot Resolution open => fixed
2010-01-27 12:32 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/54a4f104b26b58135090a5c6ccb718f44aa4338c [^]
2010-01-28 07:11 arunkumar Note Added: 0023842
2010-01-28 07:11 arunkumar Status resolved => closed
2010-01-28 07:11 arunkumar Fixed in Version => 2.50MP12
2010-01-29 00:00 anonymous sf_bug_id 0 => 2941883
2010-02-01 17:53 hudsonbot Checkin
2010-02-01 17:53 hudsonbot Note Added: 0023893


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker