Implement [2851987] - Add company logo

https://sourceforge.net/tracker/?func=detail&aid=2851987&group_id=176962&atid=879335
Added C_BPartner.Logo_ID, AD_OrgInfo.Logo_ID, AD_ClientInfo.Logo_ID, AD_ClientInfo.Logo_ID (working), AD_ClientInfo.LogoWeb_ID (still not implemented functionality)
This commit is contained in:
Carlos Ruiz 2009-09-05 01:25:41 +00:00
parent 72253eedd4
commit 2a85a1acdc
10 changed files with 488 additions and 6 deletions

View File

@ -314,6 +314,33 @@ public interface I_AD_ClientInfo
*/
public int getKeepLogDays();
/** Column name Logo_ID */
public static final String COLUMNNAME_Logo_ID = "Logo_ID";
/** Set Logo */
public void setLogo_ID (int Logo_ID);
/** Get Logo */
public int getLogo_ID();
/** Column name LogoReport_ID */
public static final String COLUMNNAME_LogoReport_ID = "LogoReport_ID";
/** Set Logo Report */
public void setLogoReport_ID (int LogoReport_ID);
/** Get Logo Report */
public int getLogoReport_ID();
/** Column name LogoWeb_ID */
public static final String COLUMNNAME_LogoWeb_ID = "LogoWeb_ID";
/** Set Logo Web */
public void setLogoWeb_ID (int LogoWeb_ID);
/** Get Logo Web */
public int getLogoWeb_ID();
/** Column name M_ProductFreight_ID */
public static final String COLUMNNAME_M_ProductFreight_ID = "M_ProductFreight_ID";

View File

@ -66,12 +66,12 @@ public interface I_AD_OrgInfo
public static final String COLUMNNAME_AD_OrgType_ID = "AD_OrgType_ID";
/** Set Organization Type.
* Organization Type allows you to categorize your organizations
* Organization Type
*/
public void setAD_OrgType_ID (int AD_OrgType_ID);
/** Get Organization Type.
* Organization Type allows you to categorize your organizations
* Organization Type
*/
public int getAD_OrgType_ID();
@ -160,6 +160,15 @@ public interface I_AD_OrgInfo
*/
public boolean isActive();
/** Column name Logo_ID */
public static final String COLUMNNAME_Logo_ID = "Logo_ID";
/** Set Logo */
public void setLogo_ID (int Logo_ID);
/** Get Logo */
public int getLogo_ID();
/** Column name M_Warehouse_ID */
public static final String COLUMNNAME_M_Warehouse_ID = "M_Warehouse_ID";

View File

@ -507,6 +507,15 @@ public interface I_C_BPartner
*/
public boolean isVendor();
/** Column name Logo_ID */
public static final String COLUMNNAME_Logo_ID = "Logo_ID";
/** Set Logo */
public void setLogo_ID (int Logo_ID);
/** Get Logo */
public int getLogo_ID();
/** Column name M_DiscountSchema_ID */
public static final String COLUMNNAME_M_DiscountSchema_ID = "M_DiscountSchema_ID";

View File

@ -476,6 +476,66 @@ public class X_AD_ClientInfo extends PO implements I_AD_ClientInfo, I_Persistent
return ii.intValue();
}
/** Set Logo.
@param Logo_ID Logo */
public void setLogo_ID (int Logo_ID)
{
if (Logo_ID < 1)
set_Value (COLUMNNAME_Logo_ID, null);
else
set_Value (COLUMNNAME_Logo_ID, Integer.valueOf(Logo_ID));
}
/** Get Logo.
@return Logo */
public int getLogo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Logo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Logo Report.
@param LogoReport_ID Logo Report */
public void setLogoReport_ID (int LogoReport_ID)
{
if (LogoReport_ID < 1)
set_Value (COLUMNNAME_LogoReport_ID, null);
else
set_Value (COLUMNNAME_LogoReport_ID, Integer.valueOf(LogoReport_ID));
}
/** Get Logo Report.
@return Logo Report */
public int getLogoReport_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_LogoReport_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Logo Web.
@param LogoWeb_ID Logo Web */
public void setLogoWeb_ID (int LogoWeb_ID)
{
if (LogoWeb_ID < 1)
set_Value (COLUMNNAME_LogoWeb_ID, null);
else
set_Value (COLUMNNAME_LogoWeb_ID, Integer.valueOf(LogoWeb_ID));
}
/** Get Logo Web.
@return Logo Web */
public int getLogoWeb_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_LogoWeb_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Product for Freight.
@param M_ProductFreight_ID Product for Freight */
public void setM_ProductFreight_ID (int M_ProductFreight_ID)

View File

@ -92,7 +92,7 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent
/** Set Organization Type.
@param AD_OrgType_ID
Organization Type allows you to categorize your organizations
Organization Type
*/
public void setAD_OrgType_ID (int AD_OrgType_ID)
{
@ -103,7 +103,7 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent
}
/** Get Organization Type.
@return Organization Type allows you to categorize your organizations
@return Organization Type
*/
public int getAD_OrgType_ID ()
{
@ -215,6 +215,26 @@ public class X_AD_OrgInfo extends PO implements I_AD_OrgInfo, I_Persistent
return (String)get_Value(COLUMNNAME_DUNS);
}
/** Set Logo.
@param Logo_ID Logo */
public void setLogo_ID (int Logo_ID)
{
if (Logo_ID < 1)
set_Value (COLUMNNAME_Logo_ID, null);
else
set_Value (COLUMNNAME_Logo_ID, Integer.valueOf(Logo_ID));
}
/** Get Logo.
@return Logo */
public int getLogo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Logo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
public I_M_Warehouse getM_Warehouse() throws RuntimeException
{
Class<?> clazz = MTable.getClass(I_M_Warehouse.Table_Name);

View File

@ -897,6 +897,26 @@ public class X_C_BPartner extends PO implements I_C_BPartner, I_Persistent
return false;
}
/** Set Logo.
@param Logo_ID Logo */
public void setLogo_ID (int Logo_ID)
{
if (Logo_ID < 1)
set_Value (COLUMNNAME_Logo_ID, null);
else
set_Value (COLUMNNAME_Logo_ID, Integer.valueOf(Logo_ID));
}
/** Get Logo.
@return Logo */
public int getLogo_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_Logo_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Discount Schema.
@param M_DiscountSchema_ID
Schema to calculate the trade discount percentage

View File

