Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0014657 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2010-09-22 18:29 | 2010-10-30 11:24 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | sathiyan | |||||||
Priority | immediate | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | c53d50bda831 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.6 | |||
OS Version | Ubuntu 8.04.1 | Database version | 11.1.0.6.0 | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | ||||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0014657: System should check in case a GL item with no accounting info is used while booking a financial invoice | |||||||
Description | System should check in case a GL item with no accounting info is used while booking a financial invoice | |||||||
Steps To Reproduce | Create a new GL Item, but do not add any row in Accounting sub-tab Process and post a new invoice with that GLItem as account in a financial invoice line Notice that "Cuenta de cuadre" is used because no accounting was present. | |||||||
Proposed Solution | In DocInvoice, change public boolean getDocumentConfirmation(ConnectionProvider conn, String strRecordId) { return true; } with a code that checks: - Is there any financial invoice line? |-> No -> return true |-> Yes -> is there ONE accounting sub-tab record in the G/L Item used? ---|-> Yes -> return true ---|-> No -> return error through these two lines of code: setStatus(STATUS_Error); return false; | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0031778) sathiyan (viewer) 2010-10-12 10:24 |
Could you please add steps to reproducible, so that I come to know exactly where to do? |
(0031797) dalsasua (viewer) 2010-10-13 11:07 |
@Sathiyan: done |
(0031850) hgbot (developer) 2010-10-14 14:34 |
Repository: erp/devel/pi Changeset: c53d50bda831818bd68db9bd085ac8f5a64d2b27 Author: Sathiyan Sivaprakasam <sathiyan.sivaprakasam <at> openbravo.com> Date: Thu Oct 14 18:03:26 2010 +0530 URL: http://code.openbravo.com/erp/devel/pi/rev/c53d50bda831818bd68db9bd085ac8f5a64d2b27 [^] Fixes Issue 14657: System should check in case a GL item with no accounting info is used --- M src/org/openbravo/erpCommon/ad_forms/DocInvoice.java M src/org/openbravo/erpCommon/ad_forms/DocInvoice_data.xsql --- |
(0031867) hudsonbot (viewer) 2010-10-14 22:29 |
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/c53d50bda831 [^] Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/d7ad2f964c30 [^] Tests: http://builds.openbravo.com/view/int/ [^] OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18536.obx [^] |
(0032094) sureshbabu (viewer) 2010-10-22 09:10 |
verified, now system not allowing the user to post the invoice, when GL item is defined with "Enable in Financial Invoices" checkbox checked and there is no accounting entries defined |
![]() |
|||
Date Modified | Username | Field | Change |
2010-09-22 18:29 | psanjuan | New Issue | |
2010-09-22 18:29 | psanjuan | Assigned To | => vmromanos |
2010-09-22 18:29 | psanjuan | OBNetwork customer | => No |
2010-09-23 12:51 | psarobe | Project | Modules => Openbravo ERP |
2010-10-12 10:22 | sathiyan | Assigned To | vmromanos => sathiyan |
2010-10-12 10:24 | sathiyan | Note Added: 0031778 | |
2010-10-12 10:24 | sathiyan | Status | new => feedback |
2010-10-13 11:06 | dalsasua | Category | Asset Management => 00. Application dictionary |
2010-10-13 11:06 | dalsasua | Steps to Reproduce Updated | View Revisions |
2010-10-13 11:06 | dalsasua | Proposed Solution updated | |
2010-10-13 11:06 | dalsasua | Status | feedback => new |
2010-10-13 11:07 | dalsasua | Note Added: 0031797 | |
2010-10-14 13:54 | sathiyan | Status | new => scheduled |
2010-10-14 13:54 | sathiyan | fix_in_branch | => pi |
2010-10-14 14:34 | hgbot | Checkin | |
2010-10-14 14:34 | hgbot | Note Added: 0031850 | |
2010-10-14 14:34 | hgbot | Status | scheduled => resolved |
2010-10-14 14:34 | hgbot | Resolution | open => fixed |
2010-10-14 14:34 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c53d50bda831818bd68db9bd085ac8f5a64d2b27 [^] |
2010-10-14 15:51 | psanjuan | Category | 00. Application dictionary => 09. Financial management |
2010-10-14 15:51 | psanjuan | fix_in_branch | pi => |
2010-10-14 22:29 | hudsonbot | Checkin | |
2010-10-14 22:29 | hudsonbot | Note Added: 0031867 | |
2010-10-22 09:10 | sureshbabu | Note Added: 0032094 | |
2010-10-22 09:10 | sureshbabu | Status | resolved => closed |
2010-10-30 11:24 | anonymous | sf_bug_id | 0 => 3098736 |
Copyright © 2000 - 2009 MantisBT Group |