FR [2761420] - Advanced Search

https://sourceforge.net/tracker/?func=detail&atid=879334&aid=2761420&group_id=176962
Integrate work contributed by Karsten Thiemann and Jan Roessler
This commit is contained in:
Carlos Ruiz 2009-04-24 01:25:32 +00:00
parent 49b8127757
commit a94d18dd27
11 changed files with 3209 additions and 12 deletions

View File

@ -0,0 +1,261 @@
/******************************************************************************
* 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 AD_SearchDefinition
* @author Adempiere (generated)
* @version Release 3.5.3a
*/
public interface I_AD_SearchDefinition
{
/** TableName=AD_SearchDefinition */
public static final String Table_Name = "AD_SearchDefinition";
/** AD_Table_ID=53169 */
public static final int Table_ID = MTable.getTable_ID(Table_Name);
KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name);
/** AccessLevel = 4 - System
*/
BigDecimal accessLevel = BigDecimal.valueOf(4);
/** 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_Column_ID */
public static final String COLUMNNAME_AD_Column_ID = "AD_Column_ID";
/** Set Column.
* Column in the table
*/
public void setAD_Column_ID (int AD_Column_ID);
/** Get Column.
* Column in the table
*/
public int getAD_Column_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 AD_SearchDefinition_ID */
public static final String COLUMNNAME_AD_SearchDefinition_ID = "AD_SearchDefinition_ID";
/** Set AD_SearchDefinition_ID */
public void setAD_SearchDefinition_ID (int AD_SearchDefinition_ID);
/** Get AD_SearchDefinition_ID */
public int getAD_SearchDefinition_ID();
/** Column name AD_Table_ID */
public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID";
/** Set Table.
* Database Table information
*/
public void setAD_Table_ID (int AD_Table_ID);
/** Get Table.
* Database Table information
*/
public int getAD_Table_ID();
/** Column name AD_Window_ID */
public static final String COLUMNNAME_AD_Window_ID = "AD_Window_ID";
/** Set Window.
* Data entry or display window
*/
public void setAD_Window_ID (int AD_Window_ID);
/** Get Window.
* Data entry or display window
*/
public int getAD_Window_ID();
/** 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 DataType */
public static final String COLUMNNAME_DataType = "DataType";
/** Set Data Type.
* Type of data
*/
public void setDataType (String DataType);
/** Get Data Type.
* Type of data
*/
public String getDataType();
/** 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 IsDefault */
public static final String COLUMNNAME_IsDefault = "IsDefault";
/** Set Default.
* Default value
*/
public void setIsDefault (boolean IsDefault);
/** Get Default.
* Default value
*/
public boolean isDefault();
/** 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 PO_Window_ID */
public static final String COLUMNNAME_PO_Window_ID = "PO_Window_ID";
/** Set PO Window.
* Purchase Order Window
*/
public void setPO_Window_ID (int PO_Window_ID);
/** Get PO Window.
* Purchase Order Window
*/
public int getPO_Window_ID();
/** Column name Query */
public static final String COLUMNNAME_Query = "Query";
/** Set Query.
* SQL
*/
public void setQuery (String Query);
/** Get Query.
* SQL
*/
public String getQuery();
/** Column name SearchType */
public static final String COLUMNNAME_SearchType = "SearchType";
/** Set Search Type.
* Which kind of search is used (Query or Table)
*/
public void setSearchType (String SearchType);
/** Get Search Type.
* Which kind of search is used (Query or Table)
*/
public String getSearchType();
/** Column name TransactionCode */
public static final String COLUMNNAME_TransactionCode = "TransactionCode";
/** Set Transaction Code.
* The transaction code represents the search definition
*/
public void setTransactionCode (String TransactionCode);
/** Get Transaction Code.
* The transaction code represents the search definition
*/
public String getTransactionCode();
/** 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();
}

View File

@ -0,0 +1,136 @@
/**********************************************************************
* This file is part of Adempiere ERP Bazaar *
* http://www.adempiere.org *
* *
* Copyright (C) Jan Roessler - Schaeffer *
* Copyright (C) Contributors *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
* as published by the Free Software Foundation; either version 2 *
* of the License, or (at your option) any later version. *
* *
* 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., 51 Franklin Street, Fifth Floor, Boston, *
* MA 02110-1301, USA. *
* *
* Contributors: *
* - Jan Roessler *
* *
* Sponsors: *
* - Schaeffer *
**********************************************************************/
package org.compiere.model;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import org.compiere.util.DB;
import org.compiere.util.Env;
/**
* @author Jan Roessler, jr@schaeffer-ag.de
*
*/
public class MSearchDefinition extends X_AD_SearchDefinition {
/**
*
*/
private static final long serialVersionUID = 2448668218372939766L;
/** Constant for the searchtype table */
public static final String SEARCHTYPE_TABLE = "T";
/** Constant for the searchtype query */
public static final String SEARCHTYPE_QUERY = "Q";
/** Constant for the datatype String */
public static final String DATATYPE_STRING = "S";
/** Constant for the datatype Integer */
public static final String DATATYPE_INTEGER = "I";
/**
* @param ctx
* @param AD_SearchDefinition_ID
* @param trxName
*/
public MSearchDefinition(Properties ctx, int AD_SearchDefinition_ID, String trxName) {
super(ctx, AD_SearchDefinition_ID, trxName);
}
/**
* Returns all SearchDefinition objects with the given transaction code
*
* @param transactionCode
* @return
* @throws SQLException
*/
public static List<MSearchDefinition> getForCode(String transactionCode) throws SQLException {
List<MSearchDefinition> list = new ArrayList<MSearchDefinition>();
String sql = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
sql = "SELECT AD_SearchDefinition_ID FROM AD_SearchDefinition WHERE IsActive = 'Y' ";
if (transactionCode != null) {
sql += "AND UPPER(TransactionCode) = ?";
pstmt = DB.prepareStatement(sql, null);
pstmt.setString(1, transactionCode.toUpperCase());
} else {
sql += "AND IsDefault = 'Y'";
pstmt = DB.prepareStatement(sql, null);
}
if (pstmt != null) {
rs = pstmt.executeQuery();
while (rs.next()) {
MSearchDefinition msd = new MSearchDefinition(Env.getCtx(), rs.getInt(1), null);
if (msd.isActive()) {
list.add(msd);
}
}
}
DB.close(rs, pstmt);
return list;
}
public static boolean isValidTransactionCode(String transactionCode) throws SQLException {
boolean found = false;
if (transactionCode != null) {
String sql = null;
PreparedStatement pstmt = null;
ResultSet rs = null;
sql = "SELECT AD_SearchDefinition_ID FROM AD_SearchDefinition WHERE UPPER(TransactionCode) = ? AND IsActive = 'Y'";
pstmt = DB.prepareStatement(sql, null);
pstmt.setString(1, transactionCode.toUpperCase());
if (pstmt != null) {
rs = pstmt.executeQuery();
while (rs.next()) {
found = true;
}
}
DB.close(rs, pstmt);
}
return found;
}
}

View File

