Implement [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality

This commit is contained in:
Carlos Ruiz 2008-12-09 03:08:21 +00:00
parent b021b51ea1
commit 3ce6320cd2
7 changed files with 296 additions and 68 deletions

View File

@ -116,6 +116,7 @@ public class WorkflowElementHandler extends AbstractElementHandler {
m_Workflow.setValue(atts.getValue("Value"));
m_Workflow.setName(workflowName);
m_Workflow.setIsBetaFunctionality (Boolean.valueOf(atts.getValue("isBetaFunctionality")).booleanValue());
m_Workflow.setAccessLevel(atts.getValue("AccessLevel"));
m_Workflow.setDescription(getStringValue(atts,"Description"));
m_Workflow.setHelp(getStringValue(atts,"Help"));
@ -404,7 +405,9 @@ public class WorkflowElementHandler extends AbstractElementHandler {
} else
atts.addAttribute("", "", "ADWorkflowProcessorNameID", "CDATA", "");
atts.addAttribute("", "", "AccessLevel", "CDATA", (m_Workflow
atts.addAttribute("","","isBetaFunctionality","CDATA",(m_Workflow.isBetaFunctionality()== true ? "true":"false"));
atts.addAttribute("", "", "AccessLevel", "CDATA", (m_Workflow
.getAccessLevel() != null ? m_Workflow.getAccessLevel() : ""));
atts
.addAttribute("", "", "DurationUnit", "CDATA", (m_Workflow

View File

@ -1,31 +1,22 @@
/**********************************************************************
* This file is part of Adempiere ERP Bazaar *
* http://www.adempiere.org *
* *
* Copyright (C) Trifon Trifonov. *
* Copyright (C) Contributors *
* *
* This program is free software, you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
* as published by the Free Software Foundation, either version 2 *
* of the License, or (at your option) any later version. *
* *
* This program is distributed in the hope that it will be useful, *
* but WITHOUT ANY WARRANTY, without even the implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
* GNU General Public License for more details. *
* *
* You should have received a copy of the GNU General Public License *
* along with this program, if not, write to the Free Software *
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, *
* MA 02110-1301, USA. *
* *
* Contributors: *
* - Trifon Trifonov (trifonnt@users.sourceforge.net) *
* *
* Sponsors: *
* - Company (http://www.site.com) *
**********************************************************************/
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
* This program is free software;
you can redistribute it and/or modify it *
* under the terms version 2 of the GNU General Public License as published *
* by the Free Software Foundation. This program is distributed in the hope *
* that it will be useful, but WITHOUT ANY WARRANTY;
without even the implied *
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* See the GNU General Public License for more details. *
* You should have received a copy of the GNU General Public License along *
* with this program;
if not, write to the Free Software Foundation, Inc., *
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
* For the text or an alternative of this public license, you may reach us *
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
* or via info@compiere.org or http://www.compiere.org/license.html *
*****************************************************************************/
package org.compiere.model;
import java.math.BigDecimal;
@ -66,6 +57,19 @@ public interface I_AD_Workflow
*/
public String getAccessLevel();
/** Column name AD_Org_ID */
public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID";
/** Set Organization.
* Organizational entity within client
*/
public void setAD_Org_ID (int AD_Org_ID);
/** Get Organization.
* Organizational entity within client
*/
public int getAD_Org_ID();
/** Column name AD_Table_ID */
public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID";
@ -79,7 +83,7 @@ public interface I_AD_Workflow
*/
public int getAD_Table_ID();
public I_AD_Table getAD_Table() throws Exception;
public I_AD_Table getAD_Table() throws RuntimeException;
/** Column name AD_WF_Node_ID */
public static final String COLUMNNAME_AD_WF_Node_ID = "AD_WF_Node_ID";
@ -94,7 +98,7 @@ public interface I_AD_Workflow
*/
public int getAD_WF_Node_ID();
public I_AD_WF_Node getAD_WF_Node() throws Exception;
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException;
/** Column name AD_WF_Responsible_ID */
public static final String COLUMNNAME_AD_WF_Responsible_ID = "AD_WF_Responsible_ID";
@ -109,7 +113,7 @@ public interface I_AD_Workflow
*/
public int getAD_WF_Responsible_ID();
public I_AD_WF_Responsible getAD_WF_Responsible() throws Exception;
public I_AD_WF_Responsible getAD_WF_Responsible() throws RuntimeException;
/** Column name AD_Workflow_ID */
public static final String COLUMNNAME_AD_Workflow_ID = "AD_Workflow_ID";
@ -137,7 +141,7 @@ public interface I_AD_Workflow
*/
public int getAD_WorkflowProcessor_ID();
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception;
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws RuntimeException;
/** Column name Author */
public static final String COLUMNNAME_Author = "Author";
@ -258,6 +262,19 @@ public interface I_AD_Workflow
*/
public String getHelp();
/** Column name IsBetaFunctionality */
public static final String COLUMNNAME_IsBetaFunctionality = "IsBetaFunctionality";
/** Set Beta Functionality.
* This functionality is considered Beta
*/
public void setIsBetaFunctionality (boolean IsBetaFunctionality);
/** Get Beta Functionality.
* This functionality is considered Beta
*/
public boolean isBetaFunctionality();
/** Column name IsDefault */
public static final String COLUMNNAME_IsDefault = "IsDefault";
@ -300,10 +317,10 @@ public interface I_AD_Workflow
/** Column name MovingTime */
public static final String COLUMNNAME_MovingTime = "MovingTime";
/** Set MovingTime */
/** Set Moving Time */
public void setMovingTime (int MovingTime);
/** Get MovingTime */
/** Get Moving Time */
public int getMovingTime();
/** Column name Name */
@ -335,10 +352,10 @@ public interface I_AD_Workflow
/** Column name ProcessType */
public static final String COLUMNNAME_ProcessType = "ProcessType";
/** Set ProcessType */
/** Set Process Type */
public void setProcessType (String ProcessType);
/** Get ProcessType */
/** Get Process Type */
public String getProcessType();
/** Column name PublishStatus */
@ -357,19 +374,19 @@ public interface I_AD_Workflow
/** Column name QtyBatchSize */
public static final String COLUMNNAME_QtyBatchSize = "QtyBatchSize";
/** Set QtyBatchSize */
/** Set Qty Batch Size */
public void setQtyBatchSize (BigDecimal QtyBatchSize);
/** Get QtyBatchSize */
/** Get Qty Batch Size */
public BigDecimal getQtyBatchSize();
/** Column name QueuingTime */
public static final String COLUMNNAME_QueuingTime = "QueuingTime";
/** Set QueuingTime */
/** Set Queuing Time */
public void setQueuingTime (int QueuingTime);
/** Get QueuingTime */
/** Get Queuing Time */
public int getQueuingTime();
/** Column name SetupTime */
@ -398,7 +415,7 @@ public interface I_AD_Workflow
*/
public int getS_Resource_ID();
public I_S_Resource getS_Resource() throws Exception;
public I_S_Resource getS_Resource() throws RuntimeException;
/** Column name ValidateWorkflow */
public static final String COLUMNNAME_ValidateWorkflow = "ValidateWorkflow";

View File

@ -391,6 +391,7 @@ public class MTree extends MTree_Base
sqlNode.append(hasWhere ? " AND " : " WHERE ");
sqlNode.append("(m.AD_Window_ID IS NULL OR EXISTS (SELECT * FROM AD_Window w WHERE m.AD_Window_ID=w.AD_Window_ID AND w.IsBetaFunctionality='N'))")
.append(" AND (m.AD_Process_ID IS NULL OR EXISTS (SELECT * FROM AD_Process p WHERE m.AD_Process_ID=p.AD_Process_ID AND p.IsBetaFunctionality='N'))")
.append(" AND (m.AD_Workflow_ID IS NULL OR EXISTS (SELECT * FROM AD_Workflow wf WHERE m.AD_Workflow_ID=wf.AD_Workflow_ID AND wf.IsBetaFunctionality='N'))")
.append(" AND (m.AD_Form_ID IS NULL OR EXISTS (SELECT * FROM AD_Form f WHERE m.AD_Form_ID=f.AD_Form_ID AND f.IsBetaFunctionality='N'))");
}
// In R/O Menu - Show only defined Forms

View File

@ -50,6 +50,8 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
setDuration (0);
setEntityType (null);
// U
setIsBetaFunctionality (false);
// N
setIsDefault (false);
setIsValid (false);
setName (null);
@ -124,7 +126,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return (String)get_Value(COLUMNNAME_AccessLevel);
}
public I_AD_Table getAD_Table() throws Exception
public I_AD_Table getAD_Table() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_Table.Table_Name);
I_AD_Table result = null;
@ -135,7 +137,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
throw new RuntimeException( e );
}
return result;
}
@ -163,7 +165,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return ii.intValue();
}
public I_AD_WF_Node getAD_WF_Node() throws Exception
public I_AD_WF_Node getAD_WF_Node() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Node.Table_Name);
I_AD_WF_Node result = null;
@ -174,7 +176,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
throw new RuntimeException( e );
}
return result;
}
@ -202,7 +204,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return ii.intValue();
}
public I_AD_WF_Responsible getAD_WF_Responsible() throws Exception
public I_AD_WF_Responsible getAD_WF_Responsible() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WF_Responsible.Table_Name);
I_AD_WF_Responsible result = null;
@ -213,7 +215,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
throw new RuntimeException( e );
}
return result;
}
@ -263,7 +265,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return ii.intValue();
}
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws Exception
public I_AD_WorkflowProcessor getAD_WorkflowProcessor() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_AD_WorkflowProcessor.Table_Name);
I_AD_WorkflowProcessor result = null;
@ -274,7 +276,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
throw new RuntimeException( e );
}
return result;
}
@ -480,6 +482,30 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return (String)get_Value(COLUMNNAME_Help);
}
/** Set Beta Functionality.
@param IsBetaFunctionality
This functionality is considered Beta
*/
public void setIsBetaFunctionality (boolean IsBetaFunctionality)
{
set_Value (COLUMNNAME_IsBetaFunctionality, Boolean.valueOf(IsBetaFunctionality));
}
/** Get Beta Functionality.
@return This functionality is considered Beta
*/
public boolean isBetaFunctionality ()
{
Object oo = get_Value(COLUMNNAME_IsBetaFunctionality);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** Set Default.
@param IsDefault
Default value
@ -548,15 +574,15 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return ii.intValue();
}
/** Set MovingTime.
@param MovingTime MovingTime */
/** Set Moving Time.
@param MovingTime Moving Time */
public void setMovingTime (int MovingTime)
{
set_Value (COLUMNNAME_MovingTime, Integer.valueOf(MovingTime));
}
/** Get MovingTime.
@return MovingTime */
/** Get Moving Time.
@return Moving Time */
public int getMovingTime ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_MovingTime);
@ -626,16 +652,16 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
public static final String PROCESSTYPE_MixedRepetitiveFlow = "MR";
/** Plant = PL */
public static final String PROCESSTYPE_Plant = "PL";
/** Set ProcessType.
@param ProcessType ProcessType */
/** Set Process Type.
@param ProcessType Process Type */
public void setProcessType (String ProcessType)
{
if (ProcessType == null || ProcessType.equals("BF") || ProcessType.equals("CF") || ProcessType.equals("DR") || ProcessType.equals("JS") || ProcessType.equals("MR") || ProcessType.equals("PL")); else throw new IllegalArgumentException ("ProcessType Invalid value - " + ProcessType + " - Reference_ID=53224 - BF - CF - DR - JS - MR - PL"); set_Value (COLUMNNAME_ProcessType, ProcessType);
}
/** Get ProcessType.
@return ProcessType */
/** Get Process Type.
@return Process Type */
public String getProcessType ()
{
return (String)get_Value(COLUMNNAME_ProcessType);
@ -669,15 +695,15 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return (String)get_Value(COLUMNNAME_PublishStatus);
}
/** Set QtyBatchSize.
@param QtyBatchSize QtyBatchSize */
/** Set Qty Batch Size.
@param QtyBatchSize Qty Batch Size */
public void setQtyBatchSize (BigDecimal QtyBatchSize)
{
set_Value (COLUMNNAME_QtyBatchSize, QtyBatchSize);
}
/** Get QtyBatchSize.
@return QtyBatchSize */
/** Get Qty Batch Size.
@return Qty Batch Size */
public BigDecimal getQtyBatchSize ()
{
BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_QtyBatchSize);
@ -686,15 +712,15 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return bd;
}
/** Set QueuingTime.
@param QueuingTime QueuingTime */
/** Set Queuing Time.
@param QueuingTime Queuing Time */
public void setQueuingTime (int QueuingTime)
{
set_Value (COLUMNNAME_QueuingTime, Integer.valueOf(QueuingTime));
}
/** Get QueuingTime.
@return QueuingTime */
/** Get Queuing Time.
@return Queuing Time */
public int getQueuingTime ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_QueuingTime);
@ -723,7 +749,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
return ii.intValue();
}
public I_S_Resource getS_Resource() throws Exception
public I_S_Resource getS_Resource() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_S_Resource.Table_Name);
I_S_Resource result = null;
@ -734,7 +760,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent
} catch (Exception e) {
log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e);
log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz);
throw e;
throw new RuntimeException( e );
}
return result;
}

