Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0022299Openbravo ERP08. Project and service managementpublic2012-11-14 13:312012-11-21 06:06
ngarcia 
dmiguelez 
immediatemajoralways
closedfixed 
5
main 
pi 
mirurita
Core
Packaging and release
No
0022299: Create AP Expense Invoices process fails if it needs to create a new invoice
Create AP Expense Invoices process fails if it needs to create a new invoice.
Create an Expense Sheet:
   Define an employee BP (for example, Javier Martin) as a Vendor and configure the following parameters:
      Purchase Pricelist: for example Otros servicios
      PO Payment Method
      PO Payment Terms
      PO Financial Account
   Create a new product:
      Product Type: Expense type
   Add a price for the same price list defined before
   Create a new Expense sheet for that employee, add a line with the created product and process it
   Run the Create AP Expense Invoices process for that employee
   A null pointer exception appears
No tags attached.
related to defect 0022143 closed eduardo_Argal Deferred revenue / expense feature is incompatible with financial invoice lines feature 
diff ExpenseAPInvoice.diff (933) 2012-11-14 13:32
https://issues.openbravo.com/file_download.php?file_id=5728&type=bug
Issue History
2012-11-14 13:31ngarciaNew Issue
2012-11-14 13:31ngarciaAssigned To => dmiguelez
2012-11-14 13:31ngarciaModules => Core
2012-11-14 13:32ngarciaFile Added: ExpenseAPInvoice.diff
2012-11-14 13:35ngarciaRegression level => Packaging and release
2012-11-14 13:40ngarciaRelationship addedrelated to 0022143
2012-11-14 16:24hgbotCheckin
2012-11-14 16:24hgbotNote Added: 0054237
2012-11-14 16:24hgbotStatusnew => resolved
2012-11-14 16:24hgbotResolutionopen => fixed
2012-11-14 16:24hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/425ad00656710c16b1a4c38a853e990d324f1019 [^]
2012-11-14 16:31miruritaReview Assigned To => mirurita
2012-11-14 16:31miruritaNote Added: 0054238
2012-11-14 16:31miruritaStatusresolved => closed
2012-11-14 16:31miruritaFixed in Version => pi
2012-11-21 06:06hudsonbotCheckin
2012-11-21 06:06hudsonbotNote Added: 0054385

Notes
(0054237)
hgbot   
2012-11-14 16:24   
Repository: erp/devel/pi
Changeset: 425ad00656710c16b1a4c38a853e990d324f1019
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Wed Nov 14 16:23:41 2012 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/425ad00656710c16b1a4c38a853e990d324f1019 [^]

Fixes Issue 0022299. Changed the definition of the conn variable
so it uses the same connection for all the transactions made.

---
M src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java
---
(0054238)
mirurita   
2012-11-14 16:31   
code review + testing OK
(0054385)
hudsonbot   
2012-11-21 06:06   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/c3c5e61b0164 [^]

Maturity status: Test