Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014316Openbravo ERPZ. Otherspublic2010-08-25 18:072010-12-09 16:05
eduardo_Argal 
eduardo_Argal 
immediatemajorsometimes
closedfixed 
5
2.50 
2.50 
Advanced Payables and Receivables Mngmt
No
0014316: Accounting fails for make payment document
Some systems fails with accounting for payments.
When posing a make payment document system throws uggly null pointer exception.

(Reproducible at Customer environment)
Create a purchase invoice and process it
Click on Add Payment and fully pay previous invoice
click on posted button for the newly created payment

Mind that NullPointerException is thrown
No tags attached.
Issue History
2010-08-25 18:07eduardo_ArgalNew Issue
2010-08-25 18:07eduardo_ArgalAssigned To => eduardo_Argal
2010-08-25 18:12eduardo_ArgalNote Added: 0030323
2010-08-25 18:12eduardo_ArgalStatusnew => scheduled
2010-08-25 18:12eduardo_Argalfix_in_branch => pi
2010-08-26 18:50hgbotCheckin
2010-08-26 18:50hgbotNote Added: 0030379
2010-08-26 18:50hgbotStatusscheduled => resolved
2010-08-26 18:50hgbotResolutionopen => fixed
2010-08-26 18:50hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1819ff726beb226b3efb5a320fffa9e4d8f7e6e7 [^]
2010-08-31 10:39sureshbabuNote Added: 0030518
2010-08-31 10:39sureshbabuStatusresolved => closed
2010-09-07 09:17hudsonbotCheckin
2010-09-07 09:17hudsonbotNote Added: 0030685
2010-12-09 16:05anonymoussf_bug_id0 => 3133403

Notes
(0030323)
eduardo_Argal   
2010-08-25 18:12   
This error occurs just in environments having this configuration (not default) in accounting schema:

go to:
Financial Management || Accounting || Setup || Accounting Schema || Accounting Schema >> General Ledger

"Suspense Balancing Use" unflagged.
If the checkBox is flagged (which is in fact default configuration) the error would not happen.
(0030379)
hgbot   
2010-08-26 18:50   
Repository: erp/devel/pi
Changeset: 1819ff726beb226b3efb5a320fffa9e4d8f7e6e7
Author: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com>
Date: Wed Aug 25 18:12:31 2010 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1819ff726beb226b3efb5a320fffa9e4d8f7e6e7 [^]

Fixes bug 0014316: Accounting fails for make payment document

---
M src/org/openbravo/erpCommon/ad_forms/AcctSchema.java
M src/org/openbravo/erpCommon/ad_forms/AcctServer.java
M src/org/openbravo/erpCommon/ad_forms/DocBank.java
M src/org/openbravo/erpCommon/ad_forms/DocFINFinAccTransaction.java
M src/org/openbravo/erpCommon/ad_forms/DocFINPayment.java
M src/org/openbravo/erpCommon/ad_forms/DocFINReconciliation.java
---
(0030518)
sureshbabu   
2010-08-31 10:39   
verified now i can able to post the payment document after unchecked the
"Suspense Balancing Use" check box. in Financial Management || Accounting || Setup || Accounting Schema || Accounting Schema >> General Ledger window
(0030685)
hudsonbot   
2010-09-07 09:17   
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/1819ff726beb [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/4390fe5213a4 [^]
Tests: http://builds.openbravo.com/view/int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.18274.obx [^]