diff --git a/base/src/org/compiere/model/I_C_UOM.java b/base/src/org/compiere/model/I_C_UOM.java index 9477426206..63d3a0f875 100644 --- a/base/src/org/compiere/model/I_C_UOM.java +++ b/base/src/org/compiere/model/I_C_UOM.java @@ -62,19 +62,6 @@ public interface I_C_UOM */ public int getAD_Org_ID(); - /** Column name C_UOM_ID */ - public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; - - /** Set UOM. - * Unit of Measure - */ - public void setC_UOM_ID (int C_UOM_ID); - - /** Get UOM. - * Unit of Measure - */ - public int getC_UOM_ID(); - /** Column name CostingPrecision */ public static final String COLUMNNAME_CostingPrecision = "CostingPrecision"; @@ -104,6 +91,19 @@ public interface I_C_UOM */ public int getCreatedBy(); + /** Column name C_UOM_ID */ + public static final String COLUMNNAME_C_UOM_ID = "C_UOM_ID"; + + /** Set UOM. + * Unit of Measure + */ + public void setC_UOM_ID (int C_UOM_ID); + + /** Get UOM. + * Unit of Measure + */ + public int getC_UOM_ID(); + /** Column name Description */ public static final String COLUMNNAME_Description = "Description"; @@ -182,6 +182,15 @@ public interface I_C_UOM */ public String getUOMSymbol(); + /** Column name UOMType */ + public static final String COLUMNNAME_UOMType = "UOMType"; + + /** Set UOM Type */ + public void setUOMType (String UOMType); + + /** Get UOM Type */ + public String getUOMType(); + /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; diff --git a/base/src/org/compiere/model/X_C_UOM.java b/base/src/org/compiere/model/X_C_UOM.java index 7164828af3..6fb474e18e 100644 --- a/base/src/org/compiere/model/X_C_UOM.java +++ b/base/src/org/compiere/model/X_C_UOM.java @@ -38,8 +38,8 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent super (ctx, C_UOM_ID, trxName); /** if (C_UOM_ID == 0) { - setC_UOM_ID (0); setCostingPrecision (0); + setC_UOM_ID (0); setIsDefault (false); setName (null); setStdPrecision (0); @@ -75,6 +75,26 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent return sb.toString(); } + /** Set Costing Precision. + @param CostingPrecision + Rounding used costing calculations + */ + public void setCostingPrecision (int CostingPrecision) + { + set_Value (COLUMNNAME_CostingPrecision, Integer.valueOf(CostingPrecision)); + } + + /** Get Costing Precision. + @return Rounding used costing calculations + */ + public int getCostingPrecision () + { + Integer ii = (Integer)get_Value(COLUMNNAME_CostingPrecision); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set UOM. @param C_UOM_ID Unit of Measure @@ -98,26 +118,6 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent return ii.intValue(); } - /** Set Costing Precision. - @param CostingPrecision - Rounding used costing calculations - */ - public void setCostingPrecision (int CostingPrecision) - { - set_Value (COLUMNNAME_CostingPrecision, Integer.valueOf(CostingPrecision)); - } - - /** Get Costing Precision. - @return Rounding used costing calculations - */ - public int getCostingPrecision () - { - Integer ii = (Integer)get_Value(COLUMNNAME_CostingPrecision); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Description. @param Description Optional short description of the record @@ -221,6 +221,65 @@ public class X_C_UOM extends PO implements I_C_UOM, I_Persistent return (String)get_Value(COLUMNNAME_UOMSymbol); } + /** UOMType AD_Reference_ID=53323 */ + public static final int UOMTYPE_AD_Reference_ID=53323; + /** Angle = AN */ + public static final String UOMTYPE_Angle = "AN"; + /** Area = AR */ + public static final String UOMTYPE_Area = "AR"; + /** Data Storage = DS */ + public static final String UOMTYPE_DataStorage = "DS"; + /** Density = DE */ + public static final String UOMTYPE_Density = "DE"; + /** Energy = EN */ + public static final String UOMTYPE_Energy = "EN"; + /** Force = FO */ + public static final String UOMTYPE_Force = "FO"; + /** Kitchen Measures = KI */ + public static final String UOMTYPE_KitchenMeasures = "KI"; + /** Length = LE */ + public static final String UOMTYPE_Length = "LE"; + /** Power = PO */ + public static final String UOMTYPE_Power = "PO"; + /** Pressure = PR */ + public static final String UOMTYPE_Pressure = "PR"; + /** Temperature = TE */ + public static final String UOMTYPE_Temperature = "TE"; + /** Time = TM */ + public static final String UOMTYPE_Time = "TM"; + /** Torque = TO */ + public static final String UOMTYPE_Torque = "TO"; + /** Velocity = VE */ + public static final String UOMTYPE_Velocity = "VE"; + /** Volume Liquid = VL */ + public static final String UOMTYPE_VolumeLiquid = "VL"; + /** Volume Dry = VD */ + public static final String UOMTYPE_VolumeDry = "VD"; + /** Weigth = WE */ + public static final String UOMTYPE_Weigth = "WE"; + /** Currency = CU */ + public static final String UOMTYPE_Currency = "CU"; + /** Data Speed = DV */ + public static final String UOMTYPE_DataSpeed = "DV"; + /** Frequency = FR */ + public static final String UOMTYPE_Frequency = "FR"; + /** Other = OT */ + public static final String UOMTYPE_Other = "OT"; + /** Set UOM Type. + @param UOMType UOM Type */ + public void setUOMType (String UOMType) + { + + set_Value (COLUMNNAME_UOMType, UOMType); + } + + /** Get UOM Type. + @return UOM Type */ + public String getUOMType () + { + return (String)get_Value(COLUMNNAME_UOMType); + } + /** Set UOM Code. @param X12DE355 UOM EDI X12 Code diff --git a/migration/353a-trunk/oracle/570_FR2857707UOMType.sql b/migration/353a-trunk/oracle/570_FR2857707UOMType.sql new file mode 100644 index 0000000000..0389756523 --- /dev/null +++ b/migration/353a-trunk/oracle/570_FR2857707UOMType.sql @@ -0,0 +1,237 @@ +-- Sep 12, 2009 2:56:44 PM COT +-- FR2857707-Add table UOM types +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53927,0,'UOMType',TO_DATE('2009-09-12 14:56:43','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','UOM Type','UOM Type',TO_DATE('2009-09-12 14:56:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 12, 2009 2:56:44 PM COT +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53927 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 12, 2009 3:00:01 PM COT +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53323,TO_DATE('2009-09-12 15:00:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','UOM Type',TO_DATE('2009-09-12 15:00:00','YYYY-MM-DD HH24:MI:SS'),100,'L') +; + +-- Sep 12, 2009 3:00:01 PM COT +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53323 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Sep 12, 2009 3:00:36 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53514,TO_DATE('2009-09-12 15:00:35','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Angle',TO_DATE('2009-09-12 15:00:35','YYYY-MM-DD HH24:MI:SS'),100,'AN') +; + +-- Sep 12, 2009 3:00:36 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53514 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:00:44 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53515,TO_DATE('2009-09-12 15:00:43','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Area',TO_DATE('2009-09-12 15:00:43','YYYY-MM-DD HH24:MI:SS'),100,'AR') +; + +-- Sep 12, 2009 3:00:44 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53515 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:01:31 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53516,TO_DATE('2009-09-12 15:01:27','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Data Storage',TO_DATE('2009-09-12 15:01:27','YYYY-MM-DD HH24:MI:SS'),100,'DS') +; + +-- Sep 12, 2009 3:01:31 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53516 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:01:43 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53517,TO_DATE('2009-09-12 15:01:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Density',TO_DATE('2009-09-12 15:01:41','YYYY-MM-DD HH24:MI:SS'),100,'DE') +; + +-- Sep 12, 2009 3:01:43 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53517 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:01:58 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53518,TO_DATE('2009-09-12 15:01:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Energy',TO_DATE('2009-09-12 15:01:50','YYYY-MM-DD HH24:MI:SS'),100,'EN') +; + +-- Sep 12, 2009 3:01:58 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53518 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:08 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53519,TO_DATE('2009-09-12 15:02:03','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Force',TO_DATE('2009-09-12 15:02:03','YYYY-MM-DD HH24:MI:SS'),100,'FO') +; + +-- Sep 12, 2009 3:02:08 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53519 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:20 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53520,TO_DATE('2009-09-12 15:02:14','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Kitchen Measures',TO_DATE('2009-09-12 15:02:14','YYYY-MM-DD HH24:MI:SS'),100,'KI') +; + +-- Sep 12, 2009 3:02:20 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53520 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:33 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53521,TO_DATE('2009-09-12 15:02:24','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Length',TO_DATE('2009-09-12 15:02:24','YYYY-MM-DD HH24:MI:SS'),100,'LE') +; + +-- Sep 12, 2009 3:02:33 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53521 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:43 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53522,TO_DATE('2009-09-12 15:02:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Power',TO_DATE('2009-09-12 15:02:37','YYYY-MM-DD HH24:MI:SS'),100,'PO') +; + +-- Sep 12, 2009 3:02:43 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53522 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:51 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53523,TO_DATE('2009-09-12 15:02:51','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Pressure',TO_DATE('2009-09-12 15:02:51','YYYY-MM-DD HH24:MI:SS'),100,'PR') +; + +-- Sep 12, 2009 3:02:51 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53523 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:59 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53524,TO_DATE('2009-09-12 15:02:58','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Temperature',TO_DATE('2009-09-12 15:02:58','YYYY-MM-DD HH24:MI:SS'),100,'TE') +; + +-- Sep 12, 2009 3:02:59 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53524 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:05 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53525,TO_DATE('2009-09-12 15:03:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Time',TO_DATE('2009-09-12 15:03:05','YYYY-MM-DD HH24:MI:SS'),100,'TM') +; + +-- Sep 12, 2009 3:03:05 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53525 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:12 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53526,TO_DATE('2009-09-12 15:03:11','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Torque',TO_DATE('2009-09-12 15:03:11','YYYY-MM-DD HH24:MI:SS'),100,'TO') +; + +-- Sep 12, 2009 3:03:13 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53526 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:18 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53527,TO_DATE('2009-09-12 15:03:17','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Velocity',TO_DATE('2009-09-12 15:03:17','YYYY-MM-DD HH24:MI:SS'),100,'VE') +; + +-- Sep 12, 2009 3:03:18 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53527 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:25 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53528,TO_DATE('2009-09-12 15:03:24','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Volume Liquid',TO_DATE('2009-09-12 15:03:24','YYYY-MM-DD HH24:MI:SS'),100,'VL') +; + +-- Sep 12, 2009 3:03:25 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53528 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:31 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53529,TO_DATE('2009-09-12 15:03:31','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Volume Dry',TO_DATE('2009-09-12 15:03:31','YYYY-MM-DD HH24:MI:SS'),100,'VD') +; + +-- Sep 12, 2009 3:03:32 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53529 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:42 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53530,TO_DATE('2009-09-12 15:03:42','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Weigth',TO_DATE('2009-09-12 15:03:42','YYYY-MM-DD HH24:MI:SS'),100,'WE') +; + +-- Sep 12, 2009 3:03:42 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53530 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:47 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53531,TO_DATE('2009-09-12 15:03:46','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Currency',TO_DATE('2009-09-12 15:03:46','YYYY-MM-DD HH24:MI:SS'),100,'CU') +; + +-- Sep 12, 2009 3:03:47 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53531 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:04:03 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53532,TO_DATE('2009-09-12 15:04:02','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Data Speed',TO_DATE('2009-09-12 15:04:02','YYYY-MM-DD HH24:MI:SS'),100,'DV') +; + +-- Sep 12, 2009 3:04:03 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53532 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:04:08 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53533,TO_DATE('2009-09-12 15:04:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Frequency',TO_DATE('2009-09-12 15:04:08','YYYY-MM-DD HH24:MI:SS'),100,'FR') +; + +-- Sep 12, 2009 3:04:08 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53533 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:04:16 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53534,TO_DATE('2009-09-12 15:04:16','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Other',TO_DATE('2009-09-12 15:04:16','YYYY-MM-DD HH24:MI:SS'),100,'OT') +; + +-- Sep 12, 2009 3:04:16 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53534 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:05:06 PM COT +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_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,58382,53927,0,17,53323,146,'UOMType',TO_DATE('2009-09-12 15:05:06','YYYY-MM-DD HH24:MI:SS'),100,'D',2,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','UOM Type',0,TO_DATE('2009-09-12 15:05:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 12, 2009 3:05:06 PM COT +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=58382 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 12, 2009 3:05:15 PM COT +ALTER TABLE C_UOM ADD UOMType NVARCHAR2(2) DEFAULT NULL +; + +-- Sep 12, 2009 3:06:29 PM COT +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,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58382,58028,0,133,TO_DATE('2009-09-12 15:06:28','YYYY-MM-DD HH24:MI:SS'),100,2,'D','Y','Y','Y','N','N','N','N','N','UOM Type',120,0,TO_DATE('2009-09-12 15:06:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 12, 2009 3:06:29 PM COT +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=58028 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=449 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=450 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=2015 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=451 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=452 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=453 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=454 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=58028 +; + diff --git a/migration/353a-trunk/postgresql/570_FR2857707UOMType.sql b/migration/353a-trunk/postgresql/570_FR2857707UOMType.sql new file mode 100644 index 0000000000..994ff06e11 --- /dev/null +++ b/migration/353a-trunk/postgresql/570_FR2857707UOMType.sql @@ -0,0 +1,237 @@ +-- Sep 12, 2009 2:56:44 PM COT +-- FR2857707-Add table UOM types +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53927,0,'UOMType',TO_TIMESTAMP('2009-09-12 14:56:43','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','UOM Type','UOM Type',TO_TIMESTAMP('2009-09-12 14:56:43','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 12, 2009 2:56:44 PM COT +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=53927 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- Sep 12, 2009 3:00:01 PM COT +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53323,TO_TIMESTAMP('2009-09-12 15:00:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','UOM Type',TO_TIMESTAMP('2009-09-12 15:00:00','YYYY-MM-DD HH24:MI:SS'),100,'L') +; + +-- Sep 12, 2009 3:00:01 PM COT +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53323 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- Sep 12, 2009 3:00:36 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53514,TO_TIMESTAMP('2009-09-12 15:00:35','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Angle',TO_TIMESTAMP('2009-09-12 15:00:35','YYYY-MM-DD HH24:MI:SS'),100,'AN') +; + +-- Sep 12, 2009 3:00:36 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53514 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:00:44 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53515,TO_TIMESTAMP('2009-09-12 15:00:43','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Area',TO_TIMESTAMP('2009-09-12 15:00:43','YYYY-MM-DD HH24:MI:SS'),100,'AR') +; + +-- Sep 12, 2009 3:00:44 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53515 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:01:31 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53516,TO_TIMESTAMP('2009-09-12 15:01:27','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Data Storage',TO_TIMESTAMP('2009-09-12 15:01:27','YYYY-MM-DD HH24:MI:SS'),100,'DS') +; + +-- Sep 12, 2009 3:01:31 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53516 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:01:43 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53517,TO_TIMESTAMP('2009-09-12 15:01:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Density',TO_TIMESTAMP('2009-09-12 15:01:41','YYYY-MM-DD HH24:MI:SS'),100,'DE') +; + +-- Sep 12, 2009 3:01:43 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53517 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:01:58 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53518,TO_TIMESTAMP('2009-09-12 15:01:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Energy',TO_TIMESTAMP('2009-09-12 15:01:50','YYYY-MM-DD HH24:MI:SS'),100,'EN') +; + +-- Sep 12, 2009 3:01:58 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53518 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:08 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53519,TO_TIMESTAMP('2009-09-12 15:02:03','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Force',TO_TIMESTAMP('2009-09-12 15:02:03','YYYY-MM-DD HH24:MI:SS'),100,'FO') +; + +-- Sep 12, 2009 3:02:08 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53519 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:20 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53520,TO_TIMESTAMP('2009-09-12 15:02:14','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Kitchen Measures',TO_TIMESTAMP('2009-09-12 15:02:14','YYYY-MM-DD HH24:MI:SS'),100,'KI') +; + +-- Sep 12, 2009 3:02:20 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53520 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:33 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53521,TO_TIMESTAMP('2009-09-12 15:02:24','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Length',TO_TIMESTAMP('2009-09-12 15:02:24','YYYY-MM-DD HH24:MI:SS'),100,'LE') +; + +-- Sep 12, 2009 3:02:33 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53521 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:43 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53522,TO_TIMESTAMP('2009-09-12 15:02:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Power',TO_TIMESTAMP('2009-09-12 15:02:37','YYYY-MM-DD HH24:MI:SS'),100,'PO') +; + +-- Sep 12, 2009 3:02:43 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53522 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:51 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53523,TO_TIMESTAMP('2009-09-12 15:02:51','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Pressure',TO_TIMESTAMP('2009-09-12 15:02:51','YYYY-MM-DD HH24:MI:SS'),100,'PR') +; + +-- Sep 12, 2009 3:02:51 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53523 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:02:59 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53524,TO_TIMESTAMP('2009-09-12 15:02:58','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Temperature',TO_TIMESTAMP('2009-09-12 15:02:58','YYYY-MM-DD HH24:MI:SS'),100,'TE') +; + +-- Sep 12, 2009 3:02:59 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53524 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:05 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53525,TO_TIMESTAMP('2009-09-12 15:03:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Time',TO_TIMESTAMP('2009-09-12 15:03:05','YYYY-MM-DD HH24:MI:SS'),100,'TM') +; + +-- Sep 12, 2009 3:03:05 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53525 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:12 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53526,TO_TIMESTAMP('2009-09-12 15:03:11','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Torque',TO_TIMESTAMP('2009-09-12 15:03:11','YYYY-MM-DD HH24:MI:SS'),100,'TO') +; + +-- Sep 12, 2009 3:03:13 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53526 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:18 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53527,TO_TIMESTAMP('2009-09-12 15:03:17','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Velocity',TO_TIMESTAMP('2009-09-12 15:03:17','YYYY-MM-DD HH24:MI:SS'),100,'VE') +; + +-- Sep 12, 2009 3:03:18 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53527 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:25 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53528,TO_TIMESTAMP('2009-09-12 15:03:24','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Volume Liquid',TO_TIMESTAMP('2009-09-12 15:03:24','YYYY-MM-DD HH24:MI:SS'),100,'VL') +; + +-- Sep 12, 2009 3:03:25 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53528 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:31 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53529,TO_TIMESTAMP('2009-09-12 15:03:31','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Volume Dry',TO_TIMESTAMP('2009-09-12 15:03:31','YYYY-MM-DD HH24:MI:SS'),100,'VD') +; + +-- Sep 12, 2009 3:03:32 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53529 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:42 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53530,TO_TIMESTAMP('2009-09-12 15:03:42','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Weigth',TO_TIMESTAMP('2009-09-12 15:03:42','YYYY-MM-DD HH24:MI:SS'),100,'WE') +; + +-- Sep 12, 2009 3:03:42 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53530 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:03:47 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53531,TO_TIMESTAMP('2009-09-12 15:03:46','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Currency',TO_TIMESTAMP('2009-09-12 15:03:46','YYYY-MM-DD HH24:MI:SS'),100,'CU') +; + +-- Sep 12, 2009 3:03:47 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53531 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:04:03 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53532,TO_TIMESTAMP('2009-09-12 15:04:02','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Data Speed',TO_TIMESTAMP('2009-09-12 15:04:02','YYYY-MM-DD HH24:MI:SS'),100,'DV') +; + +-- Sep 12, 2009 3:04:03 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53532 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:04:08 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53533,TO_TIMESTAMP('2009-09-12 15:04:08','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Frequency',TO_TIMESTAMP('2009-09-12 15:04:08','YYYY-MM-DD HH24:MI:SS'),100,'FR') +; + +-- Sep 12, 2009 3:04:08 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53533 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:04:16 PM COT +INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53323,53534,TO_TIMESTAMP('2009-09-12 15:04:16','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Other',TO_TIMESTAMP('2009-09-12 15:04:16','YYYY-MM-DD HH24:MI:SS'),100,'OT') +; + +-- Sep 12, 2009 3:04:16 PM COT +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53534 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID) +; + +-- Sep 12, 2009 3:05:06 PM COT +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_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,58382,53927,0,17,53323,146,'UOMType',TO_TIMESTAMP('2009-09-12 15:05:06','YYYY-MM-DD HH24:MI:SS'),100,'D',2,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','UOM Type',0,TO_TIMESTAMP('2009-09-12 15:05:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Sep 12, 2009 3:05:06 PM COT +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=58382 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- Sep 12, 2009 3:05:15 PM COT +ALTER TABLE C_UOM ADD COLUMN UOMType VARCHAR(2) DEFAULT NULL +; + +-- Sep 12, 2009 3:06:29 PM COT +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,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58382,58028,0,133,TO_TIMESTAMP('2009-09-12 15:06:28','YYYY-MM-DD HH24:MI:SS'),100,2,'D','Y','Y','Y','N','N','N','N','N','UOM Type',120,0,TO_TIMESTAMP('2009-09-12 15:06:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Sep 12, 2009 3:06:29 PM COT +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=58028 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=449 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=450 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=2015 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=451 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=452 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=453 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=454 +; + +-- Sep 12, 2009 3:07:20 PM COT +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=58028 +; +