@ -183,7 +183,7 @@ public class ImageElement extends PrintElement
* @param record_ID_ID record id from printformat or column
* @param isAttachment flag to indicate if is attachment or is a column from DB
*/
private ImageElement(int record_ID, boolean isAttachment)
public ImageElement(int record_ID, boolean isAttachment)
{
if (isAttachment)
loadAttachment(record_ID);

View File

@ -46,6 +46,7 @@ import javax.print.DocFlavor;
import javax.print.attribute.DocAttributeSet;
import org.compiere.Adempiere;
import org.compiere.model.MClientInfo;
import org.compiere.model.MQuery;
import org.compiere.model.MTable;
import org.compiere.model.PrintInfo;
@ -925,7 +926,13 @@ public class LayoutEngine implements Pageable, Printable, Doc
*/
private void createStandardHeaderFooter()
{
PrintElement element = new ImageElement(org.compiere.Adempiere.getImageLogoSmall(true)); // 48x15
MClientInfo ci = MClientInfo.get(Env.getCtx());
PrintElement element = null;
if (ci.getLogoReport_ID() > 0) {
element = new ImageElement(ci.getLogoReport_ID(), false);
} else {
element = new ImageElement(org.compiere.Adempiere.getImageLogoSmall(true)); // 48x15
}
// element = new ImageElement(org.compiere.Adempiere.getImageLogo()); // 100x30
element.layout(48, 15, false, MPrintFormatItem.FIELDALIGNMENTTYPE_LeadingLeft);
element.setLocation(m_header.getLocation());

View File

@ -0,0 +1,165 @@
-- Sep 4, 2009 6:51:08 PM COT
-- FR-2851987-Add company logo
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53909,0,'Logo_ID',TO_DATE('2009-09-04 18:51:07','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Logo','Logo',TO_DATE('2009-09-04 18:51:07','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 6:51:08 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=53909 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 4, 2009 6:51:47 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58111,53909,0,32,227,'Logo_ID',TO_DATE('2009-09-04 18:51:46','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo',0,TO_DATE('2009-09-04 18:51:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 6:51:47 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=58111 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 4, 2009 6:51:50 PM COT
ALTER TABLE AD_ClientInfo ADD Logo_ID NUMBER(10) DEFAULT NULL
;
-- Sep 4, 2009 6:52:20 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58112,53909,0,32,228,'Logo_ID',TO_DATE('2009-09-04 18:52:19','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo',0,TO_DATE('2009-09-04 18:52:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 6:52:20 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=58112 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 4, 2009 6:52:22 PM COT
ALTER TABLE AD_OrgInfo ADD Logo_ID NUMBER(10) DEFAULT NULL
;
-- Sep 4, 2009 6:52:45 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58113,53909,0,32,291,'Logo_ID',TO_DATE('2009-09-04 18:52:44','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo',0,TO_DATE('2009-09-04 18:52:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 6:52:45 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=58113 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 4, 2009 6:52:47 PM COT
ALTER TABLE C_BPartner ADD Logo_ID NUMBER(10) DEFAULT NULL
;
-- Sep 4, 2009 6:54:06 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,58111,57531,0,169,TO_DATE('2009-09-04 18:54:05','YYYY-MM-DD HH24:MI:SS'),100,40,'D','Y','Y','Y','N','N','N','N','N','Logo',280,0,TO_DATE('2009-09-04 18:54:05','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 6:54:06 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=57531 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 4, 2009 6:54:40 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,58112,57532,0,170,TO_DATE('2009-09-04 18:54:39','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Logo',130,0,TO_DATE('2009-09-04 18:54:39','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 6:54:40 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=57532 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 4, 2009 7:21:21 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,58113,57533,0,220,TO_DATE('2009-09-04 19:21:20','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Logo',320,0,TO_DATE('2009-09-04 19:21:20','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:21:21 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=57533 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 4, 2009 7:22:07 PM COT
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-09-04 19:22:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57533
;
-- Sep 4, 2009 7:23:43 PM COT
UPDATE AD_Field SET DisplayLength=40,Updated=TO_DATE('2009-09-04 19:23:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57532
;
-- Sep 4, 2009 7:50:06 PM COT
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53910,0,'LogoReport_ID',TO_DATE('2009-09-04 19:50:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Logo Report','Logo Report',TO_DATE('2009-09-04 19:50:05','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:50:06 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=53910 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 4, 2009 7:50:18 PM COT
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53911,0,'LogoWeb_ID',TO_DATE('2009-09-04 19:50:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Logo Web','Logo Web',TO_DATE('2009-09-04 19:50:18','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:50:18 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=53911 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 4, 2009 7:50:41 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58114,53910,0,32,227,'LogoReport_ID',TO_DATE('2009-09-04 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo Report',0,TO_DATE('2009-09-04 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 7:50:41 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=58114 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 4, 2009 7:50:44 PM COT
ALTER TABLE AD_ClientInfo ADD LogoReport_ID NUMBER(10) DEFAULT NULL
;
-- Sep 4, 2009 7:51:01 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58115,53911,0,32,227,'LogoWeb_ID',TO_DATE('2009-09-04 19:51:00','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo Web',0,TO_DATE('2009-09-04 19:51:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 7:51:01 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=58115 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 4, 2009 7:51:04 PM COT
ALTER TABLE AD_ClientInfo ADD LogoWeb_ID NUMBER(10) DEFAULT NULL
;
-- Sep 4, 2009 7:51:30 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,58114,57534,0,169,TO_DATE('2009-09-04 19:51:30','YYYY-MM-DD HH24:MI:SS'),100,40,'D','Y','Y','Y','N','N','N','N','N','Logo Report',290,0,TO_DATE('2009-09-04 19:51:30','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:51:30 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=57534 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 4, 2009 7:51:45 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,58115,57535,0,169,TO_DATE('2009-09-04 19:51:45','YYYY-MM-DD HH24:MI:SS'),100,40,'D','Y','Y','Y','N','N','N','N','N','Logo Web',300,0,TO_DATE('2009-09-04 19:51:45','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:51:45 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=57535 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 4, 2009 7:53:18 PM COT
INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50012,0,TO_DATE('2009-09-04 19:53:17','YYYY-MM-DD HH24:MI:SS'),100,'D','T','Y','Y','Logo',TO_DATE('2009-09-04 19:53:17','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:53:18 PM COT
INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50012 AND EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_FieldGroup_ID!=t.AD_FieldGroup_ID)
;
-- Sep 4, 2009 7:53:25 PM COT
UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_DATE('2009-09-04 19:53:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_FieldGroup_ID=50012
;
-- Sep 4, 2009 7:53:37 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_DATE('2009-09-04 19:53:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57535
;
-- Sep 4, 2009 7:53:39 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_DATE('2009-09-04 19:53:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57534
;
-- Sep 4, 2009 7:53:42 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_DATE('2009-09-04 19:53:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57531
;
-- Sep 4, 2009 7:53:58 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_DATE('2009-09-04 19:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57532
;
-- Sep 4, 2009 7:54:14 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_DATE('2009-09-04 19:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57533
;

View File

@ -0,0 +1,165 @@
-- Sep 4, 2009 6:51:08 PM COT
-- FR-2851987-Add company logo
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53909,0,'Logo_ID',TO_TIMESTAMP('2009-09-04 18:51:07','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Logo','Logo',TO_TIMESTAMP('2009-09-04 18:51:07','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 6:51:08 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=53909 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 4, 2009 6:51:47 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58111,53909,0,32,227,'Logo_ID',TO_TIMESTAMP('2009-09-04 18:51:46','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo',0,TO_TIMESTAMP('2009-09-04 18:51:46','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 6:51:47 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=58111 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 4, 2009 6:51:50 PM COT
ALTER TABLE AD_ClientInfo ADD COLUMN Logo_ID NUMERIC(10) DEFAULT NULL
;
-- Sep 4, 2009 6:52:20 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58112,53909,0,32,228,'Logo_ID',TO_TIMESTAMP('2009-09-04 18:52:19','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo',0,TO_TIMESTAMP('2009-09-04 18:52:19','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 6:52:20 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=58112 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 4, 2009 6:52:22 PM COT
ALTER TABLE AD_OrgInfo ADD COLUMN Logo_ID NUMERIC(10) DEFAULT NULL
;
-- Sep 4, 2009 6:52:45 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58113,53909,0,32,291,'Logo_ID',TO_TIMESTAMP('2009-09-04 18:52:44','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo',0,TO_TIMESTAMP('2009-09-04 18:52:44','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 6:52:45 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=58113 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 4, 2009 6:52:47 PM COT
ALTER TABLE C_BPartner ADD COLUMN Logo_ID NUMERIC(10) DEFAULT NULL
;
-- Sep 4, 2009 6:54:06 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,58111,57531,0,169,TO_TIMESTAMP('2009-09-04 18:54:05','YYYY-MM-DD HH24:MI:SS'),100,40,'D','Y','Y','Y','N','N','N','N','N','Logo',280,0,TO_TIMESTAMP('2009-09-04 18:54:05','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 6:54:06 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=57531 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 4, 2009 6:54:40 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,58112,57532,0,170,TO_TIMESTAMP('2009-09-04 18:54:39','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Logo',130,0,TO_TIMESTAMP('2009-09-04 18:54:39','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 6:54:40 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=57532 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 4, 2009 7:21:21 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,58113,57533,0,220,TO_TIMESTAMP('2009-09-04 19:21:20','YYYY-MM-DD HH24:MI:SS'),100,10,'D','Y','Y','Y','N','N','N','N','N','Logo',320,0,TO_TIMESTAMP('2009-09-04 19:21:20','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:21:21 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=57533 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 4, 2009 7:22:07 PM COT
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-09-04 19:22:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57533
;
-- Sep 4, 2009 7:23:43 PM COT
UPDATE AD_Field SET DisplayLength=40,Updated=TO_TIMESTAMP('2009-09-04 19:23:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57532
;
-- Sep 4, 2009 7:50:06 PM COT
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53910,0,'LogoReport_ID',TO_TIMESTAMP('2009-09-04 19:50:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Logo Report','Logo Report',TO_TIMESTAMP('2009-09-04 19:50:05','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:50:06 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=53910 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 4, 2009 7:50:18 PM COT
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53911,0,'LogoWeb_ID',TO_TIMESTAMP('2009-09-04 19:50:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Logo Web','Logo Web',TO_TIMESTAMP('2009-09-04 19:50:18','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:50:18 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=53911 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 4, 2009 7:50:41 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58114,53910,0,32,227,'LogoReport_ID',TO_TIMESTAMP('2009-09-04 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo Report',0,TO_TIMESTAMP('2009-09-04 19:50:41','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 7:50:41 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=58114 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 4, 2009 7:50:44 PM COT
ALTER TABLE AD_ClientInfo ADD COLUMN LogoReport_ID NUMERIC(10) DEFAULT NULL
;
-- Sep 4, 2009 7:51:01 PM COT
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,58115,53911,0,32,227,'LogoWeb_ID',TO_TIMESTAMP('2009-09-04 19:51:00','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Logo Web',0,TO_TIMESTAMP('2009-09-04 19:51:00','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Sep 4, 2009 7:51:01 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=58115 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 4, 2009 7:51:04 PM COT
ALTER TABLE AD_ClientInfo ADD COLUMN LogoWeb_ID NUMERIC(10) DEFAULT NULL
;
-- Sep 4, 2009 7:51:30 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,58114,57534,0,169,TO_TIMESTAMP('2009-09-04 19:51:30','YYYY-MM-DD HH24:MI:SS'),100,40,'D','Y','Y','Y','N','N','N','N','N','Logo Report',290,0,TO_TIMESTAMP('2009-09-04 19:51:30','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:51:30 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=57534 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 4, 2009 7:51:45 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,58115,57535,0,169,TO_TIMESTAMP('2009-09-04 19:51:45','YYYY-MM-DD HH24:MI:SS'),100,40,'D','Y','Y','Y','N','N','N','N','N','Logo Web',300,0,TO_TIMESTAMP('2009-09-04 19:51:45','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:51:45 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=57535 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 4, 2009 7:53:18 PM COT
INSERT INTO AD_FieldGroup (AD_Client_ID,AD_FieldGroup_ID,AD_Org_ID,Created,CreatedBy,EntityType,FieldGroupType,IsActive,IsCollapsedByDefault,Name,Updated,UpdatedBy) VALUES (0,50012,0,TO_TIMESTAMP('2009-09-04 19:53:17','YYYY-MM-DD HH24:MI:SS'),100,'D','T','Y','Y','Logo',TO_TIMESTAMP('2009-09-04 19:53:17','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Sep 4, 2009 7:53:18 PM COT
INSERT INTO AD_FieldGroup_Trl (AD_Language,AD_FieldGroup_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_FieldGroup_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_FieldGroup t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_FieldGroup_ID=50012 AND EXISTS (SELECT * FROM AD_FieldGroup_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_FieldGroup_ID!=t.AD_FieldGroup_ID)
;
-- Sep 4, 2009 7:53:25 PM COT
UPDATE AD_FieldGroup SET IsCollapsedByDefault='N',Updated=TO_TIMESTAMP('2009-09-04 19:53:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_FieldGroup_ID=50012
;
-- Sep 4, 2009 7:53:37 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_TIMESTAMP('2009-09-04 19:53:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57535
;
-- Sep 4, 2009 7:53:39 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_TIMESTAMP('2009-09-04 19:53:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57534
;
-- Sep 4, 2009 7:53:42 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_TIMESTAMP('2009-09-04 19:53:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57531
;
-- Sep 4, 2009 7:53:58 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_TIMESTAMP('2009-09-04 19:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57532
;
-- Sep 4, 2009 7:54:14 PM COT
UPDATE AD_Field SET AD_FieldGroup_ID=50012,Updated=TO_TIMESTAMP('2009-09-04 19:54:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57533
;