Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0010472 | Openbravo ERP | 09. Financial management | public | 2009-09-03 10:56 | 2009-09-22 00:00 |
|
Reporter | networkb | |
Assigned To | vmromanos | |
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 2.40MP4 | |
Target Version | 2.40MP9 | Fixed in Version | 2.50MP6 | |
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 | 0010472: It is not possible to unpost a GL entry when a period is duplicated (one is open and one is closed) |
Description | A fiscal year is created within 12 periods (from January to December). But an extra period is created in the same dates as December, for example.
If Dec-09 period is open, and the new one is closed, it is not possible to unpost a GL entry (It is possible to post it, but not unpost it).
Although, the open period (Dec-09) is selected in all combos in GL entry, it is not possible to unpost it.
The application shows the following message:
Process completed successfully
Updated = 0, Deleted = 0
It has been tested in 2.50 and 2.40, and it happens the same. |
Steps To Reproduce | For 2.50:
Create a new fiscal year (2009). Create its periods using "Create periods" buttom.
Go to Financial Management > Accounting > Transactions > Open/close periods.
Select an organization, the previous year and Dec-09 as Period. Select as Period Action, "Open period". Save it, and process.
Go back to Fiscal year window, and for the same year(2009), create a new period (From date 01-12-2009, To date 31-12-2009).
Go to Financial Management > Accounting > Transactions > GL Entry. Create a new one. Use as Accounting/Transaction date, 02-12-2009. Select Dec-09 period. Save it.
Create its Header. Select same period, and same dates.
Create two lines in Lines tab with amount, 100. One line with 100 in Foreign Currency Debit and the other record in Foreign Currency Credit. Select any Accounting Combination.
Back to Header. Post it. And now to unpost it. It returns this message:
Process completed successfully
Updated = 0, Deleted = 0
For 2.40:
Create a new fiscal year (2009) and its periods, using "Create periods" buttom.
Open Dec-09 period.
Create a new period using as dates, from 01-12-2009 to 31-12-2009. Select as action to GL Entry "Never open".
Create a new GL entry using the same steps as 2.50 |
Proposed Solution | *Do not allow to create two periods in the same dates.
*Show a correct message |
Additional Information | |
Tags | No tags attached. |
Relationships | depends on | backport | 0010512 | 2.40MP9 | closed | vmromanos | It is not possible to unpost a GL entry when a period is duplicated (one is open and one is closed) | related to | defect | 0010545 | | closed | vmromanos | API check build 135 fails |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2009-09-03 10:56 | networkb | New Issue | |
2009-09-03 10:56 | networkb | Assigned To | => rafaroda |
2009-09-03 10:56 | networkb | OBNetwork customer | => Yes |
2009-09-03 10:58 | networkb | Steps to Reproduce Updated | |
2009-09-03 11:00 | networkb | Target Version | => 2.40MP9 |
2009-09-08 10:10 | rafaroda | Assigned To | rafaroda => vmromanos |
2009-09-08 10:11 | rafaroda | Status | new => scheduled |
2009-09-08 10:11 | rafaroda | fix_in_branch | => pi |
2009-09-08 13:02 | hgbot | Checkin | |
2009-09-08 13:02 | hgbot | Note Added: 0019526 | |
2009-09-08 13:02 | hgbot | Status | scheduled => resolved |
2009-09-08 13:02 | hgbot | Resolution | open => fixed |
2009-09-08 13:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e81b966964038d294917adc7f70c95efb632eec5 [^] |
2009-09-08 13:13 | hudsonbot | Checkin | |
2009-09-08 13:13 | hudsonbot | Note Added: 0019527 | |
2009-09-08 13:13 | hudsonbot | Fixed in SCM revision | http://code.openbravo.com/erp/devel/pi/rev/e81b966964038d294917adc7f70c95efb632eec5 [^] => |
2009-09-08 13:18 | hudsonbot | Checkin | |
2009-09-08 13:18 | hudsonbot | Note Added: 0019528 | |
2009-09-08 15:35 | hudsonbot | Checkin | |
2009-09-08 15:35 | hudsonbot | Note Added: 0019529 | |
2009-09-08 16:24 | hudsonbot | Checkin | |
2009-09-08 16:24 | hudsonbot | Note Added: 0019531 | |
2009-09-08 16:37 | hudsonbot | Checkin | |
2009-09-08 16:37 | hudsonbot | Note Added: 0019532 | |
2009-09-08 17:29 | hudsonbot | Checkin | |
2009-09-08 17:29 | hudsonbot | Note Added: 0019536 | |
2009-09-08 21:16 | hudsonbot | Checkin | |
2009-09-08 21:16 | hudsonbot | Note Added: 0019544 | |
2009-09-08 21:24 | hudsonbot | Checkin | |
2009-09-08 21:24 | hudsonbot | Note Added: 0019545 | |
2009-09-08 23:14 | hudsonbot | Checkin | |
2009-09-08 23:14 | hudsonbot | Note Added: 0019551 | |
2009-09-09 10:39 | hudsonbot | Checkin | |
2009-09-09 10:39 | hudsonbot | Note Added: 0019575 | |
2009-09-09 23:14 | hudsonbot | Checkin | |
2009-09-09 23:14 | hudsonbot | Note Added: 0019644 | |
2009-09-10 14:02 | shuehner | Relationship added | related to 0010545 |
2009-09-10 23:14 | hudsonbot | Checkin | |
2009-09-10 23:14 | hudsonbot | Note Added: 0019772 | |
2009-09-11 23:14 | hudsonbot | Checkin | |
2009-09-11 23:14 | hudsonbot | Note Added: 0019838 | |
2009-09-14 11:51 | hudsonbot | Checkin | |
2009-09-14 11:51 | hudsonbot | Note Added: 0019886 | |
2009-09-14 20:08 | vmromanos | Note Added: 0019953 | |
2009-09-14 23:14 | hudsonbot | Checkin | |
2009-09-14 23:14 | hudsonbot | Note Added: 0019991 | |
2009-09-21 13:30 | psarobe | Status | resolved => closed |
2009-09-21 13:30 | psarobe | Note Added: 0020239 | |
2009-09-21 13:30 | psarobe | Fixed in Version | => 2.50MP6 |
2009-09-22 00:00 | anonymous | sf_bug_id | 0 => 2863840 |
Notes |
|
(0019526)
|
hgbot
|
2009-09-08 13:02
|
|
Repository: erp/devel/pi
Changeset: e81b966964038d294917adc7f70c95efb632eec5
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Sep 08 13:01:29 2009 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e81b966964038d294917adc7f70c95efb632eec5 [^]
Fixed bug 10472: Do not allow to create two periods in the same dates
---
M src-db/database/model/tables/C_PERIOD.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A new alert module (http://forge.openbravo.com/projects/duplicatedperiodalert [^]) [^] has been created to help the user to determinate whether he has duplicated periods for the same client or not. The module is available through the Central Repository.
This module can be installed before upgrading the application and it will show the duplicated periods of the client (if any). This way the user can delete them before upgrading the system.
Moreover, the module can also be installed after upgrading the application if the user has detected an error about the C_PERIOD_UNIQUE_PERIOD constraint in the C_PERIOD table in the upgrade process. |
|
|
|
|
|
|
|