Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0005888 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
backport | [Openbravo ERP] 04. Warehouse management | minor | always | 2008-11-09 19:55 | 2009-03-03 17:16 | |||
Reporter | zaccoz | View Status | public | |||||
Assigned To | gorkaion | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | 2.40 | Fixed in SCM revision | 10848 | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 1.5.11 | |||
OS Version | Opensuse 10.3 | Database version | 8.2.6 | Ant version | 1.7 | |||
Product Version | 2.40 | SCM revision | ||||||
Review Assigned To | ||||||||
Web browser | ||||||||
Modules | Core | |||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0005888: Function BOM_QTY_ONHAND. Leaf mode error. | |||||||
Description | The function bom_qty_onhand not allowed to return the amount of stock stored in a BOM with more than one level, because it breaks it's recursion. original post in spanish: https://sourceforge.net/forum/forum.php?thread_id=2496505&forum_id=827795 [^] | |||||||
Steps To Reproduce | create a NOT stocked BOM product and put as item another NOT stocked BOM product, with have almost one item with stock, the stock in product selector of high level BOM is always cero. | |||||||
Proposed Solution | This restores the recursion: Original line: IF (CUR_BOM.ProductType = 'I' AND CUR_BOM.ProductType = 'I') THEN Proposal: IF (CUR_BOM.ProductType = 'I' AND CUR_BOM.IsBOM = 'N') THEN | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships [ Relation Graph ] [ Dependency Graph ] | ||||||||
|
Notes | |
(0010819) svnbot (reporter) 2008-11-28 17:02 |
Repository: openbravo Revision: 10745 Author: gorkaion Date: 2008-11-28 17:02:17 +0100 (Fri, 28 Nov 2008) Fixed bug 5888. Modified if clause to properly manage recursivity on BOM_QTY_ONHAND function. --- U branches/r2.40/src-db/database/model/functions/BOM_QTY_ONHAND.xml --- https://dev.openbravo.com/websvn/openbravo/?rev=10745&sc=1 [^] |
(0010884) svnbot (reporter) 2008-12-02 13:06 |
Repository: openbravo Revision: 10848 Author: villind Date: 2008-12-02 13:06:23 +0100 (Tue, 02 Dec 2008) Merged r10745. Fixed bug 5888. Modified if clause to properly manage recursivity on BOM_QTY_ONHAND function. --- _U branches/bonware/r2.40/ _U branches/bonware/r2.40/config/setup-tool/ _U branches/bonware/r2.40/eclipse.install.source.launch _U branches/bonware/r2.40/export.database.launch _U branches/bonware/r2.40/src-core/src/org/openbravo/database/OpenbravoDriverManagerConnectionFactory.java U branches/bonware/r2.40/src-db/database/model/functions/BOM_QTY_ONHAND.xml _U branches/bonware/r2.40/update.database.launch --- https://dev.openbravo.com/websvn/openbravo/?rev=10848&sc=1 [^] |
Issue History | |||
Date Modified | Username | Field | Change |
2008-11-09 19:55 | psarobe | New Issue | |
2008-11-09 19:55 | psarobe | Assigned To | => rafaroda |
2008-11-09 19:55 | psarobe | Status | new => scheduled |
2008-11-10 15:34 | rafaroda | Assigned To | rafaroda => gorkaion |
2008-11-28 17:02 | svnbot | Checkin | |
2008-11-28 17:02 | svnbot | Note Added: 0010819 | |
2008-11-28 17:02 | svnbot | Status | scheduled => resolved |
2008-11-28 17:02 | svnbot | Resolution | open => fixed |
2008-11-28 17:02 | svnbot | svn_revision | => 10745 |
2008-12-02 13:06 | svnbot | Checkin | |
2008-12-02 13:06 | svnbot | Note Added: 0010884 | |
2008-12-02 13:06 | svnbot | svn_revision | 10745 => 10848 |
2009-03-03 17:16 | psarobe | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |