From 64f5e10bc70a9e1cccaae59a5bd375995965cb1c Mon Sep 17 00:00:00 2001 From: vpj-cd Date: Fri, 6 Feb 2009 06:53:30 +0000 Subject: [PATCH] The Yield field is not take into account http://sourceforge.net/tracker2/?func=detail&atid=879332&aid=2568616&group_id=176962 --- base/src/org/compiere/model/I_AD_WF_Node.java | 158 ++- .../src/org/compiere/model/I_AD_Workflow.java | 92 ++ base/src/org/compiere/model/X_AD_WF_Node.java | 250 ++-- .../src/org/compiere/model/X_AD_Workflow.java | 87 +- .../414_001_BF2568616_Yield_UnitsByCycles.sql | 1063 +++++++++++++++++ .../414_001_BF2568616_Yield_UnitsByCycles.sql | 1063 +++++++++++++++++ 6 files changed, 2538 insertions(+), 175 deletions(-) create mode 100644 migration/353a-trunk/oracle/414_001_BF2568616_Yield_UnitsByCycles.sql create mode 100644 migration/353a-trunk/postgresql/414_001_BF2568616_Yield_UnitsByCycles.sql diff --git a/base/src/org/compiere/model/I_AD_WF_Node.java b/base/src/org/compiere/model/I_AD_WF_Node.java index f8f35382c6..0d2a425fa3 100644 --- a/base/src/org/compiere/model/I_AD_WF_Node.java +++ b/base/src/org/compiere/model/I_AD_WF_Node.java @@ -44,18 +44,13 @@ public interface I_AD_WF_Node /** Load Meta Data */ - /** Column name Action */ - public static final String COLUMNNAME_Action = "Action"; + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; - /** Set Action. - * Indicates the Action to be performed + /** Get Client. + * Client/Tenant for this installation. */ - public void setAction (String Action); - - /** Get Action. - * Indicates the Action to be performed - */ - public String getAction(); + public int getAD_Client_ID(); /** Column name AD_Column_ID */ public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID"; @@ -218,6 +213,19 @@ public interface I_AD_WF_Node public I_AD_Workflow getAD_Workflow() throws RuntimeException; + /** Column name Action */ + public static final String COLUMNNAME_Action = "Action"; + + /** Set Action. + * Indicates the Action to be performed + */ + public void setAction (String Action); + + /** Get Action. + * Indicates the Action to be performed + */ + public String getAction(); + /** Column name AttributeName */ public static final String COLUMNNAME_AttributeName = "AttributeName"; @@ -272,6 +280,22 @@ public interface I_AD_WF_Node */ public BigDecimal getCost(); + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -404,6 +428,19 @@ public interface I_AD_WF_Node */ public String getHelp(); + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + /** Column name IsCentrallyMaintained */ public static final String COLUMNNAME_IsCentrallyMaintained = "IsCentrallyMaintained"; @@ -486,10 +523,14 @@ public interface I_AD_WF_Node /** Column name OverlapUnits */ public static final String COLUMNNAME_OverlapUnits = "OverlapUnits"; - /** Set Overlap Units */ + /** Set Overlap Units. + * Overlap Units are number of units that must be completed before they are moved the next activity + */ public void setOverlapUnits (int OverlapUnits); - /** Get Overlap Units */ + /** Get Overlap Units. + * Overlap Units are number of units that must be completed before they are moved the next activity + */ public int getOverlapUnits(); /** Column name Priority */ @@ -529,6 +570,21 @@ public interface I_AD_WF_Node public I_R_MailText getR_MailText() throws RuntimeException; + /** Column name S_Resource_ID */ + public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; + + /** Set Resource. + * Resource + */ + public void setS_Resource_ID (int S_Resource_ID); + + /** Get Resource. + * Resource + */ + public int getS_Resource_ID(); + + public I_S_Resource getS_Resource() throws RuntimeException; + /** Column name SetupTime */ public static final String COLUMNNAME_SetupTime = "SetupTime"; @@ -555,21 +611,6 @@ public interface I_AD_WF_Node */ public String getSplitElement(); - /** Column name S_Resource_ID */ - public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; - - /** Set Resource. - * Resource - */ - public void setS_Resource_ID (int S_Resource_ID); - - /** Get Resource. - * Resource - */ - public int getS_Resource_ID(); - - public I_S_Resource getS_Resource() throws RuntimeException; - /** Column name StartMode */ public static final String COLUMNNAME_StartMode = "StartMode"; @@ -599,12 +640,32 @@ public interface I_AD_WF_Node /** Column name UnitsCycles */ public static final String COLUMNNAME_UnitsCycles = "UnitsCycles"; - /** Set Units Cycles */ + /** Set Units by Cycles. + * The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ public void setUnitsCycles (BigDecimal UnitsCycles); - /** Get Units Cycles */ + /** Get Units by Cycles. + * The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ public BigDecimal getUnitsCycles(); + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); + /** Column name ValidFrom */ public static final String COLUMNNAME_ValidFrom = "ValidFrom"; @@ -644,19 +705,6 @@ public interface I_AD_WF_Node */ public String getValue(); - /** Column name WaitingTime */ - public static final String COLUMNNAME_WaitingTime = "WaitingTime"; - - /** Set Waiting Time. - * Workflow Simulation Waiting time - */ - public void setWaitingTime (int WaitingTime); - - /** Get Waiting Time. - * Workflow Simulation Waiting time - */ - public int getWaitingTime(); - /** Column name WaitTime */ public static final String COLUMNNAME_WaitTime = "WaitTime"; @@ -670,6 +718,19 @@ public interface I_AD_WF_Node */ public int getWaitTime(); + /** Column name WaitingTime */ + public static final String COLUMNNAME_WaitingTime = "WaitingTime"; + + /** Set Waiting Time. + * Workflow Simulation Waiting time + */ + public void setWaitingTime (int WaitingTime); + + /** Get Waiting Time. + * Workflow Simulation Waiting time + */ + public int getWaitingTime(); + /** Column name Workflow_ID */ public static final String COLUMNNAME_Workflow_ID = "Workflow_ID"; @@ -721,4 +782,17 @@ public interface I_AD_WF_Node * Absolute Y (vertical) position in 1/72 of an inch */ public int getYPosition(); + + /** Column name Yield */ + public static final String COLUMNNAME_Yield = "Yield"; + + /** Set Yield %. + * The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public void setYield (int Yield); + + /** Get Yield %. + * The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public int getYield(); } diff --git a/base/src/org/compiere/model/I_AD_Workflow.java b/base/src/org/compiere/model/I_AD_Workflow.java index 58b3f154fc..50ce8bf860 100644 --- a/base/src/org/compiere/model/I_AD_Workflow.java +++ b/base/src/org/compiere/model/I_AD_Workflow.java @@ -44,6 +44,14 @@ public interface I_AD_Workflow /** Load Meta Data */ + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + /** Column name AD_Org_ID */ public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; @@ -169,6 +177,22 @@ public interface I_AD_Workflow */ public BigDecimal getCost(); + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -262,6 +286,19 @@ public interface I_AD_Workflow */ public String getHelp(); + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + /** Column name IsBetaFunctionality */ public static final String COLUMNNAME_IsBetaFunctionality = "IsBetaFunctionality"; @@ -336,6 +373,19 @@ public interface I_AD_Workflow */ public String getName(); + /** Column name OverlapUnits */ + public static final String COLUMNNAME_OverlapUnits = "OverlapUnits"; + + /** Set Overlap Units. + * Overlap Units are number of units that must be completed before they are moved the next activity + */ + public void setOverlapUnits (BigDecimal OverlapUnits); + + /** Get Overlap Units. + * Overlap Units are number of units that must be completed before they are moved the next activity + */ + public BigDecimal getOverlapUnits(); + /** Column name Priority */ public static final String COLUMNNAME_Priority = "Priority"; @@ -417,6 +467,35 @@ public interface I_AD_Workflow */ public int getSetupTime(); + /** Column name UnitsCycles */ + public static final String COLUMNNAME_UnitsCycles = "UnitsCycles"; + + /** Set Units by Cycles. + * The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ + public void setUnitsCycles (BigDecimal UnitsCycles); + + /** Get Units by Cycles. + * The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ + public BigDecimal getUnitsCycles(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); + /** Column name ValidFrom */ public static final String COLUMNNAME_ValidFrom = "ValidFrom"; @@ -516,4 +595,17 @@ public interface I_AD_Workflow * Workflow Simulation Execution Time */ public int getWorkingTime(); + + /** Column name Yield */ + public static final String COLUMNNAME_Yield = "Yield"; + + /** Set Yield %. + * The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public void setYield (int Yield); + + /** Get Yield %. + * The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public int getYield(); } diff --git a/base/src/org/compiere/model/X_AD_WF_Node.java b/base/src/org/compiere/model/X_AD_WF_Node.java index dd08cbec6d..add6c0c652 100644 --- a/base/src/org/compiere/model/X_AD_WF_Node.java +++ b/base/src/org/compiere/model/X_AD_WF_Node.java @@ -35,7 +35,7 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 20081221L; /** Standard Constructor */ public X_AD_WF_Node (Properties ctx, int AD_WF_Node_ID, String trxName) @@ -43,10 +43,10 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent super (ctx, AD_WF_Node_ID, trxName); /** if (AD_WF_Node_ID == 0) { - setAction (null); -// N setAD_WF_Node_ID (0); setAD_Workflow_ID (0); + setAction (null); +// Z setCost (Env.ZERO); setDuration (0); setEntityType (null); @@ -94,50 +94,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return sb.toString(); } - /** Action AD_Reference_ID=302 */ - public static final int ACTION_AD_Reference_ID=302; - /** Wait (Sleep) = Z */ - public static final String ACTION_WaitSleep = "Z"; - /** User Choice = C */ - public static final String ACTION_UserChoice = "C"; - /** Sub Workflow = F */ - public static final String ACTION_SubWorkflow = "F"; - /** Set Variable = V */ - public static final String ACTION_SetVariable = "V"; - /** User Window = W */ - public static final String ACTION_UserWindow = "W"; - /** User Form = X */ - public static final String ACTION_UserForm = "X"; - /** Apps Task = T */ - public static final String ACTION_AppsTask = "T"; - /** Apps Report = R */ - public static final String ACTION_AppsReport = "R"; - /** Apps Process = P */ - public static final String ACTION_AppsProcess = "P"; - /** Document Action = D */ - public static final String ACTION_DocumentAction = "D"; - /** EMail = M */ - public static final String ACTION_EMail = "M"; - /** User Workbench = B */ - public static final String ACTION_UserWorkbench = "B"; - /** Set Action. - @param Action - Indicates the Action to be performed - */ - public void setAction (String Action) - { - if (Action == null) throw new IllegalArgumentException ("Action is mandatory"); - if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); set_Value (COLUMNNAME_Action, Action); - } - - /** Get Action. - @return Indicates the Action to be performed - */ - public String getAction () - { - return (String)get_Value(COLUMNNAME_Action); - } - public I_AD_Column getAD_Column() throws RuntimeException { Class clazz = MTable.getClass(I_AD_Column.Table_Name); @@ -510,6 +466,50 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return ii.intValue(); } + /** Action AD_Reference_ID=302 */ + public static final int ACTION_AD_Reference_ID=302; + /** Wait (Sleep) = Z */ + public static final String ACTION_WaitSleep = "Z"; + /** User Choice = C */ + public static final String ACTION_UserChoice = "C"; + /** Sub Workflow = F */ + public static final String ACTION_SubWorkflow = "F"; + /** Set Variable = V */ + public static final String ACTION_SetVariable = "V"; + /** User Window = W */ + public static final String ACTION_UserWindow = "W"; + /** User Form = X */ + public static final String ACTION_UserForm = "X"; + /** Apps Task = T */ + public static final String ACTION_AppsTask = "T"; + /** Apps Report = R */ + public static final String ACTION_AppsReport = "R"; + /** Apps Process = P */ + public static final String ACTION_AppsProcess = "P"; + /** Document Action = D */ + public static final String ACTION_DocumentAction = "D"; + /** EMail = M */ + public static final String ACTION_EMail = "M"; + /** User Workbench = B */ + public static final String ACTION_UserWorkbench = "B"; + /** Set Action. + @param Action + Indicates the Action to be performed + */ + public void setAction (String Action) + { + if (Action == null) throw new IllegalArgumentException ("Action is mandatory"); + if (Action.equals("Z") || Action.equals("C") || Action.equals("F") || Action.equals("V") || Action.equals("W") || Action.equals("X") || Action.equals("T") || Action.equals("R") || Action.equals("P") || Action.equals("D") || Action.equals("M") || Action.equals("B")); else throw new IllegalArgumentException ("Action Invalid value - " + Action + " - Reference_ID=302 - Z - C - F - V - W - X - T - R - P - D - M - B"); set_Value (COLUMNNAME_Action, Action); + } + + /** Get Action. + @return Indicates the Action to be performed + */ + public String getAction () + { + return (String)get_Value(COLUMNNAME_Action); + } + /** Set Attribute Name. @param AttributeName Name of the Attribute @@ -994,14 +994,17 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent } /** Set Overlap Units. - @param OverlapUnits Overlap Units */ + @param OverlapUnits + Overlap Units are number of units that must be completed before they are moved the next activity + */ public void setOverlapUnits (int OverlapUnits) { set_Value (COLUMNNAME_OverlapUnits, Integer.valueOf(OverlapUnits)); } /** Get Overlap Units. - @return Overlap Units */ + @return Overlap Units are number of units that must be completed before they are moved the next activity + */ public int getOverlapUnits () { Integer ii = (Integer)get_Value(COLUMNNAME_OverlapUnits); @@ -1086,6 +1089,45 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return ii.intValue(); } + public I_S_Resource getS_Resource() throws RuntimeException + { + Class clazz = MTable.getClass(I_S_Resource.Table_Name); + I_S_Resource result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw new RuntimeException( e ); + } + return result; + } + + /** Set Resource. + @param S_Resource_ID + Resource + */ + public void setS_Resource_ID (int S_Resource_ID) + { + if (S_Resource_ID < 1) + set_Value (COLUMNNAME_S_Resource_ID, null); + else + set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID)); + } + + /** Get Resource. + @return Resource + */ + public int getS_Resource_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Setup Time. @param SetupTime Setup time before starting Production @@ -1130,45 +1172,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return (String)get_Value(COLUMNNAME_SplitElement); } - public I_S_Resource getS_Resource() throws RuntimeException - { - Class clazz = MTable.getClass(I_S_Resource.Table_Name); - I_S_Resource result = null; - try { - Constructor constructor = null; - constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); - result = (I_S_Resource)constructor.newInstance(new Object[] {getCtx(), new Integer(getS_Resource_ID()), get_TrxName()}); - } catch (Exception e) { - log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); - log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); - throw new RuntimeException( e ); - } - return result; - } - - /** Set Resource. - @param S_Resource_ID - Resource - */ - public void setS_Resource_ID (int S_Resource_ID) - { - if (S_Resource_ID < 1) - set_Value (COLUMNNAME_S_Resource_ID, null); - else - set_Value (COLUMNNAME_S_Resource_ID, Integer.valueOf(S_Resource_ID)); - } - - /** Get Resource. - @return Resource - */ - public int getS_Resource_ID () - { - Integer ii = (Integer)get_Value(COLUMNNAME_S_Resource_ID); - if (ii == null) - return 0; - return ii.intValue(); - } - /** StartMode AD_Reference_ID=303 */ public static final int STARTMODE_AD_Reference_ID=303; /** Automatic = A */ @@ -1217,15 +1220,18 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return (String)get_Value(COLUMNNAME_SubflowExecution); } - /** Set Units Cycles. - @param UnitsCycles Units Cycles */ + /** Set Units by Cycles. + @param UnitsCycles + The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ public void setUnitsCycles (BigDecimal UnitsCycles) { set_Value (COLUMNNAME_UnitsCycles, UnitsCycles); } - /** Get Units Cycles. - @return Units Cycles */ + /** Get Units by Cycles. + @return The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ public BigDecimal getUnitsCycles () { BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_UnitsCycles); @@ -1287,26 +1293,6 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return (String)get_Value(COLUMNNAME_Value); } - /** Set Waiting Time. - @param WaitingTime - Workflow Simulation Waiting time - */ - public void setWaitingTime (int WaitingTime) - { - set_Value (COLUMNNAME_WaitingTime, Integer.valueOf(WaitingTime)); - } - - /** Get Waiting Time. - @return Workflow Simulation Waiting time - */ - public int getWaitingTime () - { - Integer ii = (Integer)get_Value(COLUMNNAME_WaitingTime); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Wait Time. @param WaitTime Time in minutes to wait (sleep) @@ -1327,6 +1313,26 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return ii.intValue(); } + /** Set Waiting Time. + @param WaitingTime + Workflow Simulation Waiting time + */ + public void setWaitingTime (int WaitingTime) + { + set_Value (COLUMNNAME_WaitingTime, Integer.valueOf(WaitingTime)); + } + + /** Get Waiting Time. + @return Workflow Simulation Waiting time + */ + public int getWaitingTime () + { + Integer ii = (Integer)get_Value(COLUMNNAME_WaitingTime); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Workflow. @param Workflow_ID Workflow or tasks @@ -1409,4 +1415,24 @@ public class X_AD_WF_Node extends PO implements I_AD_WF_Node, I_Persistent return 0; return ii.intValue(); } + + /** Set Yield %. + @param Yield + The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public void setYield (int Yield) + { + set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield)); + } + + /** Get Yield %. + @return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public int getYield () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Yield); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/base/src/org/compiere/model/X_AD_Workflow.java b/base/src/org/compiere/model/X_AD_Workflow.java index 3871df686d..d91fcfece2 100644 --- a/base/src/org/compiere/model/X_AD_Workflow.java +++ b/base/src/org/compiere/model/X_AD_Workflow.java @@ -35,7 +35,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent /** * */ - private static final long serialVersionUID = 1L; + private static final long serialVersionUID = 20081221L; /** Standard Constructor */ public X_AD_Workflow (Properties ctx, int AD_Workflow_ID, String trxName) @@ -293,10 +293,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setAccessLevel (String AccessLevel) { if (AccessLevel == null) throw new IllegalArgumentException ("AccessLevel is mandatory"); - if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); - else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); - - set_Value (COLUMNNAME_AccessLevel, AccessLevel); + if (AccessLevel.equals("1") || AccessLevel.equals("3") || AccessLevel.equals("4") || AccessLevel.equals("7") || AccessLevel.equals("6") || AccessLevel.equals("2")); else throw new IllegalArgumentException ("AccessLevel Invalid value - " + AccessLevel + " - Reference_ID=5 - 1 - 3 - 4 - 7 - 6 - 2"); set_Value (COLUMNNAME_AccessLevel, AccessLevel); } /** Get Data Access Level. @@ -440,10 +437,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setDurationUnit (String DurationUnit) { - if (DurationUnit == null || DurationUnit.equals("Y") || DurationUnit.equals("M") || DurationUnit.equals("D") || DurationUnit.equals("h") || DurationUnit.equals("m") || DurationUnit.equals("s")); - else throw new IllegalArgumentException ("DurationUnit Invalid value - " + DurationUnit + " - Reference_ID=299 - Y - M - D - h - m - s"); - - set_Value (COLUMNNAME_DurationUnit, DurationUnit); + if (DurationUnit == null || DurationUnit.equals("Y") || DurationUnit.equals("M") || DurationUnit.equals("D") || DurationUnit.equals("h") || DurationUnit.equals("m") || DurationUnit.equals("s")); else throw new IllegalArgumentException ("DurationUnit Invalid value - " + DurationUnit + " - Reference_ID=299 - Y - M - D - h - m - s"); set_Value (COLUMNNAME_DurationUnit, DurationUnit); } /** Get Duration Unit. @@ -626,6 +620,26 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return new KeyNamePair(get_ID(), getName()); } + /** Set Overlap Units. + @param OverlapUnits + Overlap Units are number of units that must be completed before they are moved the next activity + */ + public void setOverlapUnits (BigDecimal OverlapUnits) + { + set_Value (COLUMNNAME_OverlapUnits, OverlapUnits); + } + + /** Get Overlap Units. + @return Overlap Units are number of units that must be completed before they are moved the next activity + */ + public BigDecimal getOverlapUnits () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_OverlapUnits); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Priority. @param Priority Indicates if this request is of a high, medium or low priority. @@ -665,10 +679,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent 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); + 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 Process Type. @@ -695,10 +706,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setPublishStatus (String PublishStatus) { if (PublishStatus == null) throw new IllegalArgumentException ("PublishStatus is mandatory"); - if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); - else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); - - set_Value (COLUMNNAME_PublishStatus, PublishStatus); + if (PublishStatus.equals("R") || PublishStatus.equals("T") || PublishStatus.equals("U") || PublishStatus.equals("V")); else throw new IllegalArgumentException ("PublishStatus Invalid value - " + PublishStatus + " - Reference_ID=310 - R - T - U - V"); set_Value (COLUMNNAME_PublishStatus, PublishStatus); } /** Get Publication Status. @@ -802,6 +810,26 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return ii.intValue(); } + /** Set Units by Cycles. + @param UnitsCycles + The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ + public void setUnitsCycles (BigDecimal UnitsCycles) + { + set_Value (COLUMNNAME_UnitsCycles, UnitsCycles); + } + + /** Get Units by Cycles. + @return The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit. + */ + public BigDecimal getUnitsCycles () + { + BigDecimal bd = (BigDecimal)get_Value(COLUMNNAME_UnitsCycles); + if (bd == null) + return Env.ZERO; + return bd; + } + /** Set Valid from. @param ValidFrom Valid from including this date (first day) @@ -928,10 +956,7 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent public void setWorkflowType (String WorkflowType) { if (WorkflowType == null) throw new IllegalArgumentException ("WorkflowType is mandatory"); - if (WorkflowType.equals("G") || WorkflowType.equals("P") || WorkflowType.equals("V") || WorkflowType.equals("M") || WorkflowType.equals("Q")); - else throw new IllegalArgumentException ("WorkflowType Invalid value - " + WorkflowType + " - Reference_ID=328 - G - P - V - M - Q"); - - set_Value (COLUMNNAME_WorkflowType, WorkflowType); + if (WorkflowType.equals("G") || WorkflowType.equals("P") || WorkflowType.equals("V") || WorkflowType.equals("M") || WorkflowType.equals("Q")); else throw new IllegalArgumentException ("WorkflowType Invalid value - " + WorkflowType + " - Reference_ID=328 - G - P - V - M - Q"); set_Value (COLUMNNAME_WorkflowType, WorkflowType); } /** Get Workflow Type. @@ -961,4 +986,24 @@ public class X_AD_Workflow extends PO implements I_AD_Workflow, I_Persistent return 0; return ii.intValue(); } + + /** Set Yield %. + @param Yield + The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public void setYield (int Yield) + { + set_Value (COLUMNNAME_Yield, Integer.valueOf(Yield)); + } + + /** Get Yield %. + @return The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent + */ + public int getYield () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Yield); + if (ii == null) + return 0; + return ii.intValue(); + } } \ No newline at end of file diff --git a/migration/353a-trunk/oracle/414_001_BF2568616_Yield_UnitsByCycles.sql b/migration/353a-trunk/oracle/414_001_BF2568616_Yield_UnitsByCycles.sql new file mode 100644 index 0000000000..e6f49fb999 --- /dev/null +++ b/migration/353a-trunk/oracle/414_001_BF2568616_Yield_UnitsByCycles.sql @@ -0,0 +1,1063 @@ +-- Feb 5, 2009 11:23:51 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56776,53272,0,11,129,'Yield',TO_DATE('2009-02-05 23:23:48','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_DATE('2009-02-05 23:23:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:23:51 PM ECT +-- Implement Yield and Units Cycle +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=56776 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:25:08 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56777,53272,0,11,117,'Yield',TO_DATE('2009-02-05 23:25:06','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_DATE('2009-02-05 23:25:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:25:08 PM ECT +-- Implement Yield and Units Cycle +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=56777 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:25:12 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_Workflow ADD Yield NUMBER(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:25:21 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_WF_Node ADD Yield NUMBER(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:26:14 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56778,53239,0,22,117,'UnitsCycles',TO_DATE('2009-02-05 23:26:13','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Units Cycles',0,TO_DATE('2009-02-05 23:26:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:26:14 PM ECT +-- Implement Yield and Units Cycle +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=56778 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:26:27 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_Workflow ADD UnitsCycles NUMBER DEFAULT NULL +; + +-- Feb 5, 2009 11:28:04 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56779,53272,0,11,53029,'Yield',TO_DATE('2009-02-05 23:28:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_DATE('2009-02-05 23:28:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:28:04 PM ECT +-- Implement Yield and Units Cycle +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=56779 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:28:07 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Workflow ADD Yield NUMBER(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:28:59 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56780,53239,0,22,53029,'UnitsCycles',TO_DATE('2009-02-05 23:28:57','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Units Cycles',0,TO_DATE('2009-02-05 23:28:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:28:59 PM ECT +-- Implement Yield and Units Cycle +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=56780 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:29:02 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Workflow ADD UnitsCycles NUMBER DEFAULT NULL +; + +-- Feb 5, 2009 11:29:59 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56781,53272,0,11,53022,'Yield',TO_DATE('2009-02-05 23:29:58','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_DATE('2009-02-05 23:29:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:29:59 PM ECT +-- Implement Yield and Units Cycle +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=56781 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:30:02 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Node ADD Yield NUMBER(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:30:20 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Node MODIFY Yield NUMBER(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:30:51 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,56519,56682,0,53027,TO_DATE('2009-02-05 23:30:49','YYYY-MM-DD HH24:MI:SS'),0,'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',TO_DATE('2009-02-05 23:30:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:51 PM ECT +-- Implement Yield and Units Cycle +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=56682 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:30:52 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56778,56683,0,53027,TO_DATE('2009-02-05 23:30:51','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Units Cycles',TO_DATE('2009-02-05 23:30:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:52 PM ECT +-- Implement Yield and Units Cycle +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=56683 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:30:54 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,12938,56684,0,53027,TO_DATE('2009-02-05 23:30:52','YYYY-MM-DD HH24:MI:SS'),0,'Element is valid',1,'D','The element passed the validation check','Y','Y','Y','N','N','N','N','N','Valid',TO_DATE('2009-02-05 23:30:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:54 PM ECT +-- Implement Yield and Units Cycle +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=56684 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:30:55 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56777,56685,0,53027,TO_DATE('2009-02-05 23:30:54','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Yield',TO_DATE('2009-02-05 23:30:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:55 PM ECT +-- Implement Yield and Units Cycle +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=56685 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:18 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,14601,56686,0,53025,TO_DATE('2009-02-05 23:31:15','YYYY-MM-DD HH24:MI:SS'),0,'Electronic Mail Address',60,'D','The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.','Y','Y','Y','N','N','N','N','N','EMail Address',TO_DATE('2009-02-05 23:31:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:18 PM ECT +-- Implement Yield and Units Cycle +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=56686 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:21 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,14600,56687,0,53025,TO_DATE('2009-02-05 23:31:18','YYYY-MM-DD HH24:MI:SS'),0,'Recipient of the EMail',1,'D','Y','Y','Y','N','N','N','N','N','EMail Recipient',TO_DATE('2009-02-05 23:31:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:21 PM ECT +-- Implement Yield and Units Cycle +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=56687 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:23 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,14602,56688,0,53025,TO_DATE('2009-02-05 23:31:21','YYYY-MM-DD HH24:MI:SS'),0,'Text templates for mailings',10,'D','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).
+So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.
+For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.','Y','Y','Y','N','N','N','N','N','Mail Template',TO_DATE('2009-02-05 23:31:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:23 PM ECT +-- Implement Yield and Units Cycle +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=56688 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:24 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,10556,56689,0,53025,TO_DATE('2009-02-05 23:31:23','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Transaction Execution Block',22,'D','A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.','Y','Y','Y','N','N','N','N','N','Workflow Block',TO_DATE('2009-02-05 23:31:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:24 PM ECT +-- Implement Yield and Units Cycle +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=56689 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:25 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56776,56690,0,53025,TO_DATE('2009-02-05 23:31:24','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Yield',TO_DATE('2009-02-05 23:31:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:25 PM ECT +-- Implement Yield and Units Cycle +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=56690 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56686 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56687 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56688 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56689 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56690 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53409 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53410 +; + +-- Feb 5, 2009 11:33:40 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:33:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56690 +; + +-- Feb 5, 2009 11:35:17 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56782,53241,0,22,53029,'OverlapUnits',TO_DATE('2009-02-05 23:35:16','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Overlap Units',0,TO_DATE('2009-02-05 23:35:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:35:17 PM ECT +-- Implement Yield and Units Cycle +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=56782 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:35:24 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Workflow ADD OverlapUnits NUMBER DEFAULT NULL +; + +-- Feb 5, 2009 11:36:07 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56783,53241,0,22,117,'OverlapUnits',TO_DATE('2009-02-05 23:36:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Overlap Units',0,TO_DATE('2009-02-05 23:36:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:36:07 PM ECT +-- Implement Yield and Units Cycle +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=56783 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:36:09 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_Workflow ADD OverlapUnits NUMBER DEFAULT NULL +; + +-- Feb 5, 2009 11:36:28 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56783,56691,0,53027,TO_DATE('2009-02-05 23:36:27','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Overlap Units',TO_DATE('2009-02-05 23:36:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:36:28 PM ECT +-- Implement Yield and Units Cycle +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=56691 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56684 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53452 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53453 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53454 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53455 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53456 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53457 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56685 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53458 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53459 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53460 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=56682 +; + +-- Feb 5, 2009 11:37:40 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:37:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:37:50 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:37:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56685 +; + +-- Feb 5, 2009 11:39:27 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53452 +; + +-- Feb 5, 2009 11:39:27 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:39:27 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:41:46 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56682 +; + +-- Feb 5, 2009 11:42:45 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56782,56692,0,53041,TO_DATE('2009-02-05 23:42:43','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Overlap Units',TO_DATE('2009-02-05 23:42:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:42:45 PM ECT +-- Implement Yield and Units Cycle +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=56692 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:42:46 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56780,56693,0,53041,TO_DATE('2009-02-05 23:42:45','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Units Cycles',TO_DATE('2009-02-05 23:42:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:42:46 PM ECT +-- Implement Yield and Units Cycle +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=56693 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:42:47 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56779,56694,0,53041,TO_DATE('2009-02-05 23:42:46','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Yield',TO_DATE('2009-02-05 23:42:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:42:47 PM ECT +-- Implement Yield and Units Cycle +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=56694 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:43:21 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:43:21 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53835 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53836 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53837 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53838 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53839 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56694 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53840 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53841 +; + +-- Feb 5, 2009 11:43:53 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:43:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:43:57 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:43:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56694 +; + +-- Feb 5, 2009 11:44:42 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:44:42 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:44:51 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2009-02-05 23:44:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:44:54 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:44:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:46:05 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_DATE('2009-02-05 23:46:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:46:43 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53699 +; + +-- Feb 5, 2009 11:46:43 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53698 +; + +-- Feb 5, 2009 11:46:59 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2009-02-05 23:46:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53699 +; + +-- Feb 5, 2009 11:47:01 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:47:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53698 +; + +-- Feb 5, 2009 11:47:06 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_DATE('2009-02-05 23:47:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53698 +; + +-- Feb 5, 2009 11:47:54 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:47:54 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:48:02 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2009-02-05 23:48:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:48:05 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:48:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:48:10 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_DATE('2009-02-05 23:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:48:23 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53403 +; + +-- Feb 5, 2009 11:48:23 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53402 +; + +-- Feb 5, 2009 11:48:33 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2009-02-05 23:48:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53403 +; + +-- Feb 5, 2009 11:48:36 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-05 23:48:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53402 +; + +-- Feb 5, 2009 11:49:37 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_DATE('2009-02-05 23:49:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53402 +; + +-- Feb 5, 2009 11:50:59 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56509 +; + +-- Feb 5, 2009 11:50:59 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field WHERE AD_Field_ID=56509 +; + +-- Feb 5, 2009 11:51:27 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=53851 +; + +-- Feb 5, 2009 11:51:27 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field WHERE AD_Field_ID=53851 +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=53740 +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Attachment WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Archive WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM K_Index WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Note WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column WHERE AD_Column_ID=53740 +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56527 +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Attachment WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Archive WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM K_Index WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Note WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column WHERE AD_Column_ID=56527 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units', Name='Units for Cycles', PrintName='Units for Cycles',Updated=TO_DATE('2009-02-06 00:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units', AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem pi SET PrintName='Units for Cycles', Name='Units for Cycles' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53239) +; + +-- Feb 6, 2009 12:23:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Help='When Units by Cycles is defined the duration time is the total time for units', Name='Units by Cycles', PrintName='Units by Cycles',Updated=TO_DATE('2009-02-06 00:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:23:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:23:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units', AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem pi SET PrintName='Units by Cycles', Name='Units by Cycles' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53239) +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units',Updated=TO_DATE('2009-02-06 00:32:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units', AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units' WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.',Updated=TO_DATE('2009-02-06 00:36:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53241 +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53241 +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='OverlapUnits', Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.' WHERE AD_Element_ID=53241 +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.', AD_Element_ID=53241 WHERE UPPER(ColumnName)='OVERLAPUNITS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.' WHERE AD_Element_ID=53241 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53241) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +',Updated=TO_DATE('2009-02-06 00:49:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='Yield', Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +', AD_Element_ID=53272 WHERE UPPER(ColumnName)='YIELD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53272) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Name='% Yield', PrintName='% Yield',Updated=TO_DATE('2009-02-06 00:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='Yield', Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +', AD_Element_ID=53272 WHERE UPPER(ColumnName)='YIELD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53272) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:59 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem pi SET PrintName='% Yield', Name='% Yield' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53272) +; + +-- Feb 6, 2009 12:50:22 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Name='Yield %', PrintName='Yield %',Updated=TO_DATE('2009-02-06 00:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:50:22 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:50:22 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='Yield', Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +', AD_Element_ID=53272 WHERE UPPER(ColumnName)='YIELD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53272) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem pi SET PrintName='Yield %', Name='Yield %' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53272) +; + +-- Feb 6, 2009 1:46:34 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_DATE('2009-02-06 01:46:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56777 +; + +-- Feb 6, 2009 1:46:38 AM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_Workflow MODIFY Yield NUMBER(10) DEFAULT 100 +; + +-- Feb 6, 2009 1:47:29 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_DATE('2009-02-06 01:47:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56776 +; + +-- Feb 6, 2009 1:47:31 AM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_WF_Node MODIFY Yield NUMBER(10) DEFAULT 100 +; + +-- Feb 6, 2009 1:48:04 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_DATE('2009-02-06 01:48:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56779 +; + +-- Feb 6, 2009 1:48:08 AM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Workflow MODIFY Yield NUMBER(10) DEFAULT 100 +; + +-- Feb 6, 2009 1:48:28 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_DATE('2009-02-06 01:48:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56781 +; + +-- Feb 6, 2009 1:48:31 AM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Node MODIFY Yield NUMBER(10) DEFAULT 100 +; + diff --git a/migration/353a-trunk/postgresql/414_001_BF2568616_Yield_UnitsByCycles.sql b/migration/353a-trunk/postgresql/414_001_BF2568616_Yield_UnitsByCycles.sql new file mode 100644 index 0000000000..69627a4df2 --- /dev/null +++ b/migration/353a-trunk/postgresql/414_001_BF2568616_Yield_UnitsByCycles.sql @@ -0,0 +1,1063 @@ +-- Feb 5, 2009 11:23:51 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56776,53272,0,11,129,'Yield',TO_TIMESTAMP('2009-02-05 23:23:48','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_TIMESTAMP('2009-02-05 23:23:48','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:23:51 PM ECT +-- Implement Yield and Units Cycle +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=56776 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:25:08 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56777,53272,0,11,117,'Yield',TO_TIMESTAMP('2009-02-05 23:25:06','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_TIMESTAMP('2009-02-05 23:25:06','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:25:08 PM ECT +-- Implement Yield and Units Cycle +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=56777 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:25:12 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_Workflow ADD COLUMN Yield NUMERIC(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:25:21 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_WF_Node ADD COLUMN Yield NUMERIC(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:26:14 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56778,53239,0,22,117,'UnitsCycles',TO_TIMESTAMP('2009-02-05 23:26:13','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Units Cycles',0,TO_TIMESTAMP('2009-02-05 23:26:13','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:26:14 PM ECT +-- Implement Yield and Units Cycle +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=56778 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:26:27 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_Workflow ADD COLUMN UnitsCycles NUMERIC DEFAULT NULL +; + +-- Feb 5, 2009 11:28:04 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56779,53272,0,11,53029,'Yield',TO_TIMESTAMP('2009-02-05 23:28:02','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_TIMESTAMP('2009-02-05 23:28:02','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:28:04 PM ECT +-- Implement Yield and Units Cycle +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=56779 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:28:07 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Workflow ADD COLUMN Yield NUMERIC(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:28:59 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56780,53239,0,22,53029,'UnitsCycles',TO_TIMESTAMP('2009-02-05 23:28:57','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Units Cycles',0,TO_TIMESTAMP('2009-02-05 23:28:57','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:28:59 PM ECT +-- Implement Yield and Units Cycle +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=56780 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:29:02 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Workflow ADD COLUMN UnitsCycles NUMERIC DEFAULT NULL +; + +-- Feb 5, 2009 11:29:59 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56781,53272,0,11,53022,'Yield',TO_TIMESTAMP('2009-02-05 23:29:58','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Yield',0,TO_TIMESTAMP('2009-02-05 23:29:58','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:29:59 PM ECT +-- Implement Yield and Units Cycle +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=56781 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:30:02 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Node ADD COLUMN Yield NUMERIC(10) DEFAULT NULL +; + +-- Feb 5, 2009 11:30:20 PM ECT +-- Implement Yield and Units Cycle +insert into t_alter_column values('pp_order_node','Yield','NUMERIC(10)',null,'NULL') +; + +-- Feb 5, 2009 11:30:51 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,56519,56682,0,53027,TO_TIMESTAMP('2009-02-05 23:30:49','YYYY-MM-DD HH24:MI:SS'),0,'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',TO_TIMESTAMP('2009-02-05 23:30:49','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:51 PM ECT +-- Implement Yield and Units Cycle +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=56682 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:30:52 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56778,56683,0,53027,TO_TIMESTAMP('2009-02-05 23:30:51','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Units Cycles',TO_TIMESTAMP('2009-02-05 23:30:51','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:52 PM ECT +-- Implement Yield and Units Cycle +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=56683 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:30:54 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,12938,56684,0,53027,TO_TIMESTAMP('2009-02-05 23:30:52','YYYY-MM-DD HH24:MI:SS'),0,'Element is valid',1,'D','The element passed the validation check','Y','Y','Y','N','N','N','N','N','Valid',TO_TIMESTAMP('2009-02-05 23:30:52','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:54 PM ECT +-- Implement Yield and Units Cycle +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=56684 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:30:55 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56777,56685,0,53027,TO_TIMESTAMP('2009-02-05 23:30:54','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Yield',TO_TIMESTAMP('2009-02-05 23:30:54','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:30:55 PM ECT +-- Implement Yield and Units Cycle +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=56685 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:18 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,14601,56686,0,53025,TO_TIMESTAMP('2009-02-05 23:31:15','YYYY-MM-DD HH24:MI:SS'),0,'Electronic Mail Address',60,'D','The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.','Y','Y','Y','N','N','N','N','N','EMail Address',TO_TIMESTAMP('2009-02-05 23:31:15','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:18 PM ECT +-- Implement Yield and Units Cycle +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=56686 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:21 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,14600,56687,0,53025,TO_TIMESTAMP('2009-02-05 23:31:18','YYYY-MM-DD HH24:MI:SS'),0,'Recipient of the EMail',1,'D','Y','Y','Y','N','N','N','N','N','EMail Recipient',TO_TIMESTAMP('2009-02-05 23:31:18','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:21 PM ECT +-- Implement Yield and Units Cycle +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=56687 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:23 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,14602,56688,0,53025,TO_TIMESTAMP('2009-02-05 23:31:21','YYYY-MM-DD HH24:MI:SS'),0,'Text templates for mailings',10,'D','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).
+So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.
+For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.','Y','Y','Y','N','N','N','N','N','Mail Template',TO_TIMESTAMP('2009-02-05 23:31:21','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:23 PM ECT +-- Implement Yield and Units Cycle +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=56688 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:24 PM ECT +-- Implement Yield and Units Cycle +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,Updated,UpdatedBy) VALUES (0,10556,56689,0,53025,TO_TIMESTAMP('2009-02-05 23:31:23','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Transaction Execution Block',22,'D','A workflow execution block is optional and allows all work to be performed in a single transaction. If one step (node activity) fails, the entire work is rolled back.','Y','Y','Y','N','N','N','N','N','Workflow Block',TO_TIMESTAMP('2009-02-05 23:31:23','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:24 PM ECT +-- Implement Yield and Units Cycle +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=56689 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:31:25 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56776,56690,0,53025,TO_TIMESTAMP('2009-02-05 23:31:24','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Yield',TO_TIMESTAMP('2009-02-05 23:31:24','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:31:25 PM ECT +-- Implement Yield and Units Cycle +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=56690 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56686 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56687 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56688 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56689 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56690 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53409 +; + +-- Feb 5, 2009 11:33:31 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53410 +; + +-- Feb 5, 2009 11:33:40 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:33:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56690 +; + +-- Feb 5, 2009 11:35:17 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56782,53241,0,22,53029,'OverlapUnits',TO_TIMESTAMP('2009-02-05 23:35:16','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Overlap Units',0,TO_TIMESTAMP('2009-02-05 23:35:16','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:35:17 PM ECT +-- Implement Yield and Units Cycle +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=56782 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:35:24 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE PP_Order_Workflow ADD COLUMN OverlapUnits NUMERIC DEFAULT NULL +; + +-- Feb 5, 2009 11:36:07 PM ECT +-- Implement Yield and Units Cycle +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,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56783,53241,0,22,117,'OverlapUnits',TO_TIMESTAMP('2009-02-05 23:36:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Overlap Units',0,TO_TIMESTAMP('2009-02-05 23:36:05','YYYY-MM-DD HH24:MI:SS'),0,0) +; + +-- Feb 5, 2009 11:36:07 PM ECT +-- Implement Yield and Units Cycle +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=56783 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Feb 5, 2009 11:36:09 PM ECT +-- Implement Yield and Units Cycle +ALTER TABLE AD_Workflow ADD COLUMN OverlapUnits NUMERIC DEFAULT NULL +; + +-- Feb 5, 2009 11:36:28 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56783,56691,0,53027,TO_TIMESTAMP('2009-02-05 23:36:27','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Overlap Units',TO_TIMESTAMP('2009-02-05 23:36:27','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:36:28 PM ECT +-- Implement Yield and Units Cycle +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=56691 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56684 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=53452 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=53453 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53454 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53455 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53456 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53457 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56685 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=53458 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53459 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53460 +; + +-- Feb 5, 2009 11:37:26 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=56682 +; + +-- Feb 5, 2009 11:37:40 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:37:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:37:50 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:37:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56685 +; + +-- Feb 5, 2009 11:39:27 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53452 +; + +-- Feb 5, 2009 11:39:27 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:39:27 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:41:46 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56682 +; + +-- Feb 5, 2009 11:42:45 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56782,56692,0,53041,TO_TIMESTAMP('2009-02-05 23:42:43','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Overlap Units',TO_TIMESTAMP('2009-02-05 23:42:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:42:45 PM ECT +-- Implement Yield and Units Cycle +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=56692 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:42:46 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56780,56693,0,53041,TO_TIMESTAMP('2009-02-05 23:42:45','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Units Cycles',TO_TIMESTAMP('2009-02-05 23:42:45','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:42:46 PM ECT +-- Implement Yield and Units Cycle +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=56693 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:42:47 PM ECT +-- Implement Yield and Units Cycle +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,56779,56694,0,53041,TO_TIMESTAMP('2009-02-05 23:42:46','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','N','Yield',TO_TIMESTAMP('2009-02-05 23:42:46','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Feb 5, 2009 11:42:47 PM ECT +-- Implement Yield and Units Cycle +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=56694 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Feb 5, 2009 11:43:21 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:43:21 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=53835 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=53836 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=53837 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=53838 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=53839 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56694 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=53840 +; + +-- Feb 5, 2009 11:43:22 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=53841 +; + +-- Feb 5, 2009 11:43:53 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:43:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:43:57 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:43:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56694 +; + +-- Feb 5, 2009 11:44:42 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:44:42 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:44:51 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2009-02-05 23:44:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56692 +; + +-- Feb 5, 2009 11:44:54 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:44:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:46:05 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_TIMESTAMP('2009-02-05 23:46:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56693 +; + +-- Feb 5, 2009 11:46:43 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=53699 +; + +-- Feb 5, 2009 11:46:43 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=53698 +; + +-- Feb 5, 2009 11:46:59 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2009-02-05 23:46:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53699 +; + +-- Feb 5, 2009 11:47:01 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:47:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53698 +; + +-- Feb 5, 2009 11:47:06 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_TIMESTAMP('2009-02-05 23:47:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53698 +; + +-- Feb 5, 2009 11:47:54 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:47:54 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:48:02 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2009-02-05 23:48:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56691 +; + +-- Feb 5, 2009 11:48:05 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:48:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:48:10 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_TIMESTAMP('2009-02-05 23:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=56683 +; + +-- Feb 5, 2009 11:48:23 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=53403 +; + +-- Feb 5, 2009 11:48:23 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=53402 +; + +-- Feb 5, 2009 11:48:33 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2009-02-05 23:48:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53403 +; + +-- Feb 5, 2009 11:48:36 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-05 23:48:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53402 +; + +-- Feb 5, 2009 11:49:37 PM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET DisplayLogic='@ProcessType@=''DR''',Updated=TO_TIMESTAMP('2009-02-05 23:49:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=53402 +; + +-- Feb 5, 2009 11:50:59 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=56509 +; + +-- Feb 5, 2009 11:50:59 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field WHERE AD_Field_ID=56509 +; + +-- Feb 5, 2009 11:51:27 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field_Trl WHERE AD_Field_ID=53851 +; + +-- Feb 5, 2009 11:51:27 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Field WHERE AD_Field_ID=53851 +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=53740 +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Attachment WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Archive WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM K_Index WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Note WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:51:58 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column WHERE AD_Column_ID=53740 +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56527 +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Attachment WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Archive WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM K_Index WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Note WHERE AD_Table_ID=? AND Record_ID=? +; + +-- Feb 5, 2009 11:52:44 PM ECT +-- Implement Yield and Units Cycle +DELETE FROM AD_Column WHERE AD_Column_ID=56527 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units', Name='Units for Cycles', PrintName='Units for Cycles',Updated=TO_TIMESTAMP('2009-02-06 00:21:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units', AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Units for Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When units for cycles is defined the duration time is the total time for units' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:21:00 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem SET PrintName='Units for Cycles', Name='Units for Cycles' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53239) +; + +-- Feb 6, 2009 12:23:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Help='When Units by Cycles is defined the duration time is the total time for units', Name='Units by Cycles', PrintName='Units by Cycles',Updated=TO_TIMESTAMP('2009-02-06 00:23:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:23:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:23:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units', AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units' WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Units by Cycles', Description='The Units for Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles is defined the duration time is the total time for units' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:23:10 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem SET PrintName='Units by Cycles', Name='Units by Cycles' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53239) +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units',Updated=TO_TIMESTAMP('2009-02-06 00:32:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units' WHERE AD_Element_ID=53239 +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units', AD_Element_ID=53239 WHERE UPPER(ColumnName)='UNITSCYCLES' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='UnitsCycles', Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units' WHERE AD_Element_ID=53239 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:32:48 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Units by Cycles', Description='The Units by Cycles are defined for process type Flow Repetitive Dedicated and indicated the product to be manufactured on a production line for duration unit.', Help='When Units by Cycles are defined the duration time is the total of time to manufactured the units' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53239) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.',Updated=TO_TIMESTAMP('2009-02-06 00:36:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53241 +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53241 +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='OverlapUnits', Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.' WHERE AD_Element_ID=53241 +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.', AD_Element_ID=53241 WHERE UPPER(ColumnName)='OVERLAPUNITS' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='OverlapUnits', Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.' WHERE AD_Element_ID=53241 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:36:09 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Overlap Units', Description='Overlap Units are number of units that must be completed before they are moved the next activity', Help='When there are two consecutive avtivity, you can sometimes save time by moving partial quantites from one activity to the next before the first activity as been completed.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53241) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +',Updated=TO_TIMESTAMP('2009-02-06 00:49:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='Yield', Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +', AD_Element_ID=53272 WHERE UPPER(ColumnName)='YIELD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:41 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53272) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Name='% Yield', PrintName='% Yield',Updated=TO_TIMESTAMP('2009-02-06 00:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='Yield', Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +', AD_Element_ID=53272 WHERE UPPER(ColumnName)='YIELD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:58 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='% Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53272) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:49:59 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem SET PrintName='% Yield', Name='% Yield' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53272) +; + +-- Feb 6, 2009 12:50:22 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element SET Name='Yield %', PrintName='Yield %',Updated=TO_TIMESTAMP('2009-02-06 00:50:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:50:22 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:50:22 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET ColumnName='Yield', Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +', AD_Element_ID=53272 WHERE UPPER(ColumnName)='YIELD' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Process_Para SET ColumnName='Yield', Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Element_ID=53272 AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Field SET Name='Yield %', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed. + +The expected yield for an Activity can be expressed as: + +Yield = Acceptable Units at Activity End x 100 + +The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity. + +Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc + +Take care when setting yield to anything but 100% particularly when yied is used for multiples activities + +' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53272) AND IsCentrallyMaintained='Y' +; + +-- Feb 6, 2009 12:50:23 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_PrintFormatItem SET PrintName='Yield %', Name='Yield %' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53272) +; + +-- Feb 6, 2009 1:46:34 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_TIMESTAMP('2009-02-06 01:46:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56777 +; + +-- Feb 6, 2009 1:46:38 AM ECT +-- Implement Yield and Units Cycle +insert into t_alter_column values('ad_workflow','Yield','NUMERIC(10)',null,'100') +; + +-- Feb 6, 2009 1:47:29 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_TIMESTAMP('2009-02-06 01:47:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56776 +; + +-- Feb 6, 2009 1:47:31 AM ECT +-- Implement Yield and Units Cycle +insert into t_alter_column values('ad_wf_node','Yield','NUMERIC(10)',null,'100') +; + +-- Feb 6, 2009 1:48:04 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_TIMESTAMP('2009-02-06 01:48:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56779 +; + +-- Feb 6, 2009 1:48:08 AM ECT +-- Implement Yield and Units Cycle +insert into t_alter_column values('pp_order_workflow','Yield','NUMERIC(10)',null,'100') +; + +-- Feb 6, 2009 1:48:28 AM ECT +-- Implement Yield and Units Cycle +UPDATE AD_Column SET DefaultValue='100',Updated=TO_TIMESTAMP('2009-02-06 01:48:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=56781 +; + +-- Feb 6, 2009 1:48:31 AM ECT +-- Implement Yield and Units Cycle +insert into t_alter_column values('pp_order_node','Yield','NUMERIC(10)',null,'100') +; +