@ -0,0 +1,316 @@
/******************************************************************************
* 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.sql.ResultSet;
import java.util.Properties;
/** Generated Model for AD_SearchDefinition
* @author Adempiere (generated)
* @version Release 3.5.3a - $Id$ */
public class X_AD_SearchDefinition extends PO implements I_AD_SearchDefinition, I_Persistent
{
/**
*
*/
private static final long serialVersionUID = 20081221L;
/** Standard Constructor */
public X_AD_SearchDefinition (Properties ctx, int AD_SearchDefinition_ID, String trxName)
{
super (ctx, AD_SearchDefinition_ID, trxName);
/** if (AD_SearchDefinition_ID == 0)
{
setAD_SearchDefinition_ID (0);
setAD_Table_ID (0);
setAD_Window_ID (0);
setDataType (null);
setIsDefault (false);
// N
setSearchType (null);
} */
}
/** Load Constructor */
public X_AD_SearchDefinition (Properties ctx, ResultSet rs, String trxName)
{
super (ctx, rs, trxName);
}
/** AccessLevel
* @return 4 - System
*/
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_AD_SearchDefinition[")
.append(get_ID()).append("]");
return sb.toString();
}
/** Set Column.
@param AD_Column_ID
Column in the table
*/
public void setAD_Column_ID (int AD_Column_ID)
{
if (AD_Column_ID < 1)
set_Value (COLUMNNAME_AD_Column_ID, null);
else
set_Value (COLUMNNAME_AD_Column_ID, Integer.valueOf(AD_Column_ID));
}
/** Get Column.
@return Column in the table
*/
public int getAD_Column_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Column_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set AD_SearchDefinition_ID.
@param AD_SearchDefinition_ID AD_SearchDefinition_ID */
public void setAD_SearchDefinition_ID (int AD_SearchDefinition_ID)
{
if (AD_SearchDefinition_ID < 1)
throw new IllegalArgumentException ("AD_SearchDefinition_ID is mandatory.");
set_ValueNoCheck (COLUMNNAME_AD_SearchDefinition_ID, Integer.valueOf(AD_SearchDefinition_ID));
}
/** Get AD_SearchDefinition_ID.
@return AD_SearchDefinition_ID */
public int getAD_SearchDefinition_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_SearchDefinition_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Table.
@param AD_Table_ID
Database Table information
*/
public void setAD_Table_ID (int AD_Table_ID)
{
if (AD_Table_ID < 1)
throw new IllegalArgumentException ("AD_Table_ID is mandatory.");
set_Value (COLUMNNAME_AD_Table_ID, Integer.valueOf(AD_Table_ID));
}
/** Get Table.
@return Database Table information
*/
public int getAD_Table_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Table_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Window.
@param AD_Window_ID
Data entry or display window
*/
public void setAD_Window_ID (int AD_Window_ID)
{
if (AD_Window_ID < 1)
throw new IllegalArgumentException ("AD_Window_ID is mandatory.");
set_Value (COLUMNNAME_AD_Window_ID, Integer.valueOf(AD_Window_ID));
}
/** Get Window.
@return Data entry or display window
*/
public int getAD_Window_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Window_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Data Type.
@param DataType
Type of data
*/
public void setDataType (String DataType)
{
if (DataType == null)
throw new IllegalArgumentException ("DataType is mandatory.");
set_Value (COLUMNNAME_DataType, DataType);
}
/** Get Data Type.
@return Type of data
*/
public String getDataType ()
{
return (String)get_Value(COLUMNNAME_DataType);
}
/** 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 Default.
@param IsDefault
Default value
*/
public void setIsDefault (boolean IsDefault)
{
set_Value (COLUMNNAME_IsDefault, Boolean.valueOf(IsDefault));
}
/** Get Default.
@return Default value
*/
public boolean isDefault ()
{
Object oo = get_Value(COLUMNNAME_IsDefault);
if (oo != null)
{
if (oo instanceof Boolean)
return ((Boolean)oo).booleanValue();
return "Y".equals(oo);
}
return false;
}
/** 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 PO Window.
@param PO_Window_ID
Purchase Order Window
*/
public void setPO_Window_ID (int PO_Window_ID)
{
if (PO_Window_ID < 1)
set_Value (COLUMNNAME_PO_Window_ID, null);
else
set_Value (COLUMNNAME_PO_Window_ID, Integer.valueOf(PO_Window_ID));
}
/** Get PO Window.
@return Purchase Order Window
*/
public int getPO_Window_ID ()
{
Integer ii = (Integer)get_Value(COLUMNNAME_PO_Window_ID);
if (ii == null)
return 0;
return ii.intValue();
}
/** Set Query.
@param Query
SQL
*/
public void setQuery (String Query)
{
set_Value (COLUMNNAME_Query, Query);
}
/** Get Query.
@return SQL
*/
public String getQuery ()
{
return (String)get_Value(COLUMNNAME_Query);
}
/** Set Search Type.
@param SearchType
Which kind of search is used (Query or Table)
*/
public void setSearchType (String SearchType)
{
if (SearchType == null)
throw new IllegalArgumentException ("SearchType is mandatory.");
set_Value (COLUMNNAME_SearchType, SearchType);
}
/** Get Search Type.
@return Which kind of search is used (Query or Table)
*/
public String getSearchType ()
{
return (String)get_Value(COLUMNNAME_SearchType);
}
/** Set Transaction Code.
@param TransactionCode
The transaction code represents the search definition
*/
public void setTransactionCode (String TransactionCode)
{
set_Value (COLUMNNAME_TransactionCode, TransactionCode);
}
/** Get Transaction Code.
@return The transaction code represents the search definition
*/
public String getTransactionCode ()
{
return (String)get_Value(COLUMNNAME_TransactionCode);
}
}

View File

@ -0,0 +1,291 @@
/**********************************************************************
* This file is part of Adempiere ERP Bazaar *
* http://www.adempiere.org *
* *
* Copyright (C) Jan Roessler - Schaeffer *
* Copyright (C) Contributors *
* *
* This program is free software; you can redistribute it and/or *
* modify it under the terms of the GNU General Public License *
* as published by the Free Software Foundation; either version 2 *
* of the License, or (at your option) any later version. *
* *
* 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., 51 Franklin Street, Fifth Floor, Boston, *
* MA 02110-1301, USA. *
* *
* Contributors: *
* - Jan Roessler *
* *
* Sponsors: *
* - Schaeffer *
**********************************************************************/
package de.schaeffer.compiere.tools;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayList;
import java.util.List;
import java.util.Properties;
import java.util.Vector;
import org.compiere.apps.AEnv;
import org.compiere.apps.AWindow;
import org.compiere.model.MColumn;
import org.compiere.model.MQuery;
import org.compiere.model.MRole;
import org.compiere.model.MSearchDefinition;
import org.compiere.model.MTable;
import org.compiere.util.CLogger;
import org.compiere.util.DB;
import org.compiere.util.Env;
/**
* Executes search and opens windows for defined transaction codes
*
* @author Jan Roessler, jr@schaeffer-ag.de
*
*/
public class DocumentSearch {
/** the logger */
static CLogger log = CLogger.getCLogger(DocumentSearch.class);
private static boolean windowOpened = false;
/**
* @param searchString
*/
public static boolean openDocumentsByDocumentNo(String searchString) {
windowOpened = false;
log.fine("Search started with String: " + searchString);
// Check if / how many transaction-codes are used
if (searchString != null && !"".equals(searchString)) {
String[] codes = searchString.trim().replaceAll(" ", " ").split(" ");
List<String> codeList = new ArrayList<String>();
boolean codeSearch = true;
searchString = "";
// Analyze String to separate transactionCodes from searchString
for (int i = 0; i < codes.length; i++) {
try {
String s = codes[i];
if (MSearchDefinition.isValidTransactionCode(s) && codeSearch) {
codeList.add(s);
} else {
// Build the searchString with eventually appearing
// whitespaces
codeSearch = false;
searchString += s;
if (i != (codes.length - 1)) {
searchString += " ";
}
}
} catch (SQLException e) {
log.severe(e.toString());
e.printStackTrace();
}
}
// Start the search for every single code
if (codeList.size() > 0) {
for (int i = 0; i < codeList.size(); i++) {
log.fine("Search with Transaction: '" + codeList.get(i) + "' for: '"
+ searchString + "'");
getID(codeList.get(i), searchString);
}
} else {
log.fine("Search without Transaction: " + searchString);
getID(null, searchString);
}
} else {
log.fine("Search String is invalid");
}
return windowOpened;
}
/**
* search for id's that fit the searchString
*
* @param transactionCode
* @param searchString
*/
private static void getID(String transactionCode, String searchString) {
ResultSet rsSO = null;
ResultSet rsPO = null;
PreparedStatement pstmtSO = null;
PreparedStatement pstmtPO = null;
String sqlSO = null;
String sqlPO = null;
final Properties ctx = Env.getCtx();
final MRole role = MRole.get(ctx, Env.getAD_Role_ID(ctx), Env.getAD_User_ID(ctx), true);
try {
for (MSearchDefinition msd : MSearchDefinition.getForCode(transactionCode)) {
MTable table = new MTable(Env.getCtx(), msd.getAD_Table_ID(), null);
// SearchDefinition with a given table and column
if (msd.getSearchType().equals(MSearchDefinition.SEARCHTYPE_TABLE)) {
MColumn column = new MColumn(Env.getCtx(), msd.getAD_Column_ID(), null);
sqlSO = "SELECT " + table.getTableName() + "_ID FROM " + table.getTableName() + " ";
// search for an Integer
if (msd.getDataType().equals(MSearchDefinition.DATATYPE_INTEGER)) {
sqlSO += "WHERE " + column.getColumnName() + "=?";
// search for a String
} else {
sqlSO += "WHERE UPPER(" + column.getColumnName()+ ") LIKE UPPER(?)";
}
if (msd.getPO_Window_ID() != 0) {
sqlPO = sqlSO + " AND IsSOTrx='N'";
sqlSO += " AND IsSOTrx='Y'";
}
pstmtSO = DB.prepareStatement(sqlSO, null);
pstmtPO = DB.prepareStatement(sqlPO, null);
// search for a Integer
if (msd.getDataType().equals(MSearchDefinition.DATATYPE_INTEGER)) {
pstmtSO.setInt(1, Integer.valueOf(searchString.replaceAll("\\D", "")));
if (msd.getPO_Window_ID() != 0) {
pstmtPO.setInt(1, Integer.valueOf(searchString.replaceAll("\\D", "")));
}
// search for a String
} else if (msd.getDataType().equals(MSearchDefinition.DATATYPE_STRING)) {
pstmtSO.setString(1, searchString);
if (msd.getPO_Window_ID() != 0) {
pstmtPO.setString(1, searchString);
}
}
// SearchDefinition with a special query
} else if (msd.getSearchType().equals(MSearchDefinition.SEARCHTYPE_QUERY)) {
sqlSO = msd.getQuery();
pstmtSO = DB.prepareStatement(sqlSO, null);
// count '?' in statement
int count = 1;
for (char c : sqlSO.toCharArray()) {
if (c == '?') {
count++;
}
}
for (int i = 1; i < count; i++) {
if (msd.getDataType().equals(MSearchDefinition.DATATYPE_INTEGER)) {
pstmtSO.setInt(i, Integer.valueOf(searchString.replaceAll("\\D", "")));
} else if (msd.getDataType().equals(MSearchDefinition.DATATYPE_STRING)) {
pstmtSO.setString(i, searchString);
}
}
}
if (pstmtSO != null) {
log.fine("SQL Sales: " + sqlSO);
rsSO = pstmtSO.executeQuery();
Vector<Integer> idSO = new Vector<Integer>();
while (rsSO.next()) {
idSO.add(new Integer(rsSO.getInt(1)));
}
if (role.getWindowAccess(msd.getAD_Window_ID()) != null) {
log.fine("Open Window: " + msd.getAD_Window_ID() + " / Table: "
+ table.getTableName() + " / Number of Results: " + idSO.size());
if (idSO.size() == 0 && (searchString == null || searchString.trim().length() == 0)) {
// No search string - open the window with new record
idSO.add(new Integer(0));
}
openWindow(idSO, table.getTableName(), msd.getAD_Window_ID());
} else {
log.warning("Role is not allowed to view this window");
}
}
if (pstmtPO != null) {
log.fine("SQL Purchase: " + sqlPO);
rsPO = pstmtPO.executeQuery();
Vector<Integer> idPO = new Vector<Integer>();
while (rsPO.next()) {
idPO.add(new Integer(rsPO.getInt(1)));
}
if (role.getWindowAccess(msd.getPO_Window_ID()) != null) {
log.fine("Open Window: " + msd.getPO_Window_ID() + " / Table: "
+ table.getTableName() + " / Number of Results: " + idPO.size());
openWindow(idPO, table.getTableName(), msd.getPO_Window_ID());
} else {
log.warning("Role is not allowed to view this window");
}
}
DB.close(rsSO, pstmtSO);
DB.close(rsPO, pstmtPO);
pstmtSO = null;
pstmtPO = null;
rsSO = null;
rsPO = null;
}
} catch (Exception e) {
log.severe(e.toString());
e.printStackTrace();
} finally {
DB.close(rsSO, pstmtSO);
DB.close(rsPO, pstmtPO);
rsSO = null;
rsPO = null;
pstmtSO = null;
pstmtPO = null;
}
}
/**
* opens window with the given documents
*
* @param ids
* - document id's
* @param tableName
* @param windowId
*/
private static void openWindow(Vector<Integer> ids, String tableName, int windowId) {
if (ids == null || ids.size() == 0) {
return;
}
String whereString = " " + tableName + "_ID";
// create query string
if (ids.size() == 1) {
if (ids.get(0).intValue() == 0) {
whereString = null;
} else {
whereString += "=" + ids.get(0).intValue();
}
} else {
whereString += " IN (";
for (int i = 0; i < ids.size(); i++) {
whereString += ids.get(i).intValue();
if (i < ids.size() - 1) {
whereString += ",";
} else {
whereString += ") ";
}
}
}
log.fine(whereString);
final AWindow frame = new AWindow();
AEnv.addToWindowManager(frame);
final MQuery query = new MQuery(tableName);
query.addRestriction(whereString);
final boolean ok = frame.initWindow(windowId, query);
if (!ok) {
log.severe("Unable to open window: " + whereString);
}
frame.pack();
AEnv.showCenterScreen(frame);
if (!windowOpened && ok)
windowOpened = true;
}
}

