Wrong default in Action field in WF_Node

http://sourceforge.net/tracker2/?func=detail&aid=2505658&group_id=176962&atid=879332
This commit is contained in:
vpj-cd 2009-01-13 23:36:40 +00:00
parent c3c0ab541d
commit 0716a96317
3 changed files with 20 additions and 0 deletions

View File

@ -530,6 +530,13 @@ public class MWFNode extends X_AD_WF_Node
*/
protected boolean beforeSave (boolean newRecord)
{
if(MWorkflow.WORKFLOWTYPE_Manufacturing.equals(getWorkflow().getWorkflowType()))
{
setAction(MWFNode.ACTION_WaitSleep);
return true;
}
setAction(MWFNode.ACTION_DocumentAction);
String action = getAction();
if (action.equals(ACTION_WaitSleep))
;

View File

@ -0,0 +1,7 @@
-- Jan 13, 2009 5:59:32 PM ECT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET DefaultValue='Z',Updated=TO_DATE('2009-01-13 17:59:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2291
;
UPDATE AD_WF_Node SET Action = 'Z' WHERE Action='N'

View File

@ -0,0 +1,6 @@
-- Jan 13, 2009 5:59:32 PM ECT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
UPDATE AD_Column SET DefaultValue='Z',Updated=TO_TIMESTAMP('2009-01-13 17:59:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=2291
;
UPDATE AD_WF_Node SET Action = 'Z' WHERE Action='N'