View File

@ -176,6 +176,7 @@ public class MWorkflow extends X_AD_Workflow
setCost (0);
setWaitingTime (0);
setWorkingTime (0);
setIsBetaFunctionality(false);
}
loadTrl();
loadNodes();

View File

@ -0,0 +1,90 @@
-- Dec 8, 2008 9:45:04 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56519,2554,0,20,117,'IsBetaFunctionality',TO_DATE('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,'N','This functionality is considered Beta','D',1,'Beta functionality is not fully tested or completed.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Beta Functionality',0,TO_DATE('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Dec 8, 2008 9:45:04 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56519 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Dec 8, 2008 9:46:03 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
ALTER TABLE AD_Workflow ADD IsBetaFunctionality CHAR(1) DEFAULT 'N' CHECK (IsBetaFunctionality IN ('Y','N')) NOT NULL
;
-- Dec 8, 2008 9:47:56 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56519,56501,0,148,TO_DATE('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100,'This functionality is considered Beta',1,'D','Beta functionality is not fully tested or completed.','Y','Y','Y','N','N','N','N','N','Beta Functionality',310,0,TO_DATE('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Dec 8, 2008 9:47:56 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56501 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56501
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=10084
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=3665
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=9495
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8752
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8745
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=8747
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=8750
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8744
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=8753
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=10085
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=10919
;
-- Dec 8, 2008 9:48:43 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2008-12-08 21:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56501
;

View File

@ -0,0 +1,90 @@
-- Dec 8, 2008 9:45:04 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56519,2554,0,20,117,'IsBetaFunctionality',TO_TIMESTAMP('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,'N','This functionality is considered Beta','D',1,'Beta functionality is not fully tested or completed.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Beta Functionality',0,TO_TIMESTAMP('2008-12-08 21:45:03','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Dec 8, 2008 9:45:04 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=56519 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Dec 8, 2008 9:46:03 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
ALTER TABLE AD_Workflow ADD COLUMN IsBetaFunctionality CHAR(1) DEFAULT 'N' CHECK (IsBetaFunctionality IN ('Y','N')) NOT NULL
;
-- Dec 8, 2008 9:47:56 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,56519,56501,0,148,TO_TIMESTAMP('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100,'This functionality is considered Beta',1,'D','Beta functionality is not fully tested or completed.','Y','Y','Y','N','N','N','N','N','Beta Functionality',310,0,TO_TIMESTAMP('2008-12-08 21:47:51','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Dec 8, 2008 9:47:56 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=56501 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56501
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=10084
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=3665
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=9495
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=8752
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=8745
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=8747
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=8750
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=8744
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=8753
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=10085
;
-- Dec 8, 2008 9:48:28 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=10919
;
-- Dec 8, 2008 9:48:43 PM COT
-- [ adempiere-Feature Requests-2408411 ] Add AD_Workflow.IsBetaFunctionality
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2008-12-08 21:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56501
;