FR [2711495] PP_Cost_Collector_ID in HR_Movement table
https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
This commit is contained in:
parent
f6e42519c8
commit
0e63cd09fd
|
@ -1,17 +1,14 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software;
|
||||
you can redistribute it and/or modify it *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY;
|
||||
without even the implied *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program;
|
||||
if not, write to the Free Software Foundation, Inc., *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
|
@ -45,6 +42,14 @@ public interface I_HR_Movement
|
|||
|
||||
/** 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_OrgTrx_ID */
|
||||
public static final String COLUMNNAME_AD_OrgTrx_ID = "AD_OrgTrx_ID";
|
||||
|
||||
|
@ -194,6 +199,22 @@ public interface I_HR_Movement
|
|||
/** Get Column Type */
|
||||
public String getColumnType();
|
||||
|
||||
/** 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";
|
||||
|
||||
|
@ -271,6 +292,19 @@ public interface I_HR_Movement
|
|||
|
||||
public org.eevolution.model.I_HR_Process getHR_Process() throws RuntimeException;
|
||||
|
||||
/** 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 IsPrinted */
|
||||
public static final String COLUMNNAME_IsPrinted = "IsPrinted";
|
||||
|
||||
|
@ -297,16 +331,16 @@ public interface I_HR_Movement
|
|||
*/
|
||||
public boolean isRegistered();
|
||||
|
||||
/** Column name PP_Order_Node_ID */
|
||||
public static final String COLUMNNAME_PP_Order_Node_ID = "PP_Order_Node_ID";
|
||||
/** Column name PP_Cost_Collector_ID */
|
||||
public static final String COLUMNNAME_PP_Cost_Collector_ID = "PP_Cost_Collector_ID";
|
||||
|
||||
/** Set Manufacturing Order Activity */
|
||||
public void setPP_Order_Node_ID (int PP_Order_Node_ID);
|
||||
/** Set Manufacturing Cost Collector */
|
||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID);
|
||||
|
||||
/** Get Manufacturing Order Activity */
|
||||
public int getPP_Order_Node_ID();
|
||||
/** Get Manufacturing Cost Collector */
|
||||
public int getPP_Cost_Collector_ID();
|
||||
|
||||
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException;
|
||||
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException;
|
||||
|
||||
/** Column name Processed */
|
||||
public static final String COLUMNNAME_Processed = "Processed";
|
||||
|
@ -360,6 +394,22 @@ public interface I_HR_Movement
|
|||
*/
|
||||
public String getTextMsg();
|
||||
|
||||
/** 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 User1_ID */
|
||||
public static final String COLUMNNAME_User1_ID = "User1_ID";
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
/******************************************************************************
|
||||
* Product: Adempiere ERP & CRM Smart Business Solution *
|
||||
* Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. *
|
||||
* This program is free software; you can redistribute it and/or modify it *
|
||||
* This program is free software, you can redistribute it and/or modify it *
|
||||
* under the terms version 2 of the GNU General Public License as published *
|
||||
* by the Free Software Foundation. This program is distributed in the hope *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
|
||||
* that it will be useful, but WITHOUT ANY WARRANTY, without even the implied *
|
||||
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
|
||||
* See the GNU General Public License for more details. *
|
||||
* You should have received a copy of the GNU General Public License along *
|
||||
* with this program; if not, write to the Free Software Foundation, Inc., *
|
||||
* with this program, if not, write to the Free Software Foundation, Inc., *
|
||||
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
|
||||
* For the text or an alternative of this public license, you may reach us *
|
||||
* ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
|
||||
|
@ -36,7 +36,7 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
|
|||
/**
|
||||
*
|
||||
*/
|
||||
private static final long serialVersionUID = 1L;
|
||||
private static final long serialVersionUID = 20081221L;
|
||||
|
||||
/** Standard Constructor */
|
||||
public X_HR_Movement (Properties ctx, int HR_Movement_ID, String trxName)
|
||||
|
@ -407,9 +407,6 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
|
|||
public void setColumnType (String ColumnType)
|
||||
{
|
||||
|
||||
if (ColumnType == null || ColumnType.equals("A") || ColumnType.equals("D") || ColumnType.equals("Q") || ColumnType.equals("T"));
|
||||
else throw new IllegalArgumentException ("ColumnType Invalid value - " + ColumnType + " - Reference_ID=53243 - A - D - Q - T");
|
||||
|
||||
set_Value (COLUMNNAME_ColumnType, ColumnType);
|
||||
}
|
||||
|
||||
|
@ -691,14 +688,14 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
|
|||
return false;
|
||||
}
|
||||
|
||||
public org.eevolution.model.I_PP_Order_Node getPP_Order_Node() throws RuntimeException
|
||||
public org.eevolution.model.I_PP_Cost_Collector getPP_Cost_Collector() throws RuntimeException
|
||||
{
|
||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Order_Node.Table_Name);
|
||||
org.eevolution.model.I_PP_Order_Node result = null;
|
||||
Class<?> clazz = MTable.getClass(org.eevolution.model.I_PP_Cost_Collector.Table_Name);
|
||||
org.eevolution.model.I_PP_Cost_Collector result = null;
|
||||
try {
|
||||
Constructor<?> constructor = null;
|
||||
constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class});
|
||||
result = (org.eevolution.model.I_PP_Order_Node)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Order_Node_ID()), get_TrxName()});
|
||||
result = (org.eevolution.model.I_PP_Cost_Collector)constructor.newInstance(new Object[] {getCtx(), new Integer(getPP_Cost_Collector_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);
|
||||
|
@ -707,21 +704,21 @@ public class X_HR_Movement extends PO implements I_HR_Movement, I_Persistent
|
|||
return result;
|
||||
}
|
||||
|
||||
/** Set Manufacturing Order Activity.
|
||||
@param PP_Order_Node_ID Manufacturing Order Activity */
|
||||
public void setPP_Order_Node_ID (int PP_Order_Node_ID)
|
||||
/** Set Manufacturing Cost Collector.
|
||||
@param PP_Cost_Collector_ID Manufacturing Cost Collector */
|
||||
public void setPP_Cost_Collector_ID (int PP_Cost_Collector_ID)
|
||||
{
|
||||
if (PP_Order_Node_ID < 1)
|
||||
set_Value (COLUMNNAME_PP_Order_Node_ID, null);
|
||||
if (PP_Cost_Collector_ID < 1)
|
||||
set_Value (COLUMNNAME_PP_Cost_Collector_ID, null);
|
||||
else
|
||||
set_Value (COLUMNNAME_PP_Order_Node_ID, Integer.valueOf(PP_Order_Node_ID));
|
||||
set_Value (COLUMNNAME_PP_Cost_Collector_ID, Integer.valueOf(PP_Cost_Collector_ID));
|
||||
}
|
||||
|
||||
/** Get Manufacturing Order Activity.
|
||||
@return Manufacturing Order Activity */
|
||||
public int getPP_Order_Node_ID ()
|
||||
/** Get Manufacturing Cost Collector.
|
||||
@return Manufacturing Cost Collector */
|
||||
public int getPP_Cost_Collector_ID ()
|
||||
{
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Order_Node_ID);
|
||||
Integer ii = (Integer)get_Value(COLUMNNAME_PP_Cost_Collector_ID);
|
||||
if (ii == null)
|
||||
return 0;
|
||||
return ii.intValue();
|
||||
|
|
|
@ -0,0 +1,189 @@
|
|||
-- 25.03.2009 16:56:40 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_Column (Created,CreatedBy,Updated,Version,IsActive,AD_Reference_ID,IsMandatory,IsIdentifier,SeqNo,IsAutocomplete,ColumnName,AD_Column_ID,IsParent,AD_Table_ID,FieldLength,IsKey,IsTranslated,AD_Client_ID,AD_Org_ID,AD_Element_ID,IsSelectionColumn,IsUpdateable,IsSyncDatabase,Name,EntityType,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,IsAllowLogging) VALUES (TO_DATE('2009-03-25 16:56:39','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2009-03-25 16:56:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',30,'N','N',0,'N','PP_Cost_Collector_ID',57008,'N',53102,10,'N','N',0,0,53310,'N','Y','N','Manufacturing Cost Collector','EE02',0,'N','N','Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:40 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
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=57008 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:41 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_Field (UpdatedBy,IsSameLine,IsHeading,CreatedBy,Updated,DisplayLength,IsFieldOnly,AD_Field_ID,AD_Tab_ID,AD_Column_ID,IsActive,Created,IsDisplayed,AD_Client_ID,AD_Org_ID,IsEncrypted,Name,IsReadOnly,IsCentrallyMaintained,EntityType) VALUES (0,'N','N',0,TO_DATE('2009-03-25 16:56:41','YYYY-MM-DD HH24:MI:SS'),10,'N',56827,53124,57008,'Y',TO_DATE('2009-03-25 16:56:41','YYYY-MM-DD HH24:MI:SS'),'N',0,0,'N','Manufacturing Cost Collector','N','Y','EE02')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:41 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
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=56827 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,0,0,'N','N',TO_DATE('2009-03-25 16:56:42','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500136,0,'N','N','L','Manufacturing Cost Collector','N',0,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_DATE('2009-03-25 16:56:42','YYYY-MM-DD HH24:MI:SS'),'N','Y',51072,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=51072 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 51072 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND trl.AD_PrintFormatItem_ID = 51072) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,1500001,0,'N','N',TO_DATE('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500184,0,'N','N','L','Manufacturing Cost Collector','N',1000011,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_DATE('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),'N','Y',1508873,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=1508873 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 1508873 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND trl.AD_PrintFormatItem_ID = 1508873) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,0,0,'N','N',TO_DATE('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500139,0,'N','N','L','Manufacturing Cost Collector','N',0,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_DATE('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),'N','Y',51073,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=51073 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 51073 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND trl.AD_PrintFormatItem_ID = 51073) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,0,0,'N','N',TO_DATE('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500141,0,'N','N','L','Manufacturing Cost Collector','N',1000011,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_DATE('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),'N','Y',1508874,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=1508874 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 1508874 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND trl.AD_PrintFormatItem_ID = 1508874) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,1500001,0,'N','N',TO_DATE('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500181,0,'N','N','L','Manufacturing Cost Collector','N',1000011,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_DATE('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),'N','Y',1508875,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=1508875 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 1508875 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND trl.AD_PrintFormatItem_ID = 1508875) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:46 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
ALTER TABLE HR_Movement ADD PP_Cost_Collector_ID NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:57:01 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2009-03-25 16:57:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=57008
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:57:02 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
ALTER TABLE HR_Movement MODIFY PP_Cost_Collector_ID NUMBER(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:57:37 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Column_Trl SET Name='Control activitate',IsTranslated='Y',Updated=TO_DATE('2009-03-25 16:57:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=57008 AND AD_Language='ro_RO'
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56827
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=55184
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=55185
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=55186
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56313
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56308
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56314
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56315
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56311
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56312
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56310
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56309
|
||||
;
|
||||
|
||||
ALTER TABLE HR_Movement ADD (CONSTRAINT PPCostCollector_HRMovement FOREIGN KEY (PP_Cost_Collector_ID) REFERENCES PP_Cost_Collector);
|
||||
|
||||
|
||||
-- 25.03.2009 18:11:04 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56185
|
||||
;
|
||||
|
||||
-- 25.03.2009 18:11:05 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=56185
|
||||
;
|
||||
|
||||
alter table "HR_MOVEMENT" drop column "PP_ORDER_NODE_ID";
|
|
@ -0,0 +1,188 @@
|
|||
-- 25.03.2009 16:56:40 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_Column (Created,CreatedBy,Updated,Version,IsActive,AD_Reference_ID,IsMandatory,IsIdentifier,SeqNo,IsAutocomplete,ColumnName,AD_Column_ID,IsParent,AD_Table_ID,FieldLength,IsKey,IsTranslated,AD_Client_ID,AD_Org_ID,AD_Element_ID,IsSelectionColumn,IsUpdateable,IsSyncDatabase,Name,EntityType,UpdatedBy,IsAlwaysUpdateable,IsEncrypted,IsAllowLogging) VALUES (TO_TIMESTAMP('2009-03-25 16:56:39','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2009-03-25 16:56:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',30,'N','N',0,'N','PP_Cost_Collector_ID',57008,'N',53102,10,'N','N',0,0,53310,'N','Y','N','Manufacturing Cost Collector','EE02',0,'N','N','Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:40 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
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=57008 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:41 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_Field (UpdatedBy,IsSameLine,IsHeading,CreatedBy,Updated,DisplayLength,IsFieldOnly,AD_Field_ID,AD_Tab_ID,AD_Column_ID,IsActive,Created,IsDisplayed,AD_Client_ID,AD_Org_ID,IsEncrypted,Name,IsReadOnly,IsCentrallyMaintained,EntityType) VALUES (0,'N','N',0,TO_TIMESTAMP('2009-03-25 16:56:41','YYYY-MM-DD HH24:MI:SS'),10,'N',56827,53124,57008,'Y',TO_TIMESTAMP('2009-03-25 16:56:41','YYYY-MM-DD HH24:MI:SS'),'N',0,0,'N','Manufacturing Cost Collector','N','Y','EE02')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:41 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
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=56827 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,0,0,'N','N',TO_TIMESTAMP('2009-03-25 16:56:42','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500136,0,'N','N','L','Manufacturing Cost Collector','N',0,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_TIMESTAMP('2009-03-25 16:56:42','YYYY-MM-DD HH24:MI:SS'),'N','Y',51072,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=51072 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 51072 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 51072) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,1500001,0,'N','N',TO_TIMESTAMP('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500184,0,'N','N','L','Manufacturing Cost Collector','N',1000011,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_TIMESTAMP('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),'N','Y',1508873,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=1508873 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:43 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 1508873 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 1508873) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,0,0,'N','N',TO_TIMESTAMP('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500139,0,'N','N','L','Manufacturing Cost Collector','N',0,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_TIMESTAMP('2009-03-25 16:56:43','YYYY-MM-DD HH24:MI:SS'),'N','Y',51073,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=51073 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 51073 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 51073) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,0,0,'N','N',TO_TIMESTAMP('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500141,0,'N','N','L','Manufacturing Cost Collector','N',1000011,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_TIMESTAMP('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),'N','Y',1508874,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=1508874 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 1508874 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 1508874) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem (IsPrinted,IsOrderBy,CreatedBy,AD_Org_ID,XPosition,IsGroupBy,IsHeightOneLine,Updated,SortNo,PrintFormatType,PrintAreaType,AD_PrintFormat_ID,MaxHeight,IsSuppressNull,IsNextPage,FieldAlignmentType,Name,ImageIsAttached,AD_Client_ID,XSpace,PrintName,IsCounted,IsAveraged,YSpace,IsSetNLPosition,IsPageBreak,IsFixedWidth,SeqNo,IsRelativePosition,YPosition,LineAlignmentType,AD_Column_ID,UpdatedBy,IsSummarized,MaxWidth,Created,IsNextLine,IsActive,AD_PrintFormatItem_ID,IsMinCalc,IsMaxCalc,IsRunningTotal,IsVarianceCalc,IsDeviationCalc,IsFilledRectangle,LineWidth,IsCentrallyMaintained,ArcDiameter,ShapeType,IsImageField) VALUES ('N','N',0,1500001,0,'N','N',TO_TIMESTAMP('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),0,'F','C',1500181,0,'N','N','L','Manufacturing Cost Collector','N',1000011,0,'Manufacturing Cost Collector','N','N',0,'N','N','N',0,'Y',0,'X',57008,0,'N',0,TO_TIMESTAMP('2009-03-25 16:56:44','YYYY-MM-DD HH24:MI:SS'),'N','Y',1508875,'N','N','N','N','N','N',1,'Y',0,'N','N')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
INSERT INTO AD_PrintFormatItem_Trl (AD_Language,AD_PrintFormatItem_ID, PrintName,PrintNameSuffix, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_PrintFormatItem_ID, t.PrintName,t.PrintNameSuffix, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_PrintFormatItem t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_PrintFormatItem_ID=1508875 AND EXISTS (SELECT * FROM AD_PrintFormatItem_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_PrintFormatItem_ID!=t.AD_PrintFormatItem_ID)
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:44 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_PrintFormatItem_Trl SET PrintName = (SELECT e.PrintName FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008) WHERE AD_PrintFormatItem_ID = 1508875 AND EXISTS (SELECT * FROM AD_Element_Trl e, AD_Column c WHERE e.AD_Language=AD_PrintFormatItem_Trl.AD_Language AND e.AD_Element_ID=c.AD_Element_ID AND c.AD_Column_ID=57008 AND AD_PrintFormatItem_Trl.AD_PrintFormatItem_ID = 1508875) AND EXISTS (SELECT * FROM AD_Client WHERE AD_Client_ID=AD_PrintFormatItem_Trl.AD_Client_ID AND IsMultiLingualDocument='Y')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:56:46 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
ALTER TABLE HR_Movement ADD COLUMN PP_Cost_Collector_ID NUMERIC(10) DEFAULT NULL
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:57:01 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2009-03-25 16:57:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=57008
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:57:02 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
insert into t_alter_column values('hr_movement','PP_Cost_Collector_ID','NUMERIC(10)',null,'NULL')
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:57:37 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Column_Trl SET Name='Control activitate',IsTranslated='Y',Updated=TO_TIMESTAMP('2009-03-25 16:57:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=57008 AND AD_Language='ro_RO'
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56827
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=55184
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=55185
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=55186
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56313
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56308
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56314
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56315
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56311
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56312
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56310
|
||||
;
|
||||
|
||||
-- 25.03.2009 16:58:16 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=56309
|
||||
;
|
||||
|
||||
ALTER TABLE HR_Movement ADD CONSTRAINT PPCostCollector_HRMovement FOREIGN KEY (PP_Cost_Collector_ID) REFERENCES PP_Cost_Collector;
|
||||
|
||||
-- 25.03.2009 18:11:04 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
DELETE FROM AD_Column_Trl WHERE AD_Column_ID=56185
|
||||
;
|
||||
|
||||
-- 25.03.2009 18:11:05 EET
|
||||
-- https://sourceforge.net/tracker/?func=detail&aid=2711495&group_id=176962&atid=934929
|
||||
DELETE FROM AD_Column WHERE AD_Column_ID=56185
|
||||
;
|
||||
|
||||
alter table HR_MOVEMENT drop column PP_ORDER_NODE_ID;
|
Loading…
Reference in New Issue