Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0030739 | Openbravo ERP | 02. Master data management | public | 2015-09-02 12:49 | 2016-06-28 16:06 |
|
Reporter | shuehner | |
Assigned To | Sanjota | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR16Q3 | |
Merge Request Status | |
Review Assigned To | aferraz |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0030739: pl function m_copy_product_template has datatype bug (storing number in a varchar(32) variable) |
Description | That pl function defines a variable like this:
v_Discount VARCHAR2(32);
The assigned it like this, with all ride-side being numeric values.
v_Discount:=(v_Pricelist - v_Pricestd) /v_Pricelist;
Then stores the result into c_orderline.discount which again is numeric.
So it looks like that variable definition is wrong and should be some numeric type also |
Steps To Reproduce | Read code of that pl-function
or run plpgsql_check analyzer
|
Proposed Solution | change datatype of v_discount from varchar(32) to numeric |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | feature request | 0017329 | | new | jonalegriaesarte | Add (hidden by default) button to launch m_copy_product_template (pl) to sales order (was in removed simple sales order) |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-09-02 12:49 | shuehner | New Issue | |
2015-09-02 12:49 | shuehner | Assigned To | => Triage Finance |
2015-09-02 12:49 | shuehner | Modules | => Core |
2015-09-02 12:49 | shuehner | Triggers an Emergency Pack | => No |
2015-09-02 12:49 | shuehner | Relationship added | related to 0017329 |
2016-06-06 18:36 | aferraz | Assigned To | Triage Finance => Sanjota |
2016-06-10 14:24 | Sanjota | Status | new => scheduled |
2016-06-10 14:25 | Sanjota | Note Added: 0087161 | |
2016-06-27 12:38 | hgbot | Checkin | |
2016-06-27 12:38 | hgbot | Note Added: 0087975 | |
2016-06-27 12:38 | hgbot | Status | scheduled => resolved |
2016-06-27 12:38 | hgbot | Resolution | open => fixed |
2016-06-27 12:38 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/4ca0c8b4d18299c26c73e652580b6a4124d0da3d [^] |
2016-06-27 12:43 | aferraz | Review Assigned To | => aferraz |
2016-06-27 12:43 | aferraz | Note Added: 0087978 | |
2016-06-27 12:43 | aferraz | Status | resolved => closed |
2016-06-27 12:43 | aferraz | Fixed in Version | => 3.0PR16Q3 |
2016-06-28 16:06 | hudsonbot | Checkin | |
2016-06-28 16:06 | hudsonbot | Note Added: 0088054 | |