Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0038207 | Openbravo ERP | 09. Financial management | public | 2018-03-22 20:53 | 2018-03-26 18:33 | |||||||
Reporter | markmm82 | |||||||||||
Assigned To | markmm82 | |||||||||||
Priority | high | Severity | major | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | 3.0PR18Q2 | Fixed in Version | 3.0PR18Q2 | |||||||||
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 | 0038207: API change is required due to solution of issue 38163 | |||||||||||
Description | The fix of issue 38163 causes an API change due to some changes in the database functions. 1- C_INVOICELINETAX_ROUNDING: 1.1 - Removed the "p_linefrom" as it is always using its default value (0) and the condition (and line > p_linefrom) where it is used is always true. 1.2 - Added the new "p_stdprecision" parameter to use the standard precision of the document currency to round the taxes correctly when searching for the tax line adjustment that stays closest to the original amount. 2- C_INVOICELINETAX_ROUNDING_AMT: 2.1 - Removed the "p_linefrom" as it is always using its default value (0) and the condition (and line > p_linefrom) where it is used is always true. 3- C_INVOICETAX_ROUNDING: 3.1 - Created the new "p_stdprecision" parameter to use the standard precision of the document currency to round the taxes correctly when searching for the tax line adjustment that stays closest to the original amount. 4- C_ORDERLINETAX_ROUNDING: 4.1 - Removed the "p_linefrom" as it is always using its default value (0) and the condition (and line > p_linefrom) where it is used it is always true. 4.2 - Created the new "p_stdprecision" parameter to use the standard precision of the document currency to round the taxes correctly when searching for the tax line adjustment that stays closest to the original amount. 5- C_ORDERLINETAX_ROUNDING_AMT: 5.1 - Removed the "p_linefrom" as it is always using its default value (0) and the condition (and line > p_linefrom) where it is used it is always true. 6- C_ORDERTAX_ROUNDING: 6.1 - Created the new "p_stdprecision" parameter to use the standard precision of the document currency to round the taxes correctly when searching for the tax line adjustment that stays closest to the original amount. | |||||||||||
Steps To Reproduce | N/A | |||||||||||
Proposed Solution | Remove the "p_linefrom" parameter from those functions are using it. Add the new "p_stdprecision" parameter to those functions will using it. | |||||||||||
Additional Information | ||||||||||||
Tags | Approved | |||||||||||
Relationships |
| |||||||||||
Attached Files | 38163.diff (17,815) 2018-03-22 20:55 https://issues.openbravo.com/file_download.php?file_id=11670&type=bug | |||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2018-03-22 20:53 | markmm82 | New Issue | ||||||||||
2018-03-22 20:53 | markmm82 | Assigned To | => Triage Finance | |||||||||
2018-03-22 20:53 | markmm82 | Modules | => Core | |||||||||
2018-03-22 20:53 | markmm82 | Triggers an Emergency Pack | => No | |||||||||
2018-03-22 20:54 | markmm82 | Relationship added | caused by 0038163 | |||||||||
2018-03-22 20:55 | markmm82 | File Added: 38163.diff | ||||||||||
2018-03-22 20:58 | markmm82 | Note Added: 0103446 | ||||||||||
2018-03-23 09:25 | aferraz | Description Updated | bug_revision_view_page.php?rev_id=16923#r16923 | |||||||||
2018-03-23 09:25 | aferraz | Note Edited: 0103446 | bug_revision_view_page.php?bugnote_id=0103446#r16925 | |||||||||
2018-03-23 09:43 | aferraz | Note Added: 0103465 | ||||||||||
2018-03-23 11:28 | aferraz | Relationship replaced | depends on 0038163 | |||||||||
2018-03-23 11:30 | aferraz | Assigned To | Triage Finance => dmitry_mezentsev | |||||||||
2018-03-23 11:30 | aferraz | Category | Z. Others => 09. Financial management | |||||||||
2018-03-23 19:22 | dmitry_mezentsev | Tag Attached: Approved | ||||||||||
2018-03-26 12:34 | aferraz | Assigned To | dmitry_mezentsev => markmm82 | |||||||||
2018-03-26 18:16 | hgbot | Checkin | ||||||||||
2018-03-26 18:16 | hgbot | Note Added: 0103536 | ||||||||||
2018-03-26 18:16 | hgbot | Status | new => resolved | |||||||||
2018-03-26 18:16 | hgbot | Resolution | open => fixed | |||||||||
2018-03-26 18:16 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/25d8ddb5f22a2d5a7b6ddaee0bfee43e0f4e6edb [^] | |||||||||
2018-03-26 18:17 | aferraz | Relationship replaced | blocks 0038163 | |||||||||
2018-03-26 18:33 | aferraz | Review Assigned To | => aferraz | |||||||||
2018-03-26 18:33 | aferraz | Note Added: 0103544 | ||||||||||
2018-03-26 18:33 | aferraz | Status | resolved => closed | |||||||||
2018-03-26 18:33 | aferraz | Fixed in Version | => 3.0PR18Q2 | |||||||||
2018-03-26 18:33 | aferraz | Target Version | => 3.0PR18Q2 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|