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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0016764
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 03. Procurement managementminoralways2011-02-18 14:192011-04-15 15:11
ReportermaiteView Statuspublic 
Assigned ToAinhoaPagola 
PriorityhighResolutionfixedFixed in Version2.50MP29
StatusclosedFix in branch2.50Fixed in SCM revisionae1a33f19985
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

0016764: 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 ]
blocks defect 00160082.50MP28 closedAinhoaPagola Fields "Round Line" and "Round Total" in window Freight Category should be mandatory 

-  Notes
(0035950)
hgbot (developer)
2011-04-14 16:01

Repository: erp/stable/2.50
Changeset: ae1a33f19985c0ed177fa28b46aa3e3b454e4a0b
Author: Ainhoa Pagola <ainhoa.pagola <at> openbravo.com>
Date: Thu Apr 14 12:43:08 2011 +0200
URL: http://code.openbravo.com/erp/stable/2.50/rev/ae1a33f19985c0ed177fa28b46aa3e3b454e4a0b [^]

Fixes issue 16764, 16761. Error control addedto function m_freight_calculate

---
M src-db/database/model/functions/M_FREIGHT_CALCULATE.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0035952)
AinhoaPagola (reporter)
2011-04-14 16:04

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.
(0035992)
maite (developer)
2011-04-15 15:11

verified

- Issue History
Date Modified Username Field Change
2011-04-12 13:05 AinhoaPagola Type defect => backport
2011-04-12 13:05 AinhoaPagola fix_in_branch => 2.50
2011-04-12 13:06 AinhoaPagola Assigned To adrianromero => AinhoaPagola
2011-04-14 16:01 hgbot Checkin
2011-04-14 16:01 hgbot Note Added: 0035950
2011-04-14 16:01 hgbot Status scheduled => resolved
2011-04-14 16:01 hgbot Resolution open => fixed
2011-04-14 16:01 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/stable/2.50/rev/ae1a33f19985c0ed177fa28b46aa3e3b454e4a0b [^]
2011-04-14 16:04 AinhoaPagola Note Added: 0035952
2011-04-15 15:11 maite Note Added: 0035992
2011-04-15 15:11 maite Status resolved => closed
2011-04-15 15:11 maite Fixed in Version => 2.50MP29


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker