Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0019865Openbravo ERP05. Production managementpublic2011-12-30 11:222012-03-14 17:05
VictorVillar 
jecharri 
highminoralways
closedfixed 
5
 
2.50MP40 
Core
No
0019865: Process Plan Version "active" flag it does not take into account in Work Requirement Process
When the Process plan version is not active its operation appears in Work requirement window when it runs the Work requirement process.
Also when you print the process plan, it appears too.
As Group Admin role,
Navigate to Process Plan window:
  - Create a new record:
       *name: AA
       *Include Phases when inserting: Yes
       *Starting Date: Today
       *Ending Date: Today +1
  Go to Version tab:
   - Create two new records:
        First: Active -> Yes
        Second: Active -> No
  Go to Operation tab:
    -Create new records to both versions
  Go to I/O Products tab:
    - Create new records to both operations

Navigate to Work Requirement window:
  - Create a new record
      *Select Process plan: AA
      *Include Phases when inserting: Yes
Save the record, press the Process Work Requirement button:
We realise that the operation from the version NON active is inserted.

Navigate to Process plan window:
  - Print it.
We realise that all versions appear.
           
Take into account the Process plan version "active" check in querys
No tags attached.
blocks defect 00193963.0MP9 closed jecharri Process Plan Version "active" flag it does not take into account in Work Requirement Process 
Issue History
2012-02-24 09:18jecharriTypedefect => backport
2012-02-24 09:18jecharrifix_in_branch => 2.50
2012-02-24 09:19jecharriTarget Version3.0MP9 => 2.50MP40
2012-03-07 11:09hgbotCheckin
2012-03-07 11:09hgbotNote Added: 0046120
2012-03-07 11:09hgbotStatusscheduled => resolved
2012-03-07 11:09hgbotResolutionopen => fixed
2012-03-07 11:09hgbotFixed in SCM revisionhttp://code.openbravo.com/erp/devel/pi/rev/d5795a1027340e3b29318369d63dcef80bdfaddc [^] => http://code.openbravo.com/erp/stable/2.50/rev/1613c4551ed5053ed3e29327d73a0177886ad83f [^]
2012-03-07 11:10jecharriNote Added: 0046121
2012-03-14 17:05VictorVillarNote Added: 0046421
2012-03-14 17:05VictorVillarStatusresolved => closed

Notes
(0046120)
hgbot   
2012-03-07 11:09   
Repository: erp/stable/2.50
Changeset: 1613c4551ed5053ed3e29327d73a0177886ad83f
Author: Javier Etxarri <javier.echarri <at> openbravo.com>
Date: Wed Mar 07 11:08:49 2012 +0100
URL: http://code.openbravo.com/erp/stable/2.50/rev/1613c4551ed5053ed3e29327d73a0177886ad83f [^]

Fixes issue 19865: Process Plan Version
"active" flag it does not take into account in Work Requirement Process

---
M src-db/database/model/functions/MA_WORKREQUIREMENT_PROCESS.xml
---
(0046121)
jecharri   
2012-03-07 11:10   
Test case:
-I think that is enough with steps to reproduce
(0046421)
VictorVillar   
2012-03-14 17:05   
Verified