Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0027363 | Openbravo ERP | 09. Financial management | public | 2014-08-18 20:10 | 2014-08-21 11:19 |
Reporter | jecharri | ||||
Assigned To | AtulOpenbravo | ||||
Priority | immediate | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | 3.0PR14Q3 | Fixed in Version | 3.0PR14Q4 | ||
Merge Request Status | |||||
Review Assigned To | jecharri | ||||
OBNetwork customer | OBPS | ||||
Web browser | Google Chrome | ||||
Modules | Core | ||||
Support ticket | 30531 | ||||
Regression level | Production - QA Approved | ||||
Regression date | 2014-07-01 | ||||
Regression introduced in release | 3.0PR14Q3 | ||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/b1843f200a9092eea99d431776d029a09868615a [^] | ||||
Triggers an Emergency Pack | No | ||||
Summary | 0027363: It exists a case where the currency is not set to business partners and can create big problems | ||||
Description | It exists a case where the currency is not set to business partners and can create big problems because it is impossible to create payment in or payment out because the JAVA is trying to get the currency. file modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java line String toCurrency = businessPartner.getCurrency().getId(); | ||||
Steps To Reproduce | The problem is the module script of the above changeset. It can happens that update return null. It happens when the BP is checked as "bp.iscustomer='Y' " and price list is null but " bp.isvendor='Y' " and has a price list. UPDATE C_Bpartner bp SET BP_Currency_ID = ( SELECT C_Currency_ID FROM M_Pricelist WHERE M_Pricelist_ID=(case when bp.iscustomer='Y' then bp.M_Pricelist_ID when bp.isvendor='Y' then bp.PO_Pricelist_ID end) ) WHERE bp.BP_Currency_ID IS NULL AND ((bp.IsCustomer = 'Y' and bp.m_pricelist_id is not null) OR (bp.IsVendor = 'Y' and bp.po_pricelist_id is not null)); | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2014-08-18 20:10 | jecharri | New Issue | |||
2014-08-18 20:10 | jecharri | Assigned To | => dmiguelez | ||
2014-08-18 20:10 | jecharri | OBNetwork customer | => Yes | ||
2014-08-18 20:10 | jecharri | Web browser | => Google Chrome | ||
2014-08-18 20:10 | jecharri | Modules | => Core | ||
2014-08-18 20:10 | jecharri | Support ticket | => 30531 | ||
2014-08-18 20:10 | jecharri | Resolution time | => 1408744800 | ||
2014-08-18 20:10 | jecharri | Regression level | => Production - QA Approved | ||
2014-08-18 20:10 | jecharri | Regression date | => 2014-07-01 | ||
2014-08-18 20:10 | jecharri | Regression introduced in release | => 3.0PR14Q3 | ||
2014-08-18 20:10 | jecharri | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/b1843f200a9092eea99d431776d029a09868615a [^] | ||
2014-08-18 20:10 | jecharri | Triggers an Emergency Pack | => No | ||
2014-08-18 20:34 | heccam | Issue Monitored: heccam | |||
2014-08-18 20:41 | jecharri | Web browser | Google Chrome => Google Chrome | ||
2014-08-18 20:41 | jecharri | Summary | Sometimes the currency is not set to business partners and can create big problems => It exists a case where the currency is not set to business partners and can create big problems | ||
2014-08-18 20:41 | jecharri | Description Updated | bug_revision_view_page.php?rev_id=6336#r6336 | ||
2014-08-19 08:46 | AtulOpenbravo | Assigned To | dmiguelez => AtulOpenbravo | ||
2014-08-19 08:50 | AtulOpenbravo | Status | new => scheduled | ||
2014-08-19 08:50 | AtulOpenbravo | fix_in_branch | => pi | ||
2014-08-20 07:55 | AtulOpenbravo | Review Assigned To | => jecharri | ||
2014-08-20 07:55 | AtulOpenbravo | Web browser | Google Chrome => Google Chrome | ||
2014-08-20 07:55 | AtulOpenbravo | fix_in_branch | pi => | ||
2014-08-20 07:57 | hgbot | Checkin | |||
2014-08-20 07:57 | hgbot | Note Added: 0069534 | |||
2014-08-20 07:57 | hgbot | Status | scheduled => resolved | ||
2014-08-20 07:57 | hgbot | Resolution | open => fixed | ||
2014-08-20 07:57 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/723fbb6fcb2a9b08ea15e243979141008c6a0686 [^] | ||
2014-08-20 15:14 | hudsonbot | Checkin | |||
2014-08-20 15:14 | hudsonbot | Note Added: 0069552 | |||
2014-08-21 11:19 | daniOpenbravo | Note Added: 0069562 | |||
2014-08-21 11:19 | daniOpenbravo | Status | resolved => closed | ||
2014-08-21 11:19 | daniOpenbravo | Fixed in Version | => 3.0PR14Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|