Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0023069 | Openbravo ERP | 05. Production management | public | 2013-02-13 12:53 | 2013-03-05 19:09 |
|
| Reporter | VictorVillar | |
| Assigned To | jonalegriaesarte | |
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | closed | Resolution | fixed | |
| Platform | | OS | 5 | OS Version | |
| Product Version | pi | |
| Target Version | 3.0MP21 | Fixed in Version | 3.0MP21 | |
| Merge Request Status | |
| Review Assigned To | jonalegriaesarte |
| OBNetwork customer | OBPS |
| Web browser | |
| Modules | Core |
| Support ticket | 19486 |
| Regression level | |
| Regression date | |
| Regression introduced in release | |
| Regression introduced by commit | |
| Triggers an Emergency Pack | No |
|
| Summary | 0023069: Not possible to create standards under some circunstancies |
| Description | Not possible to create standards under some circunstancies.
If you have a good shipment in status DRAFT with a product without attributes defined yet, and then create a work effort for the same product, and try to create standards for this product (P+) with the same qty to produce as the qty in the Shipment document, then you can not process create Standards. |
| Steps To Reproduce | If you have a good shipment in status DRAFT with a product without attributes defined yet, and then create a work effort for the same product, and try to create standards for this product (P+) with the same qty to produce as the qty in the Shipment document, then you can not process create Standards. |
| Proposed Solution | because the m_update_inventory removes the register in the m_storage_detail, created when you have registered the shipment line, then the m_update_stockaux function cannot find it.
The solution proposed:
add the condition in m_update_stockaux:
if (v_count <> 0 ) then
Create a register in the m_storage_detail with all the qty columns set to 0, with the same parameters (product, locator, uom...) as the register removed by the m_update_inventory. |
| Additional Information | |
| Tags | No tags attached. |
| Relationships | |
| Attached Files | |
|
| Issue History |
| Date Modified | Username | Field | Change |
| 2013-02-13 12:53 | VictorVillar | New Issue | |
| 2013-02-13 12:53 | VictorVillar | Assigned To | => dmiguelez |
| 2013-02-13 12:53 | VictorVillar | Modules | => Core |
| 2013-02-13 12:53 | VictorVillar | OBNetwork customer | => Yes |
| 2013-02-13 12:53 | VictorVillar | Support ticket | => 19486 |
| 2013-02-13 12:53 | VictorVillar | Resolution time | => 1363129200 |
| 2013-02-13 12:53 | VictorVillar | Triggers an Emergency Pack | => No |
| 2013-02-13 12:58 | VictorVillar | Proposed Solution updated | |
| 2013-02-13 12:58 | VictorVillar | Issue Monitored: networkb | |
| 2013-02-14 11:50 | naiaramartinez | Assigned To | dmiguelez => jonalegriaesarte |
| 2013-02-15 10:05 | hgbot | Checkin | |
| 2013-02-15 10:05 | hgbot | Note Added: 0056484 | |
| 2013-02-15 10:05 | hgbot | Status | new => resolved |
| 2013-02-15 10:05 | hgbot | Resolution | open => fixed |
| 2013-02-15 10:05 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0413794948b0373adf3d9dbdbf573fc28e9b9ead [^] |
| 2013-02-20 04:50 | hudsonbot | Checkin | |
| 2013-02-20 04:50 | hudsonbot | Note Added: 0056606 | |
| 2013-03-01 02:10 | VictorVillar | Note Added: 0056871 | |
| 2013-03-05 19:09 | jonalegriaesarte | Review Assigned To | => jonalegriaesarte |
| 2013-03-05 19:09 | jonalegriaesarte | Note Added: 0057068 | |
| 2013-03-05 19:09 | jonalegriaesarte | Status | resolved => closed |
| 2013-03-05 19:09 | jonalegriaesarte | Fixed in Version | => 3.0MP21 |
|
Notes |
|
|
(0056484)
|
|
hgbot
|
|
2013-02-15 10:05
|
|
|
|
|
|
|
|
|
|
TEST PLAN:
Create a new product:
Production: YEs
If you have a good shipment in status DRAFT with the product created before without attributes defined yet, and then create a work effort for the same product, and try to create standards for this product (P+) with the same qty to produce as the qty in the Shipment document, then you can not process create Standards. |
|
|
|
(0057068)
|
|
jonalegriaesarte
|
|
2013-03-05 19:09
|
|
|