Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0007835Openbravo ERP08. Project and service managementpublic2009-02-26 11:212009-04-25 00:00
arunkumar 
rajagopal 
lowminoralways
closedfixed 
30
2.50beta 
2.50MP1 
Core
No
0007835: Error message should be much clear to understand while doing "Track & Process Employee Expenses"
While doing "Track & Process Employee Expenses", if the product Service A is not added to the "PURCHASE" price list an error message is displayed while rocessing AP Expense Invoices. It is very hard to understand the cause of the issue by reading the error message. It should be clear enough.
Precondition : In the purchase pricelist the product Service A is not added

Steps to reproduce:

# Login as userA
# Go to Project & Service Management->Transactions->Employee Expenses
# Select Employee A employee.
# Check that:

    * Purchase Price List: PURCHASES
    * Payment Terms: 30 days, 5

# Go to Lines tab.
# Select first Service A line and check that:

    * Reinvoicing: Checked
    * Quantity: 1
    * UOM: Day
    * Expense Amount: 1
    * Project: cca - Consultancy for Customer A
    * Business Partner: Customer A
    * Project Phase: Project delivery
    * Project Task: Project presentation

# Select second Service A line and check that:

    * Quantity: 2
    * UOM: Day
    * Expense Amount: 2
    * Project: sca - Service Project for Customer A
    * Business Partner: Customer A

# Go back to Employee tab
# Go to Project & Service Management->Transactions->Create AP Expense Invoices
# Edit:

    * Employee: Employee A
    * From Date: 01-01-2000
    * To Date: 01-12-2011
    * Date Invoiced: 01-07-2008

# Click on Process button.

An error message is displayed like "No active and valid price list version found for product and employee EMPLOYEE A"
The error message should be "No active and valid price list version found for product Service A and employee EMPLOYEE A. Please add the product Service A to a purchase price list". This message is clear enough to understand the problem. Please notice that 'Service A' and 'EMPLOYEE A' are variables of the process.
main
jpg error.JPG (145,622) 2009-03-17 13:14
https://issues.openbravo.com/file_download.php?file_id=1002&type=bug
jpg
Issue History
2009-02-26 11:21arunkumarNew Issue
2009-02-26 11:21arunkumarAssigned To => rafaroda
2009-02-26 11:21arunkumarRegression testing => No
2009-03-09 11:02rafarodaAssigned Torafaroda => rajagopal
2009-03-09 11:02rafarodaPrioritynormal => low
2009-03-09 11:02rafarodaStatusnew => scheduled
2009-03-09 11:02rafarodaSteps to Reproduce Updated
2009-03-17 13:14arunkumarFile Added: error.JPG
2009-04-01 14:36hgbotCheckin
2009-04-01 14:36hgbotNote Added: 0015111
2009-04-01 14:36hgbotStatusscheduled => resolved
2009-04-01 14:36hgbotResolutionopen => fixed
2009-04-01 14:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/616af0e3fc090b062feb79a806358fd720cb2ba7 [^]
2009-04-22 11:24psarobeTag Attached: main
2009-04-24 15:58sureshbabuStatusresolved => closed
2009-04-24 15:58sureshbabuNote Added: 0015706
2009-04-24 15:58sureshbabuFixed in Version => main
2009-04-25 00:00anonymoussf_bug_id0 => 2780796

Notes
(0015111)
hgbot   
2009-04-01 14:36   
Repository: erp/devel/pi
Changeset: 616af0e3fc090b062feb79a806358fd720cb2ba7
Author: Rajagopal Baskaran <rajagopal.baskaran <at> openbravo.com>
Date: Wed Apr 01 20:34:57 2009 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/616af0e3fc090b062feb79a806358fd720cb2ba7 [^]

Fixes bug 7835: Error message should be much clear to understand while doing \"Track & Process Employee Expenses\" has been fixed.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java
---
(0015706)
sureshbabu   
2009-04-24 15:58   
Retested working fine