Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0018362 | Openbravo ERP | Z. Others | public | 2011-08-26 10:31 | 2011-08-31 17:20 |
|
Reporter | maite | |
Assigned To | mirurita | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | pi | |
Target Version | 3.0MP3 | Fixed in Version | 3.0MP3 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | 12427 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0018362: Error when posting transaction associated to a payment with line referencing GLItem |
Description | "Error during execution" when posting transaction associated to a payment with line referencing GLItem |
Steps To Reproduce | 1. Define GLitem and configure accounting for it
2. Create Payment Out for any BP. Press Add Details and select your GLItem and any amount. Process and deposit
3. Go to Transactions tab and try to post associated transaction. Error will be raised due to NullPointerException
|
Proposed Solution | Problem is in file DocFINFinAccTransaction.java, line 472
if (!transaction.getForeignCurrency().equals(as.getC_Currency_ID())) {
throws NullPointerException error as transaction.getForeignCurrency() is null.
Comparison should be done as:
if (!as.getC_Currency_ID().equals(transaction.getForeignCurrency())) { |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2011-08-26 10:31 | maite | New Issue | |
2011-08-26 10:31 | maite | Assigned To | => jonalegriaesarte |
2011-08-26 10:31 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2011-08-26 10:31 | maite | OBNetwork customer | => Yes |
2011-08-26 10:31 | maite | Support ticket | => 12427 |
2011-08-26 10:31 | maite | Issue Monitored: networkb | |
2011-08-26 10:34 | maite | Assigned To | jonalegriaesarte => mirurita |
2011-08-31 10:41 | hgbot | Checkin | |
2011-08-31 10:41 | hgbot | Note Added: 0040580 | |
2011-08-31 10:41 | hgbot | Status | new => resolved |
2011-08-31 10:41 | hgbot | Resolution | open => fixed |
2011-08-31 10:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/2a1d61ea3efc16999a983a1a32f10c0595256740 [^] |
2011-08-31 11:57 | maite | Note Added: 0040609 | |
2011-08-31 11:57 | maite | Status | resolved => closed |
2011-08-31 11:57 | maite | Fixed in Version | => 3.0MP3 |
2011-08-31 17:20 | hudsonbot | Checkin | |
2011-08-31 17:20 | hudsonbot | Note Added: 0040636 | |