Openbravo Issue Tracking System - Modules
View Issue Details
0026876ModulesFreight Managementpublic2014-06-16 13:272014-10-14 15:30
jonalegriaesarte 
reinaldoguerra 
normalmajorhave not tried
closedfixed 
5
 
 
vmromanos
0026876: P&E select carrier does not show data when there is no conversion rate defined for the currency of the order
P&E select carrier does not show data when there is no conversion rate defined for the currency of the order and the currency in the order and in the definition of the carrier are different
- Install and configure the module
- Define a carrier with one currecncy
- Create an order with different currency
P&E does not show data. It should show an error, so the user can configure the system correctly
No tags attached.
Issue History
2014-06-16 13:27jonalegriaesarteNew Issue
2014-06-16 13:27jonalegriaesarteAssigned To => gorkaion
2014-06-16 13:27jonalegriaesarteResolution time => 1405634400
2014-06-16 13:41heccamIssue Monitored: heccam
2014-10-10 06:01reinaldoguerraAssigned Togorkaion => reinaldoguerra
2014-10-10 06:01reinaldoguerraStatusnew => scheduled
2014-10-10 08:50reinaldoguerraNote Added: 0070856
2014-10-14 15:29hgbotCheckin
2014-10-14 15:29hgbotNote Added: 0070928
2014-10-14 15:29hgbotStatusscheduled => resolved
2014-10-14 15:29hgbotResolutionopen => fixed
2014-10-14 15:29hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.materialmgmt.freightmgmt/rev/99f6747ba5962eab71c65daf4bd363abe6a3b038 [^]
2014-10-14 15:30vmromanosReview Assigned To => vmromanos
2014-10-14 15:30vmromanosNote Added: 0070929
2014-10-14 15:30vmromanosStatusresolved => closed

Notes
(0070856)
reinaldoguerra   
2014-10-10 08:50   
Test plan used:
1- Login into Openbravo ERP
2- As system admin role go to Module Management window and install Freight Management module.
3- As group admin role go to Freight Category window and create a new one
   Name and Search Key: FreightCategory
   Freight Uom: Product Unit
   Roud Total and Line: Round
4- Go to Delivery Period window and crweate a new one with name: DeliveryPeriod24H
5- Go to Carrier window and create a new record named: Carrier 1
6- Select a product, for example: Electricidad
7- Go to Freight tab and create a new one
   Name: Freight 1
   Currency: AED (There is no conversion rate defined between this currency and sales order EUR currency)
   Select a Valid from date and created Freight Category and Delivery Period
8- Go to Definition Tab, create a new one
   Country and Destination country: Spain
   Min. Quantity: 1
   Max. Quantity: 10
   Freight Amount: 8.00
9- Go to Sales Order window, create a new record
10- Select a product in line tab, for example: Bebida Energética 0.5L. Ordered Quantity: 1
11- Note that order's currency is EUR.
12- Launch Select Freight process and try to select grid record.
13- A pop up with an error conversion rate message is shown.
(0070928)
hgbot   
2014-10-14 15:29   
Repository: erp/pmods/org.openbravo.materialmgmt.freightmgmt
Changeset: 99f6747ba5962eab71c65daf4bd363abe6a3b038
Author: Reinaldo Guerra <reinaldo.guerra <at> peoplewalking.com>
Date: Fri Oct 10 01:49:50 2014 -0500
URL: http://code.openbravo.com/erp/pmods/org.openbravo.materialmgmt.freightmgmt/rev/99f6747ba5962eab71c65daf4bd363abe6a3b038 [^]

Fixed bug 26876: P&E select carrier does not show data.

P&E Select Freight process dataset class named AvailableFreightsDS now captures the exepction thrown during adding carrier caused by there is not conversion rate between order and carrier currency, and defines a personalized error message for the record.
Now data is shown in grid but when trying to select a record the defined error message is shown.

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/materialmgmt/freightmgmt/AvailableFreightsDS.java
---
(0070929)
vmromanos   
2014-10-14 15:30   
Code review + testing OK