Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028990
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementmajorhave not tried2015-02-19 04:282015-02-19 11:01
ReporterszapataView Statuspublic 
Assigned ToSandrahuguet 
PrioritynormalResolutionduplicateFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesAdvanced Payables and Receivables Mngmt
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0028990: NullPointer Exception in FIN_PaymentProcess.java

DescriptionIn https://code.openbravo.com/erp/devel/pi/file/b5ce661abc2d/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java#l398 [^]

The process is trying to get the id of the currency of the business partner, but the currency can be null so .getId() is crashing.
Steps To ReproduceExecute FIN_PaymentProcess for a Business Partner with no currency set up.
Proposed SolutionCheck if the business partner has currency and, if not, get the currency from the pricelist of the invoice or from the Organization.

Or

Prevent null values in the currency field in business partner (it can require a modulescript)
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
duplicate of defect 0028722 closedaaroncalero Retail Modules Not possible to create invoiced receipts for customers created in WebPOS 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-02-19 04:28 szapata New Issue
2015-02-19 04:28 szapata Assigned To => Sandrahuguet
2015-02-19 04:28 szapata Modules => Advanced Payables and Receivables Mngmt
2015-02-19 04:28 szapata Triggers an Emergency Pack => No
2015-02-19 11:01 jecharri Relationship added duplicate of 0028722
2015-02-19 11:01 jecharri Status new => closed
2015-02-19 11:01 jecharri Resolution open => duplicate


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker