Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0020304 | Openbravo ERP | Z. Others | public | 2012-04-18 16:49 | 2012-04-21 14:24 |
|
Reporter | maite | |
Assigned To | dmiguelez | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | 3.0MP11 | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | OBPS |
Web browser | |
Modules | Advanced Payables and Receivables Mngmt |
Support ticket | 15054 |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0020304: FIN_PaymentMonitor process fails with invoice of zero amount and finallsettlement null |
Description | FIN_PaymentMonitor process fails with invoice of zero amount and finallsettlement null |
Steps To Reproduce | 1, create invoice for any BP and any product. Invoice total=zero. Process
2. schedule FIN_PaymentMonitor background process to be executed immediately
3. Go to Payment Monitor window and verify that execution finish with error |
Proposed Solution | Problem is in method "getDaysBetween" (line 151) , in FIN_PaymentMonitorProcess.java, as "finalSettlementDate" is null |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-04-18 16:49 | maite | New Issue | |
2012-04-18 16:49 | maite | Assigned To | => vmromanos |
2012-04-18 16:49 | maite | Modules | => Advanced Payables and Receivables Mngmt |
2012-04-18 16:49 | maite | OBNetwork customer | => Yes |
2012-04-18 16:49 | maite | Support ticket | => 15054 |
2012-04-18 16:49 | maite | Issue Monitored: networkb | |
2012-04-18 16:52 | dmiguelez | Assigned To | vmromanos => dmiguelez |
2012-04-18 16:52 | dmiguelez | Status | new => scheduled |
2012-04-18 16:52 | dmiguelez | fix_in_branch | => pi |
2012-04-19 09:32 | dmiguelez | Note Added: 0047727 | |
2012-04-19 09:35 | dmiguelez | Note Edited: 0047727 | bug_revision_view_page.php?bugnote_id=0047727#r3380 |
2012-04-19 12:36 | hgbot | Checkin | |
2012-04-19 12:36 | hgbot | Note Added: 0047744 | |
2012-04-19 12:36 | hgbot | Status | scheduled => resolved |
2012-04-19 12:36 | hgbot | Resolution | open => fixed |
2012-04-19 12:36 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/e54f824b9750726b64118e5af0140a24a47a0cbb [^] |
2012-04-19 18:49 | maite | Note Added: 0047763 | |
2012-04-19 18:49 | maite | Status | resolved => closed |
2012-04-21 14:24 | hudsonbot | Checkin | |
2012-04-21 14:24 | hudsonbot | Note Added: 0047842 | |
Notes |
|
(0047727)
|
dmiguelez
|
2012-04-19 09:32
(edited on: 2012-04-19 09:35) |
|
Test plan:
Login as Openbravo/openbravo
1, create invoice for any BP and any product. Invoice total=zero. Process
2. schedule FIN_PaymentMonitor background process to be executed immediately
3. Go to Process Monitor window and verify that execution finish succesfully
|
|
|
(0047744)
|
hgbot
|
2012-04-19 12:36
|
|
Repository: erp/devel/pi
Changeset: e54f824b9750726b64118e5af0140a24a47a0cbb
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Thu Apr 19 12:34:32 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/e54f824b9750726b64118e5af0140a24a47a0cbb [^]
Fixes issue 0020304: Prevents Null Pointer Exception and also
prevents division by zero.
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentMonitorProcess.java
---
|
|
|
(0047763)
|
maite
|
2012-04-19 18:49
|
|
|
|
|
|