Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0013061Openbravo ERP08. Project and service managementpublic2010-04-21 13:122010-05-18 21:43
networkb 
sivaraman 
urgentmajoralways
closedfixed 
5
2.50MP14 
2.50MP17 
Core
No
0013061: In Project Line SE_ProjectLine_Value callout does not fill all fields
Under some conditions, when a product is added in Project line tab (Service project window), callout does not fill all fields.

The problem is that "respuesta" variable, does not contain some ".
Go to Financial Management > Accounting > Setup > Tax Category.
Create a new one.
Go to Financial Management > Accounting > Setup > Tax Rate.
Create a new one, selecting as Tax Category the previous one.
Go to Master Data Management > Pricing > Price list.
Create a new one.
Go to Price List Version, and create a new one.
Go to Master Data management > Business Partner.
Search for McGiver.
Go to Vendor/Credit tab, and update Price List for the new one.
Go to Master Data Management > Product.
Search for Hat.
Update its Tax Category for the new one.
Go to Price tab, and create a new record within new Price list.
Go to Project and Service management > Transactions > Service Project.
Create a new one
Select as a BP, McGiver. And select the new price list.
Note: Address field must be filled.
Go to Project line tab.
Create a new one.
Open Product selector.
Search for Hat.
Press OK
No tags attached.
Issue History
2010-04-21 13:12networkbNew Issue
2010-04-21 13:12networkbAssigned To => adrianromero
2010-04-22 11:22adrianromeroStatusnew => scheduled
2010-04-22 11:22adrianromerofix_in_branch => pi
2010-05-03 10:43sivaramanAssigned Toadrianromero => sivaraman
2010-05-03 10:48hgbotCheckin
2010-05-03 10:48hgbotNote Added: 0026843
2010-05-03 10:48hgbotStatusscheduled => resolved
2010-05-03 10:48hgbotResolutionopen => fixed
2010-05-03 10:48hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/2a77ac2d4f9f1417b46758295f5023341286a7d7 [^]
2010-05-03 11:15sivaramanNote Added: 0026846
2010-05-04 13:48arunkumarNote Added: 0026912
2010-05-04 13:48arunkumarStatusresolved => closed
2010-05-05 00:00anonymoussf_bug_id0 => 2996819
2010-05-06 12:53networkbNote Added: 0026984
2010-05-06 15:43networkbNote Added: 0026991
2010-05-07 12:13adrianromeroStatusclosed => new
2010-05-07 12:13adrianromeroResolutionfixed => open
2010-05-07 12:13adrianromeroStatusnew => scheduled
2010-05-11 18:19jpabloaeTarget Version2.50MP16 => 2.50MP17
2010-05-12 16:25adrianromeroNote Added: 0027173
2010-05-12 16:25adrianromeroStatusscheduled => resolved
2010-05-12 16:25adrianromeroResolutionopen => fixed
2010-05-13 07:48arunkumarNote Added: 0027182
2010-05-13 07:48arunkumarStatusresolved => closed
2010-05-18 21:43hudsonbotCheckin
2010-05-18 21:43hudsonbotNote Added: 0027472

Notes
(0026843)
hgbot   
2010-05-03 10:48   
Repository: erp/devel/pi
Changeset: 2a77ac2d4f9f1417b46758295f5023341286a7d7
Author: Sivaraman Rajagopal <sivaraman.rajagopal <at> openbravo.com>
Date: Mon May 03 14:16:59 2010 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/2a77ac2d4f9f1417b46758295f5023341286a7d7 [^]

Fixes issue 13061: In Project Line SE_ProjectLine_Value callout does not fill all fields

---
M src/org/openbravo/erpCommon/ad_callouts/SE_ProjectLine_Value.java
---
(0026846)
sivaraman   
2010-05-03 11:15   
Steps to test:
Kindly follow all the steps as described in 'Steps To Reproduce' section and verify if 'Product', 'Product Identifier', 'Product Name', 'Product Description', 'Tax' and 'Planned Price' fields are filled by callout.

Root cause:
The syntax for setting String value in 'respuesta' array was not properly followed in the corresponding Callout class(SE_ProjectLine_Value). Tax ID value had been assigned without enclosed by double quotes that caused error in HTML layer.

Solution:
Tax ID value has been enclosed with double quotes character.

Impact:
It has been verified that there is no impact due to this change.
(0026912)
arunkumar   
2010-05-04 13:48   
When we select the product the following fields got updated automatically.
'Product', 'Product Identifier', 'Product Name', 'Product Description', 'Tax'
(0026984)
networkb   
2010-05-06 12:53   
The bug is not fixed.

Please, revise the solution provided
(0026991)
networkb   
2010-05-06 15:43   
To test it, change Tax category of Product to VAT 7%, and create a line for this product.
(0027173)
adrianromero   
2010-05-12 16:25   
After discusing with GPS it has been agreed that the behavior after the fix is applied is the expected and the issue can be set as resolved.
(0027182)
arunkumar   
2010-05-13 07:48   
Tested Working fine
(0027472)
hudsonbot   
2010-05-18 21:43   
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/2a77ac2d4f9f [^]
Merge Changeset: http://code.openbravo.com/erp/devel/main/rev/aa11838d5f80 [^]
Tests: http://builds.openbravo.com/view/devel-int/ [^]
OBX: http://builds.openbravo.com/erp/core/obx/OpenbravoERP-2.50CI.17380.obx [^]