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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0020857
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 05. Production managementmajoralways2012-06-25 13:572012-06-30 05:10
ReporterjecharriView Statuspublic 
Assigned Tojecharri 
PriorityhighResolutionfixedFixed in Version3.0MP13
StatusclosedFix in branchFixed in SCM revision11f541c73c6f
ProjectionnoneETAnoneTarget Version3.0MP13
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0020857: It exist one problem in pl MRP_PURCHASEORDER

DescriptionIt exist one problem in pl MRP_PURCHASEORDER

When is inserting c_orderline it can be a problem with value of column DISCOUNT becasue is setting this value to (((v_PriceList-v_PriceStd) / v_PriceList) * 100)

In case that v_pricelist is 0 the user will se the error division by zero.
Steps To Reproduce-----
Proposed SolutionThe solution will be to launch an exception saying to end user that he has the porduct XXX with price list 0
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0050262)
hgbot (developer)
2012-06-28 18:05

Repository: erp/devel/pi
Changeset: 0d1948d3e51655fc8ee2f69d0ac95a523960c059
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Thu Jun 28 18:04:26 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0d1948d3e51655fc8ee2f69d0ac95a523960c059 [^]

Fixes issue 20857: It exist one problem in pl MRP_PURCHASEORDER.
The problem happens when the product has a zero price list.

---
M src-db/database/model/functions/MRP_PURCHASEORDER.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0050265)
hgbot (developer)
2012-06-29 08:19

Repository: erp/devel/pi
Changeset: 11f541c73c6fbf5c8835a2436e4935d428592a46
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Fri Jun 29 08:19:07 2012 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/11f541c73c6fbf5c8835a2436e4935d428592a46 [^]

Fixes issue 20857: It exist one problem in pl MRP_PURCHASEORDER.
Now when the product price list is Zero the discount is filled with zero.

---
M src-db/database/model/functions/MRP_PURCHASEORDER.xml
M src-db/database/sourcedata/AD_MESSAGE.xml
---
(0050272)
jonalegriaesarte (reporter)
2012-06-29 10:04

Verified and working fine. Now when the price is 0, the discount inserted is 0.
(0050294)
hudsonbot (developer)
2012-06-30 05:10

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

Maturity status: Test
(0050296)
hudsonbot (developer)
2012-06-30 05:10

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

Maturity status: Test

- Issue History
Date Modified Username Field Change
2012-06-25 13:57 jecharri New Issue
2012-06-25 13:57 jecharri Assigned To => mirurita
2012-06-25 13:57 jecharri Modules => Core
2012-06-25 13:57 jecharri Resolution time => 1343426400
2012-06-25 17:59 jecharri Proposed Solution updated
2012-06-26 11:51 mirurita Assigned To mirurita => jonalegriaesarte
2012-06-28 12:46 jonalegriaesarte Assigned To jonalegriaesarte => jecharri
2012-06-28 18:05 hgbot Checkin
2012-06-28 18:05 hgbot Note Added: 0050262
2012-06-28 18:05 hgbot Status new => resolved
2012-06-28 18:05 hgbot Resolution open => fixed
2012-06-28 18:05 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/0d1948d3e51655fc8ee2f69d0ac95a523960c059 [^]
2012-06-29 08:19 hgbot Checkin
2012-06-29 08:19 hgbot Note Added: 0050265
2012-06-29 08:19 hgbot Fixed in SCM revision http://code.openbravo.com/erp/devel/pi/rev/0d1948d3e51655fc8ee2f69d0ac95a523960c059 [^] => http://code.openbravo.com/erp/devel/pi/rev/11f541c73c6fbf5c8835a2436e4935d428592a46 [^]
2012-06-29 10:04 jonalegriaesarte Note Added: 0050272
2012-06-29 10:04 jonalegriaesarte Status resolved => closed
2012-06-29 10:04 jonalegriaesarte Fixed in Version => 3.0MP13
2012-06-30 05:10 hudsonbot Checkin
2012-06-30 05:10 hudsonbot Note Added: 0050294
2012-06-30 05:10 hudsonbot Checkin
2012-06-30 05:10 hudsonbot Note Added: 0050296


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker