Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0011149 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2009-10-27 15:43 | 2009-11-17 00:00 | |||
Reporter | networkb | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | 2.50MP9 | |||
Status | closed | Fix in branch | Fixed in SCM revision | a23ec93d6ee2 | ||||
Projection | none | ETA | none | Target Version | 2.50MP9 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | 2.50MP5 | 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 | 0011149: Incorrect documentno is set in GL Journal when a document type is set as "Default" and has a sequence | |||||||
Description | In GL Journal window, is possible to copy, from a GL Journal template, GL Journal (AppsOpenbravo/src/org/openbravo/erpCommon/ad_process/CopyFromJournal.java). This proccess set an incorrect documentno because it takes a documentno from other document type. This happens if: *It exists a document type as Default, and a sequence is used. The problem is that CopyFromJornal.java, gets the documentno using Utility.getContext function. After debugging this process, LoginUtils.java sets values for session variables, like C_DOCTYPE_ID. This ID, is taken executing this query: SELECT C_DOCTYPE_ID FROM C_DOCTYPE WHERE ISACTIVE='Y' AND ISDEFAULT='Y'. If this documenttype has a sequence, will be used to do the insert. | |||||||
Steps To Reproduce | Go to Financial Management > Accounting > Setup > Document Type. Select one document type and set it as "Default". Also, check "Sequenced Document" option and select a Document sequence. Go to Financial Management > Accounting > Transaction > GL Journal. If exists one, check as "Template". If not, create a new record and also its header, and lines. Complete it. Create a new GL Journal. Press "Copy lines". Select the previous one and OK. Go to Header and see documentno field. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0021698) hgbot (developer) 2009-11-10 17:56 |
Repository: erp/devel/pi Changeset: a23ec93d6ee2be113276705fba69c0c174678481 Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Tue Nov 10 17:57:58 2009 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/a23ec93d6ee2be113276705fba69c0c174678481 [^] Fixed bug 11149: Incorrect documentno in GL Journal when a document type is set as "Default" and has a sequence --- M src/org/openbravo/erpCommon/ad_process/CopyFromGLJournal.java --- |
(0021832) sureshbabu (viewer) 2009-11-16 08:58 |
Tested, Document number rightly set in G/L journal. |
![]() |
|||
Date Modified | Username | Field | Change |
2009-10-27 15:43 | networkb | New Issue | |
2009-10-27 15:43 | networkb | Assigned To | => rafaroda |
2009-10-27 15:43 | networkb | OBNetwork customer | => Yes |
2009-10-27 16:34 | networkb | Target Version | => 2.50MP9 |
2009-10-28 06:19 | rafaroda | Assigned To | rafaroda => dalsasua |
2009-10-28 06:19 | rafaroda | Priority | immediate => urgent |
2009-10-28 06:19 | rafaroda | Status | new => scheduled |
2009-11-09 13:58 | pnuding | Priority | urgent => immediate |
2009-11-09 13:58 | pnuding | Assigned To | dalsasua => vmromanos |
2009-11-10 17:56 | hgbot | Checkin | |
2009-11-10 17:56 | hgbot | Note Added: 0021698 | |
2009-11-10 17:56 | hgbot | Status | scheduled => resolved |
2009-11-10 17:56 | hgbot | Resolution | open => fixed |
2009-11-10 17:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/a23ec93d6ee2be113276705fba69c0c174678481 [^] |
2009-11-16 08:58 | sureshbabu | Note Added: 0021832 | |
2009-11-16 08:58 | sureshbabu | Status | resolved => closed |
2009-11-16 08:58 | sureshbabu | Fixed in Version | => 2.50MP9 |
2009-11-17 00:00 | anonymous | sf_bug_id | 0 => 2898753 |
Copyright © 2000 - 2009 MantisBT Group |