Openbravo Issue Tracking System - Openbravo ERP | |||||||||||||||||||
View Issue Details | |||||||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||||||
0030037 | Openbravo ERP | 05. Production management | public | 2015-05-28 10:10 | 2015-06-06 16:53 | ||||||||||||||
Reporter | VictorVillar | ||||||||||||||||||
Assigned To | jorge-garcia | ||||||||||||||||||
Priority | immediate | Severity | critical | Reproducibility | always | ||||||||||||||
Status | closed | Resolution | fixed | ||||||||||||||||
Platform | OS | 5 | OS Version | ||||||||||||||||
Product Version | pi | ||||||||||||||||||
Target Version | 3.0PR15Q3 | Fixed in Version | |||||||||||||||||
Merge Request Status | |||||||||||||||||||
Review Assigned To | vmromanos | ||||||||||||||||||
OBNetwork customer | OBPS | ||||||||||||||||||
Web browser | |||||||||||||||||||
Modules | Core | ||||||||||||||||||
Support ticket | 33059 | ||||||||||||||||||
Regression level | |||||||||||||||||||
Regression date | |||||||||||||||||||
Regression introduced in release | |||||||||||||||||||
Regression introduced by commit | |||||||||||||||||||
Triggers an Emergency Pack | No | ||||||||||||||||||
Summary | 0030037: Completed quantity in the Work Requirement is not updated under some circumstancies | ||||||||||||||||||
Description | Completed quantity in the Work Requirement is not updated under some circumstancies | ||||||||||||||||||
Steps To Reproduce | As group Admin role, Navigate to Product window: Check Production = YES for Cerverza Ale Cerveza Lager For Cerveza Ale go to Manufacturing Tab: create a new register: Organization España Región Norte Storage Bin: RN-0-0-0 Cerveza Lager should not have any register in the Manufacturing tab. Go to Process Plan window: Organization: * Name: Test Version tab: Starting Date: 01-01-2014 Ending Date: 31-10-9999 Operation tab: Name: sec Activity: Actividad I/O Products tab New register: P+ Cerveza Ale, Qty: 1 New register: P- Cerveza Lager Qty: 1 Go to Work Requirement window, Starting Date: Today Ending Date: today Process Plan: Test Organization: España Región Norte Qty: 5 Click on Process Work Requirement button Realise that the Operation and Products have been populated with the Process Plan data Go to Operation tab and edit the register (grid view). DO NOT save the register. Keep it in 'editing' status. Go to Work Effort window: Organization: España Región Norte Starting time: 2 Ending Time: 3 Go to Production Run tab: Select the Work Requirement Phase created before Completed Qty: 1 Click on Create Standards button and validate the Work Effort. Go to Work Requirement window | operation tab again, and save the register. Realise that the Completed qty is not updated. It is still showing 0. The problem is that there is not detection when you are going to save the register that this record has been changed. the ma_workeffort_validate function is not updating the 'updated' column of the ma_wrphase table. | ||||||||||||||||||
Proposed Solution | Possible solution: FOR Cur_ProductionPlan IN (SELECT * FROM M_PRODUCTIONPLAN pp WHERE pp.M_PRODUCTION_ID=v_Record_ID) LOOP UPDATE MA_WRPHASE SET DONEQUANTITY=DONEQUANTITY + Cur_ProductionPlan.PRODUCTIONQTY, RUNTIME=Cur_ProductionPlan.RUNTIME, +++++++++ UPDATED = NOW() WHERE MA_WRPhase_ID=Cur_ProductionPlan.MA_WRPHASE_ID; | ||||||||||||||||||
Additional Information | |||||||||||||||||||
Tags | No tags attached. | ||||||||||||||||||
Relationships |
| ||||||||||||||||||
Attached Files | |||||||||||||||||||
Issue History | |||||||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||||||
2015-05-28 10:10 | VictorVillar | New Issue | |||||||||||||||||
2015-05-28 10:10 | VictorVillar | Assigned To | => Triage Finance | ||||||||||||||||
2015-05-28 10:10 | VictorVillar | OBNetwork customer | => Yes | ||||||||||||||||
2015-05-28 10:10 | VictorVillar | Modules | => Core | ||||||||||||||||
2015-05-28 10:10 | VictorVillar | Support ticket | => 33059 | ||||||||||||||||
2015-05-28 10:10 | VictorVillar | Resolution time | => 1434837600 | ||||||||||||||||
2015-05-28 10:10 | VictorVillar | Triggers an Emergency Pack | => No | ||||||||||||||||
2015-05-28 10:11 | VictorVillar | Issue Monitored: networkb | |||||||||||||||||
2015-05-28 10:25 | VictorVillar | Note Added: 0077858 | |||||||||||||||||
2015-05-28 10:32 | VictorVillar | Severity | major => critical | ||||||||||||||||
2015-05-29 10:17 | jorge-garcia | Assigned To | Triage Finance => jorge-garcia | ||||||||||||||||
2015-05-29 10:17 | jorge-garcia | Status | new => acknowledged | ||||||||||||||||
2015-05-29 13:24 | VictorVillar | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=8709#r8709 | ||||||||||||||||
2015-06-01 09:25 | jorge-garcia | Note Added: 0077910 | |||||||||||||||||
2015-06-04 17:01 | vmromanos | Status | acknowledged => scheduled | ||||||||||||||||
2015-06-04 17:02 | hgbot | Checkin | |||||||||||||||||
2015-06-04 17:02 | hgbot | Note Added: 0078087 | |||||||||||||||||
2015-06-04 17:02 | hgbot | Status | scheduled => resolved | ||||||||||||||||
2015-06-04 17:02 | hgbot | Resolution | open => fixed | ||||||||||||||||
2015-06-04 17:02 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/1fe773745b2d0adaf31912c6d7e8372bb1c97d65 [^] | ||||||||||||||||
2015-06-04 17:03 | hgbot | Checkin | |||||||||||||||||
2015-06-04 17:03 | hgbot | Note Added: 0078088 | |||||||||||||||||
2015-06-04 17:03 | vmromanos | Review Assigned To | => vmromanos | ||||||||||||||||
2015-06-04 17:03 | vmromanos | Note Added: 0078089 | |||||||||||||||||
2015-06-04 17:03 | vmromanos | Status | resolved => closed | ||||||||||||||||
2015-06-05 09:35 | vmromanos | Note Added: 0078111 | |||||||||||||||||
2015-06-05 09:35 | vmromanos | Status | closed => new | ||||||||||||||||
2015-06-05 09:35 | vmromanos | Resolution | fixed => open | ||||||||||||||||
2015-06-05 09:35 | vmromanos | Status | new => scheduled | ||||||||||||||||
2015-06-05 09:35 | vmromanos | Status | scheduled => resolved | ||||||||||||||||
2015-06-05 09:35 | vmromanos | Resolution | open => fixed | ||||||||||||||||
2015-06-05 09:36 | vmromanos | Status | resolved => closed | ||||||||||||||||
2015-06-06 16:53 | hudsonbot | Checkin | |||||||||||||||||
2015-06-06 16:53 | hudsonbot | Note Added: 0078125 | |||||||||||||||||
2015-06-06 16:53 | hudsonbot | Checkin | |||||||||||||||||
2015-06-06 16:53 | hudsonbot | Note Added: 0078126 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|