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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0010512
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementmajoralways2009-09-03 10:562009-09-11 13:44
ReporternetworkbView Statuspublic 
Assigned Tovmromanos 
PriorityimmediateResolutionfixedFixed in Version2.40MP9
StatusclosedFix in branch2.40Fixed in SCM revision78247232191d
ProjectionnoneETAnoneTarget Version2.40MP9
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.40MP4SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0010512: It is not possible to unpost a GL entry when a period is duplicated (one is open and one is closed)

DescriptionA 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 ReproduceFor 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
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 00104722.40MP9 closedvmromanos It is not possible to unpost a GL entry when a period is duplicated (one is open and one is closed) 

-  Notes
(0019525)
hgbot (developer)
2009-09-08 12:58

Repository: erp/stable/2.40
Changeset: 78247232191d293d6980d66fc6eaed20f75ff989
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Sep 08 12:57:14 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40/rev/78247232191d293d6980d66fc6eaed20f75ff989 [^]

Fixed bug 10512: 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
---
(0019614)
hgbot (developer)
2009-09-09 15:27

Repository: erp/stable/2.40_pageddatagrid
Changeset: 78247232191d293d6980d66fc6eaed20f75ff989
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Tue Sep 08 12:57:14 2009 +0200
URL: http://code.openbravo.com/erp/stable/2.40_pageddatagrid/rev/78247232191d293d6980d66fc6eaed20f75ff989 [^]

Fixed bug 10512: 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
---

- Issue History
Date Modified Username Field Change
2009-09-08 10:11 rafaroda Type defect => backport
2009-09-08 10:11 rafaroda fix_in_branch => 2.40
2009-09-08 12:58 hgbot Checkin
2009-09-08 12:58 hgbot Note Added: 0019525
2009-09-08 12:58 hgbot Status scheduled => resolved
2009-09-08 12:58 hgbot Resolution open => fixed
2009-09-08 12:58 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.40/rev/78247232191d293d6980d66fc6eaed20f75ff989 [^]
2009-09-09 15:27 hgbot Checkin
2009-09-09 15:27 hgbot Note Added: 0019614
2009-09-09 15:27 hgbot Fixed in SCM revision http://code.openbravo.com/erp/stable/2.40/rev/78247232191d293d6980d66fc6eaed20f75ff989 [^] => http://code.openbravo.com/erp/stable/2.40_pageddatagrid/rev/78247232191d293d6980d66fc6eaed20f75ff989 [^]
2009-09-11 13:44 psarobe Status resolved => closed
2009-09-11 13:44 psarobe Fixed in Version => 2.40MP9


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker