Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
| View Issue Details | ||||||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
| 0005017 | Openbravo ERP | 02. Master data management | public | 2008-09-11 12:27 | 2008-12-09 12:38 | |||||||
| Reporter | networkb | |||||||||||
| Assigned To | Dowid | |||||||||||
| Priority | high | Severity | minor | Reproducibility | sometimes | |||||||
| Status | closed | Resolution | fixed | |||||||||
| Platform | OS | 20 | OS Version | |||||||||
| Product Version | 2.35MP5 | |||||||||||
| Target Version | Fixed in Version | 2.35MP10 | ||||||||||
| Merge Request Status | ||||||||||||
| Review Assigned To | ||||||||||||
| OBNetwork customer | No | |||||||||||
| Web browser | ||||||||||||
| Modules | Core | |||||||||||
| Support ticket | ||||||||||||
| Regression level | ||||||||||||
| Regression date | ||||||||||||
| Regression introduced in release | ||||||||||||
| Regression introduced by commit | ||||||||||||
| Triggers an Emergency Pack | No | |||||||||||
| Summary | 0005017: The BOM_PRICESTD, BOM_PRICELIMIT and BOM_PRICELIST function get an error | |||||||||||
| Description | When the product that is parameter of the function is BOM and has price 0, and the products that belong to the bug also have price 0 (in the pricelist_version passed to the fuctions) you get an error because you don't have enough cursors to execute. It happen because is a recursive function and never stop in this case. | |||||||||||
| Steps To Reproduce | ||||||||||||
| Proposed Solution | Instead of using this line IF(v_Price=0) THEN use this other more restrictive SELECT ISBOM INTO v_isBom FROM M_PRODUCT WHERE M_PRODUCT_ID=Product_ID; IF(v_Price=0 AND v_isBom='Y') THEN remember to declare v_isBom. | |||||||||||
| Additional Information | ||||||||||||
| Tags | No tags attached. | |||||||||||
| Relationships |
| |||||||||||
| Attached Files | ||||||||||||
| Issue History | ||||||||||||
| Date Modified | Username | Field | Change | |||||||||
| 2008-09-11 12:27 | cromero | New Issue | ||||||||||
| 2008-09-11 12:27 | cromero | Assigned To | => rafaroda | |||||||||
| 2008-09-11 12:27 | cromero | Status | new => scheduled | |||||||||
| 2008-09-11 12:29 | cromero | OBNetwork customer | => No | |||||||||
| 2008-09-11 12:29 | cromero | Priority | normal => high | |||||||||
| 2008-09-17 16:04 | Dowid | Assigned To | rafaroda => Dowid | |||||||||
| 2008-09-23 18:17 | PavelPonomarev | Relationship added | related to 0005215 | |||||||||
| 2008-10-24 12:10 | Dowid | Relationship deleted | related to 0005215 | |||||||||
| 2008-11-06 15:19 | svnbot | Checkin | ||||||||||
| 2008-11-06 15:19 | svnbot | Note Added: 0010042 | ||||||||||
| 2008-11-06 15:19 | svnbot | Status | scheduled => resolved | |||||||||
| 2008-11-06 15:19 | svnbot | Resolution | open => fixed | |||||||||
| 2008-11-06 15:19 | svnbot | svn_revision | => 9753 | |||||||||
| 2008-12-09 12:38 | psarobe | Regression testing | => No | |||||||||
| 2008-12-09 12:38 | psarobe | Status | resolved => closed | |||||||||
| Notes | |||||
|
|
|||||
|
|
||||