View File

@ -1,5 +1,5 @@
/******************************************************************************
* Product: Adempiere ERP & CRM Smart Business Solution *
* 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 *
@ -58,6 +58,7 @@ import javax.swing.BorderFactory;
import javax.swing.JButton;
import javax.swing.JCheckBox;
import javax.swing.JComponent;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JMenuItem;
import javax.swing.JPopupMenu;
@ -93,6 +94,8 @@ import org.compiere.util.Trx;
import org.jdesktop.swingx.JXTaskPane;
import org.jdesktop.swingx.JXTaskPaneContainer;
import de.schaeffer.compiere.tools.DocumentSearch;
/**
* Tree Panel displays trees.
* <br>
@ -107,6 +110,9 @@ import org.jdesktop.swingx.JXTaskPaneContainer;
*
* @author Jorg Janke
* @version $Id: VTreePanel.java,v 1.3 2006/07/30 00:51:28 jjanke Exp $
*
* Contributors:
* kthiemann / Carlos Ruiz - 2761420 - Advanced Search
*/
public final class VTreePanel extends CPanel
implements ActionListener, DragGestureListener, DragSourceListener, DropTargetListener
@ -114,7 +120,9 @@ public final class VTreePanel extends CPanel
/**
*
*/
private static final long serialVersionUID = 8277846412907513244L;
private static final long serialVersionUID = -6798614427038652192L;
private static final String PREFIX_DOCUMENT_SEARCH = "/";
protected boolean m_lookAndFeelChanged = false;
@ -197,13 +205,13 @@ public final class VTreePanel extends CPanel
for (JToolBar jt : toolbar)
jt.removeAll();
toolbarMap = new HashMap<Integer, JToolBar>();
Enumeration enTop = m_root.children();
Enumeration<?> enTop = m_root.children();
JToolBar jt = null;
Map<JToolBar,String> titleMap = new HashMap<JToolBar, String>();
while (enTop.hasMoreElements())
{
MTreeNode ndTop = (MTreeNode)enTop.nextElement();
Enumeration en = ndTop.preorderEnumeration();
Enumeration<?> en = ndTop.preorderEnumeration();
boolean labelDrawn=false;
while (en.hasMoreElements())
{
@ -267,7 +275,6 @@ public final class VTreePanel extends CPanel
private JXTaskPaneContainer bar = new JXTaskPaneContainer();
private java.util.List<JToolBar> toolbar;
private HashMap<Integer, JToolBar> toolbarMap;
private int toolBarCols=3;
private CMenuItem mBarAdd = new CMenuItem();
private CMenuItem mBarRemove = new CMenuItem();
private BorderLayout southLayout = new BorderLayout();
@ -292,7 +299,7 @@ public final class VTreePanel extends CPanel
private MTreeNode m_moveNode; // the node to move
private String m_search = "";
private Enumeration m_nodeEn;
private Enumeration<?> m_nodeEn;
private MTreeNode m_selectedNode; // the selected model node
private CButton m_buttonSelected;
@ -652,6 +659,18 @@ public final class VTreePanel extends CPanel
*/
protected void keyPressed(KeyEvent e)
{
//CHANGED - document search
if (e.getSource() == treeSearch && treeSearch.getText() != null
&& treeSearch.getText().length() > 0
&& treeSearch.getText().substring(0, 1).equals(PREFIX_DOCUMENT_SEARCH)) {
setBusy(true);
if (DocumentSearch.openDocumentsByDocumentNo(treeSearch.getText().substring(1)))
treeSearch.setText(null);
setBusy(false);
return;
}
// *** Tree ***
if (e.getSource() instanceof JTree
|| (e.getSource() == treeSearch && e.getModifiers() != 0)) // InputEvent.CTRL_MASK
@ -734,8 +753,8 @@ public final class VTreePanel extends CPanel
&& SwingUtilities.isRightMouseButton(e)
&& tree.getSelectionPath() != null) // need select first
{
MTreeNode nd = (MTreeNode)tree.getSelectionPath().getLastPathComponent();
// if (nd.isLeaf()) // only leaves
// MTreeNode nd = (MTreeNode)tree.getSelectionPath().getLastPathComponent();
// if (nd.isLeaf()) // only leaves
{
Rectangle r = tree.getPathBounds(tree.getSelectionPath());
popMenuTree.show(tree, (int)r.getMaxX(), (int)r.getY());
@ -833,7 +852,7 @@ public final class VTreePanel extends CPanel
/**************************************************************************
* Node Changed - synchromize Node
* Node Changed - synchronize Node
*
* @param save true the node was saved (changed/added), false if the row was deleted
* @param keyID the ID of the row changed
@ -986,7 +1005,7 @@ public final class VTreePanel extends CPanel
int topParentId = getTopParentId(nd);
JToolBar parent = toolbarMap.get(topParentId);
if(parent==null){
Enumeration enTop =m_root.children();
Enumeration<?> enTop =m_root.children();
while (enTop.hasMoreElements()) {
MTreeNode ndTop = (MTreeNode)enTop.nextElement();
if(ndTop.getNode_ID()==topParentId){
@ -1150,6 +1169,32 @@ public final class VTreePanel extends CPanel
super.paint(g);
}
//CHANGED - SET BUSY ADDED
/**
* Indicate Busy
* @param busy busy
*/
private void setBusy (boolean busy)
{
JFrame frame = Env.getFrame(this);
log.info("frame: " + frame);
if (frame == null) // during init
return;
if (busy)
{
this.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
frame.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
treeSearch.setCursor(Cursor.getPredefinedCursor(Cursor.WAIT_CURSOR));
}
else
{
this.setCursor(Cursor.getDefaultCursor());
frame.setCursor(Cursor.getDefaultCursor());
treeSearch.setCursor(Cursor.getDefaultCursor());
}
} // set Busy
} // VTreePanel
@ -1177,6 +1222,8 @@ class VTreePanel_mouseAdapter extends java.awt.event.MouseAdapter
{
m_adaptee.mouseClicked(e);
}
} // VTreePanel_mouseAdapter
/**
@ -1205,5 +1252,3 @@ class VTreePanel_keyAdapter extends java.awt.event.KeyAdapter
m_adaptee.keyPressed(e);
}
} // VTreePanel_keyAdapter

View File

@ -0,0 +1,987 @@
-- Feb 18, 2009 12:44:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Table (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Table_ID,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES ('4',0,0,53169,'N',TO_DATE('2009-02-18 12:44:56','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','Y','N','N','N',0,'AD_SearchDefinition','L','AD_SearchDefinition',TO_DATE('2009-02-18 12:44:56','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:44:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53169 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;
-- Feb 18, 2009 12:44:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,1000325,TO_DATE('2009-02-18 12:44:58','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table AD_SearchDefinition',1,'Y','N','Y','Y','AD_SearchDefinition','N',1000000,TO_DATE('2009-02-18 12:44:58','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:47:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56799,102,0,19,53169,'AD_Client_ID',TO_DATE('2009-02-18 12:47:50','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','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','N','Client',0,TO_DATE('2009-02-18 12:47:50','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:47:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56799 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:51:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,Description,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52046,'AD_Column.AD_Table_ID=@AD_Table_ID@ AND AD_Column.AD_Reference_ID IN (10,11,13,14,22,36)',TO_DATE('2009-02-18 12:51:42','YYYY-MM-DD HH24:MI:SS'),100,'Only columns with text or number datatypes','D','Y','AD_Column in AD_Table with datatype int/string','S',TO_DATE('2009-02-18 12:51:42','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:52:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,MandatoryLogic,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56800,104,0,18,3,53169,52046,'AD_Column_ID',TO_DATE('2009-02-18 12:52:32','YYYY-MM-DD HH24:MI:SS'),100,'Column in the table','D',22,'Link to the database column of the table','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','@SearchType@ = T','Column',0,TO_DATE('2009-02-18 12:52:32','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:52:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56800 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:53:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56801,113,0,19,53169,'AD_Org_ID',TO_DATE('2009-02-18 12:53:41','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','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-02-18 12:53:41','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:53:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56801 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:54:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53774,0,'AD_SearchDefinition_ID',TO_DATE('2009-02-18 12:54:34','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','AD_SearchDefinition_ID','AD_SearchDefinition_ID',TO_DATE('2009-02-18 12:54:34','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:54:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53774 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 12:55:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56802,53774,0,13,53169,'AD_SearchDefinition_ID',TO_DATE('2009-02-18 12:55:37','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','Y','N','N','N','N','Y','Y','N','N','N','N','N','AD_SearchDefinition_ID',0,TO_DATE('2009-02-18 12:55:37','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:55:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56802 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:55:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Column SET IsUpdateable='N',Updated=TO_DATE('2009-02-18 12:55:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56801
;
-- Feb 18, 2009 12:57:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53290,TO_DATE('2009-02-18 12:57:48','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','AD_Table',TO_DATE('2009-02-18 12:57:48','YYYY-MM-DD HH24:MI:SS'),100,'T')
;
-- Feb 18, 2009 12:57:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53290 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Feb 18, 2009 12:58:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,107,100,0,53290,100,TO_DATE('2009-02-18 12:58:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_DATE('2009-02-18 12:58:36','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:58:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Reference SET Name='AD_Table TableName',Updated=TO_DATE('2009-02-18 12:58:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53290
;
-- Feb 18, 2009 12:58:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53290
;
-- Feb 18, 2009 12:59:38 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56803,126,0,18,53290,53169,'AD_Table_ID',TO_DATE('2009-02-18 12:59:38','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information','D',22,'The Database Table provides the information of the table definition','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Table',0,TO_DATE('2009-02-18 12:59:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:59:38 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56803 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:01:08 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56804,143,0,18,284,53169,'AD_Window_ID',TO_DATE('2009-02-18 13:01:07','YYYY-MM-DD HH24:MI:SS'),100,'Data entry or display window','D',22,'The Window field identifies a unique Window in the system.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Window',0,TO_DATE('2009-02-18 13:01:07','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:01:08 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56804 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:02:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56805,245,0,16,53169,'Created',TO_DATE('2009-02-18 13:02:36','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','N','N','N','N','N','N','Created',0,TO_DATE('2009-02-18 13:02:36','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:02:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56805 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:03:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56806,246,0,18,110,53169,'CreatedBy',TO_DATE('2009-02-18 13:03:36','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','N','N','N','N','N','N','Created By',0,TO_DATE('2009-02-18 13:03:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Feb 18, 2009 1:03:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56806 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:03:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2009-02-18 13:03:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56805
;
-- Feb 18, 2009 1:05:11 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56807,1315,0,10,53169,'DataType',TO_DATE('2009-02-18 13:05:10','YYYY-MM-DD HH24:MI:SS'),100,'Type of data','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Data Type',0,TO_DATE('2009-02-18 13:05:10','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:05:11 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56807 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:06:02 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56808,275,0,10,53169,'Description',TO_DATE('2009-02-18 13:06:02','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-02-18 13:06:02','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:06:02 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56808 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:06:57 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,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,56809,348,0,20,53169,'IsActive',NULL,TO_DATE('2009-02-18 13:06:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','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','Y','N','N','N','N','Y','Active',0,TO_DATE('2009-02-18 13:06:56','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:06:57 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56809 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:07:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56810,469,0,10,53169,'Name',TO_DATE('2009-02-18 13:07:50','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','N','N','N','N','N','Y','Name',0,TO_DATE('2009-02-18 13:07:50','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:07:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56810 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:08:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53775,0,'Query',TO_DATE('2009-02-18 13:08:47','YYYY-MM-DD HH24:MI:SS'),100,'SQL','D','Y','Query','Query',TO_DATE('2009-02-18 13:08:47','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:08:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53775 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 1:08:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Element SET EntityType='D',Updated=TO_DATE('2009-02-18 13:08:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53775
;
-- Feb 18, 2009 1:09:44 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,MandatoryLogic,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56811,53775,0,14,53169,'Query',TO_DATE('2009-02-18 13:09:43','YYYY-MM-DD HH24:MI:SS'),100,'SQL','D',2000,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','@SearchType@ = Q','Query',0,TO_DATE('2009-02-18 13:09:43','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:09:44 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56811 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:11:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53776,0,'SearchType',TO_DATE('2009-02-18 13:11:09','YYYY-MM-DD HH24:MI:SS'),100,'Which kind of search is used (Query or Table)','D','Y','Search Type','Search Type',TO_DATE('2009-02-18 13:11:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:11:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53776 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 1:11:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56812,53776,0,10,53169,'SearchType',TO_DATE('2009-02-18 13:11:42','YYYY-MM-DD HH24:MI:SS'),100,'Which kind of search is used (Query or Table)','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Search Type',0,TO_DATE('2009-02-18 13:11:42','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:11:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56812 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:13:42 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53777,0,'TransactionCode',TO_DATE('2009-02-18 13:13:42','YYYY-MM-DD HH24:MI:SS'),100,'The transaction code represents the search definition','D','Y','Transaction Code','Transaction Code',TO_DATE('2009-02-18 13:13:42','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:13:42 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53777 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 1:15:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56813,53777,0,10,53169,'TransactionCode',TO_DATE('2009-02-18 13:15:24','YYYY-MM-DD HH24:MI:SS'),100,'The transaction code represents the search definition','D',8,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Transaction Code',0,TO_DATE('2009-02-18 13:15:24','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:15:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56813 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:16:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56814,607,0,16,53169,'Updated',TO_DATE('2009-02-18 13:16:40','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-02-18 13:16:40','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:16:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56814 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:18:26 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56815,608,0,18,110,53169,'UpdatedBy',TO_DATE('2009-02-18 13:18:25','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','N','Updated By',0,TO_DATE('2009-02-18 13:18:25','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:18:26 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56815 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:18:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Column SET IsUpdateable='N',Updated=TO_DATE('2009-02-18 13:18:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56814
;
-- Feb 18, 2009 1:20:07 PM CET
-- Product Category QA - kthiemann@adempiere.org
CREATE TABLE AD_SearchDefinition (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Column_ID NUMBER(10), AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_SearchDefinition_ID NUMBER(10) NOT NULL, AD_Table_ID NUMBER(10) NOT NULL, AD_Window_ID NUMBER(10) NOT NULL, Created DATE, CreatedBy NUMBER(10), DataType NVARCHAR2(1) NOT NULL, Description NVARCHAR2(255), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, Name NVARCHAR2(60), Query NVARCHAR2(2000), SearchType NVARCHAR2(1) NOT NULL, TransactionCode NVARCHAR2(8), Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, CONSTRAINT AD_SearchDefinition_Key PRIMARY KEY (AD_SearchDefinition_ID))
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType,WinHeight,WinWidth) VALUES (0,0,53069,TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Define transactioncodes for the QuickSearch bar','D','Y','N','N','Y','Search Definition','N',TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'M',0,0)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53069 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50002,53069,TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53069,TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53069,TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53069,TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53069,TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_DATE('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_DATE('2009-02-18 13:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=102 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:42 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_DATE('2009-02-18 13:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=103 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_DATE('2009-02-18 13:22:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:44 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_DATE('2009-02-18 13:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50002 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:45 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_DATE('2009-02-18 13:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000000 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:45 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_DATE('2009-02-18 13:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N', IsReadWrite='N',Updated=TO_DATE('2009-02-18 13:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000023 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_DATE('2009-02-18 13:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_DATE('2009-02-18 13:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000000 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_DATE('2009-02-18 13:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50002 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_DATE('2009-02-18 13:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:52 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_DATE('2009-02-18 13:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=103 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_DATE('2009-02-18 13:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=102 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:23:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53193,53169,53069,TO_DATE('2009-02-18 13:23:41','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','N','N','N','Searches','N',10,0,TO_DATE('2009-02-18 13:23:41','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53193 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;
-- Feb 18, 2009 1:23:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56809,56702,0,53193,TO_DATE('2009-02-18 13:23:45','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-02-18 13:23:45','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56702 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56802,56703,0,53193,TO_DATE('2009-02-18 13:23:46','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','AD_SearchDefinition_ID',TO_DATE('2009-02-18 13:23:46','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56703 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56799,56704,0,53193,TO_DATE('2009-02-18 13:23:47','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-02-18 13:23:47','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56704 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56800,56705,0,53193,TO_DATE('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100,'Column in the table',22,'D','Link to the database column of the table','Y','Y','Y','N','N','N','N','N','Column',TO_DATE('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56705 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56807,56706,0,53193,TO_DATE('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100,'Type of data',1,'D','Y','Y','Y','N','N','N','N','N','Data Type',TO_DATE('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56706 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56808,56707,0,53193,TO_DATE('2009-02-18 13:23:49','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-02-18 13:23:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56707 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56810,56708,0,53193,TO_DATE('2009-02-18 13:23:50','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-02-18 13:23:50','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56708 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56801,56709,0,53193,TO_DATE('2009-02-18 13:23:50','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-02-18 13:23:50','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56709 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:52 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56811,56710,0,53193,TO_DATE('2009-02-18 13:23:51','YYYY-MM-DD HH24:MI:SS'),100,'SQL',2000,'D','Y','Y','Y','N','N','N','N','N','Query',TO_DATE('2009-02-18 13:23:51','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:52 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56710 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56812,56711,0,53193,TO_DATE('2009-02-18 13:23:52','YYYY-MM-DD HH24:MI:SS'),100,'Which kind of search is used (Query or Table)',1,'D','Y','Y','Y','N','N','N','N','N','Search Type',TO_DATE('2009-02-18 13:23:52','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56711 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56803,56712,0,53193,TO_DATE('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information',22,'D','The Database Table provides the information of the table definition','Y','Y','Y','N','N','N','N','N','Table',TO_DATE('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56712 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56813,56713,0,53193,TO_DATE('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100,'The transaction code represents the search definition',8,'D','Y','Y','Y','N','N','N','N','N','Transaction Code',TO_DATE('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56713 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:55 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56804,56714,0,53193,TO_DATE('2009-02-18 13:23:54','YYYY-MM-DD HH24:MI:SS'),100,'Data entry or display window',22,'D','The Window field identifies a unique Window in the system.','Y','Y','Y','N','N','N','N','N','Window',TO_DATE('2009-02-18 13:23:54','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:55 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56714 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56704
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56709
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56713
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56708
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56707
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56702
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56711
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56712
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56705
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56714
;
-- Feb 18, 2009 1:26:39 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET Description='Full SQL query with search for the ID (PK) of the selected table', Help='Only search for the ID of the selected table, otherwise the search will fail',Updated=TO_DATE('2009-02-18 13:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:26:39 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:27:59 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET Help='Select the datatype of the field(s) you are looking for',Updated=TO_DATE('2009-02-18 13:27:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:27:59 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:30:31 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET DisplayLogic='@SearchType@ = Q', Help='Only search for the ID of the selected table, otherwise the search will fail.
Use ? for the variable that represents the searchstring.',Updated=TO_DATE('2009-02-18 13:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:30:31 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:30:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_DATE('2009-02-18 13:30:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:31:14 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET DisplayLogic='@SearchType@ = T',Updated=TO_DATE('2009-02-18 13:31:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56705
;
-- Feb 18, 2009 1:39:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53291,TO_DATE('2009-02-18 13:39:31','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','SearchType',TO_DATE('2009-02-18 13:39:31','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- Feb 18, 2009 1:39:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53291 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Feb 18, 2009 1:39:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53291,53454,TO_DATE('2009-02-18 13:39:57','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Query',TO_DATE('2009-02-18 13:39:57','YYYY-MM-DD HH24:MI:SS'),100,'Q')
;
-- Feb 18, 2009 1:39:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53454 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:40:12 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53291,53455,TO_DATE('2009-02-18 13:40:10','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Table',TO_DATE('2009-02-18 13:40:10','YYYY-MM-DD HH24:MI:SS'),100,'T')
;
-- Feb 18, 2009 1:40:12 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53455 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:40:38 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=53291,Updated=TO_DATE('2009-02-18 13:40:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56711
;
-- Feb 18, 2009 1:43:16 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53292,TO_DATE('2009-02-18 13:43:16','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','AD_SearchDefinition_DataType',TO_DATE('2009-02-18 13:43:16','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- Feb 18, 2009 1:43:16 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53292 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Feb 18, 2009 1:44:19 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53292,53456,TO_DATE('2009-02-18 13:44:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Integer',TO_DATE('2009-02-18 13:44:18','YYYY-MM-DD HH24:MI:SS'),100,'I')
;
-- Feb 18, 2009 1:44:19 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53456 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:44:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53292,53457,TO_DATE('2009-02-18 13:44:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','String',TO_DATE('2009-02-18 13:44:36','YYYY-MM-DD HH24:MI:SS'),100,'S')
;
-- Feb 18, 2009 1:44:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53457 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:46:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=53292,Updated=TO_DATE('2009-02-18 13:46:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:49:15 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Menu (Action,AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('W',0,53203,0,53069,TO_DATE('2009-02-18 13:49:13','YYYY-MM-DD HH24:MI:SS'),100,'Define transactions for the QuickSearch bar','D','Y','N','N','N','Search Definition',TO_DATE('2009-02-18 13:49:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:49:15 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53203 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;
-- Feb 18, 2009 1:49:15 PM CET
-- Product Category QA - kthiemann@adempiere.org
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, 53203, 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=53203)
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=1000000
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53203
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=586
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=138
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=139
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=249
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=141
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=589
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=216
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=140
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=142
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53012
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=143
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=201
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=176
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53086
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=239
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=517
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=499
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53089
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53090
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=50001
;
-- Feb 18, 2009 2:11:06 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_SysConfig SET Value='Advanced Search',Updated=TO_DATE('2009-02-18 14:11:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003
;
-- Feb 18, 2009 2:15:40 PM CET
-- Advanced Search
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,56817,2136,0,18,284,53169,'PO_Window_ID',TO_DATE('2009-02-18 14:15:39','YYYY-MM-DD HH24:MI:SS'),100,'Purchase Order Window','D',22,'Window for Purchase Order (AP) Zooms','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','PO Window',0,TO_DATE('2009-02-18 14:15:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Feb 18, 2009 2:15:40 PM CET
-- Advanced Search
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=56817 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 2:15:45 PM CET
-- Advanced Search
ALTER TABLE AD_SearchDefinition ADD PO_Window_ID NUMBER(10)
;
-- Feb 18, 2009 2:16:26 PM CET
-- Advanced Search
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,56817,56717,0,53193,TO_DATE('2009-02-18 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'Purchase Order Window',22,'D','Window for Purchase Order (AP) Zooms','Y','Y','Y','N','N','N','N','N','PO Window',TO_DATE('2009-02-18 14:16:25','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 2:16:26 PM CET
-- Advanced Search
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=56717 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 3:24:22 PM CET
-- Advanced Search
UPDATE AD_Field SET DisplayLogic='@SearchType@ = T',Updated=TO_DATE('2009-02-18 15:24:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56717
;
-- Feb 18, 2009 5:06:52 PM CET
-- Advanced Search
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,56818,1103,0,20,53169,'IsDefault',TO_DATE('2009-02-18 17:06:51','YYYY-MM-DD HH24:MI:SS'),100,'N','Default value','D',1,'The Default Checkbox indicates if this record will be used as a default value.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Default',0,TO_DATE('2009-02-18 17:06:51','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 5:06:52 PM CET
-- Advanced Search
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=56818 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 5:07:00 PM CET
-- Advanced Search
ALTER TABLE AD_SearchDefinition ADD IsDefault CHAR(1) DEFAULT 'N' CHECK (IsDefault IN ('Y','N')) NOT NULL
;
-- Feb 18, 2009 5:08:40 PM CET
-- Advanced Search
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,56818,56718,0,53193,TO_DATE('2009-02-18 17:08:38','YYYY-MM-DD HH24:MI:SS'),100,'Default value',1,'D','The Default Checkbox indicates if this record will be used as a default value.','Y','Y','Y','N','N','N','N','N','Default',TO_DATE('2009-02-18 17:08:38','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 5:08:40 PM CET
-- Advanced Search
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=56718 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56718
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56711
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56712
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56705
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56714
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56717
;
-- Feb 18, 2009 5:09:19 PM CET
-- Advanced Search
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-02-18 17:09:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56718
;

View File

@ -0,0 +1,12 @@
-- Feb 20, 2009 12:22:31 PM CET
-- Advanced Search
INSERT INTO AD_SearchDefinition (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_SearchDefinition_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,DataType,Description,IsActive,IsDefault,Name,PO_Window_ID,SearchType,TransactionCode,Updated,UpdatedBy) VALUES (0,2169,0,1000004,259,143,TO_DATE('2009-02-20 12:22:31','YYYY-MM-DD HH24:MI:SS'),100,'S','Searches for an order with a fitting documentNo','Y','Y','Order Search',181,'T','O',TO_DATE('2009-02-20 12:22:31','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 20, 2009 12:26:12 PM CET
-- Advanced Search
INSERT INTO AD_SearchDefinition (AD_Client_ID,AD_Org_ID,AD_SearchDefinition_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,DataType,Description,IsActive,IsDefault,Name,Query,SearchType,TransactionCode,Updated,UpdatedBy) VALUES (0,0,1000005,291,123,TO_DATE('2009-02-20 12:26:12','YYYY-MM-DD HH24:MI:SS'),100,'S','Searches for a Business Partner with fitting BPName or ContactName','Y','N','Business Partner Search','SELECT b.C_BPartner_ID FROM C_BPartner b
INNER JOIN AD_User u ON (b.C_BPartner_ID = u.C_BPartner_ID)
WHERE UPPER(b.name) LIKE UPPER(?) OR UPPER(u.name) LIKE UPPER(?)','Q','BP',TO_DATE('2009-02-20 12:26:12','YYYY-MM-DD HH24:MI:SS'),100)
;

View File

@ -0,0 +1,75 @@
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56704
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56709
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56713
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56708
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56707
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56702
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56718
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56711
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56712
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56705
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56710
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56706
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56714
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56717
;
-- Apr 23, 2009 7:58:54 PM COT
-- Advanced Search
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2009-04-23 19:58:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56709
;

View File

@ -0,0 +1,987 @@
-- Feb 18, 2009 12:44:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Table (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Table_ID,CopyColumnsFromTable,Created,CreatedBy,EntityType,ImportTable,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,LoadSeq,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES ('4',0,0,53169,'N',TO_TIMESTAMP('2009-02-18 12:44:56','YYYY-MM-DD HH24:MI:SS'),100,'D','N','Y','N','Y','N','N','N',0,'AD_SearchDefinition','L','AD_SearchDefinition',TO_TIMESTAMP('2009-02-18 12:44:56','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:44:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53169 AND EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Table_ID!=t.AD_Table_ID)
;
-- Feb 18, 2009 12:44:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,1000325,TO_TIMESTAMP('2009-02-18 12:44:58','YYYY-MM-DD HH24:MI:SS'),100,1000000,50000,'Table AD_SearchDefinition',1,'Y','N','Y','Y','AD_SearchDefinition','N',1000000,TO_TIMESTAMP('2009-02-18 12:44:58','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:47:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56799,102,0,19,53169,'AD_Client_ID',TO_TIMESTAMP('2009-02-18 12:47:50','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Client_ID@','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','N','Client',0,TO_TIMESTAMP('2009-02-18 12:47:50','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:47:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56799 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:51:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Val_Rule (AD_Client_ID,AD_Org_ID,AD_Val_Rule_ID,Code,Created,CreatedBy,Description,EntityType,IsActive,Name,Type,Updated,UpdatedBy) VALUES (0,0,52046,'AD_Column.AD_Table_ID=@AD_Table_ID@ AND AD_Column.AD_Reference_ID IN (10,11,13,14,22,36)',TO_TIMESTAMP('2009-02-18 12:51:42','YYYY-MM-DD HH24:MI:SS'),100,'Only columns with text or number datatypes','D','Y','AD_Column in AD_Table with datatype int/string','S',TO_TIMESTAMP('2009-02-18 12:51:42','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:52:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,MandatoryLogic,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56800,104,0,18,3,53169,52046,'AD_Column_ID',TO_TIMESTAMP('2009-02-18 12:52:32','YYYY-MM-DD HH24:MI:SS'),100,'Column in the table','D',22,'Link to the database column of the table','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','@SearchType@ = T','Column',0,TO_TIMESTAMP('2009-02-18 12:52:32','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:52:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56800 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:53:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56801,113,0,19,53169,'AD_Org_ID',TO_TIMESTAMP('2009-02-18 12:53:41','YYYY-MM-DD HH24:MI:SS'),100,'@#AD_Org_ID@','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-02-18 12:53:41','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:53:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56801 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:54:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,53774,0,'AD_SearchDefinition_ID',TO_TIMESTAMP('2009-02-18 12:54:34','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','AD_SearchDefinition_ID','AD_SearchDefinition_ID',TO_TIMESTAMP('2009-02-18 12:54:34','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:54:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53774 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 12:55:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56802,53774,0,13,53169,'AD_SearchDefinition_ID',TO_TIMESTAMP('2009-02-18 12:55:37','YYYY-MM-DD HH24:MI:SS'),100,'D',22,'Y','Y','N','N','N','N','Y','Y','N','N','N','N','N','AD_SearchDefinition_ID',0,TO_TIMESTAMP('2009-02-18 12:55:37','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:55:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56802 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 12:55:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Column SET IsUpdateable='N',Updated=TO_TIMESTAMP('2009-02-18 12:55:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56801
;
-- Feb 18, 2009 12:57:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53290,TO_TIMESTAMP('2009-02-18 12:57:48','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','AD_Table',TO_TIMESTAMP('2009-02-18 12:57:48','YYYY-MM-DD HH24:MI:SS'),100,'T')
;
-- Feb 18, 2009 12:57:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53290 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Feb 18, 2009 12:58:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,107,100,0,53290,100,TO_TIMESTAMP('2009-02-18 12:58:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N',TO_TIMESTAMP('2009-02-18 12:58:36','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 12:58:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Reference SET Name='AD_Table TableName',Updated=TO_TIMESTAMP('2009-02-18 12:58:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=53290
;
-- Feb 18, 2009 12:58:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53290
;
-- Feb 18, 2009 12:59:38 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56803,126,0,18,53290,53169,'AD_Table_ID',TO_TIMESTAMP('2009-02-18 12:59:38','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information','D',22,'The Database Table provides the information of the table definition','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Table',0,TO_TIMESTAMP('2009-02-18 12:59:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 12:59:38 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56803 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:01:08 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56804,143,0,18,284,53169,'AD_Window_ID',TO_TIMESTAMP('2009-02-18 13:01:07','YYYY-MM-DD HH24:MI:SS'),100,'Data entry or display window','D',22,'The Window field identifies a unique Window in the system.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Window',0,TO_TIMESTAMP('2009-02-18 13:01:07','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:01:08 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56804 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:02:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56805,245,0,16,53169,'Created',TO_TIMESTAMP('2009-02-18 13:02:36','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','N','N','N','N','N','N','Created',0,TO_TIMESTAMP('2009-02-18 13:02:36','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:02:37 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56805 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:03:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56806,246,0,18,110,53169,'CreatedBy',TO_TIMESTAMP('2009-02-18 13:03:36','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','N','N','N','N','N','N','Created By',0,TO_TIMESTAMP('2009-02-18 13:03:36','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Feb 18, 2009 1:03:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56806 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:03:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2009-02-18 13:03:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56805
;
-- Feb 18, 2009 1:05:11 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56807,1315,0,10,53169,'DataType',TO_TIMESTAMP('2009-02-18 13:05:10','YYYY-MM-DD HH24:MI:SS'),100,'Type of data','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Data Type',0,TO_TIMESTAMP('2009-02-18 13:05:10','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:05:11 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56807 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:06:02 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56808,275,0,10,53169,'Description',TO_TIMESTAMP('2009-02-18 13:06:02','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-02-18 13:06:02','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:06:02 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56808 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:06:57 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,ColumnSQL,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,56809,348,0,20,53169,'IsActive',NULL,TO_TIMESTAMP('2009-02-18 13:06:56','YYYY-MM-DD HH24:MI:SS'),100,'Y','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','Y','N','N','N','N','Y','Active',0,TO_TIMESTAMP('2009-02-18 13:06:56','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:06:57 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56809 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:07:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56810,469,0,10,53169,'Name',TO_TIMESTAMP('2009-02-18 13:07:50','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','N','N','N','N','N','Y','Name',0,TO_TIMESTAMP('2009-02-18 13:07:50','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:07:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56810 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:08:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53775,0,'Query',TO_TIMESTAMP('2009-02-18 13:08:47','YYYY-MM-DD HH24:MI:SS'),100,'SQL','D','Y','Query','Query',TO_TIMESTAMP('2009-02-18 13:08:47','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:08:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53775 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 1:08:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Element SET EntityType='D',Updated=TO_TIMESTAMP('2009-02-18 13:08:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=53775
;
-- Feb 18, 2009 1:09:44 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,MandatoryLogic,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,56811,53775,0,14,53169,'Query',TO_TIMESTAMP('2009-02-18 13:09:43','YYYY-MM-DD HH24:MI:SS'),100,'SQL','D',2000,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','@SearchType@ = Q','Query',0,TO_TIMESTAMP('2009-02-18 13:09:43','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:09:44 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56811 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:11:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53776,0,'SearchType',TO_TIMESTAMP('2009-02-18 13:11:09','YYYY-MM-DD HH24:MI:SS'),100,'Which kind of search is used (Query or Table)','D','Y','Search Type','Search Type',TO_TIMESTAMP('2009-02-18 13:11:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:11:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53776 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 1:11:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56812,53776,0,10,53169,'SearchType',TO_TIMESTAMP('2009-02-18 13:11:42','YYYY-MM-DD HH24:MI:SS'),100,'Which kind of search is used (Query or Table)','D',1,'Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Search Type',0,TO_TIMESTAMP('2009-02-18 13:11:42','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:11:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56812 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:13:42 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53777,0,'TransactionCode',TO_TIMESTAMP('2009-02-18 13:13:42','YYYY-MM-DD HH24:MI:SS'),100,'The transaction code represents the search definition','D','Y','Transaction Code','Transaction Code',TO_TIMESTAMP('2009-02-18 13:13:42','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:13:42 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53777 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
;
-- Feb 18, 2009 1:15:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56813,53777,0,10,53169,'TransactionCode',TO_TIMESTAMP('2009-02-18 13:15:24','YYYY-MM-DD HH24:MI:SS'),100,'The transaction code represents the search definition','D',8,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Transaction Code',0,TO_TIMESTAMP('2009-02-18 13:15:24','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:15:35 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56813 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:16:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56814,607,0,16,53169,'Updated',TO_TIMESTAMP('2009-02-18 13:16:40','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-02-18 13:16:40','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:16:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56814 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:18:26 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56815,608,0,18,110,53169,'UpdatedBy',TO_TIMESTAMP('2009-02-18 13:18:25','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','N','Updated By',0,TO_TIMESTAMP('2009-02-18 13:18:25','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 1:18:26 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56815 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 1:18:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Column SET IsUpdateable='N',Updated=TO_TIMESTAMP('2009-02-18 13:18:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56814
;
-- Feb 18, 2009 1:20:07 PM CET
-- Product Category QA - kthiemann@adempiere.org
CREATE TABLE AD_SearchDefinition (AD_Client_ID NUMERIC(10) DEFAULT NULL NOT NULL, AD_Column_ID NUMERIC(10), AD_Org_ID NUMERIC(10) DEFAULT NULL NOT NULL, AD_SearchDefinition_ID NUMERIC(10) NOT NULL, AD_Table_ID NUMERIC(10) NOT NULL, AD_Window_ID NUMERIC(10) NOT NULL, Created TIMESTAMP, CreatedBy NUMERIC(10), DataType VARCHAR(1) NOT NULL, Description VARCHAR(255), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, Name VARCHAR(60), Query VARCHAR(2000), SearchType VARCHAR(1) NOT NULL, TransactionCode VARCHAR(8), Updated TIMESTAMP NOT NULL, UpdatedBy NUMERIC(10) NOT NULL, CONSTRAINT AD_SearchDefinition_Key PRIMARY KEY (AD_SearchDefinition_ID))
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType,WinHeight,WinWidth) VALUES (0,0,53069,TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Define transactioncodes for the QuickSearch bar','D','Y','N','N','Y','Search Definition','N',TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'M',0,0)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53069 AND EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Window_ID!=t.AD_Window_ID)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50002,53069,TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,0,53069,TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,102,53069,TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,103,53069,TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:09 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Window_Access (AD_Client_ID,AD_Org_ID,AD_Role_ID,AD_Window_ID,Created,CreatedBy,IsActive,Updated,UpdatedBy) VALUES (0,0,50001,53069,TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100,'Y',TO_TIMESTAMP('2009-02-18 13:22:09','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:22:41 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=102 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:42 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=103 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:44 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50002 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:45 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000000 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:45 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsReadWrite='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N', IsReadWrite='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000023 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=1000000 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50002 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=50001 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:52 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=103 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:22:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Window_Access SET IsActive='N',Updated=TO_TIMESTAMP('2009-02-18 13:22:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Role_ID=102 AND AD_Window_ID=53069
;
-- Feb 18, 2009 1:23:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53193,53169,53069,TO_TIMESTAMP('2009-02-18 13:23:41','YYYY-MM-DD HH24:MI:SS'),100,'D','N','N','Y','N','N','Y','N','N','N','N','Searches','N',10,0,TO_TIMESTAMP('2009-02-18 13:23:41','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:43 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53193 AND EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Tab_ID!=t.AD_Tab_ID)
;
-- Feb 18, 2009 1:23:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56809,56702,0,53193,TO_TIMESTAMP('2009-02-18 13:23:45','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-02-18 13:23:45','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:46 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56702 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56802,56703,0,53193,TO_TIMESTAMP('2009-02-18 13:23:46','YYYY-MM-DD HH24:MI:SS'),100,22,'D','Y','Y','N','N','N','N','N','N','AD_SearchDefinition_ID',TO_TIMESTAMP('2009-02-18 13:23:46','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:47 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56703 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56799,56704,0,53193,TO_TIMESTAMP('2009-02-18 13:23:47','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-02-18 13:23:47','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56704 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56800,56705,0,53193,TO_TIMESTAMP('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100,'Column in the table',22,'D','Link to the database column of the table','Y','Y','Y','N','N','N','N','N','Column',TO_TIMESTAMP('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:48 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56705 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56807,56706,0,53193,TO_TIMESTAMP('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100,'Type of data',1,'D','Y','Y','Y','N','N','N','N','N','Data Type',TO_TIMESTAMP('2009-02-18 13:23:48','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56706 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56808,56707,0,53193,TO_TIMESTAMP('2009-02-18 13:23:49','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-02-18 13:23:49','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56707 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56810,56708,0,53193,TO_TIMESTAMP('2009-02-18 13:23:50','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-02-18 13:23:50','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:50 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56708 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56801,56709,0,53193,TO_TIMESTAMP('2009-02-18 13:23:50','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-02-18 13:23:50','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56709 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:52 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56811,56710,0,53193,TO_TIMESTAMP('2009-02-18 13:23:51','YYYY-MM-DD HH24:MI:SS'),100,'SQL',2000,'D','Y','Y','Y','N','N','N','N','N','Query',TO_TIMESTAMP('2009-02-18 13:23:51','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:52 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56710 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56812,56711,0,53193,TO_TIMESTAMP('2009-02-18 13:23:52','YYYY-MM-DD HH24:MI:SS'),100,'Which kind of search is used (Query or Table)',1,'D','Y','Y','Y','N','N','N','N','N','Search Type',TO_TIMESTAMP('2009-02-18 13:23:52','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56711 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56803,56712,0,53193,TO_TIMESTAMP('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100,'Database Table information',22,'D','The Database Table provides the information of the table definition','Y','Y','Y','N','N','N','N','N','Table',TO_TIMESTAMP('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:53 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56712 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56813,56713,0,53193,TO_TIMESTAMP('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100,'The transaction code represents the search definition',8,'D','Y','Y','Y','N','N','N','N','N','Transaction Code',TO_TIMESTAMP('2009-02-18 13:23:53','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:54 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56713 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:23:55 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,56804,56714,0,53193,TO_TIMESTAMP('2009-02-18 13:23:54','YYYY-MM-DD HH24:MI:SS'),100,'Data entry or display window',22,'D','The Window field identifies a unique Window in the system.','Y','Y','Y','N','N','N','N','N','Window',TO_TIMESTAMP('2009-02-18 13:23:54','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:23:55 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=56714 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56704
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=56709
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56713
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56708
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56707
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56702
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56711
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56712
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56705
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:25:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56714
;
-- Feb 18, 2009 1:26:39 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET Description='Full SQL query with search for the ID (PK) of the selected table', Help='Only search for the ID of the selected table, otherwise the search will fail',Updated=TO_TIMESTAMP('2009-02-18 13:26:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:26:39 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:27:59 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET Help='Select the datatype of the field(s) you are looking for',Updated=TO_TIMESTAMP('2009-02-18 13:27:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:27:59 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:30:31 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET DisplayLogic='@SearchType@ = Q', Help='Only search for the ID of the selected table, otherwise the search will fail.
Use ? for the variable that represents the searchstring.',Updated=TO_TIMESTAMP('2009-02-18 13:30:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:30:31 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 1:30:49 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET DisplayLogic=NULL,Updated=TO_TIMESTAMP('2009-02-18 13:30:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:31:14 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET DisplayLogic='@SearchType@ = T',Updated=TO_TIMESTAMP('2009-02-18 13:31:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56705
;
-- Feb 18, 2009 1:39:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53291,TO_TIMESTAMP('2009-02-18 13:39:31','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','SearchType',TO_TIMESTAMP('2009-02-18 13:39:31','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- Feb 18, 2009 1:39:32 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53291 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Feb 18, 2009 1:39:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53291,53454,TO_TIMESTAMP('2009-02-18 13:39:57','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Query',TO_TIMESTAMP('2009-02-18 13:39:57','YYYY-MM-DD HH24:MI:SS'),100,'Q')
;
-- Feb 18, 2009 1:39:58 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53454 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:40:12 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53291,53455,TO_TIMESTAMP('2009-02-18 13:40:10','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Table',TO_TIMESTAMP('2009-02-18 13:40:10','YYYY-MM-DD HH24:MI:SS'),100,'T')
;
-- Feb 18, 2009 1:40:12 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53455 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:40:38 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=53291,Updated=TO_TIMESTAMP('2009-02-18 13:40:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56711
;
-- Feb 18, 2009 1:43:16 PM CET
-- Product Category QA - kthiemann@adempiere.org
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,53292,TO_TIMESTAMP('2009-02-18 13:43:16','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','AD_SearchDefinition_DataType',TO_TIMESTAMP('2009-02-18 13:43:16','YYYY-MM-DD HH24:MI:SS'),100,'L')
;
-- Feb 18, 2009 1:43:16 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53292 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
;
-- Feb 18, 2009 1:44:19 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53292,53456,TO_TIMESTAMP('2009-02-18 13:44:18','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Integer',TO_TIMESTAMP('2009-02-18 13:44:18','YYYY-MM-DD HH24:MI:SS'),100,'I')
;
-- Feb 18, 2009 1:44:19 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53456 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:44:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53292,53457,TO_TIMESTAMP('2009-02-18 13:44:36','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','String',TO_TIMESTAMP('2009-02-18 13:44:36','YYYY-MM-DD HH24:MI:SS'),100,'S')
;
-- Feb 18, 2009 1:44:36 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Ref_List_ID, t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=53457 AND EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Ref_List_ID!=t.AD_Ref_List_ID)
;
-- Feb 18, 2009 1:46:51 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_Field SET AD_Reference_ID=17, AD_Reference_Value_ID=53292,Updated=TO_TIMESTAMP('2009-02-18 13:46:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 1:49:15 PM CET
-- Product Category QA - kthiemann@adempiere.org
INSERT INTO AD_Menu ("action",AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,Description,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES ('W',0,53203,0,53069,TO_TIMESTAMP('2009-02-18 13:49:13','YYYY-MM-DD HH24:MI:SS'),100,'Define transactions for the QuickSearch bar','D','Y','N','N','N','Search Definition',TO_TIMESTAMP('2009-02-18 13:49:13','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 1:49:15 PM CET
-- Product Category QA - kthiemann@adempiere.org
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=53203 AND EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Menu_ID!=t.AD_Menu_ID)
;
-- Feb 18, 2009 1:49:15 PM CET
-- Product Category QA - kthiemann@adempiere.org
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, 53203, 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=53203)
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=1000000
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53203
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=586
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=138
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=139
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=249
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=141
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=589
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=216
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=140
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=142
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53012
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=143
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=201
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=176
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53086
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=239
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=517
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=499
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53089
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53090
;
-- Feb 18, 2009 1:49:18 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_TreeNodeMM SET Parent_ID=153, SeqNo=20, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=50001
;
-- Feb 18, 2009 2:11:06 PM CET
-- Product Category QA - kthiemann@adempiere.org
UPDATE AD_SysConfig SET Value='Advanced Search',Updated=TO_TIMESTAMP('2009-02-18 14:11:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=50003
;
-- Feb 18, 2009 2:15:40 PM CET
-- Advanced Search
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,56817,2136,0,18,284,53169,'PO_Window_ID',TO_TIMESTAMP('2009-02-18 14:15:39','YYYY-MM-DD HH24:MI:SS'),100,'Purchase Order Window','D',22,'Window for Purchase Order (AP) Zooms','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','PO Window',0,TO_TIMESTAMP('2009-02-18 14:15:39','YYYY-MM-DD HH24:MI:SS'),100,0)
;
-- Feb 18, 2009 2:15:40 PM CET
-- Advanced Search
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=56817 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 2:15:45 PM CET
-- Advanced Search
ALTER TABLE AD_SearchDefinition ADD COLUMN PO_Window_ID NUMERIC(10)
;
-- Feb 18, 2009 2:16:26 PM CET
-- Advanced Search
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,56817,56717,0,53193,TO_TIMESTAMP('2009-02-18 14:16:25','YYYY-MM-DD HH24:MI:SS'),100,'Purchase Order Window',22,'D','Window for Purchase Order (AP) Zooms','Y','Y','Y','N','N','N','N','N','PO Window',TO_TIMESTAMP('2009-02-18 14:16:25','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 2:16:26 PM CET
-- Advanced Search
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=56717 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 3:24:22 PM CET
-- Advanced Search
UPDATE AD_Field SET DisplayLogic='@SearchType@ = T',Updated=TO_TIMESTAMP('2009-02-18 15:24:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56717
;
-- Feb 18, 2009 5:06:52 PM CET
-- Advanced Search
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,56818,1103,0,20,53169,'IsDefault',TO_TIMESTAMP('2009-02-18 17:06:51','YYYY-MM-DD HH24:MI:SS'),100,'N','Default value','D',1,'The Default Checkbox indicates if this record will be used as a default value.','Y','Y','N','N','N','N','N','Y','N','N','N','N','Y','Default',0,TO_TIMESTAMP('2009-02-18 17:06:51','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
;
-- Feb 18, 2009 5:06:52 PM CET
-- Advanced Search
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=56818 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
;
-- Feb 18, 2009 5:07:00 PM CET
-- Advanced Search
ALTER TABLE AD_SearchDefinition ADD COLUMN IsDefault CHAR(1) DEFAULT 'N' CHECK (IsDefault IN ('Y','N')) NOT NULL
;
-- Feb 18, 2009 5:08:40 PM CET
-- Advanced Search
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,56818,56718,0,53193,TO_TIMESTAMP('2009-02-18 17:08:38','YYYY-MM-DD HH24:MI:SS'),100,'Default value',1,'D','The Default Checkbox indicates if this record will be used as a default value.','Y','Y','Y','N','N','N','N','N','Default',TO_TIMESTAMP('2009-02-18 17:08:38','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 18, 2009 5:08:40 PM CET
-- Advanced Search
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=56718 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56718
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56711
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56712
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56705
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56710
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56706
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56714
;
-- Feb 18, 2009 5:09:10 PM CET
-- Advanced Search
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56717
;
-- Feb 18, 2009 5:09:19 PM CET
-- Advanced Search
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-02-18 17:09:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56718
;

View File

@ -0,0 +1,12 @@
-- Feb 20, 2009 12:22:31 PM CET
-- Advanced Search
INSERT INTO AD_SearchDefinition (AD_Client_ID,AD_Column_ID,AD_Org_ID,AD_SearchDefinition_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,DataType,Description,IsActive,IsDefault,Name,PO_Window_ID,SearchType,TransactionCode,Updated,UpdatedBy) VALUES (0,2169,0,1000004,259,143,TO_TIMESTAMP('2009-02-20 12:22:31','YYYY-MM-DD HH24:MI:SS'),100,'S','Searches for an order with a fitting documentNo','Y','Y','Order Search',181,'T','O',TO_TIMESTAMP('2009-02-20 12:22:31','YYYY-MM-DD HH24:MI:SS'),100)
;
-- Feb 20, 2009 12:26:12 PM CET
-- Advanced Search
INSERT INTO AD_SearchDefinition (AD_Client_ID,AD_Org_ID,AD_SearchDefinition_ID,AD_Table_ID,AD_Window_ID,Created,CreatedBy,DataType,Description,IsActive,IsDefault,Name,Query,SearchType,TransactionCode,Updated,UpdatedBy) VALUES (0,0,1000005,291,123,TO_TIMESTAMP('2009-02-20 12:26:12','YYYY-MM-DD HH24:MI:SS'),100,'S','Searches for a Business Partner with fitting BPName or ContactName','Y','N','Business Partner Search','SELECT b.C_BPartner_ID FROM C_BPartner b
INNER JOIN AD_User u ON (b.C_BPartner_ID = u.C_BPartner_ID)
WHERE UPPER(b.name) LIKE UPPER(?) OR UPPER(u.name) LIKE UPPER(?)','Q','BP',TO_TIMESTAMP('2009-02-20 12:26:12','YYYY-MM-DD HH24:MI:SS'),100)
;

View File

@ -0,0 +1,75 @@
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=56704
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=56709
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=56713
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=56708
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=56707
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=56702
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=56718
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=56711
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=56712
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=56705
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=56710
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=56706
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=56714
;
-- Apr 23, 2009 7:58:44 PM COT
-- Advanced Search
UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=56717
;
-- Apr 23, 2009 7:58:54 PM COT
-- Advanced Search
UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2009-04-23 19:58:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=56709
;