From 50112175b6a93b040ffac9056b28a9b73e9e2163 Mon Sep 17 00:00:00 2001 From: phib Date: Sun, 2 Aug 2009 23:54:50 +0000 Subject: [PATCH] FR2793242 Fact Acct Summary https://sourceforge.net/tracker/?func=detail&atid=879335&aid=2793242&group_id=176962 --- base/src/org/compiere/model/I_PA_Report.java | 35 +- .../org/compiere/model/I_PA_ReportCube.java | 406 ++++ base/src/org/compiere/model/MReportCube.java | 231 +++ base/src/org/compiere/model/X_PA_Report.java | 47 +- .../org/compiere/model/X_PA_ReportCube.java | 620 ++++++ .../org/compiere/process/FactAcctSummary.java | 80 + base/src/org/compiere/report/FinReport.java | 91 +- .../oracle/517_FR2793242_FactAcctSummary.sql | 1811 ++++++++++++++++ .../517_FR2793242_FactAcctSummary.sql | 1813 +++++++++++++++++ 9 files changed, 5078 insertions(+), 56 deletions(-) create mode 100644 base/src/org/compiere/model/I_PA_ReportCube.java create mode 100644 base/src/org/compiere/model/MReportCube.java create mode 100644 base/src/org/compiere/model/X_PA_ReportCube.java create mode 100644 base/src/org/compiere/process/FactAcctSummary.java create mode 100644 migration/353a-trunk/oracle/517_FR2793242_FactAcctSummary.sql create mode 100644 migration/353a-trunk/postgresql/517_FR2793242_FactAcctSummary.sql diff --git a/base/src/org/compiere/model/I_PA_Report.java b/base/src/org/compiere/model/I_PA_Report.java index 8ffca19978..5030a50c2c 100644 --- a/base/src/org/compiere/model/I_PA_Report.java +++ b/base/src/org/compiere/model/I_PA_Report.java @@ -225,6 +225,30 @@ public interface I_PA_Report public I_PA_ReportColumnSet getPA_ReportColumnSet() throws RuntimeException; + /** Column name PA_ReportCube_ID */ + public static final String COLUMNNAME_PA_ReportCube_ID = "PA_ReportCube_ID"; + + /** Set Report Cube. + * Define reporting cube for pre-calculation of summary accounting data. + */ + public void setPA_ReportCube_ID (int PA_ReportCube_ID); + + /** Get Report Cube. + * Define reporting cube for pre-calculation of summary accounting data. + */ + public int getPA_ReportCube_ID(); + + /** Column name PA_ReportLineSet_ID */ + public static final String COLUMNNAME_PA_ReportLineSet_ID = "PA_ReportLineSet_ID"; + + /** Set Report Line Set */ + public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID); + + /** Get Report Line Set */ + public int getPA_ReportLineSet_ID(); + + public I_PA_ReportLineSet getPA_ReportLineSet() throws RuntimeException; + /** Column name PA_Report_ID */ public static final String COLUMNNAME_PA_Report_ID = "PA_Report_ID"; @@ -238,17 +262,6 @@ public interface I_PA_Report */ public int getPA_Report_ID(); - /** Column name PA_ReportLineSet_ID */ - public static final String COLUMNNAME_PA_ReportLineSet_ID = "PA_ReportLineSet_ID"; - - /** Set Report Line Set */ - public void setPA_ReportLineSet_ID (int PA_ReportLineSet_ID); - - /** Get Report Line Set */ - public int getPA_ReportLineSet_ID(); - - public I_PA_ReportLineSet getPA_ReportLineSet() throws RuntimeException; - /** Column name Processing */ public static final String COLUMNNAME_Processing = "Processing"; diff --git a/base/src/org/compiere/model/I_PA_ReportCube.java b/base/src/org/compiere/model/I_PA_ReportCube.java new file mode 100644 index 0000000000..29b5579521 --- /dev/null +++ b/base/src/org/compiere/model/I_PA_ReportCube.java @@ -0,0 +1,406 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for PA_ReportCube + * @author Adempiere (generated) + * @version Release 3.5.3a + */ +public interface I_PA_ReportCube +{ + + /** TableName=PA_ReportCube */ + public static final String Table_Name = "PA_ReportCube"; + + /** AD_Table_ID=53202 */ + public static final int Table_ID = MTable.getTable_ID(Table_Name); + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 3 - Client - Org + */ + BigDecimal accessLevel = BigDecimal.valueOf(3); + + /** Load Meta Data */ + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name C_Calendar_ID */ + public static final String COLUMNNAME_C_Calendar_ID = "C_Calendar_ID"; + + /** Set Calendar. + * Accounting Calendar Name + */ + public void setC_Calendar_ID (int C_Calendar_ID); + + /** Get Calendar. + * Accounting Calendar Name + */ + public int getC_Calendar_ID(); + + public I_C_Calendar getC_Calendar() throws RuntimeException; + + /** 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"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** 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 IsActivityDim */ + public static final String COLUMNNAME_IsActivityDim = "IsActivityDim"; + + /** Set Activity Dimension. + * Include Activity as a cube dimension + */ + public void setIsActivityDim (boolean IsActivityDim); + + /** Get Activity Dimension. + * Include Activity as a cube dimension + */ + public boolean isActivityDim(); + + /** Column name IsBPartnerDim */ + public static final String COLUMNNAME_IsBPartnerDim = "IsBPartnerDim"; + + /** Set Business Partner Dimension. + * Include Business Partner as a cube dimension + */ + public void setIsBPartnerDim (boolean IsBPartnerDim); + + /** Get Business Partner Dimension. + * Include Business Partner as a cube dimension + */ + public boolean isBPartnerDim(); + + /** Column name IsCampaignDim */ + public static final String COLUMNNAME_IsCampaignDim = "IsCampaignDim"; + + /** Set Campaign Dimension. + * Include Campaign as a cube dimension + */ + public void setIsCampaignDim (boolean IsCampaignDim); + + /** Get Campaign Dimension. + * Include Campaign as a cube dimension + */ + public boolean isCampaignDim(); + + /** Column name IsGLBudgetDim */ + public static final String COLUMNNAME_IsGLBudgetDim = "IsGLBudgetDim"; + + /** Set GL Budget Dimension. + * Include GL Budget as a cube dimension + */ + public void setIsGLBudgetDim (boolean IsGLBudgetDim); + + /** Get GL Budget Dimension. + * Include GL Budget as a cube dimension + */ + public boolean isGLBudgetDim(); + + /** Column name IsLocFromDim */ + public static final String COLUMNNAME_IsLocFromDim = "IsLocFromDim"; + + /** Set Location From Dimension. + * Include Location From as a cube dimension + */ + public void setIsLocFromDim (boolean IsLocFromDim); + + /** Get Location From Dimension. + * Include Location From as a cube dimension + */ + public boolean isLocFromDim(); + + /** Column name IsLocToDim */ + public static final String COLUMNNAME_IsLocToDim = "IsLocToDim"; + + /** Set Location To Dimension. + * Include Location To as a cube dimension + */ + public void setIsLocToDim (boolean IsLocToDim); + + /** Get Location To Dimension. + * Include Location To as a cube dimension + */ + public boolean isLocToDim(); + + /** Column name IsOrgTrxDim */ + public static final String COLUMNNAME_IsOrgTrxDim = "IsOrgTrxDim"; + + /** Set OrgTrx Dimension. + * Include OrgTrx as a cube dimension + */ + public void setIsOrgTrxDim (boolean IsOrgTrxDim); + + /** Get OrgTrx Dimension. + * Include OrgTrx as a cube dimension + */ + public boolean isOrgTrxDim(); + + /** Column name IsProductDim */ + public static final String COLUMNNAME_IsProductDim = "IsProductDim"; + + /** Set Product Dimension. + * Include Product as a cube dimension + */ + public void setIsProductDim (boolean IsProductDim); + + /** Get Product Dimension. + * Include Product as a cube dimension + */ + public boolean isProductDim(); + + /** Column name IsProjectDim */ + public static final String COLUMNNAME_IsProjectDim = "IsProjectDim"; + + /** Set Project Dimension. + * Include Project as a cube dimension + */ + public void setIsProjectDim (boolean IsProjectDim); + + /** Get Project Dimension. + * Include Project as a cube dimension + */ + public boolean isProjectDim(); + + /** Column name IsProjectPhaseDim */ + public static final String COLUMNNAME_IsProjectPhaseDim = "IsProjectPhaseDim"; + + /** Set Project Phase Dimension. + * Include Project Phase as a cube dimension + */ + public void setIsProjectPhaseDim (boolean IsProjectPhaseDim); + + /** Get Project Phase Dimension. + * Include Project Phase as a cube dimension + */ + public boolean isProjectPhaseDim(); + + /** Column name IsProjectTaskDim */ + public static final String COLUMNNAME_IsProjectTaskDim = "IsProjectTaskDim"; + + /** Set Project Task Dimension. + * Include Project Task as a cube dimension + */ + public void setIsProjectTaskDim (boolean IsProjectTaskDim); + + /** Get Project Task Dimension. + * Include Project Task as a cube dimension + */ + public boolean isProjectTaskDim(); + + /** Column name IsSalesRegionDim */ + public static final String COLUMNNAME_IsSalesRegionDim = "IsSalesRegionDim"; + + /** Set Sales Region Dimension. + * Include Sales Region as a cube dimension + */ + public void setIsSalesRegionDim (boolean IsSalesRegionDim); + + /** Get Sales Region Dimension. + * Include Sales Region as a cube dimension + */ + public boolean isSalesRegionDim(); + + /** Column name IsSubAcctDim */ + public static final String COLUMNNAME_IsSubAcctDim = "IsSubAcctDim"; + + /** Set Sub Acct Dimension. + * Include Sub Acct as a cube dimension + */ + public void setIsSubAcctDim (boolean IsSubAcctDim); + + /** Get Sub Acct Dimension. + * Include Sub Acct as a cube dimension + */ + public boolean isSubAcctDim(); + + /** Column name IsUser1Dim */ + public static final String COLUMNNAME_IsUser1Dim = "IsUser1Dim"; + + /** Set User 1 Dimension. + * Include User 1 as a cube dimension + */ + public void setIsUser1Dim (boolean IsUser1Dim); + + /** Get User 1 Dimension. + * Include User 1 as a cube dimension + */ + public boolean isUser1Dim(); + + /** Column name IsUser2Dim */ + public static final String COLUMNNAME_IsUser2Dim = "IsUser2Dim"; + + /** Set User 2 Dimension. + * Include User 2 as a cube dimension + */ + public void setIsUser2Dim (boolean IsUser2Dim); + + /** Get User 2 Dimension. + * Include User 2 as a cube dimension + */ + public boolean isUser2Dim(); + + /** Column name IsUserElement1Dim */ + public static final String COLUMNNAME_IsUserElement1Dim = "IsUserElement1Dim"; + + /** Set User Element 1 Dimension. + * Include User Element 1 as a cube dimension + */ + public void setIsUserElement1Dim (boolean IsUserElement1Dim); + + /** Get User Element 1 Dimension. + * Include User Element 1 as a cube dimension + */ + public boolean isUserElement1Dim(); + + /** Column name IsUserElement2Dim */ + public static final String COLUMNNAME_IsUserElement2Dim = "IsUserElement2Dim"; + + /** Set User Element 2 Dimension. + * Include User Element 2 as a cube dimension + */ + public void setIsUserElement2Dim (boolean IsUserElement2Dim); + + /** Get User Element 2 Dimension. + * Include User Element 2 as a cube dimension + */ + public boolean isUserElement2Dim(); + + /** Column name LastRecalculated */ + public static final String COLUMNNAME_LastRecalculated = "LastRecalculated"; + + /** Set Last Recalculated. + * The time last recalculated. + */ + public void setLastRecalculated (Timestamp LastRecalculated); + + /** Get Last Recalculated. + * The time last recalculated. + */ + public Timestamp getLastRecalculated(); + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name PA_ReportCube_ID */ + public static final String COLUMNNAME_PA_ReportCube_ID = "PA_ReportCube_ID"; + + /** Set Report Cube. + * Define reporting cube for pre-calculation of summary accounting data. + */ + public void setPA_ReportCube_ID (int PA_ReportCube_ID); + + /** Get Report Cube. + * Define reporting cube for pre-calculation of summary accounting data. + */ + public int getPA_ReportCube_ID(); + + /** Column name Processing */ + public static final String COLUMNNAME_Processing = "Processing"; + + /** Set Process Now */ + public void setProcessing (boolean Processing); + + /** Get Process Now */ + public boolean isProcessing(); + + /** 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(); +} diff --git a/base/src/org/compiere/model/MReportCube.java b/base/src/org/compiere/model/MReportCube.java new file mode 100644 index 0000000000..d48febd999 --- /dev/null +++ b/base/src/org/compiere/model/MReportCube.java @@ -0,0 +1,231 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Iterator; +import java.util.Properties; +import java.util.logging.Level; + +import org.adempiere.exceptions.AdempiereException; +import org.adempiere.exceptions.DBException; +import org.compiere.model.PO; +import org.compiere.model.X_PA_ReportCube; +import org.compiere.util.DB; +import org.compiere.util.KeyNamePair; + +public class MReportCube extends X_PA_ReportCube { + + /** + * + */ + private static final long serialVersionUID = 1115698413818333478L; + + public MReportCube(Properties ctx, int PA_ReportCube_ID, String trxName) { + super(ctx, PA_ReportCube_ID, trxName); + } + + public MReportCube(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + } + + public String update(boolean reset, boolean force) { + + String result = getName() + ": "; + Timestamp ts = null; + long start; + long elapsed; + + String where = " WHERE PA_ReportCube_ID = " + getPA_ReportCube_ID(); + String periods = " (-1) "; + if ( getLastRecalculated() != null && !reset ) + { + StringBuilder periodList = new StringBuilder(); + StringBuilder periodNames = new StringBuilder(); + + String sql = "SELECT DISTINCT p.C_Period_ID, p.Name FROM C_Period p " + + "INNER JOIN C_Year y ON (y.C_Year_ID=p.C_Year_ID) " + + "INNER JOIN PA_ReportCube c ON (c.C_Calendar_ID = y.C_Calendar_ID) " + + "INNER JOIN Fact_Acct fact ON (fact.dateacct between p.startdate and p.enddate " + + " and fact.ad_client_id = c.ad_client_id) " + + "WHERE c.PA_ReportCube_ID = ? " + + "AND fact.updated > c.LastRecalculated " + + "AND p.periodtype='S' "; + + log.log (Level.FINE, sql); + + start = System.currentTimeMillis(); + KeyNamePair[] changedPeriods = DB.getKeyNamePairs(sql, false, getPA_ReportCube_ID()); + elapsed = (System.currentTimeMillis() - start)/1000; + log.log(Level.FINE, "Selecting changed periods took:" + elapsed + "s"); + + if (changedPeriods != null && changedPeriods.length > 0 ) + { + periodList.append(" ("); + for (KeyNamePair p : changedPeriods ) + { + periodList.append(p.getID() + ", "); + periodNames.append(p.getName() + ", "); + } + periodList.delete(periodList.length() - 2, periodList.length()); + periodList.append(" )"); + + log.log(Level.FINE, "Periods requiring update: " + periodNames.toString()); + } + else + return "Nothing to update in " + getName(); + + periods = periodList.toString(); + where += (" AND C_Period_ID IN " + periods); + } + + + if ( !force ) + { + String lockSQL = "UPDATE PA_ReportCube SET Processing = 'Y' " + + "WHERE Processing = 'N' AND PA_ReportCube_ID = " + getPA_ReportCube_ID(); + int locked = DB.executeUpdateEx(lockSQL, null); // outside trx + if (locked != 1) + { + throw new AdempiereException("Unable to lock cube for update:" + getName()); + } + } + try + { + // delete + String delSQL = "DELETE FROM Fact_Acct_Summary fas " + where; + log.log(Level.FINE, "Delete sql: " + delSQL); + start = System.currentTimeMillis(); + int deleted = DB.executeUpdateEx(delSQL, get_TrxName()); + elapsed = (System.currentTimeMillis() - start)/1000; + result += "Deleted " + deleted + " in " + elapsed + " s;"; + + log.log(Level.FINE, result); + + // insert + StringBuilder insert = new StringBuilder("INSERT " + + "INTO FACT_ACCT_SUMMARY (PA_ReportCube_ID , AD_Client_ID, " + + "AD_Org_ID, Created, CreatedBy, Updated, UpdatedBy, IsActive, " + + "C_AcctSchema_ID, Account_ID, PostingType, " + + "GL_Budget_ID, C_Period_ID, DateAcct, AmtAcctDr, AmtAcctCr, Qty"); + + StringBuilder select = new StringBuilder(" ) SELECT " + + "?, f.AD_CLIENT_ID, f.AD_ORG_ID, " + + "max(f.Created), max(f.CreatedBy), max(f.Updated), max(f.UpdatedBy), 'Y', " + + "f.C_ACCTSCHEMA_ID, f.ACCOUNT_ID, f.POSTINGTYPE, GL_Budget_ID, " + + "p.c_period_id, p.StartDate, COALESCE(SUM(AmtAcctDr),0), COALESCE(SUM(AmtAcctCr),0), " + + "COALESCE(SUM(Qty),0)"); + String from = " FROM fact_acct f " + + " INNER JOIN C_Period p ON ( f.DateAcct BETWEEN p.StartDate AND p.EndDate ) " + + " INNER JOIN C_Year y ON ( p.C_Year_ID = y.C_Year_ID ) " + + " WHERE p.PeriodType = 'S' " + + " AND y.C_Calendar_ID = ? "; + if ( getLastRecalculated() != null && !reset ) + from += "AND p.C_Period_ID IN " + periods; + + StringBuilder groups = new StringBuilder(" GROUP BY " + + "f.AD_CLIENT_ID, f.AD_ORG_ID, f.C_ACCTSCHEMA_ID, f.ACCOUNT_ID, " + + "f.POSTINGTYPE, GL_Budget_ID, p.c_period_id, p.StartDate "); + + ArrayList values = new ArrayList(); + + if ( isProductDim() ) + values.add("M_Product_ID"); + if ( isBPartnerDim() ) + values.add("C_BPartner_ID"); + if ( isProjectDim() ) + values.add("C_Project_ID"); + if ( isOrgTrxDim() ) + values.add("AD_OrgTrx_ID"); + if ( isSalesRegionDim() ) + values.add("C_SalesRegion_ID"); + if ( isActivityDim() ) + values.add("C_Activity_ID"); + if ( isCampaignDim() ) + values.add("C_Campaign_ID"); + if ( isLocToDim() ) + values.add("C_LocTo_ID"); + if ( isLocFromDim() ) + values.add("C_LocFrom_ID"); + if ( isUser1Dim() ) + values.add("User1_ID"); + if ( isUser2Dim() ) + values.add("User2_ID"); + if ( isUserElement1Dim() ) + values.add("UserElement1_ID"); + if ( isUserElement2Dim() ) + values.add("UserElement2_ID"); + if ( isSubAcctDim() ) + values.add("C_SubAcct_ID"); + if ( isProjectPhaseDim() ) + values.add("C_ProjectPhase_ID"); + if ( isProjectTaskDim() ) + values.add("C_ProjectTask_ID"); + + // --(CASE v.IsGL_Category_ID WHEN 'Y' THEN f."GL_Category_ID END) GL_Category_ID + + Iterator iter = values.iterator(); + while ( iter.hasNext() ) + { + String dim = iter.next(); + insert.append(", " + dim ); + select.append(", f." + dim); + groups.append(", f." + dim); + } + + + String sql = insert.append(select.toString()).append(from).append(groups.toString()).toString(); + log.log(Level.FINE, sql); + Object[] params = new Object[] { getPA_ReportCube_ID(), getC_Calendar_ID() }; + + start = System.currentTimeMillis(); + int rows = DB.executeUpdateEx(sql, params, get_TrxName()); + long seconds = (System.currentTimeMillis() - start)/1000; + + String insertResult = "Inserted " + rows + " in " + seconds + " s."; + log.log(Level.FINE, insertResult); + result += insertResult; + + + // set timestamp + String tsSQL = "SELECT max(fas.Updated)" + + " FROM Fact_Acct_Summary fas" + + " WHERE fas.PA_ReportCube_ID = " + getPA_ReportCube_ID(); + ts = DB.getSQLValueTS(get_TrxName(), tsSQL); + log.log(Level.FINE, "Last updated: " + ts); + + } + catch (DBException e) + { + // failure results in null timestamp => rebuild on next run + // nothing else to do + log.log(Level.FINE, getName() + " update failed:" + e.getMessage()); + } + finally + { + // unlock + String unlockSQL = "UPDATE PA_ReportCube SET Processing = 'N', " + + "LastRecalculated = " + ( ts == null ? "null" : "?") + + " WHERE PA_ReportCube_ID = " + getPA_ReportCube_ID(); + Object[] parameters = ts == null ? new Object[] {} : new Object[] {ts}; + DB.executeUpdateEx(unlockSQL, parameters, null); // outside trx + } + return result; + } +} diff --git a/base/src/org/compiere/model/X_PA_Report.java b/base/src/org/compiere/model/X_PA_Report.java index 3753b10b50..8dc41e82ef 100644 --- a/base/src/org/compiere/model/X_PA_Report.java +++ b/base/src/org/compiere/model/X_PA_Report.java @@ -46,8 +46,8 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent setListTrx (false); setName (null); setPA_ReportColumnSet_ID (0); - setPA_Report_ID (0); setPA_ReportLineSet_ID (0); + setPA_Report_ID (0); setProcessing (false); } */ } @@ -363,24 +363,24 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return ii.intValue(); } - /** Set Financial Report. - @param PA_Report_ID - Financial Report + /** Set Report Cube. + @param PA_ReportCube_ID + Define reporting cube for pre-calculation of summary accounting data. */ - public void setPA_Report_ID (int PA_Report_ID) + public void setPA_ReportCube_ID (int PA_ReportCube_ID) { - if (PA_Report_ID < 1) - set_ValueNoCheck (COLUMNNAME_PA_Report_ID, null); + if (PA_ReportCube_ID < 1) + set_Value (COLUMNNAME_PA_ReportCube_ID, null); else - set_ValueNoCheck (COLUMNNAME_PA_Report_ID, Integer.valueOf(PA_Report_ID)); + set_Value (COLUMNNAME_PA_ReportCube_ID, Integer.valueOf(PA_ReportCube_ID)); } - /** Get Financial Report. - @return Financial Report + /** Get Report Cube. + @return Define reporting cube for pre-calculation of summary accounting data. */ - public int getPA_Report_ID () + public int getPA_ReportCube_ID () { - Integer ii = (Integer)get_Value(COLUMNNAME_PA_Report_ID); + Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportCube_ID); if (ii == null) return 0; return ii.intValue(); @@ -422,6 +422,29 @@ public class X_PA_Report extends PO implements I_PA_Report, I_Persistent return ii.intValue(); } + /** Set Financial Report. + @param PA_Report_ID + Financial Report + */ + public void setPA_Report_ID (int PA_Report_ID) + { + if (PA_Report_ID < 1) + set_ValueNoCheck (COLUMNNAME_PA_Report_ID, null); + else + set_ValueNoCheck (COLUMNNAME_PA_Report_ID, Integer.valueOf(PA_Report_ID)); + } + + /** Get Financial Report. + @return Financial Report + */ + public int getPA_Report_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_Report_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Process Now. @param Processing Process Now */ public void setProcessing (boolean Processing) diff --git a/base/src/org/compiere/model/X_PA_ReportCube.java b/base/src/org/compiere/model/X_PA_ReportCube.java new file mode 100644 index 0000000000..005a005931 --- /dev/null +++ b/base/src/org/compiere/model/X_PA_ReportCube.java @@ -0,0 +1,620 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.lang.reflect.Constructor; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.Properties; +import java.util.logging.Level; + +/** Generated Model for PA_ReportCube + * @author Adempiere (generated) + * @version Release 3.5.3a - $Id$ */ +public class X_PA_ReportCube extends PO implements I_PA_ReportCube, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20081221L; + + /** Standard Constructor */ + public X_PA_ReportCube (Properties ctx, int PA_ReportCube_ID, String trxName) + { + super (ctx, PA_ReportCube_ID, trxName); + /** if (PA_ReportCube_ID == 0) + { + setC_Calendar_ID (0); + setName (null); + setPA_ReportCube_ID (0); + setProcessing (false); +// N + } */ + } + + /** Load Constructor */ + public X_PA_ReportCube (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 3 - Client - Org + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_PA_ReportCube[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + public I_C_Calendar getC_Calendar() throws RuntimeException + { + Class clazz = MTable.getClass(I_C_Calendar.Table_Name); + I_C_Calendar result = null; + try { + Constructor constructor = null; + constructor = clazz.getDeclaredConstructor(new Class[]{Properties.class, int.class, String.class}); + result = (I_C_Calendar)constructor.newInstance(new Object[] {getCtx(), new Integer(getC_Calendar_ID()), get_TrxName()}); + } catch (Exception e) { + log.log(Level.SEVERE, "(id) - Table=" + Table_Name + ",Class=" + clazz, e); + log.saveError("Error", "Table=" + Table_Name + ",Class=" + clazz); + throw new RuntimeException( e ); + } + return result; + } + + /** Set Calendar. + @param C_Calendar_ID + Accounting Calendar Name + */ + public void setC_Calendar_ID (int C_Calendar_ID) + { + if (C_Calendar_ID < 1) + set_Value (COLUMNNAME_C_Calendar_ID, null); + else + set_Value (COLUMNNAME_C_Calendar_ID, Integer.valueOf(C_Calendar_ID)); + } + + /** Get Calendar. + @return Accounting Calendar Name + */ + public int getC_Calendar_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_C_Calendar_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Activity Dimension. + @param IsActivityDim + Include Activity as a cube dimension + */ + public void setIsActivityDim (boolean IsActivityDim) + { + set_Value (COLUMNNAME_IsActivityDim, Boolean.valueOf(IsActivityDim)); + } + + /** Get Activity Dimension. + @return Include Activity as a cube dimension + */ + public boolean isActivityDim () + { + Object oo = get_Value(COLUMNNAME_IsActivityDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Business Partner Dimension. + @param IsBPartnerDim + Include Business Partner as a cube dimension + */ + public void setIsBPartnerDim (boolean IsBPartnerDim) + { + set_Value (COLUMNNAME_IsBPartnerDim, Boolean.valueOf(IsBPartnerDim)); + } + + /** Get Business Partner Dimension. + @return Include Business Partner as a cube dimension + */ + public boolean isBPartnerDim () + { + Object oo = get_Value(COLUMNNAME_IsBPartnerDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Campaign Dimension. + @param IsCampaignDim + Include Campaign as a cube dimension + */ + public void setIsCampaignDim (boolean IsCampaignDim) + { + set_Value (COLUMNNAME_IsCampaignDim, Boolean.valueOf(IsCampaignDim)); + } + + /** Get Campaign Dimension. + @return Include Campaign as a cube dimension + */ + public boolean isCampaignDim () + { + Object oo = get_Value(COLUMNNAME_IsCampaignDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set GL Budget Dimension. + @param IsGLBudgetDim + Include GL Budget as a cube dimension + */ + public void setIsGLBudgetDim (boolean IsGLBudgetDim) + { + set_Value (COLUMNNAME_IsGLBudgetDim, Boolean.valueOf(IsGLBudgetDim)); + } + + /** Get GL Budget Dimension. + @return Include GL Budget as a cube dimension + */ + public boolean isGLBudgetDim () + { + Object oo = get_Value(COLUMNNAME_IsGLBudgetDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Location From Dimension. + @param IsLocFromDim + Include Location From as a cube dimension + */ + public void setIsLocFromDim (boolean IsLocFromDim) + { + set_Value (COLUMNNAME_IsLocFromDim, Boolean.valueOf(IsLocFromDim)); + } + + /** Get Location From Dimension. + @return Include Location From as a cube dimension + */ + public boolean isLocFromDim () + { + Object oo = get_Value(COLUMNNAME_IsLocFromDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Location To Dimension. + @param IsLocToDim + Include Location To as a cube dimension + */ + public void setIsLocToDim (boolean IsLocToDim) + { + set_Value (COLUMNNAME_IsLocToDim, Boolean.valueOf(IsLocToDim)); + } + + /** Get Location To Dimension. + @return Include Location To as a cube dimension + */ + public boolean isLocToDim () + { + Object oo = get_Value(COLUMNNAME_IsLocToDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set OrgTrx Dimension. + @param IsOrgTrxDim + Include OrgTrx as a cube dimension + */ + public void setIsOrgTrxDim (boolean IsOrgTrxDim) + { + set_Value (COLUMNNAME_IsOrgTrxDim, Boolean.valueOf(IsOrgTrxDim)); + } + + /** Get OrgTrx Dimension. + @return Include OrgTrx as a cube dimension + */ + public boolean isOrgTrxDim () + { + Object oo = get_Value(COLUMNNAME_IsOrgTrxDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Product Dimension. + @param IsProductDim + Include Product as a cube dimension + */ + public void setIsProductDim (boolean IsProductDim) + { + set_Value (COLUMNNAME_IsProductDim, Boolean.valueOf(IsProductDim)); + } + + /** Get Product Dimension. + @return Include Product as a cube dimension + */ + public boolean isProductDim () + { + Object oo = get_Value(COLUMNNAME_IsProductDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Project Dimension. + @param IsProjectDim + Include Project as a cube dimension + */ + public void setIsProjectDim (boolean IsProjectDim) + { + set_Value (COLUMNNAME_IsProjectDim, Boolean.valueOf(IsProjectDim)); + } + + /** Get Project Dimension. + @return Include Project as a cube dimension + */ + public boolean isProjectDim () + { + Object oo = get_Value(COLUMNNAME_IsProjectDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Project Phase Dimension. + @param IsProjectPhaseDim + Include Project Phase as a cube dimension + */ + public void setIsProjectPhaseDim (boolean IsProjectPhaseDim) + { + set_Value (COLUMNNAME_IsProjectPhaseDim, Boolean.valueOf(IsProjectPhaseDim)); + } + + /** Get Project Phase Dimension. + @return Include Project Phase as a cube dimension + */ + public boolean isProjectPhaseDim () + { + Object oo = get_Value(COLUMNNAME_IsProjectPhaseDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Project Task Dimension. + @param IsProjectTaskDim + Include Project Task as a cube dimension + */ + public void setIsProjectTaskDim (boolean IsProjectTaskDim) + { + set_Value (COLUMNNAME_IsProjectTaskDim, Boolean.valueOf(IsProjectTaskDim)); + } + + /** Get Project Task Dimension. + @return Include Project Task as a cube dimension + */ + public boolean isProjectTaskDim () + { + Object oo = get_Value(COLUMNNAME_IsProjectTaskDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Sales Region Dimension. + @param IsSalesRegionDim + Include Sales Region as a cube dimension + */ + public void setIsSalesRegionDim (boolean IsSalesRegionDim) + { + set_Value (COLUMNNAME_IsSalesRegionDim, Boolean.valueOf(IsSalesRegionDim)); + } + + /** Get Sales Region Dimension. + @return Include Sales Region as a cube dimension + */ + public boolean isSalesRegionDim () + { + Object oo = get_Value(COLUMNNAME_IsSalesRegionDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Sub Acct Dimension. + @param IsSubAcctDim + Include Sub Acct as a cube dimension + */ + public void setIsSubAcctDim (boolean IsSubAcctDim) + { + set_Value (COLUMNNAME_IsSubAcctDim, Boolean.valueOf(IsSubAcctDim)); + } + + /** Get Sub Acct Dimension. + @return Include Sub Acct as a cube dimension + */ + public boolean isSubAcctDim () + { + Object oo = get_Value(COLUMNNAME_IsSubAcctDim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set User 1 Dimension. + @param IsUser1Dim + Include User 1 as a cube dimension + */ + public void setIsUser1Dim (boolean IsUser1Dim) + { + set_Value (COLUMNNAME_IsUser1Dim, Boolean.valueOf(IsUser1Dim)); + } + + /** Get User 1 Dimension. + @return Include User 1 as a cube dimension + */ + public boolean isUser1Dim () + { + Object oo = get_Value(COLUMNNAME_IsUser1Dim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set User 2 Dimension. + @param IsUser2Dim + Include User 2 as a cube dimension + */ + public void setIsUser2Dim (boolean IsUser2Dim) + { + set_Value (COLUMNNAME_IsUser2Dim, Boolean.valueOf(IsUser2Dim)); + } + + /** Get User 2 Dimension. + @return Include User 2 as a cube dimension + */ + public boolean isUser2Dim () + { + Object oo = get_Value(COLUMNNAME_IsUser2Dim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set User Element 1 Dimension. + @param IsUserElement1Dim + Include User Element 1 as a cube dimension + */ + public void setIsUserElement1Dim (boolean IsUserElement1Dim) + { + set_Value (COLUMNNAME_IsUserElement1Dim, Boolean.valueOf(IsUserElement1Dim)); + } + + /** Get User Element 1 Dimension. + @return Include User Element 1 as a cube dimension + */ + public boolean isUserElement1Dim () + { + Object oo = get_Value(COLUMNNAME_IsUserElement1Dim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set User Element 2 Dimension. + @param IsUserElement2Dim + Include User Element 2 as a cube dimension + */ + public void setIsUserElement2Dim (boolean IsUserElement2Dim) + { + set_Value (COLUMNNAME_IsUserElement2Dim, Boolean.valueOf(IsUserElement2Dim)); + } + + /** Get User Element 2 Dimension. + @return Include User Element 2 as a cube dimension + */ + public boolean isUserElement2Dim () + { + Object oo = get_Value(COLUMNNAME_IsUserElement2Dim); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Last Recalculated. + @param LastRecalculated + The time last recalculated. + */ + public void setLastRecalculated (Timestamp LastRecalculated) + { + set_Value (COLUMNNAME_LastRecalculated, LastRecalculated); + } + + /** Get Last Recalculated. + @return The time last recalculated. + */ + public Timestamp getLastRecalculated () + { + return (Timestamp)get_Value(COLUMNNAME_LastRecalculated); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_Value (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set Report Cube. + @param PA_ReportCube_ID + Define reporting cube for pre-calculation of summary accounting data. + */ + public void setPA_ReportCube_ID (int PA_ReportCube_ID) + { + if (PA_ReportCube_ID < 1) + set_ValueNoCheck (COLUMNNAME_PA_ReportCube_ID, null); + else + set_ValueNoCheck (COLUMNNAME_PA_ReportCube_ID, Integer.valueOf(PA_ReportCube_ID)); + } + + /** Get Report Cube. + @return Define reporting cube for pre-calculation of summary accounting data. + */ + public int getPA_ReportCube_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_PA_ReportCube_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Process Now. + @param Processing Process Now */ + public void setProcessing (boolean Processing) + { + set_Value (COLUMNNAME_Processing, Boolean.valueOf(Processing)); + } + + /** Get Process Now. + @return Process Now */ + public boolean isProcessing () + { + Object oo = get_Value(COLUMNNAME_Processing); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } +} \ No newline at end of file diff --git a/base/src/org/compiere/process/FactAcctSummary.java b/base/src/org/compiere/process/FactAcctSummary.java new file mode 100644 index 0000000000..277e1359c8 --- /dev/null +++ b/base/src/org/compiere/process/FactAcctSummary.java @@ -0,0 +1,80 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ + +package org.compiere.process; + +import java.util.List; +import java.util.logging.Level; + +import org.compiere.model.MReportCube; +import org.compiere.model.Query; +import org.compiere.model.X_PA_ReportCube; + +/* + * Populate Fact_Acct_Summary table with pre-calculated totals of + * accounting facts, grouped by the dimensions selected in active report cubes. + * @author Paul Bowden + */ +public class FactAcctSummary extends SvrProcess { + + + private boolean p_reset = false; + private int p_Cube_ID = 0; + private String periods; + private boolean p_force = false; + + @Override + protected void prepare() { + + ProcessInfoParameter[] params = getParameter(); + for (ProcessInfoParameter p : params) + { + if ( p.getParameterName().equals("Reset") ) + p_reset = p.getParameterAsBoolean(); + else if ( p.getParameterName().equals("PA_ReportCube_ID")) + p_Cube_ID = p.getParameterAsInt(); + else if ( p.getParameterName().equals("Force")) + p_force = p.getParameterAsBoolean(); + else + log.log(Level.SEVERE, "Unknown Parameter: " + p.getParameterName()); + } + } + + @Override + protected String doIt() throws Exception { + + String where = ""; + if ( p_Cube_ID > 0) + where = "PA_ReportCube_ID = " + p_Cube_ID; + + List cubes = new Query(getCtx(), X_PA_ReportCube.Table_Name, where, get_TrxName()) + .setOnlyActiveRecords(true).setClient_ID() + .list(); + + for ( MReportCube cube : cubes ) + { + addLog( cube.update( p_reset, p_force ) ); + } // for each cube + + + return "@OK@"; + } + + + + +} diff --git a/base/src/org/compiere/report/FinReport.java b/base/src/org/compiere/report/FinReport.java index 7ecb95d81b..afcfa4caa9 100644 --- a/base/src/org/compiere/report/FinReport.java +++ b/base/src/org/compiere/report/FinReport.java @@ -24,6 +24,7 @@ import java.util.ArrayList; import java.util.logging.Level; import org.compiere.model.MAcctSchemaElement; +import org.compiere.model.MReportCube; import org.compiere.print.MPrintFormat; import org.compiere.print.MPrintFormatItem; import org.compiere.process.ProcessInfoParameter; @@ -63,6 +64,8 @@ public class FinReport extends SvrProcess private boolean p_DetailsSourceFirst = false; /** Hierarchy */ private int p_PA_Hierarchy_ID = 0; + /** Optional report cube */ + private int p_PA_ReportCube_ID = 0; /** Start Time */ private long m_start = System.currentTimeMillis(); @@ -115,6 +118,8 @@ public class FinReport extends SvrProcess p_C_Campaign_ID = ((BigDecimal)para[i].getParameter()).intValue(); else if (name.equals("DetailsSourceFirst")) p_DetailsSourceFirst = "Y".equals(para[i].getParameter()); + else if (name.equals("PA_ReportCube_ID")) + p_PA_ReportCube_ID = para[i].getParameterAsInt(); else log.log(Level.SEVERE, "Unknown Parameter: " + name); } @@ -156,6 +161,10 @@ public class FinReport extends SvrProcess sb.append(" - C_Period_ID=").append(p_C_Period_ID) .append(" - ").append(m_parameterWhere); // + + if ( p_PA_ReportCube_ID > 0) + m_parameterWhere.append(" AND PA_ReportCube_ID=").append(p_PA_ReportCube_ID); + log.info(sb.toString()); // m_report.list(); } // prepare @@ -226,6 +235,13 @@ public class FinReport extends SvrProcess protected String doIt() throws Exception { log.info("AD_PInstance_ID=" + getAD_PInstance_ID()); + + if ( p_PA_ReportCube_ID > 0 ) + { + MReportCube cube = new MReportCube(getCtx(), p_PA_ReportCube_ID, get_TrxName()); + String result = cube.update(false, false); + log.log(Level.FINE, result); + } // ** Create Temporary and empty Report Lines from PA_ReportLine // - AD_PInstance_ID, PA_ReportLine_ID, 0, 0 int PA_ReportLineSet_ID = m_report.getLineSet().getPA_ReportLineSet_ID(); @@ -315,9 +331,14 @@ public class FinReport extends SvrProcess log.warning("No Amount Type in line: " + m_lines[line] + " or column: " + m_columns[col]); continue; } + + if (p_PA_ReportCube_ID > 0) + select.append(" FROM Fact_Acct_Summary fa WHERE DateAcct "); + else { + // Get Period/Date info + select.append(" FROM Fact_Acct fa WHERE TRUNC(DateAcct) "); + } - // Get Period/Date info - select.append(" FROM Fact_Acct WHERE TRUNC(DateAcct) "); BigDecimal relativeOffset = null; // current if (m_columns[col].isColumnTypeRelativePeriod()) relativeOffset = m_columns[col].getRelativePeriod(); @@ -345,9 +366,7 @@ public class FinReport extends SvrProcess } else if (m_lines[line].isNatural()) { - String sql = frp.getNaturalWhere("Fact_Acct"); - info.append("Natural"); - select.append(sql); + select.append( frp.getNaturalWhere("fa")); } else { @@ -378,9 +397,7 @@ public class FinReport extends SvrProcess } else if (m_columns[col].isNatural()) { - String sql = frp.getNaturalWhere("Fact_Acct"); - info.append("Natural"); - select.append(sql); + select.append( frp.getNaturalWhere("fa")); } else { @@ -388,31 +405,31 @@ public class FinReport extends SvrProcess select.append("=0"); // valid sql } } - - // Line Where - String s = m_lines[line].getWhereClause(p_PA_Hierarchy_ID); // (sources, posting type) - if (s != null && s.length() > 0) - select.append(" AND ").append(s); - // Report Where - s = m_report.getWhereClause(); - if (s != null && s.length() > 0) - select.append(" AND ").append(s); + // Line Where + String s = m_lines[line].getWhereClause(p_PA_Hierarchy_ID); // (sources, posting type) + if (s != null && s.length() > 0) + select.append(" AND ").append(s); - // PostingType - if (!m_lines[line].isPostingType()) // only if not defined on line - { - String PostingType = m_columns[col].getPostingType(); - if (PostingType != null && PostingType.length() > 0) - select.append(" AND PostingType='").append(PostingType).append("'"); - // globalqss - CarlosRuiz - if (PostingType.equals(MReportColumn.POSTINGTYPE_Budget)) { - if (m_columns[col].getGL_Budget_ID() > 0) - select.append(" AND GL_Budget_ID=" + m_columns[col].getGL_Budget_ID()); - } - // end globalqss + // Report Where + s = m_report.getWhereClause(); + if (s != null && s.length() > 0) + select.append(" AND ").append(s); + + // PostingType + if (!m_lines[line].isPostingType()) // only if not defined on line + { + String PostingType = m_columns[col].getPostingType(); + if (PostingType != null && PostingType.length() > 0) + select.append(" AND PostingType='").append(PostingType).append("'"); + // globalqss - CarlosRuiz + if (PostingType.equals(MReportColumn.POSTINGTYPE_Budget)) { + if (m_columns[col].getGL_Budget_ID() > 0) + select.append(" AND GL_Budget_ID=" + m_columns[col].getGL_Budget_ID()); } - + // end globalqss + } + if (m_columns[col].isColumnTypeSegmentValue()) select.append(m_columns[col].getWhereClause(p_PA_Hierarchy_ID)); @@ -724,7 +741,7 @@ public class FinReport extends SvrProcess /************************************************************************** - * Get Financial Reporting Period based on reportong Period and offset. + * Get Financial Reporting Period based on reporting Period and offset. * @param relativeOffset offset * @return reporting period */ @@ -886,8 +903,13 @@ public class FinReport extends SvrProcess continue; } + if (p_PA_ReportCube_ID > 0) { + select.append(" FROM Fact_Acct_Summary fb WHERE DateAcct "); + } //report cube + else { // Get Period info - select.append(" FROM Fact_Acct fb WHERE TRUNC(DateAcct) "); + select.append(" FROM Fact_Acct fb WHERE TRUNC(DateAcct) "); + } FinReportPeriod frp = getPeriod (m_columns[col].getRelativePeriod()); if (m_lines[line].getAmountType() != null) // line amount type overwrites column { @@ -952,7 +974,10 @@ public class FinReport extends SvrProcess if (where.length() > 0) where.append(" AND "); where.append(variable).append(" IS NOT NULL"); - + + if (p_PA_ReportCube_ID > 0) + insert.append(" FROM Fact_Acct_Summary x WHERE ").append(where); + else // FROM .. WHERE insert.append(" FROM Fact_Acct x WHERE ").append(where); // diff --git a/migration/353a-trunk/oracle/517_FR2793242_FactAcctSummary.sql b/migration/353a-trunk/oracle/517_FR2793242_FactAcctSummary.sql new file mode 100644 index 0000000000..92926b8f96 --- /dev/null +++ b/migration/353a-trunk/oracle/517_FR2793242_FactAcctSummary.sql @@ -0,0 +1,1811 @@ +-- 14/05/2009 11:43:13 +-- Fin Report Summary +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WinHeight,WinWidth,WindowType) VALUES (0,0,53078,TO_DATE('2009-05-14 11:43:12','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','N','N','Y','Report Cube','N',TO_DATE('2009-05-14 11:43:12','YYYY-MM-DD HH24:MI:SS'),100,0,0,'M') +; + +-- 14/05/2009 11:43:13 +-- Fin Report Summary +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53078 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- 14/05/2009 11:43:33 +-- Fin Report Summary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,Help,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53202,'3','N',TO_DATE('2009-05-14 11:43:30','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','N','Y','N','Y','N','N','N',0,'Report Cube','L','PA_ReportCube',TO_DATE('2009-05-14 11:43:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:43:33 +-- Fin Report Summary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53202 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- 14/05/2009 11:43:43 +-- Fin Report Summary +UPDATE AD_Table SET AD_Window_ID=53078,Updated=TO_DATE('2009-05-14 11:43:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53202 +; + +-- 14/05/2009 11:44:26 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57556,102,0,19,53202,'AD_Client_ID',TO_DATE('2009-05-14 11:44:25','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Client',0,TO_DATE('2009-05-14 11:44:25','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:44:26 +-- Fin Report Summary +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=57556 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:44:53 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57557,113,0,19,53202,'AD_Org_ID',TO_DATE('2009-05-14 11:44:52','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Organization',0,TO_DATE('2009-05-14 11:44:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:44:53 +-- Fin Report Summary +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=57557 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:45:33 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57558,190,0,19,53202,'C_Calendar_ID',TO_DATE('2009-05-14 11:45:32','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Calendar Name','D',22,'The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Calendar',0,TO_DATE('2009-05-14 11:45:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:45:33 +-- Fin Report Summary +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=57558 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:45:55 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57559,245,0,16,53202,'Created',TO_DATE('2009-05-14 11:45:54','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Created',0,TO_DATE('2009-05-14 11:45:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:45:55 +-- Fin Report Summary +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=57559 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:46:32 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57560,246,0,18,286,53202,'CreatedBy',TO_DATE('2009-05-14 11:46:31','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Created By',0,TO_DATE('2009-05-14 11:46:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:46:32 +-- Fin Report Summary +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=57560 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:47:12 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57561,275,0,14,53202,'Description',TO_DATE('2009-05-14 11:47:11','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Description',0,TO_DATE('2009-05-14 11:47:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:47:12 +-- Fin Report Summary +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=57561 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:48:37 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53821,0,'PA_ReportCube_ID',TO_DATE('2009-05-14 11:48:36','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Report Cube','Report Cube',TO_DATE('2009-05-14 11:48:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:48:37 +-- Fin Report Summary +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=53821 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:49:14 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57562,53821,0,13,53202,'PA_ReportCube_ID',TO_DATE('2009-05-14 11:49:13','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D',22,'Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','N','N','N','N','Y','Y','N','N','N','N','N','Report Cube',0,TO_DATE('2009-05-14 11:49:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:49:14 +-- Fin Report Summary +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=57562 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:49:47 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57563,469,0,10,53202,'Name',TO_DATE('2009-05-14 11:49:46','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Name',0,TO_DATE('2009-05-14 11:49:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:49:47 +-- Fin Report Summary +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=57563 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:50:16 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57564,607,0,16,53202,'Updated',TO_DATE('2009-05-14 11:50:16','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Updated',0,TO_DATE('2009-05-14 11:50:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:50:16 +-- Fin Report Summary +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=57564 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:50:54 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57565,608,0,18,286,53202,'UpdatedBy',TO_DATE('2009-05-14 11:50:53','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Updated By',0,TO_DATE('2009-05-14 11:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:50:54 +-- Fin Report Summary +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=57565 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:52:59 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53822,0,'IsActivityDim',TO_DATE('2009-05-14 11:52:58','YYYY-MM-DD HH24:MI:SS'),100,'Include Activity as a cube dimension','D','Y','Activity Dimension','Activity Dimension',TO_DATE('2009-05-14 11:52:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:52:59 +-- Fin Report Summary +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=53822 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:53:35 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53823,0,'IsOrgTrxDim',TO_DATE('2009-05-14 11:53:34','YYYY-MM-DD HH24:MI:SS'),100,'Include OrgTrx as a cube dimension','D','Y','OrgTrx Dimension','OrgTrx Dimension',TO_DATE('2009-05-14 11:53:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:53:35 +-- Fin Report Summary +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=53823 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:54:25 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53824,0,'IsBPartnerDim',TO_DATE('2009-05-14 11:54:24','YYYY-MM-DD HH24:MI:SS'),100,'Include Business Partner as a cube dimension','D','Y','Business Partner Dimension','Business Partner Dimension',TO_DATE('2009-05-14 11:54:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:54:25 +-- Fin Report Summary +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=53824 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:55:01 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53825,0,'IsCampaignDim',TO_DATE('2009-05-14 11:55:01','YYYY-MM-DD HH24:MI:SS'),100,'Include Campaign as a cube dimension','D','Y','Campaign Dimension','Campaign Dimension',TO_DATE('2009-05-14 11:55:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:55:01 +-- Fin Report Summary +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=53825 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:55:33 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53826,0,'IsLocFromDim',TO_DATE('2009-05-14 11:55:32','YYYY-MM-DD HH24:MI:SS'),100,'Include Location From as a cube dimension','D','Y','Location From Dimension','Location From Dimension',TO_DATE('2009-05-14 11:55:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:55:33 +-- Fin Report Summary +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=53826 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:55:54 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53827,0,'IsLocToDim',TO_DATE('2009-05-14 11:55:53','YYYY-MM-DD HH24:MI:SS'),100,'Include Location To as a cube dimension','D','Y','Location To Dimension','Location To Dimension',TO_DATE('2009-05-14 11:55:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:55:54 +-- Fin Report Summary +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=53827 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:56:31 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53828,0,'IsProjectPhaseDim',TO_DATE('2009-05-14 11:56:31','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Phase as a cube dimension','D','Y','Project Phase Dimension','Project Phase Dimension',TO_DATE('2009-05-14 11:56:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:56:31 +-- Fin Report Summary +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=53828 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:57:00 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53829,0,'IsProjectTaskDim',TO_DATE('2009-05-14 11:56:59','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Task as a cube dimension','D','Y','Project Task Dimension','Project Task Dimension',TO_DATE('2009-05-14 11:56:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:57:00 +-- Fin Report Summary +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=53829 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:57:24 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53830,0,'IsProjectDim',TO_DATE('2009-05-14 11:57:24','YYYY-MM-DD HH24:MI:SS'),100,'Include Project as a cube dimension','D','Y','Project Dimension','Project Dimension',TO_DATE('2009-05-14 11:57:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:57:24 +-- Fin Report Summary +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=53830 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:58:01 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53831,0,'IsSalesRegionDim',TO_DATE('2009-05-14 11:58:00','YYYY-MM-DD HH24:MI:SS'),100,'Include Sales Region as a cube dimension','D','Y','Sales Region Dimension','Sales Region Dimension',TO_DATE('2009-05-14 11:58:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:58:01 +-- Fin Report Summary +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=53831 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:58:43 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53832,0,'IsSubAcctDim',TO_DATE('2009-05-14 11:58:42','YYYY-MM-DD HH24:MI:SS'),100,'Include Sub Acct as a cube dimension','D','Y','Sub Acct Dimension','Sub Acct Dimension',TO_DATE('2009-05-14 11:58:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:58:43 +-- Fin Report Summary +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=53832 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:59:25 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53833,0,'IsGLBudgetDim',TO_DATE('2009-05-14 11:59:24','YYYY-MM-DD HH24:MI:SS'),100,'Include GL Budget as a cube dimension','D','Y','GL Budget Dimension','GL Budget Dimension',TO_DATE('2009-05-14 11:59:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:59:25 +-- Fin Report Summary +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=53833 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:59:56 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53834,0,'IsProductDim',TO_DATE('2009-05-14 11:59:55','YYYY-MM-DD HH24:MI:SS'),100,'Include Product as a cube dimension','D','Y','Product Dimension','Product Dimension',TO_DATE('2009-05-14 11:59:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:59:56 +-- Fin Report Summary +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=53834 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 12:00:50 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53835,0,'IsUser1Dim',TO_DATE('2009-05-14 12:00:27','YYYY-MM-DD HH24:MI:SS'),100,'Include User 1 as a cube dimension','D','Y','User 1 Dimension','User 1 Dimension',TO_DATE('2009-05-14 12:00:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:00:50 +-- Fin Report Summary +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=53835 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 12:02:09 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53836,0,'IsUser2Dim',TO_DATE('2009-05-14 12:02:03','YYYY-MM-DD HH24:MI:SS'),100,'Include User 2 as a cube dimension','D',NULL,'Y','User 2 Dimension','User 2 Dimension',TO_DATE('2009-05-14 12:02:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:02:09 +-- Fin Report Summary +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=53836 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 12:03:07 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57566,53823,0,20,53202,'IsOrgTrxDim',TO_DATE('2009-05-14 12:03:06','YYYY-MM-DD HH24:MI:SS'),100,'Include OrgTrx as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','OrgTrx Dimension',0,TO_DATE('2009-05-14 12:03:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:03:07 +-- Fin Report Summary +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=57566 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:03:29 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57567,53822,0,20,53202,'IsActivityDim',TO_DATE('2009-05-14 12:03:28','YYYY-MM-DD HH24:MI:SS'),100,'Include Activity as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Activity Dimension',0,TO_DATE('2009-05-14 12:03:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:03:29 +-- Fin Report Summary +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=57567 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:03:58 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57568,53824,0,20,53202,'IsBPartnerDim',TO_DATE('2009-05-14 12:03:57','YYYY-MM-DD HH24:MI:SS'),100,'Include Business Partner as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Business Partner Dimension',0,TO_DATE('2009-05-14 12:03:57','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:03:58 +-- Fin Report Summary +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=57568 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:04:18 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57569,53825,0,20,53202,'IsCampaignDim',TO_DATE('2009-05-14 12:04:18','YYYY-MM-DD HH24:MI:SS'),100,'Include Campaign as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Campaign Dimension',0,TO_DATE('2009-05-14 12:04:18','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:04:18 +-- Fin Report Summary +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=57569 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:04:41 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57570,53826,0,20,53202,'IsLocFromDim',TO_DATE('2009-05-14 12:04:41','YYYY-MM-DD HH24:MI:SS'),100,'Include Location From as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Location From Dimension',0,TO_DATE('2009-05-14 12:04:41','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:04:41 +-- Fin Report Summary +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=57570 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:04:57 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57571,53827,0,20,53202,'IsLocToDim',TO_DATE('2009-05-14 12:04:56','YYYY-MM-DD HH24:MI:SS'),100,'Include Location To as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Location To Dimension',0,TO_DATE('2009-05-14 12:04:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:04:57 +-- Fin Report Summary +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=57571 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:05:17 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57572,53828,0,20,53202,'IsProjectPhaseDim',TO_DATE('2009-05-14 12:05:16','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Phase as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Project Phase Dimension',0,TO_DATE('2009-05-14 12:05:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:05:17 +-- Fin Report Summary +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=57572 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:05:33 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57573,53829,0,20,53202,'IsProjectTaskDim',TO_DATE('2009-05-14 12:05:33','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Task as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Project Task Dimension',0,TO_DATE('2009-05-14 12:05:33','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:05:33 +-- Fin Report Summary +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=57573 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:05:51 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57574,53830,0,20,53202,'IsProjectDim',TO_DATE('2009-05-14 12:05:50','YYYY-MM-DD HH24:MI:SS'),100,'Include Project as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Project Dimension',0,TO_DATE('2009-05-14 12:05:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:05:51 +-- Fin Report Summary +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=57574 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:06:15 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57575,53831,0,20,53202,'IsSalesRegionDim',TO_DATE('2009-05-14 12:06:15','YYYY-MM-DD HH24:MI:SS'),100,'Include Sales Region as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Sales Region Dimension',0,TO_DATE('2009-05-14 12:06:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:06:15 +-- Fin Report Summary +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=57575 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:06:37 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57576,53832,0,20,53202,'IsSubAcctDim',TO_DATE('2009-05-14 12:06:36','YYYY-MM-DD HH24:MI:SS'),100,'Include Sub Acct as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Sub Acct Dimension',0,TO_DATE('2009-05-14 12:06:36','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:06:37 +-- Fin Report Summary +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=57576 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:07:11 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57577,53833,0,20,53202,'IsGLBudgetDim',TO_DATE('2009-05-14 12:07:10','YYYY-MM-DD HH24:MI:SS'),100,'Include GL Budget as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','GL Budget Dimension',0,TO_DATE('2009-05-14 12:07:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:07:11 +-- Fin Report Summary +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=57577 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:07:32 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57578,53834,0,20,53202,'IsProductDim',TO_DATE('2009-05-14 12:07:32','YYYY-MM-DD HH24:MI:SS'),100,'Include Product as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Product Dimension',0,TO_DATE('2009-05-14 12:07:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:07:32 +-- Fin Report Summary +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=57578 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:07:50 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57579,53835,0,20,53202,'IsUser1Dim',TO_DATE('2009-05-14 12:07:49','YYYY-MM-DD HH24:MI:SS'),100,'Include User 1 as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User 1 Dimension',0,TO_DATE('2009-05-14 12:07:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:07:50 +-- Fin Report Summary +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=57579 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:08:10 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57580,53836,0,20,53202,'IsUser2Dim',TO_DATE('2009-05-14 12:08:09','YYYY-MM-DD HH24:MI:SS'),100,'Include User 2 as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User 2 Dimension',0,TO_DATE('2009-05-14 12:08:09','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:08:10 +-- Fin Report Summary +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=57580 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:09:13 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57581,348,0,20,53202,'IsActive',TO_DATE('2009-05-14 12:09:11','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Active',0,TO_DATE('2009-05-14 12:09:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:09:13 +-- Fin Report Summary +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=57581 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:10:04 +-- Fin Report Summary +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53219,53202,53078,TO_DATE('2009-05-14 12:10:03','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','Y','N','N','Report Cube','N',10,0,TO_DATE('2009-05-14 12:10:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:04 +-- Fin Report Summary +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53219 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- 14/05/2009 12:10:18 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57581,57012,0,53219,TO_DATE('2009-05-14 12:10:17','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_DATE('2009-05-14 12:10:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:18 +-- Fin Report Summary +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=57012 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:19 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57567,57013,0,53219,TO_DATE('2009-05-14 12:10:18','YYYY-MM-DD HH24:MI:SS'),100,'Include Activity as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Activity Dimension',TO_DATE('2009-05-14 12:10:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:19 +-- Fin Report Summary +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=57013 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:20 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57568,57014,0,53219,TO_DATE('2009-05-14 12:10:19','YYYY-MM-DD HH24:MI:SS'),100,'Include Business Partner as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Business Partner Dimension',TO_DATE('2009-05-14 12:10:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:20 +-- Fin Report Summary +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=57014 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:21 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57558,57015,0,53219,TO_DATE('2009-05-14 12:10:20','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Calendar Name',22,'D','The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','Y','Y','N','N','N','N','N','Calendar',TO_DATE('2009-05-14 12:10:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:21 +-- Fin Report Summary +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=57015 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:22 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57569,57016,0,53219,TO_DATE('2009-05-14 12:10:21','YYYY-MM-DD HH24:MI:SS'),100,'Include Campaign as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Campaign Dimension',TO_DATE('2009-05-14 12:10:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:22 +-- Fin Report Summary +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=57016 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57556,57017,0,53219,TO_DATE('2009-05-14 12:10:22','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_DATE('2009-05-14 12:10:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +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=57017 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57561,57018,0,53219,TO_DATE('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_DATE('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +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=57018 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:24 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57577,57019,0,53219,TO_DATE('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100,'Include GL Budget as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','GL Budget Dimension',TO_DATE('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:24 +-- Fin Report Summary +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=57019 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:25 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57570,57020,0,53219,TO_DATE('2009-05-14 12:10:24','YYYY-MM-DD HH24:MI:SS'),100,'Include Location From as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Location From Dimension',TO_DATE('2009-05-14 12:10:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:25 +-- Fin Report Summary +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=57020 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57571,57021,0,53219,TO_DATE('2009-05-14 12:10:25','YYYY-MM-DD HH24:MI:SS'),100,'Include Location To as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Location To Dimension',TO_DATE('2009-05-14 12:10:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +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=57021 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57563,57022,0,53219,TO_DATE('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_DATE('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +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=57022 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:27 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57566,57023,0,53219,TO_DATE('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100,'Include OrgTrx as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','OrgTrx Dimension',TO_DATE('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:28 +-- Fin Report Summary +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=57023 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57557,57024,0,53219,TO_DATE('2009-05-14 12:10:28','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_DATE('2009-05-14 12:10:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +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=57024 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57578,57025,0,53219,TO_DATE('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100,'Include Product as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Product Dimension',TO_DATE('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +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=57025 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:30 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57574,57026,0,53219,TO_DATE('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100,'Include Project as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Project Dimension',TO_DATE('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:30 +-- Fin Report Summary +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=57026 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:31 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57572,57027,0,53219,TO_DATE('2009-05-14 12:10:30','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Phase as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Project Phase Dimension',TO_DATE('2009-05-14 12:10:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:31 +-- Fin Report Summary +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=57027 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:32 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57573,57028,0,53219,TO_DATE('2009-05-14 12:10:31','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Task as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Project Task Dimension',TO_DATE('2009-05-14 12:10:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:32 +-- Fin Report Summary +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=57028 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:42 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57562,57029,0,53219,TO_DATE('2009-05-14 12:10:32','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.',22,'D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','N','N','N','N','N','N','Report Cube',TO_DATE('2009-05-14 12:10:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:42 +-- Fin Report Summary +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=57029 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57575,57030,0,53219,TO_DATE('2009-05-14 12:10:42','YYYY-MM-DD HH24:MI:SS'),100,'Include Sales Region as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Sales Region Dimension',TO_DATE('2009-05-14 12:10:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +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=57030 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57576,57031,0,53219,TO_DATE('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100,'Include Sub Acct as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Sub Acct Dimension',TO_DATE('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +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=57031 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:45 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57579,57032,0,53219,TO_DATE('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100,'Include User 1 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User 1 Dimension',TO_DATE('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:45 +-- Fin Report Summary +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=57032 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:46 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57580,57033,0,53219,TO_DATE('2009-05-14 12:10:45','YYYY-MM-DD HH24:MI:SS'),100,'Include User 2 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User 2 Dimension',TO_DATE('2009-05-14 12:10:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:46 +-- Fin Report Summary +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=57033 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=57017 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=57024 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=57022 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=57018 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=57015 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=57012 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=57025 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=57014 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=57030 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=57023 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=57013 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=57016 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=57026 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=57027 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=57028 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=57019 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=57020 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=57021 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=57031 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=57032 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=57033 +; + +-- 14/05/2009 12:13:56 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:13:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57024 +; + +-- 14/05/2009 12:14:08 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57012 +; + +-- 14/05/2009 12:14:12 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57014 +; + +-- 14/05/2009 12:14:17 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57023 +; + +-- 14/05/2009 12:14:23 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57016 +; + +-- 14/05/2009 12:14:27 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57027 +; + +-- 14/05/2009 12:14:36 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57019 +; + +-- 14/05/2009 12:14:39 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57021 +; + +-- 14/05/2009 12:14:45 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-05-14 12:14:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57033 +; + +-- 14/05/2009 12:15:41 +-- Fin Report Summary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53214,0,53078,'W',TO_DATE('2009-05-14 12:15:40','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','Report Cube',TO_DATE('2009-05-14 12:15:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:15:41 +-- Fin Report Summary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53214 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- 14/05/2009 12:15:41 +-- Fin Report Summary +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53214, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53214) +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=283 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=282 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=548 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53214 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=281 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=350 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=502 +; + +-- 14/05/2009 12:19:27 +-- Fin Report Summary +CREATE TABLE PA_ReportCube (AD_Client_ID NUMBER(10) NOT NULL, AD_Org_ID NUMBER(10) NOT NULL, C_Calendar_ID NUMBER(10) NOT NULL, Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, Description NVARCHAR2(255) DEFAULT NULL , IsActive CHAR(1) DEFAULT NULL CHECK (IsActive IN ('Y','N')), IsActivityDim CHAR(1) DEFAULT NULL CHECK (IsActivityDim IN ('Y','N')), IsBPartnerDim CHAR(1) DEFAULT NULL CHECK (IsBPartnerDim IN ('Y','N')), IsCampaignDim CHAR(1) DEFAULT NULL CHECK (IsCampaignDim IN ('Y','N')), IsGLBudgetDim CHAR(1) DEFAULT NULL CHECK (IsGLBudgetDim IN ('Y','N')), IsLocFromDim CHAR(1) DEFAULT NULL CHECK (IsLocFromDim IN ('Y','N')), IsLocToDim CHAR(1) DEFAULT NULL CHECK (IsLocToDim IN ('Y','N')), IsOrgTrxDim CHAR(1) DEFAULT NULL CHECK (IsOrgTrxDim IN ('Y','N')), IsProductDim CHAR(1) DEFAULT NULL CHECK (IsProductDim IN ('Y','N')), IsProjectDim CHAR(1) DEFAULT NULL CHECK (IsProjectDim IN ('Y','N')), IsProjectPhaseDim CHAR(1) DEFAULT NULL CHECK (IsProjectPhaseDim IN ('Y','N')), IsProjectTaskDim CHAR(1) DEFAULT NULL CHECK (IsProjectTaskDim IN ('Y','N')), IsSalesRegionDim CHAR(1) DEFAULT NULL CHECK (IsSalesRegionDim IN ('Y','N')), IsSubAcctDim CHAR(1) DEFAULT NULL CHECK (IsSubAcctDim IN ('Y','N')), IsUser1Dim CHAR(1) DEFAULT NULL CHECK (IsUser1Dim IN ('Y','N')), IsUser2Dim CHAR(1) DEFAULT NULL CHECK (IsUser2Dim IN ('Y','N')), Name NVARCHAR2(60) NOT NULL, PA_ReportCube_ID NUMBER(10) NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT PA_ReportCube_Key PRIMARY KEY (PA_ReportCube_ID)) +; + +-- 14/05/2009 12:28:23 +-- Fin Report Summary +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53299,TO_DATE('2009-05-14 12:28:22','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_ReportCube',TO_DATE('2009-05-14 12:28:22','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- 14/05/2009 12:28:23 +-- Fin Report Summary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53299 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- 14/05/2009 12:28:53 +-- Fin Report Summary +INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,57563,57562,0,53299,53202,TO_DATE('2009-05-14 12:28:53','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2009-05-14 12:28:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:29:18 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57582,53821,0,18,53299,445,'PA_ReportCube_ID',TO_DATE('2009-05-14 12:29:17','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D',22,'Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Report Cube',0,TO_DATE('2009-05-14 12:29:17','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:29:18 +-- Fin Report Summary +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=57582 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:29:23 +-- Fin Report Summary +ALTER TABLE PA_Report ADD PA_ReportCube_ID NUMBER(10) DEFAULT NULL +; + +-- 14/05/2009 12:30:45 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,57582,57034,0,372,TO_DATE('2009-05-14 12:30:44','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.',0,'D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','Y','N','N','N','N','N','Report Cube',95,0,TO_DATE('2009-05-14 12:30:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:30:45 +-- Fin Report Summary +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=57034 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:33:00 +-- Fin Report Summary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53203,'3','N',TO_DATE('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','Y','N','N','N',0,'Accounting Fact summary','L','Fact_Acct_Summary',TO_DATE('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:33:00 +-- Fin Report Summary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53203 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- 14/05/2009 12:33:01 +-- Fin Report Summary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53296,TO_DATE('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table Fact_Acct_Summary',1,'Y','N','Y','Y','Fact_Acct_Summary','N',1000000,TO_DATE('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:33:10 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57583,102,0,19,53203,'AD_Client_ID',TO_DATE('2009-05-14 12:33:09','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','Client',TO_DATE('2009-05-14 12:33:09','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:10 +-- Fin Report Summary +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=57583 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:11 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57584,113,0,19,53203,'AD_Org_ID',TO_DATE('2009-05-14 12:33:10','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','Organization',TO_DATE('2009-05-14 12:33:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:11 +-- Fin Report Summary +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=57584 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57585,53821,0,19,53203,'PA_ReportCube_ID',TO_DATE('2009-05-14 12:33:11','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D',10,'Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','N','N','N','N','Y','N','N','N','Y','Report Cube',TO_DATE('2009-05-14 12:33:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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=57585 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57586,181,0,19,53203,'C_AcctSchema_ID',TO_DATE('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,'Rules for accounting','D',10,'An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','N','N','N','N','Y','N','N','N','Y','Accounting Schema',TO_DATE('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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=57586 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:13 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57587,206,0,19,53203,'C_Period_ID',TO_DATE('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,'Period of the Calendar','D',10,'The Period indicates an exclusive range of dates for a calendar.','Y','N','N','N','N','Y','N','N','N','Y','Period',TO_DATE('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:13 +-- Fin Report Summary +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=57587 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:14 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57588,148,0,19,53203,'Account_ID',TO_DATE('2009-05-14 12:33:13','YYYY-MM-DD HH24:MI:SS'),100,'Account used','D',10,'The (natural) account used','Y','N','N','N','N','Y','N','N','N','Y','Account',TO_DATE('2009-05-14 12:33:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:14 +-- Fin Report Summary +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=57588 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:15 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57589,514,0,20,53203,'PostingType',TO_DATE('2009-05-14 12:33:14','YYYY-MM-DD HH24:MI:SS'),100,'The type of posted amount for the transaction','D',1,'The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','N','N','N','N','Y','N','N','N','Y','PostingType',TO_DATE('2009-05-14 12:33:14','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:15 +-- Fin Report Summary +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=57589 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:16 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57590,454,0,19,53203,'M_Product_ID',TO_DATE('2009-05-14 12:33:15','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','N','Y','Product',TO_DATE('2009-05-14 12:33:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:16 +-- Fin Report Summary +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=57590 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57591,187,0,19,53203,'C_BPartner_ID',TO_DATE('2009-05-14 12:33:16','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','D',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','N','Y','Business Partner ',TO_DATE('2009-05-14 12:33:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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=57591 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57592,208,0,19,53203,'C_Project_ID',TO_DATE('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,'Financial Project','D',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','N','Y','Project',TO_DATE('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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=57592 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:18 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57593,112,0,19,53203,'AD_OrgTrx_ID',TO_DATE('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,'Performing or initiating organization','D',10,'The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.','Y','N','N','N','N','N','N','N','N','Y','Trx Organization',TO_DATE('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:18 +-- Fin Report Summary +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=57593 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:19 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57594,210,0,19,53203,'C_SalesRegion_ID',TO_DATE('2009-05-14 12:33:18','YYYY-MM-DD HH24:MI:SS'),100,'Sales coverage region','D',10,'The Sales Region indicates a specific area of sales coverage.','Y','N','N','N','N','N','N','N','N','Y','Sales Region',TO_DATE('2009-05-14 12:33:18','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:19 +-- Fin Report Summary +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=57594 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:20 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57595,1005,0,19,53203,'C_Activity_ID',TO_DATE('2009-05-14 12:33:19','YYYY-MM-DD HH24:MI:SS'),100,'Business Activity','D',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','N','Y','Activity',TO_DATE('2009-05-14 12:33:19','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:20 +-- Fin Report Summary +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=57595 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:20 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57596,550,0,19,53203,'C_Campaign_ID',TO_DATE('2009-05-14 12:33:20','YYYY-MM-DD HH24:MI:SS'),100,'Marketing Campaign','D',10,'The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.','Y','N','N','N','N','N','N','N','N','Y','Campaign',TO_DATE('2009-05-14 12:33:20','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:20 +-- Fin Report Summary +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=57596 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:21 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57597,201,0,19,53203,'C_LocTo_ID',TO_DATE('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,'Location that inventory was moved to','D',10,'The Location To indicates the location that a product was moved to.','Y','N','N','N','N','N','N','N','N','Y','Location To',TO_DATE('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:21 +-- Fin Report Summary +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=57597 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:22 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57598,200,0,19,53203,'C_LocFrom_ID',TO_DATE('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,'Location that inventory was moved from','D',10,'The Location From indicates the location that a product was moved from.','Y','N','N','N','N','N','N','N','N','Y','Location From',TO_DATE('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:22 +-- Fin Report Summary +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=57598 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:23 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57599,613,0,19,53203,'User1_ID',TO_DATE('2009-05-14 12:33:22','YYYY-MM-DD HH24:MI:SS'),100,'User defined list element #1','D',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','Y','User List 1',TO_DATE('2009-05-14 12:33:22','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:23 +-- Fin Report Summary +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=57599 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:24 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57600,614,0,19,53203,'User2_ID',TO_DATE('2009-05-14 12:33:23','YYYY-MM-DD HH24:MI:SS'),100,'User defined list element #2','D',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','Y','User List 2',TO_DATE('2009-05-14 12:33:23','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:24 +-- Fin Report Summary +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=57600 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:25 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57601,308,0,19,53203,'GL_Budget_ID',TO_DATE('2009-05-14 12:33:24','YYYY-MM-DD HH24:MI:SS'),100,'General Ledger Budget','D',10,'The General Ledger Budget identifies a user defined budget. These can be used in reporting as a comparison against your actual amounts.','Y','N','N','N','N','N','N','N','N','Y','Budget',TO_DATE('2009-05-14 12:33:24','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:25 +-- Fin Report Summary +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=57601 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57602,162,0,12,53203,'AmtAcctDr',TO_DATE('2009-05-14 12:33:25','YYYY-MM-DD HH24:MI:SS'),100,'Accounted Debit Amount','D',22,'The Account Debit Amount indicates the transaction amount converted to this organization''s accounting currency','Y','N','N','N','N','Y','N','N','N','Y','Accounted Debit',TO_DATE('2009-05-14 12:33:25','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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=57602 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57603,161,0,12,53203,'AmtAcctCr',TO_DATE('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,'Accounted Credit Amount','D',22,'The Account Credit Amount indicates the transaction amount converted to this organization''s accounting currency','Y','N','N','N','N','Y','N','N','N','Y','Accounted Credit',TO_DATE('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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=57603 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:27 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57604,526,0,29,53203,'Qty',TO_DATE('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,'Quantity','D',22,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','Y','N','N','N','Y','Quantity',TO_DATE('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:27 +-- Fin Report Summary +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=57604 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:28 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57605,246,0,18,110,53203,'CreatedBy',TO_DATE('2009-05-14 12:33:27','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','Created By',TO_DATE('2009-05-14 12:33:27','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:28 +-- Fin Report Summary +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=57605 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:29 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57606,245,0,16,53203,'Created',TO_DATE('2009-05-14 12:33:28','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','Created',TO_DATE('2009-05-14 12:33:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:29 +-- Fin Report Summary +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=57606 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57607,608,0,18,110,53203,'UpdatedBy',TO_DATE('2009-05-14 12:33:29','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','Updated By',TO_DATE('2009-05-14 12:33:29','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +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=57607 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57608,607,0,16,53203,'Updated',TO_DATE('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','Updated',TO_DATE('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +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=57608 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:31 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57609,348,0,20,53203,'IsActive',TO_DATE('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','Y','Active',TO_DATE('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:31 +-- Fin Report Summary +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=57609 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:32 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57610,2876,0,19,53203,'C_SubAcct_ID',TO_DATE('2009-05-14 12:33:31','YYYY-MM-DD HH24:MI:SS'),100,'Sub account for Element Value','D',10,'The Element Value (e.g. Account) may have optional sub accounts for further detail. The sub account is dependent on the value of the account, so a further specification. If the sub-accounts are more or less the same, consider using another accounting dimension.','Y','N','N','N','N','N','N','N','N','Y','Sub Account',TO_DATE('2009-05-14 12:33:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:32 +-- Fin Report Summary +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=57610 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:33 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57611,2877,0,19,53203,'UserElement1_ID',TO_DATE('2009-05-14 12:33:32','YYYY-MM-DD HH24:MI:SS'),100,'User defined accounting Element','D',10,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)','Y','N','N','N','N','N','N','N','N','Y','User Element 1',TO_DATE('2009-05-14 12:33:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:33 +-- Fin Report Summary +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=57611 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57612,2878,0,19,53203,'UserElement2_ID',TO_DATE('2009-05-14 12:33:33','YYYY-MM-DD HH24:MI:SS'),100,'User defined accounting Element','D',10,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested) ','Y','N','N','N','N','N','N','N','N','Y','User Element 2',TO_DATE('2009-05-14 12:33:33','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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=57612 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57613,2073,0,19,53203,'C_ProjectPhase_ID',TO_DATE('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,'Phase of a Project','D',10,'Y','N','N','N','N','N','N','N','N','Y','Project Phase',TO_DATE('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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=57613 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:35 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57614,2074,0,19,53203,'C_ProjectTask_ID',TO_DATE('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,'Actual Project Task in a Phase','D',10,'A Project Task in a Project Phase represents the actual work.','Y','N','N','N','N','N','N','N','N','Y','Project Task',TO_DATE('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:35 +-- Fin Report Summary +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=57614 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:35:08 +-- Fin Report Summary +CREATE TABLE Fact_Acct_Summary (AD_Client_ID NUMBER(10) NOT NULL, AD_OrgTrx_ID NUMBER(10) DEFAULT NULL , AD_Org_ID NUMBER(10) NOT NULL, Account_ID NUMBER(10) NOT NULL, AmtAcctCr NUMBER NOT NULL, AmtAcctDr NUMBER NOT NULL, C_AcctSchema_ID NUMBER(10) NOT NULL, C_Activity_ID NUMBER(10) DEFAULT NULL , C_BPartner_ID NUMBER(10) DEFAULT NULL , C_Campaign_ID NUMBER(10) DEFAULT NULL , C_LocFrom_ID NUMBER(10) DEFAULT NULL , C_LocTo_ID NUMBER(10) DEFAULT NULL , C_Period_ID NUMBER(10) NOT NULL, C_ProjectPhase_ID NUMBER(10) DEFAULT NULL , C_ProjectTask_ID NUMBER(10) DEFAULT NULL , C_Project_ID NUMBER(10) DEFAULT NULL , C_SalesRegion_ID NUMBER(10) DEFAULT NULL , C_SubAcct_ID NUMBER(10) DEFAULT NULL , Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, GL_Budget_ID NUMBER(10) DEFAULT NULL , IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL, M_Product_ID NUMBER(10) DEFAULT NULL , PA_ReportCube_ID NUMBER(10) NOT NULL, PostingType CHAR(1) NOT NULL, Qty NUMBER NOT NULL, Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, User1_ID NUMBER(10) DEFAULT NULL , User2_ID NUMBER(10) DEFAULT NULL , UserElement1_ID NUMBER(10) DEFAULT NULL , UserElement2_ID NUMBER(10) DEFAULT NULL ) +; + +-- 15/05/2009 0:43:09 +-- Fin Report Summary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53166,'3','org.compiere.process.FactAcctSummary',TO_DATE('2009-05-15 00:43:07','YYYY-MM-DD HH24:MI:SS'),100,'Recalculate summary facts based on report cube definitions.','D','Y','N','N','N','N','Recalculate Fact Summary','Y',0,0,TO_DATE('2009-05-15 00:43:07','YYYY-MM-DD HH24:MI:SS'),100,'FactAcctSummary') +; + +-- 15/05/2009 0:43:09 +-- Fin Report Summary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53166 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- 15/05/2009 0:44:21 +-- Fin Report Summary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,Action,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53215,0,53166,'P',TO_DATE('2009-05-15 00:44:20','YYYY-MM-DD HH24:MI:SS'),100,'Recalculate Fact Summary','D','Y','N','N','N','Recalculate Fact Summary',TO_DATE('2009-05-15 00:44:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 15/05/2009 0:44:21 +-- Fin Report Summary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53215 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- 15/05/2009 0:44:21 +-- Fin Report Summary +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 53215, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53215) +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=283 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=282 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=548 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53214 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53215 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=281 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=350 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=502 +; + +-- 19/05/2009 23:03:38 +-- Fin Report Summary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53308,TO_DATE('2009-05-19 23:03:36','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table PA_ReportCube',1,'Y','N','Y','Y','PA_ReportCube','N',1000000,TO_DATE('2009-05-19 23:03:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:10:04 +-- Fin Report Summary +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52050,'PA_ReportCube.C_Calendar_ID=@C_Calendar_ID@',TO_DATE('2009-05-19 23:10:03','YYYY-MM-DD HH24:MI:SS'),100,'U','Y','PA_ReportCube of Calendar','S',TO_DATE('2009-05-19 23:10:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:10:22 +-- Fin Report Summary +UPDATE AD_Column SET AD_Val_Rule_ID=52050,Updated=TO_DATE('2009-05-19 23:10:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57582 +; + +-- 19/05/2009 23:16:03 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53821,0,202,53313,18,53299,52050,'PA_ReportCube_ID',TO_DATE('2009-05-19 23:16:02','YYYY-MM-DD HH24:MI:SS'),100,'@PA_ReportCube_ID@','Optional report cube to retrieve pre-calculated summary date from.','D',10,'Y','Y','N','N','Report Cube',120,TO_DATE('2009-05-19 23:16:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:16:03 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53313 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 19/05/2009 23:16:14 +-- Fin Report Summary +UPDATE AD_Process_Para SET Description='Optional report cube to retrieve pre-calculated summary data from.',Updated=TO_DATE('2009-05-19 23:16:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53313 +; + +-- 19/05/2009 23:16:14 +-- Fin Report Summary +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53313 +; + +-- 19/05/2009 23:19:33 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53166,53314,20,'Reset',TO_DATE('2009-05-19 23:19:32','YYYY-MM-DD HH24:MI:SS'),100,'Delete all existing summary data and recalculate.','D',0,'If not selected, only those periods with recently posted accounting facts will be recalculated.','Y','Y','N','N','Full rebuild',10,TO_DATE('2009-05-19 23:19:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:19:33 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53314 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 19/05/2009 23:20:37 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53166,53315,18,53299,'PA_ReportCube_ID',TO_DATE('2009-05-19 23:20:30','YYYY-MM-DD HH24:MI:SS'),100,'Recalculate only this cube.','D',0,'Y','Y','N','N','Report cube',20,TO_DATE('2009-05-19 23:20:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:20:37 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53315 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 19/05/2009 23:22:04 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57646,524,0,20,53202,'Processing',TO_DATE('2009-05-19 23:22:02','YYYY-MM-DD HH24:MI:SS'),100,'N','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Process Now',0,TO_DATE('2009-05-19 23:22:02','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 19/05/2009 23:22:04 +-- Fin Report Summary +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=57646 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 19/05/2009 23:22:07 +-- Fin Report Summary +ALTER TABLE PA_ReportCube ADD Processing CHAR(1) DEFAULT 'N' CHECK (Processing IN ('Y','N')) NOT NULL +; + +-- 19/05/2009 23:25:05 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53837,0,'LastRecalculated',TO_DATE('2009-05-19 23:25:04','YYYY-MM-DD HH24:MI:SS'),100,'The time last recalculated.','D','Y','Last Recalculated','Last Recalculated',TO_DATE('2009-05-19 23:25:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:25:05 +-- Fin Report Summary +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=53837 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 19/05/2009 23:25:41 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57647,53837,0,16,53202,'LastRecalculated',TO_DATE('2009-05-19 23:25:35','YYYY-MM-DD HH24:MI:SS'),100,'The time last recalculated.','D',7,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Last Recalculated',0,TO_DATE('2009-05-19 23:25:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 19/05/2009 23:25:41 +-- Fin Report Summary +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=57647 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 19/05/2009 23:25:45 +-- Fin Report Summary +ALTER TABLE PA_ReportCube ADD LastRecalculated DATE DEFAULT NULL +; + +-- 21/05/2009 23:43:51 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57649,263,0,15,53203,'DateAcct',TO_DATE('2009-05-21 23:43:48','YYYY-MM-DD HH24:MI:SS'),100,NULL,'Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Account Date',0,TO_DATE('2009-05-21 23:43:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 21/05/2009 23:43:51 +-- Fin Report Summary +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=57649 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 21/05/2009 23:43:55 +-- Fin Report Summary +ALTER TABLE Fact_Acct_Summary ADD DateAcct DATE DEFAULT NULL +; + +-- 3/06/2009 0:44:04 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53166,53316,20,'Force',TO_DATE('2009-06-03 00:44:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Force rebuild of cube even if locked.','D',1,'Y','Y','N','N','Force',30,TO_DATE('2009-06-03 00:44:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 3/06/2009 0:44:04 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53316 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 3/06/2009 0:59:21 +-- Fin Report Summary +UPDATE AD_Process_Para SET SeqNo=25,Updated=TO_DATE('2009-06-03 00:59:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53314 +;-- 2/08/2009 22:41:34 +-- Acct fact summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53897,0,'IsUserElement2Dim',TO_DATE('2009-08-02 22:41:33','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 2 as a cube dimension','D','Y','User Element 2 Dimension','User Element 2 Dimension',TO_DATE('2009-08-02 22:41:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:41:35 +-- Acct fact summary +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=53897 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 2/08/2009 22:41:49 +-- Acct fact summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57953,53897,0,20,53202,'IsUserElement2Dim',TO_DATE('2009-08-02 22:41:47','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 2 as a cube dimension','U',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User Element 2 Dimension',0,TO_DATE('2009-08-02 22:41:47','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 2/08/2009 22:41:49 +-- Acct fact summary +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=57953 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2/08/2009 22:41:54 +-- Acct fact summary +ALTER TABLE PA_ReportCube ADD IsUserElement2Dim CHAR(1) DEFAULT NULL CHECK (IsUserElement2Dim IN ('Y','N')) +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Element SET ColumnName='IsUserElement1Dim', Description='Include User Element 1 as a cube dimension', Name='User Element 1 Dimension', PrintName='User Element 1 Dimension',Updated=TO_DATE('2009-08-02 22:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Column SET ColumnName='IsUserElement1Dim', Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement1Dim', Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL, AD_Element_ID=53897 WHERE UPPER(ColumnName)='ISUSERELEMENT1DIM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement1Dim', Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Field SET Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53897) AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_PrintFormatItem pi SET PrintName='User Element 1 Dimension', Name='User Element 1 Dimension' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53897) +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Element SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', PrintName='User Element 2 Dimension',Updated=TO_DATE('2009-08-02 22:43:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Column SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL, AD_Element_ID=53897 WHERE UPPER(ColumnName)='ISUSERELEMENT2DIM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Field SET Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53897) AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_PrintFormatItem pi SET PrintName='User Element 2 Dimension', Name='User Element 2 Dimension' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=53897) +; + +-- 2/08/2009 22:44:09 +-- Acct fact summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53898,0,'IsUserElement1Dim',TO_DATE('2009-08-02 22:44:08','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 1 as a cube dimension','D','Y','User Element 1 Dimension','User Element 1 Dimension',TO_DATE('2009-08-02 22:44:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:44:09 +-- Acct fact summary +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=53898 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Element SET Description='Include User Element 2 as a cube dimension',Updated=TO_DATE('2009-08-02 22:44:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Column SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL, AD_Element_ID=53897 WHERE UPPER(ColumnName)='ISUSERELEMENT2DIM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Field SET Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53897) AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:44:29 +-- Acct fact summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57954,53898,0,20,53202,'IsUserElement1Dim',TO_DATE('2009-08-02 22:44:28','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 1 as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User Element 1 Dimension',0,TO_DATE('2009-08-02 22:44:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 2/08/2009 22:44:29 +-- Acct fact summary +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=57954 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2/08/2009 22:45:04 +-- Acct fact summary +ALTER TABLE PA_ReportCube ADD IsUserElement1Dim CHAR(1) DEFAULT NULL CHECK (IsUserElement1Dim IN ('Y','N')) +; + +-- 2/08/2009 22:46:22 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57647,57384,0,53219,TO_DATE('2009-08-02 22:46:21','YYYY-MM-DD HH24:MI:SS'),100,'The time last recalculated.',7,'D','Y','Y','Y','N','N','N','N','N','Last Recalculated',TO_DATE('2009-08-02 22:46:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:22 +-- Acct fact summary +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=57384 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:23 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57646,57385,0,53219,TO_DATE('2009-08-02 22:46:22','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_DATE('2009-08-02 22:46:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:23 +-- Acct fact summary +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=57385 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:24 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57954,57386,0,53219,TO_DATE('2009-08-02 22:46:23','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 1 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User Element 1 Dimension',TO_DATE('2009-08-02 22:46:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:24 +-- Acct fact summary +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=57386 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:25 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57953,57387,0,53219,TO_DATE('2009-08-02 22:46:24','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 2 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User Element 2 Dimension',TO_DATE('2009-08-02 22:46:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:25 +-- Acct fact summary +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=57387 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=57386 +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=57387 +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=57384 +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=57385 +; + +-- 2/08/2009 22:47:05 +-- Acct fact summary +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2009-08-02 22:47:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57384 +; + +-- 2/08/2009 22:47:28 +-- Acct fact summary +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_DATE('2009-08-02 22:47:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57385 +; + +-- 2/08/2009 22:50:37 +-- Acct fact summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-08-02 22:50:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57387 +; + +CREATE INDEX FAS_ACCOUNT ON FACT_ACCT_SUMMARY (AD_CLIENT_ID, AD_ORG_ID, C_ACCTSCHEMA_ID, ACCOUNT_ID); + +CREATE INDEX FAS_DATEACCT ON FACT_ACCT_SUMMARY (DATEACCT); + +CREATE INDEX FAS_PERIOD ON FACT_ACCT_SUMMARY (C_PERIOD_ID); + +CREATE INDEX FAS_REPORTCUBE ON FACT_ACCT_SUMMARY (PA_REPORTCUBE_ID); + +--CREATE INDEX FACT_ACCT_UPDATED ON FACT_ACCT (UPDATED); \ No newline at end of file diff --git a/migration/353a-trunk/postgresql/517_FR2793242_FactAcctSummary.sql b/migration/353a-trunk/postgresql/517_FR2793242_FactAcctSummary.sql new file mode 100644 index 0000000000..b5c500f560 --- /dev/null +++ b/migration/353a-trunk/postgresql/517_FR2793242_FactAcctSummary.sql @@ -0,0 +1,1813 @@ +-- 14/05/2009 11:43:13 +-- Fin Report Summary +INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WinHeight,WinWidth,WindowType) VALUES (0,0,53078,TO_TIMESTAMP('2009-05-14 11:43:12','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','N','N','Y','Report Cube','N',TO_TIMESTAMP('2009-05-14 11:43:12','YYYY-MM-DD HH24:MI:SS'),100,0,0,'M') +; + +-- 14/05/2009 11:43:13 +-- Fin Report Summary +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Window_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_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=53078 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID) +; + +-- 14/05/2009 11:43:33 +-- Fin Report Summary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,Description,EntityType,Help,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53202,'3','N',TO_TIMESTAMP('2009-05-14 11:43:30','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','N','Y','N','Y','N','N','N',0,'Report Cube','L','PA_ReportCube',TO_TIMESTAMP('2009-05-14 11:43:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:43:33 +-- Fin Report Summary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53202 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- 14/05/2009 11:43:43 +-- Fin Report Summary +UPDATE AD_Table SET AD_Window_ID=53078,Updated=TO_TIMESTAMP('2009-05-14 11:43:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=53202 +; + +-- 14/05/2009 11:44:26 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57556,102,0,19,53202,'AD_Client_ID',TO_TIMESTAMP('2009-05-14 11:44:25','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','D',22,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Client',0,TO_TIMESTAMP('2009-05-14 11:44:25','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:44:26 +-- Fin Report Summary +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=57556 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:44:53 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57557,113,0,19,53202,'AD_Org_ID',TO_TIMESTAMP('2009-05-14 11:44:52','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','D',22,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Organization',0,TO_TIMESTAMP('2009-05-14 11:44:52','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:44:53 +-- Fin Report Summary +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=57557 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:45:33 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57558,190,0,19,53202,'C_Calendar_ID',TO_TIMESTAMP('2009-05-14 11:45:32','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Calendar Name','D',22,'The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Calendar',0,TO_TIMESTAMP('2009-05-14 11:45:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:45:33 +-- Fin Report Summary +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=57558 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:45:55 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57559,245,0,16,53202,'Created',TO_TIMESTAMP('2009-05-14 11:45:54','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Created',0,TO_TIMESTAMP('2009-05-14 11:45:54','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:45:55 +-- Fin Report Summary +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=57559 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:46:32 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57560,246,0,18,286,53202,'CreatedBy',TO_TIMESTAMP('2009-05-14 11:46:31','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',22,'The Created By field indicates the user who created this record.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Created By',0,TO_TIMESTAMP('2009-05-14 11:46:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:46:32 +-- Fin Report Summary +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=57560 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:47:12 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57561,275,0,14,53202,'Description',TO_TIMESTAMP('2009-05-14 11:47:11','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record','D',255,'A description is limited to 255 characters.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Description',0,TO_TIMESTAMP('2009-05-14 11:47:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:47:12 +-- Fin Report Summary +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=57561 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:48:37 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53821,0,'PA_ReportCube_ID',TO_TIMESTAMP('2009-05-14 11:48:36','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Report Cube','Report Cube',TO_TIMESTAMP('2009-05-14 11:48:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:48:37 +-- Fin Report Summary +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=53821 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:49:14 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57562,53821,0,13,53202,'PA_ReportCube_ID',TO_TIMESTAMP('2009-05-14 11:49:13','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D',22,'Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','N','N','N','N','Y','Y','N','N','N','N','N','Report Cube',0,TO_TIMESTAMP('2009-05-14 11:49:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:49:14 +-- Fin Report Summary +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=57562 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:49:47 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57563,469,0,10,53202,'Name',TO_TIMESTAMP('2009-05-14 11:49:46','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity','D',60,'The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Name',0,TO_TIMESTAMP('2009-05-14 11:49:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:49:47 +-- Fin Report Summary +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=57563 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:50:16 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57564,607,0,16,53202,'Updated',TO_TIMESTAMP('2009-05-14 11:50:16','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Updated',0,TO_TIMESTAMP('2009-05-14 11:50:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:50:16 +-- Fin Report Summary +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=57564 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:50:54 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57565,608,0,18,286,53202,'UpdatedBy',TO_TIMESTAMP('2009-05-14 11:50:53','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',22,'The Updated By field indicates the user who updated this record.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Updated By',0,TO_TIMESTAMP('2009-05-14 11:50:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 11:50:54 +-- Fin Report Summary +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=57565 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 11:52:59 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53822,0,'IsActivityDim',TO_TIMESTAMP('2009-05-14 11:52:58','YYYY-MM-DD HH24:MI:SS'),100,'Include Activity as a cube dimension','D','Y','Activity Dimension','Activity Dimension',TO_TIMESTAMP('2009-05-14 11:52:58','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:52:59 +-- Fin Report Summary +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=53822 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:53:35 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53823,0,'IsOrgTrxDim',TO_TIMESTAMP('2009-05-14 11:53:34','YYYY-MM-DD HH24:MI:SS'),100,'Include OrgTrx as a cube dimension','D','Y','OrgTrx Dimension','OrgTrx Dimension',TO_TIMESTAMP('2009-05-14 11:53:34','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:53:35 +-- Fin Report Summary +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=53823 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:54:25 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53824,0,'IsBPartnerDim',TO_TIMESTAMP('2009-05-14 11:54:24','YYYY-MM-DD HH24:MI:SS'),100,'Include Business Partner as a cube dimension','D','Y','Business Partner Dimension','Business Partner Dimension',TO_TIMESTAMP('2009-05-14 11:54:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:54:25 +-- Fin Report Summary +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=53824 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:55:01 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53825,0,'IsCampaignDim',TO_TIMESTAMP('2009-05-14 11:55:01','YYYY-MM-DD HH24:MI:SS'),100,'Include Campaign as a cube dimension','D','Y','Campaign Dimension','Campaign Dimension',TO_TIMESTAMP('2009-05-14 11:55:01','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:55:01 +-- Fin Report Summary +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=53825 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:55:33 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53826,0,'IsLocFromDim',TO_TIMESTAMP('2009-05-14 11:55:32','YYYY-MM-DD HH24:MI:SS'),100,'Include Location From as a cube dimension','D','Y','Location From Dimension','Location From Dimension',TO_TIMESTAMP('2009-05-14 11:55:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:55:33 +-- Fin Report Summary +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=53826 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:55:54 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53827,0,'IsLocToDim',TO_TIMESTAMP('2009-05-14 11:55:53','YYYY-MM-DD HH24:MI:SS'),100,'Include Location To as a cube dimension','D','Y','Location To Dimension','Location To Dimension',TO_TIMESTAMP('2009-05-14 11:55:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:55:54 +-- Fin Report Summary +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=53827 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:56:31 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53828,0,'IsProjectPhaseDim',TO_TIMESTAMP('2009-05-14 11:56:31','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Phase as a cube dimension','D','Y','Project Phase Dimension','Project Phase Dimension',TO_TIMESTAMP('2009-05-14 11:56:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:56:31 +-- Fin Report Summary +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=53828 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:57:00 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53829,0,'IsProjectTaskDim',TO_TIMESTAMP('2009-05-14 11:56:59','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Task as a cube dimension','D','Y','Project Task Dimension','Project Task Dimension',TO_TIMESTAMP('2009-05-14 11:56:59','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:57:00 +-- Fin Report Summary +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=53829 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:57:24 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53830,0,'IsProjectDim',TO_TIMESTAMP('2009-05-14 11:57:24','YYYY-MM-DD HH24:MI:SS'),100,'Include Project as a cube dimension','D','Y','Project Dimension','Project Dimension',TO_TIMESTAMP('2009-05-14 11:57:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:57:24 +-- Fin Report Summary +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=53830 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:58:01 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53831,0,'IsSalesRegionDim',TO_TIMESTAMP('2009-05-14 11:58:00','YYYY-MM-DD HH24:MI:SS'),100,'Include Sales Region as a cube dimension','D','Y','Sales Region Dimension','Sales Region Dimension',TO_TIMESTAMP('2009-05-14 11:58:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:58:01 +-- Fin Report Summary +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=53831 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:58:43 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53832,0,'IsSubAcctDim',TO_TIMESTAMP('2009-05-14 11:58:42','YYYY-MM-DD HH24:MI:SS'),100,'Include Sub Acct as a cube dimension','D','Y','Sub Acct Dimension','Sub Acct Dimension',TO_TIMESTAMP('2009-05-14 11:58:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:58:43 +-- Fin Report Summary +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=53832 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:59:25 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53833,0,'IsGLBudgetDim',TO_TIMESTAMP('2009-05-14 11:59:24','YYYY-MM-DD HH24:MI:SS'),100,'Include GL Budget as a cube dimension','D','Y','GL Budget Dimension','GL Budget Dimension',TO_TIMESTAMP('2009-05-14 11:59:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:59:25 +-- Fin Report Summary +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=53833 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 11:59:56 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53834,0,'IsProductDim',TO_TIMESTAMP('2009-05-14 11:59:55','YYYY-MM-DD HH24:MI:SS'),100,'Include Product as a cube dimension','D','Y','Product Dimension','Product Dimension',TO_TIMESTAMP('2009-05-14 11:59:55','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 11:59:56 +-- Fin Report Summary +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=53834 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 12:00:50 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53835,0,'IsUser1Dim',TO_TIMESTAMP('2009-05-14 12:00:27','YYYY-MM-DD HH24:MI:SS'),100,'Include User 1 as a cube dimension','D','Y','User 1 Dimension','User 1 Dimension',TO_TIMESTAMP('2009-05-14 12:00:27','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:00:50 +-- Fin Report Summary +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=53835 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 12:02:09 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53836,0,'IsUser2Dim',TO_TIMESTAMP('2009-05-14 12:02:03','YYYY-MM-DD HH24:MI:SS'),100,'Include User 2 as a cube dimension','D',NULL,'Y','User 2 Dimension','User 2 Dimension',TO_TIMESTAMP('2009-05-14 12:02:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:02:09 +-- Fin Report Summary +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=53836 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 14/05/2009 12:03:07 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57566,53823,0,20,53202,'IsOrgTrxDim',TO_TIMESTAMP('2009-05-14 12:03:06','YYYY-MM-DD HH24:MI:SS'),100,'Include OrgTrx as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','OrgTrx Dimension',0,TO_TIMESTAMP('2009-05-14 12:03:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:03:07 +-- Fin Report Summary +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=57566 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:03:29 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57567,53822,0,20,53202,'IsActivityDim',TO_TIMESTAMP('2009-05-14 12:03:28','YYYY-MM-DD HH24:MI:SS'),100,'Include Activity as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Activity Dimension',0,TO_TIMESTAMP('2009-05-14 12:03:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:03:29 +-- Fin Report Summary +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=57567 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:03:58 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57568,53824,0,20,53202,'IsBPartnerDim',TO_TIMESTAMP('2009-05-14 12:03:57','YYYY-MM-DD HH24:MI:SS'),100,'Include Business Partner as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Business Partner Dimension',0,TO_TIMESTAMP('2009-05-14 12:03:57','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:03:58 +-- Fin Report Summary +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=57568 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:04:18 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57569,53825,0,20,53202,'IsCampaignDim',TO_TIMESTAMP('2009-05-14 12:04:18','YYYY-MM-DD HH24:MI:SS'),100,'Include Campaign as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Campaign Dimension',0,TO_TIMESTAMP('2009-05-14 12:04:18','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:04:18 +-- Fin Report Summary +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=57569 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:04:41 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57570,53826,0,20,53202,'IsLocFromDim',TO_TIMESTAMP('2009-05-14 12:04:41','YYYY-MM-DD HH24:MI:SS'),100,'Include Location From as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Location From Dimension',0,TO_TIMESTAMP('2009-05-14 12:04:41','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:04:41 +-- Fin Report Summary +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=57570 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:04:57 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57571,53827,0,20,53202,'IsLocToDim',TO_TIMESTAMP('2009-05-14 12:04:56','YYYY-MM-DD HH24:MI:SS'),100,'Include Location To as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Location To Dimension',0,TO_TIMESTAMP('2009-05-14 12:04:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:04:57 +-- Fin Report Summary +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=57571 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:05:17 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57572,53828,0,20,53202,'IsProjectPhaseDim',TO_TIMESTAMP('2009-05-14 12:05:16','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Phase as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Project Phase Dimension',0,TO_TIMESTAMP('2009-05-14 12:05:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:05:17 +-- Fin Report Summary +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=57572 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:05:33 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57573,53829,0,20,53202,'IsProjectTaskDim',TO_TIMESTAMP('2009-05-14 12:05:33','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Task as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Project Task Dimension',0,TO_TIMESTAMP('2009-05-14 12:05:33','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:05:33 +-- Fin Report Summary +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=57573 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:05:51 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57574,53830,0,20,53202,'IsProjectDim',TO_TIMESTAMP('2009-05-14 12:05:50','YYYY-MM-DD HH24:MI:SS'),100,'Include Project as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Project Dimension',0,TO_TIMESTAMP('2009-05-14 12:05:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:05:51 +-- Fin Report Summary +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=57574 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:06:15 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57575,53831,0,20,53202,'IsSalesRegionDim',TO_TIMESTAMP('2009-05-14 12:06:15','YYYY-MM-DD HH24:MI:SS'),100,'Include Sales Region as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Sales Region Dimension',0,TO_TIMESTAMP('2009-05-14 12:06:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:06:15 +-- Fin Report Summary +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=57575 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:06:37 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57576,53832,0,20,53202,'IsSubAcctDim',TO_TIMESTAMP('2009-05-14 12:06:36','YYYY-MM-DD HH24:MI:SS'),100,'Include Sub Acct as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Sub Acct Dimension',0,TO_TIMESTAMP('2009-05-14 12:06:36','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:06:37 +-- Fin Report Summary +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=57576 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:07:11 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57577,53833,0,20,53202,'IsGLBudgetDim',TO_TIMESTAMP('2009-05-14 12:07:10','YYYY-MM-DD HH24:MI:SS'),100,'Include GL Budget as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','GL Budget Dimension',0,TO_TIMESTAMP('2009-05-14 12:07:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:07:11 +-- Fin Report Summary +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=57577 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:07:32 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57578,53834,0,20,53202,'IsProductDim',TO_TIMESTAMP('2009-05-14 12:07:32','YYYY-MM-DD HH24:MI:SS'),100,'Include Product as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Product Dimension',0,TO_TIMESTAMP('2009-05-14 12:07:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:07:32 +-- Fin Report Summary +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=57578 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:07:50 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57579,53835,0,20,53202,'IsUser1Dim',TO_TIMESTAMP('2009-05-14 12:07:49','YYYY-MM-DD HH24:MI:SS'),100,'Include User 1 as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User 1 Dimension',0,TO_TIMESTAMP('2009-05-14 12:07:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:07:50 +-- Fin Report Summary +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=57579 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:08:10 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57580,53836,0,20,53202,'IsUser2Dim',TO_TIMESTAMP('2009-05-14 12:08:09','YYYY-MM-DD HH24:MI:SS'),100,'Include User 2 as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User 2 Dimension',0,TO_TIMESTAMP('2009-05-14 12:08:09','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:08:10 +-- Fin Report Summary +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=57580 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:09:13 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57581,348,0,20,53202,'IsActive',TO_TIMESTAMP('2009-05-14 12:09:11','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Active',0,TO_TIMESTAMP('2009-05-14 12:09:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:09:13 +-- Fin Report Summary +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=57581 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:10:04 +-- Fin Report Summary +INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,EntityType,HasTree,ImportFields,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53219,53202,53078,TO_TIMESTAMP('2009-05-14 12:10:03','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','Y','N','N','Report Cube','N',10,0,TO_TIMESTAMP('2009-05-14 12:10:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:04 +-- Fin Report Summary +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, CommitWarning,Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Tab_ID, t.CommitWarning,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_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=53219 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID) +; + +-- 14/05/2009 12:10:18 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57581,57012,0,53219,TO_TIMESTAMP('2009-05-14 12:10:17','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system',1,'D','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','Y','Y','N','N','N','N','N','Active',TO_TIMESTAMP('2009-05-14 12:10:17','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:18 +-- Fin Report Summary +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=57012 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:19 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57567,57013,0,53219,TO_TIMESTAMP('2009-05-14 12:10:18','YYYY-MM-DD HH24:MI:SS'),100,'Include Activity as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Activity Dimension',TO_TIMESTAMP('2009-05-14 12:10:18','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:19 +-- Fin Report Summary +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=57013 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:20 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57568,57014,0,53219,TO_TIMESTAMP('2009-05-14 12:10:19','YYYY-MM-DD HH24:MI:SS'),100,'Include Business Partner as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Business Partner Dimension',TO_TIMESTAMP('2009-05-14 12:10:19','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:20 +-- Fin Report Summary +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=57014 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:21 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57558,57015,0,53219,TO_TIMESTAMP('2009-05-14 12:10:20','YYYY-MM-DD HH24:MI:SS'),100,'Accounting Calendar Name',22,'D','The Calendar uniquely identifies an accounting calendar. Multiple calendars can be used. For example you may need a standard calendar that runs from Jan 1 to Dec 31 and a fiscal calendar that runs from July 1 to June 30.','Y','Y','Y','N','N','N','N','N','Calendar',TO_TIMESTAMP('2009-05-14 12:10:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:21 +-- Fin Report Summary +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=57015 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:22 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57569,57016,0,53219,TO_TIMESTAMP('2009-05-14 12:10:21','YYYY-MM-DD HH24:MI:SS'),100,'Include Campaign as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Campaign Dimension',TO_TIMESTAMP('2009-05-14 12:10:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:22 +-- Fin Report Summary +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=57016 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57556,57017,0,53219,TO_TIMESTAMP('2009-05-14 12:10:22','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.',22,'D','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','Y','Y','N','N','N','N','N','Client',TO_TIMESTAMP('2009-05-14 12:10:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +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=57017 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57561,57018,0,53219,TO_TIMESTAMP('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100,'Optional short description of the record',255,'D','A description is limited to 255 characters.','Y','Y','Y','N','N','N','N','N','Description',TO_TIMESTAMP('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:23 +-- Fin Report Summary +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=57018 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:24 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57577,57019,0,53219,TO_TIMESTAMP('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100,'Include GL Budget as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','GL Budget Dimension',TO_TIMESTAMP('2009-05-14 12:10:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:24 +-- Fin Report Summary +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=57019 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:25 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57570,57020,0,53219,TO_TIMESTAMP('2009-05-14 12:10:24','YYYY-MM-DD HH24:MI:SS'),100,'Include Location From as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Location From Dimension',TO_TIMESTAMP('2009-05-14 12:10:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:25 +-- Fin Report Summary +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=57020 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57571,57021,0,53219,TO_TIMESTAMP('2009-05-14 12:10:25','YYYY-MM-DD HH24:MI:SS'),100,'Include Location To as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Location To Dimension',TO_TIMESTAMP('2009-05-14 12:10:25','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +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=57021 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57563,57022,0,53219,TO_TIMESTAMP('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100,'Alphanumeric identifier of the entity',60,'D','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.','Y','Y','Y','N','N','N','N','N','Name',TO_TIMESTAMP('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:26 +-- Fin Report Summary +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=57022 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:27 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57566,57023,0,53219,TO_TIMESTAMP('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100,'Include OrgTrx as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','OrgTrx Dimension',TO_TIMESTAMP('2009-05-14 12:10:26','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:28 +-- Fin Report Summary +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=57023 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57557,57024,0,53219,TO_TIMESTAMP('2009-05-14 12:10:28','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client',22,'D','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','Y','Y','N','N','N','N','N','Organization',TO_TIMESTAMP('2009-05-14 12:10:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +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=57024 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57578,57025,0,53219,TO_TIMESTAMP('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100,'Include Product as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Product Dimension',TO_TIMESTAMP('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:29 +-- Fin Report Summary +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=57025 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:30 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57574,57026,0,53219,TO_TIMESTAMP('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100,'Include Project as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Project Dimension',TO_TIMESTAMP('2009-05-14 12:10:29','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:30 +-- Fin Report Summary +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=57026 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:31 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57572,57027,0,53219,TO_TIMESTAMP('2009-05-14 12:10:30','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Phase as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Project Phase Dimension',TO_TIMESTAMP('2009-05-14 12:10:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:31 +-- Fin Report Summary +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=57027 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:32 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57573,57028,0,53219,TO_TIMESTAMP('2009-05-14 12:10:31','YYYY-MM-DD HH24:MI:SS'),100,'Include Project Task as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Project Task Dimension',TO_TIMESTAMP('2009-05-14 12:10:31','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:32 +-- Fin Report Summary +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=57028 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:42 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57562,57029,0,53219,TO_TIMESTAMP('2009-05-14 12:10:32','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.',22,'D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','N','N','N','N','N','N','Report Cube',TO_TIMESTAMP('2009-05-14 12:10:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:42 +-- Fin Report Summary +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=57029 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57575,57030,0,53219,TO_TIMESTAMP('2009-05-14 12:10:42','YYYY-MM-DD HH24:MI:SS'),100,'Include Sales Region as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Sales Region Dimension',TO_TIMESTAMP('2009-05-14 12:10:42','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +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=57030 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57576,57031,0,53219,TO_TIMESTAMP('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100,'Include Sub Acct as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','Sub Acct Dimension',TO_TIMESTAMP('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:44 +-- Fin Report Summary +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=57031 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:45 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57579,57032,0,53219,TO_TIMESTAMP('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100,'Include User 1 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User 1 Dimension',TO_TIMESTAMP('2009-05-14 12:10:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:45 +-- Fin Report Summary +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=57032 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:10:46 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57580,57033,0,53219,TO_TIMESTAMP('2009-05-14 12:10:45','YYYY-MM-DD HH24:MI:SS'),100,'Include User 2 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User 2 Dimension',TO_TIMESTAMP('2009-05-14 12:10:45','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:10:46 +-- Fin Report Summary +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=57033 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=57017 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=57024 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=57022 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=57018 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=57015 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=57012 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=57025 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=57014 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=57030 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=57023 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=57013 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=57016 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=57026 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=57027 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=57028 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=57019 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=57020 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=57021 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=57031 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=57032 +; + +-- 14/05/2009 12:13:44 +-- Fin Report Summary +UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=57033 +; + +-- 14/05/2009 12:13:56 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:13:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57024 +; + +-- 14/05/2009 12:14:08 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57012 +; + +-- 14/05/2009 12:14:12 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57014 +; + +-- 14/05/2009 12:14:17 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57023 +; + +-- 14/05/2009 12:14:23 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57016 +; + +-- 14/05/2009 12:14:27 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57027 +; + +-- 14/05/2009 12:14:36 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57019 +; + +-- 14/05/2009 12:14:39 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57021 +; + +-- 14/05/2009 12:14:45 +-- Fin Report Summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-05-14 12:14:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57033 +; + +-- 14/05/2009 12:15:41 +-- Fin Report Summary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53214,0,53078,'W',TO_TIMESTAMP('2009-05-14 12:15:40','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','N','N','Report Cube',TO_TIMESTAMP('2009-05-14 12:15:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:15:41 +-- Fin Report Summary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53214 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- 14/05/2009 12:15:41 +-- Fin Report Summary +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53214, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53214) +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=283 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=282 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=548 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53214 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=281 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=350 +; + +-- 14/05/2009 12:15:57 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=502 +; + +-- 14/05/2009 12:19:28 +-- Fin Report Summary +CREATE TABLE PA_ReportCube (AD_Client_ID NUMERIC(10) NOT NULL, AD_Org_ID NUMERIC(10) NOT NULL, C_Calendar_ID NUMERIC(10) NOT NULL, Created TIMESTAMP NOT NULL, CreatedBy NUMERIC(10) NOT NULL, Description VARCHAR(255) DEFAULT NULL , IsActive CHAR(1) DEFAULT NULL CHECK (IsActive IN ('Y','N')), IsActivityDim CHAR(1) DEFAULT NULL CHECK (IsActivityDim IN ('Y','N')), IsBPartnerDim CHAR(1) DEFAULT NULL CHECK (IsBPartnerDim IN ('Y','N')), IsCampaignDim CHAR(1) DEFAULT NULL CHECK (IsCampaignDim IN ('Y','N')), IsGLBudgetDim CHAR(1) DEFAULT NULL CHECK (IsGLBudgetDim IN ('Y','N')), IsLocFromDim CHAR(1) DEFAULT NULL CHECK (IsLocFromDim IN ('Y','N')), IsLocToDim CHAR(1) DEFAULT NULL CHECK (IsLocToDim IN ('Y','N')), IsOrgTrxDim CHAR(1) DEFAULT NULL CHECK (IsOrgTrxDim IN ('Y','N')), IsProductDim CHAR(1) DEFAULT NULL CHECK (IsProductDim IN ('Y','N')), IsProjectDim CHAR(1) DEFAULT NULL CHECK (IsProjectDim IN ('Y','N')), IsProjectPhaseDim CHAR(1) DEFAULT NULL CHECK (IsProjectPhaseDim IN ('Y','N')), IsProjectTaskDim CHAR(1) DEFAULT NULL CHECK (IsProjectTaskDim IN ('Y','N')), IsSalesRegionDim CHAR(1) DEFAULT NULL CHECK (IsSalesRegionDim IN ('Y','N')), IsSubAcctDim CHAR(1) DEFAULT NULL CHECK (IsSubAcctDim IN ('Y','N')), IsUser1Dim CHAR(1) DEFAULT NULL CHECK (IsUser1Dim IN ('Y','N')), IsUser2Dim CHAR(1) DEFAULT NULL CHECK (IsUser2Dim IN ('Y','N')), Name VARCHAR(60) NOT NULL, PA_ReportCube_ID NUMERIC(10) NOT NULL, Updated TIMESTAMP NOT NULL, UpdatedBy NUMERIC(10) NOT NULL, CONSTRAINT PA_ReportCube_Key PRIMARY KEY (PA_ReportCube_ID)) +; + +-- 14/05/2009 12:28:23 +-- Fin Report Summary +INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,53299,TO_TIMESTAMP('2009-05-14 12:28:22','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_ReportCube',TO_TIMESTAMP('2009-05-14 12:28:22','YYYY-MM-DD HH24:MI:SS'),100,'T') +; + +-- 14/05/2009 12:28:23 +-- Fin Report Summary +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Reference_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=53299 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID) +; + +-- 14/05/2009 12:28:53 +-- Fin Report Summary +INSERT INTO AD_Ref_Table (AD_Client_ID,AD_Display,AD_Key,AD_Org_ID,AD_Reference_ID,AD_Table_ID,Created,CreatedBy,EntityType,IsActive,IsValueDisplayed,Updated,UpdatedBy) VALUES (0,57563,57562,0,53299,53202,TO_TIMESTAMP('2009-05-14 12:28:53','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_TIMESTAMP('2009-05-14 12:28:53','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:29:18 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57582,53821,0,18,53299,445,'PA_ReportCube_ID',TO_TIMESTAMP('2009-05-14 12:29:17','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D',22,'Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Report Cube',0,TO_TIMESTAMP('2009-05-14 12:29:17','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:29:18 +-- Fin Report Summary +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=57582 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:29:23 +-- Fin Report Summary +ALTER TABLE PA_Report ADD COLUMN PA_ReportCube_ID NUMERIC(10) DEFAULT NULL +; + +-- 14/05/2009 12:30:45 +-- Fin Report Summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,57582,57034,0,372,TO_TIMESTAMP('2009-05-14 12:30:44','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.',0,'D','Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','Y','Y','N','N','N','N','N','Report Cube',95,0,TO_TIMESTAMP('2009-05-14 12:30:44','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:30:45 +-- Fin Report Summary +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=57034 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 14/05/2009 12:33:00 +-- Fin Report Summary +INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AccessLevel,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53203,'3','N',TO_TIMESTAMP('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','Y','N','N','N',0,'Accounting Fact summary','L','Fact_Acct_Summary',TO_TIMESTAMP('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:33:00 +-- Fin Report Summary +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Table_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_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=53203 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID) +; + +-- 14/05/2009 12:33:01 +-- Fin Report Summary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53296,TO_TIMESTAMP('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table Fact_Acct_Summary',1,'Y','N','Y','Y','Fact_Acct_Summary','N',1000000,TO_TIMESTAMP('2009-05-14 12:33:00','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 14/05/2009 12:33:10 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57583,102,0,19,53203,'AD_Client_ID',TO_TIMESTAMP('2009-05-14 12:33:09','YYYY-MM-DD HH24:MI:SS'),100,'Client/Tenant for this installation.','D',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','N','N','Client',TO_TIMESTAMP('2009-05-14 12:33:09','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:10 +-- Fin Report Summary +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=57583 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:11 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57584,113,0,19,53203,'AD_Org_ID',TO_TIMESTAMP('2009-05-14 12:33:10','YYYY-MM-DD HH24:MI:SS'),100,'Organizational entity within client','D',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','N','N','Organization',TO_TIMESTAMP('2009-05-14 12:33:10','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:11 +-- Fin Report Summary +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=57584 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57585,53821,0,19,53203,'PA_ReportCube_ID',TO_TIMESTAMP('2009-05-14 12:33:11','YYYY-MM-DD HH24:MI:SS'),100,'Define reporting cube for pre-calculation of summary accounting data.','D',10,'Summary data will be generated for each period of the selected calendar, grouped by the selected dimensions..','Y','N','N','N','N','Y','N','N','N','Y','Report Cube',TO_TIMESTAMP('2009-05-14 12:33:11','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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=57585 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57586,181,0,19,53203,'C_AcctSchema_ID',TO_TIMESTAMP('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,'Rules for accounting','D',10,'An Accounting Schema defines the rules used in accounting such as costing method, currency and calendar','Y','N','N','N','N','Y','N','N','N','Y','Accounting Schema',TO_TIMESTAMP('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:12 +-- Fin Report Summary +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=57586 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:13 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57587,206,0,19,53203,'C_Period_ID',TO_TIMESTAMP('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,'Period of the Calendar','D',10,'The Period indicates an exclusive range of dates for a calendar.','Y','N','N','N','N','Y','N','N','N','Y','Period',TO_TIMESTAMP('2009-05-14 12:33:12','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:13 +-- Fin Report Summary +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=57587 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:14 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57588,148,0,19,53203,'Account_ID',TO_TIMESTAMP('2009-05-14 12:33:13','YYYY-MM-DD HH24:MI:SS'),100,'Account used','D',10,'The (natural) account used','Y','N','N','N','N','Y','N','N','N','Y','Account',TO_TIMESTAMP('2009-05-14 12:33:13','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:14 +-- Fin Report Summary +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=57588 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:15 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57589,514,0,20,53203,'PostingType',TO_TIMESTAMP('2009-05-14 12:33:14','YYYY-MM-DD HH24:MI:SS'),100,'The type of posted amount for the transaction','D',1,'The Posting Type indicates the type of amount (Actual, Budget, Reservation, Commitment, Statistical) the transaction.','Y','N','N','N','N','Y','N','N','N','Y','PostingType',TO_TIMESTAMP('2009-05-14 12:33:14','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:15 +-- Fin Report Summary +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=57589 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:16 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57590,454,0,19,53203,'M_Product_ID',TO_TIMESTAMP('2009-05-14 12:33:15','YYYY-MM-DD HH24:MI:SS'),100,'Product, Service, Item','D',10,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','N','Y','Product',TO_TIMESTAMP('2009-05-14 12:33:15','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:16 +-- Fin Report Summary +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=57590 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57591,187,0,19,53203,'C_BPartner_ID',TO_TIMESTAMP('2009-05-14 12:33:16','YYYY-MM-DD HH24:MI:SS'),100,'Identifies a Business Partner','D',10,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','N','Y','Business Partner ',TO_TIMESTAMP('2009-05-14 12:33:16','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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=57591 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57592,208,0,19,53203,'C_Project_ID',TO_TIMESTAMP('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,'Financial Project','D',10,'A Project allows you to track and control internal or external activities.','Y','N','N','N','N','N','N','N','N','Y','Project',TO_TIMESTAMP('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:17 +-- Fin Report Summary +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=57592 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:18 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57593,112,0,19,53203,'AD_OrgTrx_ID',TO_TIMESTAMP('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,'Performing or initiating organization','D',10,'The organization which performs or initiates this transaction (for another organization). The owning Organization may not be the transaction organization in a service bureau environment, with centralized services, and inter-organization transactions.','Y','N','N','N','N','N','N','N','N','Y','Trx Organization',TO_TIMESTAMP('2009-05-14 12:33:17','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:18 +-- Fin Report Summary +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=57593 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:19 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57594,210,0,19,53203,'C_SalesRegion_ID',TO_TIMESTAMP('2009-05-14 12:33:18','YYYY-MM-DD HH24:MI:SS'),100,'Sales coverage region','D',10,'The Sales Region indicates a specific area of sales coverage.','Y','N','N','N','N','N','N','N','N','Y','Sales Region',TO_TIMESTAMP('2009-05-14 12:33:18','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:19 +-- Fin Report Summary +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=57594 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:20 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57595,1005,0,19,53203,'C_Activity_ID',TO_TIMESTAMP('2009-05-14 12:33:19','YYYY-MM-DD HH24:MI:SS'),100,'Business Activity','D',10,'Activities indicate tasks that are performed and used to utilize Activity based Costing','Y','N','N','N','N','N','N','N','N','Y','Activity',TO_TIMESTAMP('2009-05-14 12:33:19','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:20 +-- Fin Report Summary +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=57595 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:20 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57596,550,0,19,53203,'C_Campaign_ID',TO_TIMESTAMP('2009-05-14 12:33:20','YYYY-MM-DD HH24:MI:SS'),100,'Marketing Campaign','D',10,'The Campaign defines a unique marketing program. Projects can be associated with a pre defined Marketing Campaign. You can then report based on a specific Campaign.','Y','N','N','N','N','N','N','N','N','Y','Campaign',TO_TIMESTAMP('2009-05-14 12:33:20','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:21 +-- Fin Report Summary +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=57596 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:21 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57597,201,0,19,53203,'C_LocTo_ID',TO_TIMESTAMP('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,'Location that inventory was moved to','D',10,'The Location To indicates the location that a product was moved to.','Y','N','N','N','N','N','N','N','N','Y','Location To',TO_TIMESTAMP('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:21 +-- Fin Report Summary +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=57597 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:22 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57598,200,0,19,53203,'C_LocFrom_ID',TO_TIMESTAMP('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,'Location that inventory was moved from','D',10,'The Location From indicates the location that a product was moved from.','Y','N','N','N','N','N','N','N','N','Y','Location From',TO_TIMESTAMP('2009-05-14 12:33:21','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:22 +-- Fin Report Summary +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=57598 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:23 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57599,613,0,19,53203,'User1_ID',TO_TIMESTAMP('2009-05-14 12:33:22','YYYY-MM-DD HH24:MI:SS'),100,'User defined list element #1','D',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','Y','User List 1',TO_TIMESTAMP('2009-05-14 12:33:22','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:23 +-- Fin Report Summary +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=57599 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:24 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57600,614,0,19,53203,'User2_ID',TO_TIMESTAMP('2009-05-14 12:33:23','YYYY-MM-DD HH24:MI:SS'),100,'User defined list element #2','D',10,'The user defined element displays the optional elements that have been defined for this account combination.','Y','N','N','N','N','N','N','N','N','Y','User List 2',TO_TIMESTAMP('2009-05-14 12:33:23','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:24 +-- Fin Report Summary +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=57600 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:25 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57601,308,0,19,53203,'GL_Budget_ID',TO_TIMESTAMP('2009-05-14 12:33:24','YYYY-MM-DD HH24:MI:SS'),100,'General Ledger Budget','D',10,'The General Ledger Budget identifies a user defined budget. These can be used in reporting as a comparison against your actual amounts.','Y','N','N','N','N','N','N','N','N','Y','Budget',TO_TIMESTAMP('2009-05-14 12:33:24','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:25 +-- Fin Report Summary +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=57601 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57602,162,0,12,53203,'AmtAcctDr',TO_TIMESTAMP('2009-05-14 12:33:25','YYYY-MM-DD HH24:MI:SS'),100,'Accounted Debit Amount','D',22,'The Account Debit Amount indicates the transaction amount converted to this organization''s accounting currency','Y','N','N','N','N','Y','N','N','N','Y','Accounted Debit',TO_TIMESTAMP('2009-05-14 12:33:25','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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=57602 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57603,161,0,12,53203,'AmtAcctCr',TO_TIMESTAMP('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,'Accounted Credit Amount','D',22,'The Account Credit Amount indicates the transaction amount converted to this organization''s accounting currency','Y','N','N','N','N','Y','N','N','N','Y','Accounted Credit',TO_TIMESTAMP('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:26 +-- Fin Report Summary +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=57603 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:27 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57604,526,0,29,53203,'Qty',TO_TIMESTAMP('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,'Quantity','D',22,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','Y','N','N','N','Y','Quantity',TO_TIMESTAMP('2009-05-14 12:33:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:27 +-- Fin Report Summary +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=57604 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:28 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57605,246,0,18,110,53203,'CreatedBy',TO_TIMESTAMP('2009-05-14 12:33:27','YYYY-MM-DD HH24:MI:SS'),100,'User who created this records','D',10,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','N','N','Created By',TO_TIMESTAMP('2009-05-14 12:33:27','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:28 +-- Fin Report Summary +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=57605 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:29 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57606,245,0,16,53203,'Created',TO_TIMESTAMP('2009-05-14 12:33:28','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was created','D',7,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','N','N','Created',TO_TIMESTAMP('2009-05-14 12:33:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:29 +-- Fin Report Summary +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=57606 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57607,608,0,18,110,53203,'UpdatedBy',TO_TIMESTAMP('2009-05-14 12:33:29','YYYY-MM-DD HH24:MI:SS'),100,'User who updated this records','D',10,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','N','N','Updated By',TO_TIMESTAMP('2009-05-14 12:33:29','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +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=57607 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57608,607,0,16,53203,'Updated',TO_TIMESTAMP('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,'Date this record was updated','D',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','N','N','Updated',TO_TIMESTAMP('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:30 +-- Fin Report Summary +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=57608 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:31 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57609,348,0,20,53203,'IsActive',TO_TIMESTAMP('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,'The record is active in the system','D',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','N','Y','Active',TO_TIMESTAMP('2009-05-14 12:33:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:31 +-- Fin Report Summary +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=57609 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:32 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57610,2876,0,19,53203,'C_SubAcct_ID',TO_TIMESTAMP('2009-05-14 12:33:31','YYYY-MM-DD HH24:MI:SS'),100,'Sub account for Element Value','D',10,'The Element Value (e.g. Account) may have optional sub accounts for further detail. The sub account is dependent on the value of the account, so a further specification. If the sub-accounts are more or less the same, consider using another accounting dimension.','Y','N','N','N','N','N','N','N','N','Y','Sub Account',TO_TIMESTAMP('2009-05-14 12:33:31','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:32 +-- Fin Report Summary +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=57610 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:33 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57611,2877,0,19,53203,'UserElement1_ID',TO_TIMESTAMP('2009-05-14 12:33:32','YYYY-MM-DD HH24:MI:SS'),100,'User defined accounting Element','D',10,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)','Y','N','N','N','N','N','N','N','N','Y','User Element 1',TO_TIMESTAMP('2009-05-14 12:33:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:33 +-- Fin Report Summary +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=57611 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57612,2878,0,19,53203,'UserElement2_ID',TO_TIMESTAMP('2009-05-14 12:33:33','YYYY-MM-DD HH24:MI:SS'),100,'User defined accounting Element','D',10,'A user defined accounting element referres to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested) ','Y','N','N','N','N','N','N','N','N','Y','User Element 2',TO_TIMESTAMP('2009-05-14 12:33:33','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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=57612 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57613,2073,0,19,53203,'C_ProjectPhase_ID',TO_TIMESTAMP('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,'Phase of a Project','D',10,'Y','N','N','N','N','N','N','N','N','Y','Project Phase',TO_TIMESTAMP('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:34 +-- Fin Report Summary +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=57613 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:33:35 +-- Fin Report Summary +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,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,57614,2074,0,19,53203,'C_ProjectTask_ID',TO_TIMESTAMP('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,'Actual Project Task in a Phase','D',10,'A Project Task in a Project Phase represents the actual work.','Y','N','N','N','N','N','N','N','N','Y','Project Task',TO_TIMESTAMP('2009-05-14 12:33:34','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 14/05/2009 12:33:35 +-- Fin Report Summary +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=57614 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 14/05/2009 12:35:08 +-- Fin Report Summary +CREATE TABLE Fact_Acct_Summary (AD_Client_ID NUMERIC(10) NOT NULL, AD_OrgTrx_ID NUMERIC(10) DEFAULT NULL , AD_Org_ID NUMERIC(10) NOT NULL, Account_ID NUMERIC(10) NOT NULL, AmtAcctCr NUMERIC NOT NULL, AmtAcctDr NUMERIC NOT NULL, C_AcctSchema_ID NUMERIC(10) NOT NULL, C_Activity_ID NUMERIC(10) DEFAULT NULL , C_BPartner_ID NUMERIC(10) DEFAULT NULL , C_Campaign_ID NUMERIC(10) DEFAULT NULL , C_LocFrom_ID NUMERIC(10) DEFAULT NULL , C_LocTo_ID NUMERIC(10) DEFAULT NULL , C_Period_ID NUMERIC(10) NOT NULL, C_ProjectPhase_ID NUMERIC(10) DEFAULT NULL , C_ProjectTask_ID NUMERIC(10) DEFAULT NULL , C_Project_ID NUMERIC(10) DEFAULT NULL , C_SalesRegion_ID NUMERIC(10) DEFAULT NULL , C_SubAcct_ID NUMERIC(10) DEFAULT NULL , Created TIMESTAMP NOT NULL, CreatedBy NUMERIC(10) NOT NULL, GL_Budget_ID NUMERIC(10) DEFAULT NULL , IsActive CHAR(1) CHECK (IsActive IN ('Y','N')) NOT NULL, M_Product_ID NUMERIC(10) DEFAULT NULL , PA_ReportCube_ID NUMERIC(10) NOT NULL, PostingType CHAR(1) NOT NULL, Qty NUMERIC NOT NULL, Updated TIMESTAMP NOT NULL, UpdatedBy NUMERIC(10) NOT NULL, User1_ID NUMERIC(10) DEFAULT NULL , User2_ID NUMERIC(10) DEFAULT NULL , UserElement1_ID NUMERIC(10) DEFAULT NULL , UserElement2_ID NUMERIC(10) DEFAULT NULL ) +; + +-- 15/05/2009 0:43:09 +-- Fin Report Summary +INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES (0,0,53166,'3','org.compiere.process.FactAcctSummary',TO_TIMESTAMP('2009-05-15 00:43:07','YYYY-MM-DD HH24:MI:SS'),100,'Recalculate summary facts based on report cube definitions.','D','Y','N','N','N','N','Recalculate Fact Summary','Y',0,0,TO_TIMESTAMP('2009-05-15 00:43:07','YYYY-MM-DD HH24:MI:SS'),100,'FactAcctSummary') +; + +-- 15/05/2009 0:43:09 +-- Fin Report Summary +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53166 AND EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_ID!=t.AD_Process_ID) +; + +-- 15/05/2009 0:44:21 +-- Fin Report Summary +INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Process_ID,"action",Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53215,0,53166,'P',TO_TIMESTAMP('2009-05-15 00:44:20','YYYY-MM-DD HH24:MI:SS'),100,'Recalculate Fact Summary','D','Y','N','N','N','Recalculate Fact Summary',TO_TIMESTAMP('2009-05-15 00:44:20','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 15/05/2009 0:44:21 +-- Fin Report Summary +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Menu_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=53215 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID) +; + +-- 15/05/2009 0:44:21 +-- Fin Report Summary +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo) SELECT t.AD_Client_ID,0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 53215, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=53215) +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=283 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=282 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=548 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53214 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53215 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=281 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=350 +; + +-- 15/05/2009 0:44:33 +-- Fin Report Summary +UPDATE AD_TreeNodeMM SET Parent_ID=280, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=502 +; + +-- 19/05/2009 23:03:38 +-- Fin Report Summary +INSERT INTO AD_Sequence (AD_Client_ID,AD_Org_ID,AD_Sequence_ID,Created,CreatedBy,CurrentNext,CurrentNextSys,Description,IncrementNo,IsActive,IsAudited,IsAutoSequence,IsTableID,Name,StartNewYear,StartNo,Updated,UpdatedBy) VALUES (0,0,53308,TO_TIMESTAMP('2009-05-19 23:03:36','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table PA_ReportCube',1,'Y','N','Y','Y','PA_ReportCube','N',1000000,TO_TIMESTAMP('2009-05-19 23:03:36','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:10:04 +-- Fin Report Summary +INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52050,'PA_ReportCube.C_Calendar_ID=@C_Calendar_ID@',TO_TIMESTAMP('2009-05-19 23:10:03','YYYY-MM-DD HH24:MI:SS'),100,'U','Y','PA_ReportCube of Calendar','S',TO_TIMESTAMP('2009-05-19 23:10:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:10:22 +-- Fin Report Summary +UPDATE AD_Column SET AD_Val_Rule_ID=52050,Updated=TO_TIMESTAMP('2009-05-19 23:10:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57582 +; + +-- 19/05/2009 23:16:03 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,53821,0,202,53313,18,53299,52050,'PA_ReportCube_ID',TO_TIMESTAMP('2009-05-19 23:16:02','YYYY-MM-DD HH24:MI:SS'),100,'@PA_ReportCube_ID@','Optional report cube to retrieve pre-calculated summary date from.','D',10,'Y','Y','N','N','Report Cube',120,TO_TIMESTAMP('2009-05-19 23:16:02','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:16:03 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53313 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 19/05/2009 23:16:14 +-- Fin Report Summary +UPDATE AD_Process_Para SET Description='Optional report cube to retrieve pre-calculated summary data from.',Updated=TO_TIMESTAMP('2009-05-19 23:16:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53313 +; + +-- 19/05/2009 23:16:14 +-- Fin Report Summary +UPDATE AD_Process_Para_Trl SET IsTranslated='N' WHERE AD_Process_Para_ID=53313 +; + +-- 19/05/2009 23:19:33 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53166,53314,20,'Reset',TO_TIMESTAMP('2009-05-19 23:19:32','YYYY-MM-DD HH24:MI:SS'),100,'Delete all existing summary data and recalculate.','D',0,'If not selected, only those periods with recently posted accounting facts will be recalculated.','Y','Y','N','N','Full rebuild',10,TO_TIMESTAMP('2009-05-19 23:19:32','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:19:33 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53314 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 19/05/2009 23:20:37 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,AD_Reference_Value_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53166,53315,18,53299,'PA_ReportCube_ID',TO_TIMESTAMP('2009-05-19 23:20:30','YYYY-MM-DD HH24:MI:SS'),100,'Recalculate only this cube.','D',0,'Y','Y','N','N','Report cube',20,TO_TIMESTAMP('2009-05-19 23:20:30','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:20:37 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53315 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 19/05/2009 23:22:04 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57646,524,0,20,53202,'Processing',TO_TIMESTAMP('2009-05-19 23:22:02','YYYY-MM-DD HH24:MI:SS'),100,'N','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Process Now',0,TO_TIMESTAMP('2009-05-19 23:22:02','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 19/05/2009 23:22:04 +-- Fin Report Summary +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=57646 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 19/05/2009 23:22:07 +-- Fin Report Summary +ALTER TABLE PA_ReportCube ADD COLUMN Processing CHAR(1) DEFAULT 'N' CHECK (Processing IN ('Y','N')) NOT NULL +; + +-- 19/05/2009 23:25:05 +-- Fin Report Summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53837,0,'LastRecalculated',TO_TIMESTAMP('2009-05-19 23:25:04','YYYY-MM-DD HH24:MI:SS'),100,'The time last recalculated.','D','Y','Last Recalculated','Last Recalculated',TO_TIMESTAMP('2009-05-19 23:25:04','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 19/05/2009 23:25:05 +-- Fin Report Summary +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=53837 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 19/05/2009 23:25:41 +-- Fin Report Summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57647,53837,0,16,53202,'LastRecalculated',TO_TIMESTAMP('2009-05-19 23:25:35','YYYY-MM-DD HH24:MI:SS'),100,'The time last recalculated.','D',7,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Last Recalculated',0,TO_TIMESTAMP('2009-05-19 23:25:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 19/05/2009 23:25:41 +-- Fin Report Summary +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=57647 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 19/05/2009 23:25:45 +-- Fin Report Summary +ALTER TABLE PA_ReportCube ADD COLUMN LastRecalculated TIMESTAMP DEFAULT NULL +; + +-- 21/05/2009 23:43:51 +-- Fin Report Summary +INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57649,263,0,15,53203,'DateAcct',TO_TIMESTAMP('2009-05-21 23:43:48','YYYY-MM-DD HH24:MI:SS'),100,NULL,'Accounting Date','D',7,'The Accounting Date indicates the date to be used on the General Ledger account entries generated from this document. It is also used for any currency conversion.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Account Date',0,TO_TIMESTAMP('2009-05-21 23:43:48','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 21/05/2009 23:43:51 +-- Fin Report Summary +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=57649 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 21/05/2009 23:43:55 +-- Fin Report Summary +ALTER TABLE Fact_Acct_Summary ADD COLUMN DateAcct TIMESTAMP DEFAULT NULL +; + +-- 3/06/2009 0:44:04 +-- Fin Report Summary +INSERT INTO AD_Process_Para (AD_Client_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,0,53166,53316,20,'Force',TO_TIMESTAMP('2009-06-03 00:44:03','YYYY-MM-DD HH24:MI:SS'),100,'N','Force rebuild of cube even if locked.','D',1,'Y','Y','N','N','Force',30,TO_TIMESTAMP('2009-06-03 00:44:03','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 3/06/2009 0:44:04 +-- Fin Report Summary +INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_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_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53316 AND EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Process_Para_ID!=t.AD_Process_Para_ID) +; + +-- 3/06/2009 0:59:21 +-- Fin Report Summary +UPDATE AD_Process_Para SET SeqNo=25,Updated=TO_TIMESTAMP('2009-06-03 00:59:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53314 +; + +-- 2/08/2009 22:41:35 +-- Acct fact summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53897,0,'IsUserElement2Dim',TO_TIMESTAMP('2009-08-02 22:41:33','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 2 as a cube dimension','D','Y','User Element 2 Dimension','User Element 2 Dimension',TO_TIMESTAMP('2009-08-02 22:41:33','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:41:35 +-- Acct fact summary +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=53897 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 2/08/2009 22:41:49 +-- Acct fact summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57953,53897,0,20,53202,'IsUserElement2Dim',TO_TIMESTAMP('2009-08-02 22:41:47','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 2 as a cube dimension','U',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User Element 2 Dimension',0,TO_TIMESTAMP('2009-08-02 22:41:47','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 2/08/2009 22:41:49 +-- Acct fact summary +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=57953 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2/08/2009 22:41:54 +-- Acct fact summary +ALTER TABLE PA_ReportCube ADD COLUMN IsUserElement2Dim CHAR(1) DEFAULT NULL CHECK (IsUserElement2Dim IN ('Y','N')) +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Element SET ColumnName='IsUserElement1Dim', Description='Include User Element 1 as a cube dimension', Name='User Element 1 Dimension', PrintName='User Element 1 Dimension',Updated=TO_TIMESTAMP('2009-08-02 22:42:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Column SET ColumnName='IsUserElement1Dim', Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement1Dim', Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL, AD_Element_ID=53897 WHERE UPPER(ColumnName)='ISUSERELEMENT1DIM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement1Dim', Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_Field SET Name='User Element 1 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53897) AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:42:24 +-- Acct fact summary +UPDATE AD_PrintFormatItem SET PrintName='User Element 1 Dimension', Name='User Element 1 Dimension' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53897) +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Element SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', PrintName='User Element 2 Dimension',Updated=TO_TIMESTAMP('2009-08-02 22:43:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Column SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL, AD_Element_ID=53897 WHERE UPPER(ColumnName)='ISUSERELEMENT2DIM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_Field SET Name='User Element 2 Dimension', Description='Include User Element 1 as a cube dimension', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53897) AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:43:54 +-- Acct fact summary +UPDATE AD_PrintFormatItem SET PrintName='User Element 2 Dimension', Name='User Element 2 Dimension' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=53897) +; + +-- 2/08/2009 22:44:09 +-- Acct fact summary +INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53898,0,'IsUserElement1Dim',TO_TIMESTAMP('2009-08-02 22:44:08','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 1 as a cube dimension','D','Y','User Element 1 Dimension','User Element 1 Dimension',TO_TIMESTAMP('2009-08-02 22:44:08','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:44:09 +-- Acct fact summary +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=53898 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID) +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Element SET Description='Include User Element 2 as a cube dimension',Updated=TO_TIMESTAMP('2009-08-02 22:44:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Column SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL, AD_Element_ID=53897 WHERE UPPER(ColumnName)='ISUSERELEMENT2DIM' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Process_Para SET ColumnName='IsUserElement2Dim', Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL WHERE AD_Element_ID=53897 AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:44:15 +-- Acct fact summary +UPDATE AD_Field SET Name='User Element 2 Dimension', Description='Include User Element 2 as a cube dimension', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=53897) AND IsCentrallyMaintained='Y' +; + +-- 2/08/2009 22:44:29 +-- Acct fact summary +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,Description,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,57954,53898,0,20,53202,'IsUserElement1Dim',TO_TIMESTAMP('2009-08-02 22:44:28','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 1 as a cube dimension','D',1,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','User Element 1 Dimension',0,TO_TIMESTAMP('2009-08-02 22:44:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- 2/08/2009 22:44:29 +-- Acct fact summary +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=57954 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID) +; + +-- 2/08/2009 22:45:04 +-- Acct fact summary +ALTER TABLE PA_ReportCube ADD COLUMN IsUserElement1Dim CHAR(1) DEFAULT NULL CHECK (IsUserElement1Dim IN ('Y','N')) +; + +-- 2/08/2009 22:46:22 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57647,57384,0,53219,TO_TIMESTAMP('2009-08-02 22:46:21','YYYY-MM-DD HH24:MI:SS'),100,'The time last recalculated.',7,'D','Y','Y','Y','N','N','N','N','N','Last Recalculated',TO_TIMESTAMP('2009-08-02 22:46:21','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:22 +-- Acct fact summary +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=57384 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:23 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57646,57385,0,53219,TO_TIMESTAMP('2009-08-02 22:46:22','YYYY-MM-DD HH24:MI:SS'),100,1,'D','Y','Y','Y','N','N','N','N','N','Process Now',TO_TIMESTAMP('2009-08-02 22:46:22','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:23 +-- Acct fact summary +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=57385 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:24 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57954,57386,0,53219,TO_TIMESTAMP('2009-08-02 22:46:23','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 1 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User Element 1 Dimension',TO_TIMESTAMP('2009-08-02 22:46:23','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:24 +-- Acct fact summary +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=57386 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:25 +-- Acct fact summary +INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,Updated,UpdatedBy) VALUES (0,57953,57387,0,53219,TO_TIMESTAMP('2009-08-02 22:46:24','YYYY-MM-DD HH24:MI:SS'),100,'Include User Element 2 as a cube dimension',1,'D','Y','Y','Y','N','N','N','N','N','User Element 2 Dimension',TO_TIMESTAMP('2009-08-02 22:46:24','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- 2/08/2009 22:46:25 +-- Acct fact summary +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=57387 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID) +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=57386 +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=57387 +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=57384 +; + +-- 2/08/2009 22:46:48 +-- Acct fact summary +UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=57385 +; + +-- 2/08/2009 22:47:05 +-- Acct fact summary +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2009-08-02 22:47:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57384 +; + +-- 2/08/2009 22:47:28 +-- Acct fact summary +UPDATE AD_Field SET IsDisplayed='N',Updated=TO_TIMESTAMP('2009-08-02 22:47:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57385 +; + +-- 2/08/2009 22:50:37 +-- Acct fact summary +UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-08-02 22:50:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57387 +; + +CREATE INDEX FAS_ACCOUNT ON FACT_ACCT_SUMMARY (AD_CLIENT_ID, AD_ORG_ID, C_ACCTSCHEMA_ID, ACCOUNT_ID); + +CREATE INDEX FAS_DATEACCT ON FACT_ACCT_SUMMARY (DATEACCT); + +CREATE INDEX FAS_PERIOD ON FACT_ACCT_SUMMARY (C_PERIOD_ID); + +CREATE INDEX FAS_REPORTCUBE ON FACT_ACCT_SUMMARY (PA_REPORTCUBE_ID); + +-- CREATE INDEX FACT_ACCT_UPDATED ON FACT_ACCT (UPDATED);