Openbravo Issue Tracking System - Openbravo ERP | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0011149 | Openbravo ERP | 09. Financial management | public | 2009-10-27 15:43 | 2009-11-17 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.50MP5 | ||||
| Target Version | 2.50MP9 | Fixed in Version | 2.50MP9 | ||
| 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. | ||||
| Proposed Solution | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| 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 | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||