Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0006314Openbravo ERP05. Production managementpublic2008-12-02 10:502010-03-10 12:19
RenateNieuwkoop 
AinhoaPagola 
normalminorhave not tried
closedfixed 
5
 
 
Core
No
0006314: Work Requirement: Error message too technical: ma_wrphaseproduct violates check constraint mawrphasprodt_prodtype_check
Production Management || Transactions || Work Requirement

One of the students tried to process a Work Requirement to get the operations created, but he got the following error message:

ma_wrphaseproduct violates check constraint mawrphasprodt_prodtype_check

He had no idea what the error was about. When checking his process plan:
Production Management || Transactions || Process Plan || Process Plan >> Version >> Operation >> I/O Products

the problem was that the top level product had a wrong Production type (non stocked product instead of Product Production (P+))
Message should be user friendly. So for example:

'Error: one of the products in your Process Plan has an incorrect Production Type'

Ideally it would even highlight which part is incorrect or in which phase, so people won't have to look at all phases
comsup_sprint3
Issue History
2008-12-02 10:50RenateNieuwkoopNew Issue
2008-12-02 10:50RenateNieuwkoopAssigned To => rafaroda
2008-12-02 10:50RenateNieuwkoopsf_bug_id0 => 2376450
2008-12-09 13:05pheenanAssigned Torafaroda => gorkaion
2008-12-16 18:31rafarodaNote Added: 0011450
2008-12-16 18:31rafarodaStatusnew => feedback
2008-12-18 17:06RenateNieuwkoopNote Added: 0011532
2008-12-18 18:53AinhoaPagolaAssigned Togorkaion => AinhoaPagola
2009-01-08 09:52svnbotCheckin
2009-01-08 09:52svnbotNote Added: 0011971
2009-01-08 09:52svnbotStatusfeedback => resolved
2009-01-08 09:52svnbotResolutionopen => fixed
2009-01-08 09:52svnbotsvn_revision => 11700
2009-01-08 10:25AinhoaPagolaTag Attached: comsup_sprint3
2009-04-21 11:09psarobeStatusresolved => closed
2010-03-10 12:19eintelauIssue Monitored: eintelau

Notes
(0011450)
rafaroda   
2008-12-16 18:31   
Renate, please provide the version of Openbravo ERP. Thank you.
(0011532)
RenateNieuwkoop   
2008-12-18 17:06   
It is the 2.40 community version

cheers
Renate
(0011971)
svnbot   
2009-01-08 09:52   
Repository: openbravo
Revision: 11700
Author: AinhoaPagola
Date: 2009-01-08 09:52:36 +0100 (Thu, 08 Jan 2009)

Fixes bug 0006314. Work requirement: 'Non stock product' production type reference list value disabled. It is not available anymore as a production type for I/O products in a process plan. MA_WORKREQUIREMENT_PROCESS modified in case it is enabled again.

---
U trunk/src-db/database/model/functions/MA_WORKREQUIREMENT_PROCESS.xml
U trunk/src-db/database/sourcedata/AD_REF_LIST.xml
---

https://dev.openbravo.com/websvn/openbravo/?rev=11700&sc=1 [^]