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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016008
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 03. Procurement managementminoralways2011-02-18 14:192011-05-12 13:25
ReportermaiteView Statuspublic 
Assigned ToAinhoaPagola 
PriorityhighResolutionfixedFixed in Version3.0RC7
StatusclosedFix in branchpiFixed in SCM revision1d16cc5f261c
ProjectionnoneETAnoneTarget Version2.50MP28
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product Version2.50MP26SCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0016008: Fields "Round Line" and "Round Total" in window Freight Category should be mandatory

DescriptionFields "Round Line" and "Round Total" in window Freight Category should be mandatory as they are used as mandatory comparisons in function m_freight_calculate.
If you don't fill them you will obtain error.
Steps To Reproduce1. Warehouse Management || Setup || Freight Category || Freight Category : define freight category and leave fields "Round Line" and "Round Total" empty
2. Warehouse Management || Setup || Shipping Company || Shipping Company : define shipping company
3. Warehouse Management || Setup || Shipping Company || Shipping Company >> Freight :
  Freight Category already created
  Currency = EUR
  Country=Spain
  Desti. Country=Spain
  Region=Navarra
  Desti. Region=Navarra
  Freight amount=1.5
  Min qty=0
  Max Qty=100
4. Procurement Management || Transactions || Goods Receipt || Header : create header
  BP=mcgiver
  Warehouse=Main warehouse
  Freight cost=calculated
  Choose shipping company
  Choose freight category
  Freight currency=EUR
  number of packages=empty
5.Navigate to Warehouse used and set Location with Region Navarra
6.Navigate to mcgiver and set Location with Region Navarra
7. Procurement Management || Transactions || Goods Receipt || Header >> Lines : create line of 10 hats
8. Come back to header and run "Calculate Freight Amount" process

You will obtain error.

If you fill necessary fields you will be able to run process
  Freight
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 00160092.50MP28 closedAinhoaPagola Fields "Min Qty" and "Max Qty" in window Freight should be mandatory 
depends on backport 00167642.50MP28 closedAinhoaPagola Fields "Round Line" and "Round Total" in window Freight Category should be mandatory 

-  Notes
(0035904)
AinhoaPagola (reporter)
2011-04-13 12:57

This issue is going to be solved adding more explicit error messages when the configuration of the Freight Category is not properly done.
(0035953)
AinhoaPagola (reporter)
2011-04-14 16:17

Error control has been added to m_freight_calculate function.
Depending on the source of the error a more explicit message will be displayed.
The function now captures errors when:
- No paramenter is selected
- No freight category is selected
- The freight category has no rounding or UOM selected
- The business partner has no region on it's location
- The warehouse has no region on it's location
- The shipping company has no freight configured for the date

If "find cheaper" is selected, error when:
- There is no match between the regions selected or there is no package number set.

If "calculate quantity" is selected, error when:
- No shipping company is selected
- The freight of the shipping company has no region, max or min quantity set.
- If UOM is palet, error when there is a product with no units per palet set.
- There is no match between selected regions.
(0036025)
hgbot (developer)
2011-04-20 09:37

Repository: erp/devel/pi
Changeset: 1d16cc5f261cf86ad0df52ce0ecda50bff282e76
Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
Date: Thu Apr 14 16:07:08 2011 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/1d16cc5f261cf86ad0df52ce0ecda50bff282e76 [^]

Fixes issue 16008, fixes issue 16009. Error control added to M_freight_calculate function

---
M src-db/database/model/functions/M_FREIGHT_CALCULATE.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0036291)
maite (developer)
2011-05-02 18:48

verified
(0036735)
hudsonbot (developer)
2011-05-12 13:25

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/c40e579fcd38 [^]

Maturity status: Test

- Issue History
Date Modified Username Field Change
2011-02-18 14:19 maite New Issue
2011-02-18 14:19 maite Assigned To => adrianromero
2011-02-18 14:19 maite Modules => Core
2011-02-18 14:22 maite Steps to Reproduce Updated View Revisions
2011-02-18 14:32 maite Issue Monitored: networkb
2011-04-12 13:05 AinhoaPagola Status new => scheduled
2011-04-12 13:05 AinhoaPagola fix_in_branch => pi
2011-04-12 13:05 AinhoaPagola Assigned To adrianromero => AinhoaPagola
2011-04-12 13:06 AinhoaPagola Relationship added depends on 0016009
2011-04-12 13:06 AinhoaPagola Relationship deleted depends on 0016009
2011-04-12 13:06 AinhoaPagola Relationship added related to 0016009
2011-04-13 12:57 AinhoaPagola Note Added: 0035904
2011-04-14 16:17 AinhoaPagola Note Added: 0035953
2011-04-20 09:37 hgbot Checkin
2011-04-20 09:37 hgbot Note Added: 0036025
2011-04-20 09:37 hgbot Status scheduled => resolved
2011-04-20 09:37 hgbot Resolution open => fixed
2011-04-20 09:37 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/1d16cc5f261cf86ad0df52ce0ecda50bff282e76 [^]
2011-05-02 18:48 maite Note Added: 0036291
2011-05-02 18:48 maite Status resolved => closed
2011-05-02 18:48 maite Fixed in Version => 3.0RC7
2011-05-03 00:01 anonymous sf_bug_id 0 => 3296509
2011-05-12 13:25 hudsonbot Checkin
2011-05-12 13:25 hudsonbot Note Added: 0036735


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker