+ * Callout's are used for cross field validation and setting values in other fields + * when returning a non empty (error message) string, an exception is raised + *
+ * When invoked, the Tab model has the new value!
+ *
+ * @param ctx Context
+ * @param WindowNo current Window No
+ * @param mTab Model Tab
+ * @param mField Model Field
+ * @param value The new value
+ * @param oldValue The old value
+ * @return Error message or ""
+ */
+ public String start (Properties ctx, int WindowNo,
+ GridTab mTab, GridField mField, Object value, Object oldValue);
+
+}
diff --git a/base/src/org/adempiere/base/IDictionaryService.java b/base/src/org/adempiere/base/IDictionaryService.java
new file mode 100644
index 0000000000..00b894c91a
--- /dev/null
+++ b/base/src/org/adempiere/base/IDictionaryService.java
@@ -0,0 +1,29 @@
+/******************************************************************************
+ * Product: Adempiere ERP & CRM Smart Business Solution *
+ * 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 *
+ * Copyright (C) 2009 ObjectCode GmbH *
+ * Contributor(s): Joerg Viola www.objectcode.de *
+ *****************************************************************************/
+package org.adempiere.base;
+
+import java.io.InputStream;
+
+/**
+ * A dictionary service provides for easy handling of dynamic Adempiere
+ * dictionary.
+ *
+ * @author Joerg Viola
+ *
+ */
+public interface IDictionaryService extends IService {
+ void merge(InputStream model) throws Exception;
+}
diff --git a/base/src/org/adempiere/base/IResourceFinder.java b/base/src/org/adempiere/base/IResourceFinder.java
new file mode 100644
index 0000000000..12d751d355
--- /dev/null
+++ b/base/src/org/adempiere/base/IResourceFinder.java
@@ -0,0 +1,25 @@
+/******************************************************************************
+ * Product: Adempiere ERP & CRM Smart Business Solution *
+ * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
+ * This program is free software; you can redistribute it and/or modify it *
+ * under the terms version 2 of the GNU General Public License as published *
+ * by the Free Software Foundation. This program is distributed in the hope *
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
+ * See the GNU General Public License for more details. *
+ * You should have received a copy of the GNU General Public License along *
+ * with this program; if not, write to the Free Software Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
+ * For the text or an alternative of this public license, you may reach us *
+ * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
+ * or via info@compiere.org or http://www.compiere.org/license.html *
+ *****************************************************************************/
+package org.adempiere.base;
+
+import java.net.URL;
+
+public interface IResourceFinder extends IService {
+
+ URL getResource(String name);
+
+}
diff --git a/base/src/org/adempiere/base/IService.java b/base/src/org/adempiere/base/IService.java
new file mode 100644
index 0000000000..5745fce41f
--- /dev/null
+++ b/base/src/org/adempiere/base/IService.java
@@ -0,0 +1,5 @@
+package org.adempiere.base;
+
+public interface IService {
+
+}
diff --git a/base/src/org/adempiere/base/IServiceLocator.java b/base/src/org/adempiere/base/IServiceLocator.java
new file mode 100644
index 0000000000..3d75392dd1
--- /dev/null
+++ b/base/src/org/adempiere/base/IServiceLocator.java
@@ -0,0 +1,39 @@
+/******************************************************************************
+ * Product: Adempiere ERP & CRM Smart Business Solution *
+ * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. *
+ * This program is free software; you can redistribute it and/or modify it *
+ * under the terms version 2 of the GNU General Public License as published *
+ * by the Free Software Foundation. This program is distributed in the hope *
+ * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied *
+ * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
+ * See the GNU General Public License for more details. *
+ * You should have received a copy of the GNU General Public License along *
+ * with this program; if not, write to the Free Software Foundation, Inc., *
+ * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. *
+ * For the text or an alternative of this public license, you may reach us *
+ * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA *
+ * or via info@compiere.org or http://www.compiere.org/license.html *
+ *****************************************************************************/
+package org.adempiere.base;
+
+import java.util.List;
+
+import org.compiere.model.Callout;
+
+
+/**
+ * A service locator looks up services.
+ * This is the central authority for adempiere service definition,
+ * because each service defined has to be looked up via this interface.
+ *
+ * A service in adempiere is an interface extended from the tagging interface IService.
+ *
+ * @author viola
+ *
+ */
+public interface IServiceLocator {
+
@@ -120,7 +123,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
{
this(vo, w, false);
}
-
+
/**
* Create Tab (Model) from Value Object.
*
@@ -196,13 +199,13 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
/** Logger */
protected CLogger log = CLogger.getCLogger(getClass());
-
+
private boolean m_parentNeedSave = false;
private long m_lastDataStatusEventTime;
private DataStatusEvent m_lastDataStatusEvent;
-
+
// Context property names:
public static final String CTX_KeyColumnName = "_TabInfo_KeyColumnName";
public static final String CTX_LinkColumnName = "_TabInfo_LinkColumnName";
@@ -213,7 +216,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
public static final String CTX_AD_Table_ID = "_TabInfo_AD_Table_ID";
public static final String CTX_FindSQL = "_TabInfo_FindSQL";
public static final String CTX_SQL = "_TabInfo_SQL";
-
+
/**************************************************************************
@@ -258,7 +261,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
{
return m_loadComplete;
}
-
+
/**
* Initialize Tab with record from AD_Tab_v
* @param async async
@@ -268,7 +271,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
{
log.fine("#" + m_vo.TabNo + " - Async=" + async + " - Where=" + m_vo.WhereClause);
if (isLoadComplete()) return true;
-
+
if (m_loader != null && m_loader.isAlive())
{
waitLoadCompete();
@@ -289,9 +292,9 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
} // initTab
protected boolean loadTab()
- {
+ {
m_extendedWhere = m_vo.WhereClause;
-
+
// Get Field Data
if (!loadFields())
{
@@ -305,7 +308,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
m_loadComplete = true;
return true;
}
-
+
/**
* Dispose - clean up resources
*/
@@ -412,7 +415,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
}
} // for all fields
- if (! m_mTable.getTableName().equals(X_AD_PInstance_Log.Table_Name)) { // globalqss, bug 1662433
+ if (! m_mTable.getTableName().equals(X_AD_PInstance_Log.Table_Name)) { // globalqss, bug 1662433
// Add Standard Fields
if (m_mTable.getField("Created") == null)
{
@@ -609,7 +612,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
public void query (boolean onlyCurrentRows, int onlyCurrentDays, int maxRows)
{
if (!m_loadComplete) initTab(false);
-
+
log.fine("#" + m_vo.TabNo
+ " - Only Current Rows=" + onlyCurrentRows
+ ", Days=" + onlyCurrentDays + ", Detail=" + isDetail());
@@ -645,7 +648,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
{
String value = null;
if ( m_parentColumnName.length() > 0 )
- {
+ {
// explicit parent link defined
value = Env.getContext(m_vo.ctx, m_vo.WindowNo, getParentTabNo(), m_parentColumnName, true);
if (value == null || value.length() == 0)
@@ -654,8 +657,8 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
value = Env.getContext(m_vo.ctx, m_vo.WindowNo, getParentTabNo(), lc, true);
if (value == null || value.length() == 0)
value = Env.getContext(m_vo.ctx, m_vo.WindowNo, lc, true); // back compatibility
- }
-
+ }
+
// Same link value?
if (refresh)
refresh = m_linkValue.equals(value);
@@ -967,25 +970,25 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
if (manualCmd || m_mTable.hasChanged(m_currentRow))
return false;
}
-
+
boolean retValue = (m_mTable.dataSave(manualCmd) == GridTable.SAVE_OK);
if (manualCmd)
{
setCurrentRow(m_currentRow, false);
- if (m_lastDataStatusEvent != null && m_lastDataStatusEvent.getCurrentRow() == m_currentRow
- && ((m_lastDataStatusEvent.Record_ID != null && m_lastDataStatusEvent.Record_ID instanceof Integer
+ if (m_lastDataStatusEvent != null && m_lastDataStatusEvent.getCurrentRow() == m_currentRow
+ && ((m_lastDataStatusEvent.Record_ID != null && m_lastDataStatusEvent.Record_ID instanceof Integer
&& (Integer) m_lastDataStatusEvent.Record_ID == 0) || m_lastDataStatusEvent.Record_ID == null))
{
updateDataStatusEventProperties(m_lastDataStatusEvent);
}
}
fireStateChangeEvent(new StateChangeEvent(this, StateChangeEvent.DATA_SAVE));
-
+
if (retValue) {
// refresh parent tabs
refreshParents();
}
-
+
return retValue;
}
catch (Exception e)
@@ -1086,7 +1089,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
log.fine("#" + m_vo.TabNo);
m_mTable.dataIgnore();
setCurrentRow(m_currentRow, false); // re-load data
-
+
fireStateChangeEvent(new StateChangeEvent(this, StateChangeEvent.DATA_IGNORE));
log.fine("#" + m_vo.TabNo + "- fini");
} // dataIgnore
@@ -1119,11 +1122,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
}
log.finest("Processed=" + processed);
}
-
+
//hengsin, don't create new when parent is empty
if (isDetail() && m_parentNeedSave)
return false;
-
+
/**
* temporary set currentrow to point to the new row to ensure even cause by m_mTable.dataNew
* is handle properly.
@@ -1135,7 +1138,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
if (!retValue)
return retValue;
setCurrentRow(m_currentRow + 1, true);
-
+
// process all Callouts (no dependency check - assumed that settings are valid)
for (int i = 0; i < getFieldCount(); i++)
processCallout(getField(i));
@@ -1146,7 +1149,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
getField(i).validateValue();
}
m_mTable.setChanged(false);
-
+
fireStateChangeEvent(new StateChangeEvent(this, StateChangeEvent.DATA_NEW));
return retValue;
} // dataNew
@@ -1227,7 +1230,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
{
return m_keyColumnName;
} // getKeyColumnName
-
+
/**
* Set Name of the Key Column
* @param keyColumnName
@@ -1260,9 +1263,9 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
m_parentColumnName = DB.getSQLValueString(null, sql, m_vo.Parent_Column_ID );
if ( m_parentColumnName == null )
m_parentColumnName = "";
-
-
-
+
+
+
if (linkColumnName != null)
m_linkColumnName = linkColumnName;
else
@@ -1378,7 +1381,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
*/
public boolean isDetail()
{
- // First Tab Level is not a detail
+ // First Tab Level is not a detail
if (m_vo.TabLevel == 0)
return false;
// We have IsParent columns and/or a link column
@@ -1440,7 +1443,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
{
if (m_vo.IsReadOnly)
return true;
-
+
//hengsin, make detail readonly when parent is empty
if (m_parentNeedSave) return true;
@@ -1824,7 +1827,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
DB.close(rs, pstmt);
rs = null; pstmt = null;
}
-
+
if (filled)
return mf.format (arguments);
return " ";
@@ -1891,7 +1894,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
DB.close(rs, pstmt);
rs = null; pstmt = null;
}
-
+
if (filled)
return mf.format (arguments);
return " ";
@@ -1969,7 +1972,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
if (colFax != null && (colFax.getVFormat() == null || colFax.getVFormat().length() == 0))
fFax.setVFormat(phone_frm);
}
-
+
} // loadDependentInfo
@@ -2236,11 +2239,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
}
else // Redistribute Info with current row info
fireDataStatusChanged(m_DataStatusEvent);
-
+
//reset
m_lastDataStatusEventTime = System.currentTimeMillis();
m_lastDataStatusEvent = m_DataStatusEvent;
- m_DataStatusEvent = null;
+ m_DataStatusEvent = null;
// log.fine("dataStatusChanged #" + m_vo.TabNo + "- fini", e.toString());
} // dataStatusChanged
@@ -2359,9 +2362,9 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
// Row range check
int newRow = verifyRow(targetRow);
-
+
// Check, if we have old uncommitted data
- if (m_mTable.dataSave(newRow, false) == false)
+ if (m_mTable.dataSave(newRow, false) == false)
return m_currentRow;
//remove/ignore new and unchange row
@@ -2371,7 +2374,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
newRow--;
dataIgnore();
}
-
+
// new position
return setCurrentRow(newRow, true);
} // navigate
@@ -2461,7 +2464,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
// Object value = null;
// if (mField.isKey() || mField.isParent() || mField.getColumnName().equals(m_linkColumnName))
// value = mField.getDefault();
-
+
// CarlosRuiz - globalqss [ 1881480 ] Navigation problem between tabs
// the implementation of linking with window context variables is very weak
// you must be careful when defining a column in a detail tab with a field
@@ -2487,7 +2490,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
{
m_DataStatusEvent = m_lastDataStatusEvent;
}
-
+
// inform APanel/.. -> dataStatus with row updated
if (m_DataStatusEvent == null)
m_DataStatusEvent = new DataStatusEvent(this, getRowCount(),
@@ -2499,10 +2502,10 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
if (status == null || status.length() == 0)
m_DataStatusEvent.setInfo(DEFAULT_STATUS_MESSAGE, null, false,false);
fireDataStatusChanged(m_DataStatusEvent);
-
+
//reset
m_DataStatusEvent = null;
-
+
return m_currentRow;
} // setCurrentRow
@@ -2599,10 +2602,10 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
return "NoField";
log.fine(field.getColumnName() + "=" + value + " - Row=" + m_currentRow);
-
+
if (DisplayType.isID(field.getDisplayType()) && value instanceof Integer && ((Integer)value).intValue() < 0)
value = null;
-
+
int col = m_mTable.findColumn(field.getColumnName());
m_mTable.setValueAt(value, m_currentRow, col, false);
//
@@ -2677,12 +2680,12 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
} // for all dependent fields
} // processDependencies
-
+
private List
+If none is entered, the default printer is used. You specify your default printer when you log in. You can also change the default printer in Preferences.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2051;
+UPDATE AD_ELEMENT SET DESCRIPTION='Assignment to (transaction) Organization', HELP='Assignment to the transaction organization (cost center).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2072;
+UPDATE AD_ELEMENT SET HELP='"You can purchase professional support from Adempiere, Inc. or their partners. See http://www.adempiere.com for details.
+"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2124;
+UPDATE AD_ELEMENT SET HELP='The Type of data Replication determines the direction of the data replication.
+If none is entered, the default printer is used. You specify your default printer when you log in. You can also change the default printer in Preferences.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2051;
+UPDATE AD_ELEMENT SET DESCRIPTION='Assignment to (transaction) Organization', HELP='Assignment to the transaction organization (cost center).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2072;
+UPDATE AD_ELEMENT SET HELP='"You can purchase professional support from Adempiere, Inc. or their partners. See http://www.adempiere.com for details.
+"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2124;
+UPDATE AD_ELEMENT SET HELP='The Type of data Replication determines the direction of the data replication. ADD: Info Panels to search information for invoice, asset,order, in/out, payment, cashline and assignment ADD: Panel for selecting a Payment Rule (e.g. for customer invoicing) ADD: Editor to display location info of business partner ADD: Panel enabling product searching ADD: Panel for searching invoices ADD: Panel for searching orders ADD: Generate Charges Custom Form FIX: Search Editor displayed User Info instead of Invoices
+The following outlines this process.
+SO Sub Type of Standard Order will generate just the Order document when the order is processed.
+The Delivery Note, Invoice and Receipt must be generated via other processes.
+SO Sub Type of Warehouse Order will generate the Order and Delivery Note.
The Invoice and Receipt must be generated via other processes.
+SO Sub Type of Credit Order will generate the Order, Delivery Note and Invoice.
The Receipt must be generated via other processes.
+SO Sub Type of POS (Point of Sale) will generate all document', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1018;
+UPDATE AD_ELEMENT SET DESCRIPTION='Account for Vendor Service Liability', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1057;
+UPDATE AD_ELEMENT SET HELP='The Days After Due Date indicates the number of days after the payment due date to initiate dunning. If the number is negative, it includes not the not due invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1092;
+UPDATE AD_ELEMENT SET HELP='The Relative Priority indicates the location to pick from first if an product is stored in more than one location. (100 = highest priority, 0 = lowest). For outgoing shipments, the location is picked with the highest priority where the entire quantity can be shipped from. If there is no location, the location with the highest priority is used.
+The Priority is ignored for products with Guarantee Date (always the oldest first) or if a specific instance is selected.
+Incoming receipts are stored at the location with the highest priority, if not explicitly selected.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1145;
+UPDATE AD_ELEMENT SET HELP='When processing a web order, a confirmation is sent to the EMail address of the customer from the request EMail address copying this email address when entered.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1993;
+UPDATE AD_ELEMENT SET HELP='Web Click Details', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2007;
+UPDATE AD_ELEMENT SET HELP='Attributes are specific to a Product Attribute Set (e.g. Size for T-Shirts: S,M,L). If you have multiple attributes and want to search under a common attribute, you define a search attribute. Example: have one Size search attribute combining the values of all different sizes (Size for Dress Shirt XL,L,M,S,XS). The Attribute Search allows you to have all values available for selection. This eases the maintenance of the individual product attribute.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2025;
+UPDATE AD_ELEMENT SET DESCRIPTION='Included Tab in this Tab (Master Detail)', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2026;
+UPDATE AD_ELEMENT SET HELP='Internal (Operating System) Name of the Printer; Please mote that the printer name may be different on different clients. Enter a printer name, which applies to ALL clients (e.g. printer on a server).
+Reference means that the data in this system is read only ->
+Local means that the data in this system is not replicated to other systems -
+Merge means that the data in this system is synchronized with the other system <->
', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2137;
+UPDATE AD_ELEMENT SET HELP='If selected, public users can read/view the entry. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2139;
+UPDATE AD_ELEMENT SET HELP='If selected, public users can write/create entries. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2140;
+UPDATE AD_ELEMENT SET HELP='Set up knowledge categories and values as a search aid. Examples are Release Version, Product Area, etc. Knowledge Category values act like keywords.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2141;
+UPDATE AD_ELEMENT SET DESCRIPTION='Related Entry for this Entry'
+, HELP='Related Knowledge Entry for this Knowledge Entry'
+, UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2145;
+UPDATE AD_ELEMENT SET HELP='The Source of a Knowledge Entry is a pointer to the originating system. The Knowledge Entry has an additional entry (Description URL) for more detailed info.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2146;
+UPDATE AD_ELEMENT SET DESCRIPTION='Knowledge Keyword Synonym', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2147;
+UPDATE AD_ELEMENT SET HELP='Topic or Discussion Thead', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2148;
+UPDATE AD_ELEMENT SET NAME='Knowledge Type', HELP='Area of knowledge - A Type has multiple Topics', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2149;
+UPDATE AD_ELEMENT SET DESCRIPTION='Name of the Project Cycle Step', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2165;
+UPDATE AD_ELEMENT SET DESCRIPTION='Minimum Amount in Document Currency', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2177;
+UPDATE AD_ELEMENT SET DESCRIPTION='Minimum number of guarantee days', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2197;
+UPDATE AD_ELEMENT SET HELP='If a line is Description Only, e.g. Product Inventory is not corrected. No accounting transactions are created and the amount or totals are not included in the document. This for including descriptive detail lines, e.g. for an Work Order.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2183;
+UPDATE AD_ELEMENT SET HELP='This allows to have the three general situations of "not open" - "open" - "closed"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2201;
+UPDATE AD_ELEMENT SET NAME='Calculate Maximum (?)', DESCRIPTION='Calculate the maximum amount', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2207;
+UPDATE AD_ELEMENT SET HELP='A running total creates a sum at the end of a page and on the top of the next page for all columns, which have a Sum function. You should define running total only once per format.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2212;
+UPDATE AD_ELEMENT SET DESCRIPTION='Electronic Funds Transfer Payee Account Information', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2233;
+UPDATE AD_ELEMENT SET DESCRIPTION='Shelf Life Days remaining to Guarantee Date (minus minimum guarantee days)', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2237;
+UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2240;
+UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2264;
+UPDATE AD_ELEMENT SET DESCRIPTION='If selected, the product is displayed in the initial or any empty search'
+, HELP='In the display of products in the Web Store, the product is displayed in the initial view or if no search criteria are entered. To be displayed, the product must be in the price list used.'
+, UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2277;
+UPDATE AD_ELEMENT SET HELP='The loader definition provides the parameters to load bank statements from EFT formats like SWIFT (MT940) or OFX', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2283;
+UPDATE AD_ELEMENT SET DESCRIPTION='Date format used in the input format', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2286;
+UPDATE AD_ELEMENT SET HELP='Activity Result of the execution of the Workflow Process Instance', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2308;
+UPDATE AD_ELEMENT SET HELP='History of changes of the Workflow Process Activity', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2310;
+UPDATE AD_ELEMENT SET HELP='Semantics for multiple outgoing Transitions for a Node/Activity. AND represents multiple concurrent threads - XOR represents the first transition with a true Transition condition.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2337;
+UPDATE AD_ELEMENT SET HELP='You can create a bid for a topic. Depending on the type, the highest bidder wins the Topic - or you participate in funding for a Topic.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2360;
+UPDATE AD_ELEMENT SET HELP='Available Funds (from Payments) and Committed or Uncommitted funds for Bids', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2362;
+UPDATE AD_ELEMENT SET HELP='Available Funds (for Payments) and Committed or Uncommitted funds from Offers', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2364;
+UPDATE AD_ELEMENT SET DESCRIPTION='An Error occurred in the execution', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2395;
+UPDATE AD_ELEMENT SET DESCRIPTION='The response can have just the total amount for the RfQ', HELP='If not selected, the response must be provided per line', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2403;
+UPDATE AD_ELEMENT SET DESCRIPTION='Are Responses to the Request for Quotation accepted', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2404;
+UPDATE AD_ELEMENT SET DESCRIPTION='The response is the selected winner', HELP='The response is the selected winner. If selected on Response level, the line selections are ignored.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2405;
+UPDATE AD_ELEMENT SET DESCRIPTION='Product used to determine the price of the membership for the topic type', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2415;
+UPDATE AD_ELEMENT SET HELP='Consecutive range to', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2455;
+UPDATE AD_ELEMENT SET HELP='Define the method how the next occurrence is calculated', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2457;
+UPDATE AD_ELEMENT SET HELP='If selected and if the window / tab is not read only, you can always update the column. This might be useful for comments, etc.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2468;
+UPDATE AD_ELEMENT SET DESCRIPTION='Elapsed Time in milli seconds', HELP='Elapsed Time in milli seconds', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2474;
+UPDATE AD_ELEMENT SET DESCRIPTION='Distribution Run Lines define Distribution List, the Product and Quantities', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2486;
+UPDATE AD_ELEMENT SET HELP='Maintain and allow to transfer general statistics (number of clients, orgs, business partners, users, products, invoices) to get a better feeling for the application use. This information is not published.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2489;
+UPDATE AD_ELEMENT SET HELP='Forecast of Product Quantity by Period', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2499;
+UPDATE AD_ELEMENT SET HELP='The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity. If the Balance is below zero, we owe the Business Partner. The amount is used for Credit Management.
+Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2562;
+UPDATE AD_ELEMENT SET HELP='The Attribute Value type determines the data/validation type', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2574;
+UPDATE AD_ELEMENT SET DESCRIPTION='Value set by Migration for post-Migration tasks.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2625;
+UPDATE AD_ELEMENT SET DESCRIPTION='Type of Workflow', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2626;
+UPDATE AD_ELEMENT SET HELP='When a document is due for too long without activity, a reminder is sent. 0 means no reminders.
+The Remind Days are the days when the next email reminder is sent.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2631;
+UPDATE AD_ELEMENT SET HELP='Internal name of the transaction', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2655;
+UPDATE AD_ELEMENT SET HELP='List of classes implementing the interface org.compiere.model.ModelValidator, separated by semicolon.
+The class is called for the client and allows to validate documents in the prepare stage and monitor model changes.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2670;
+UPDATE AD_ELEMENT SET HELP='This allows to have multiple closed status', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2723;
+UPDATE AD_ELEMENT SET HELP='The EMail address is used to send mails to users of the web store', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2731;
+UPDATE AD_ELEMENT SET DESCRIPTION='Assignment of Employee (User) to Job Position', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2763;
+UPDATE AD_ELEMENT SET HELP='Subscriber to invite to respond to RfQs', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2377;
+UPDATE AD_ELEMENT SET HELP='Once per operation', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2779;
+UPDATE AD_ELEMENT SET HELP='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group refers to a Bill of Materials', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2785;
+UPDATE AD_ELEMENT SET HELP='The Bill of Material Component determines what products, services and outside processing is included in producing the Product. It references the operation and determines it''s sequence.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2786;
+UPDATE AD_ELEMENT SET HELP='Phantom Component are not stored and produced with the product. This is an option to avoid maintaining an Engineering and Manufacturing Bill of Materials.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2788;
+UPDATE AD_ELEMENT SET DESCRIPTION='Optional Lead Time offset before starting production', HELP='Optional Lead Time offset before starting production', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2789;
+UPDATE AD_ELEMENT SET HELP='If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselect it, the user has no access rights unless, you explicitly grant it in tab "BP Access"', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2835;
+UPDATE AD_ELEMENT SET DESCRIPTION='User/contact access to Business Partner information and resources', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2836;
+UPDATE AD_ELEMENT SET HELP='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2843;
+UPDATE AD_ELEMENT SET HELP='Note that the cost queue may not be the same as the physical movement cost queue due to differences in costing level and warehouse priority.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2845;
+UPDATE AD_ELEMENT SET HELP='Account used for posting matched product (item) expenses (e.g. AP Invoice, Invoice Match). You would use a different account then Product Expense, if you want to differentiate service related costs from item related costs. The balance on the clearing account should be zero and accounts for the timing difference between invoice receipt and matching.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2847;
+UPDATE AD_ELEMENT SET HELP='If selected, you will post service related revenue to a different receivables account and service related cost to a different payables account.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2849;
+UPDATE AD_ELEMENT SET HELP='Enter the number of records the query will return without confirmation to avoid unnecessary system load. If 0, the system default of 500 is used.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2853;
+UPDATE AD_ELEMENT SET HELP='Enter the number of records a user will be able to query to avoid unnecessary system load. If 0, no restrictions are imposed.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2854;
+UPDATE AD_ELEMENT SET HELP='The Posting Type Commitments is created when posting Purchase Orders; The Posting Type Reservation is created when posting Requisitions. This is used for budgetary control.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2860;
+UPDATE AD_ELEMENT SET HELP='Accounting related information for reconciliation with documents. It includes all revenue/expense and tax entries as a base for detail reporting', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2864;
+UPDATE AD_ELEMENT SET HELP='If selected AP tax is handled as expense, otherwise it is handled as a VAT credit.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2870;
+UPDATE AD_ELEMENT SET HELP='Budget Control allows you to restrict the use of expenditures, commitments (Purchase Orders) and reservations (Requisitions). If defined, you may not be able to approve Requisitions, Purchase Orders, or AP Invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2871;
+UPDATE AD_ELEMENT SET HELP='A user defined accounting element refers to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID IN (2877,2878);
+UPDATE AD_ELEMENT SET HELP='Visual representation of performance by color. The Schema has often three levels (e.g. red-yellow-green). Adempiere support two levels (e.g. red-green) or four levels (e.g. gray-bronze-silver-gold). Note that Measures without a goal are represented white. The percentages could be between 0 and unlimited (i.e. above 100%).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2903;
+UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio', HELP='Calculation instruction set for a performance ratio', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2919;
+UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio Used', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2929;
+UPDATE AD_ELEMENT SET NAME='Next Maintenance',PRINTNAME='Next Maintenance', DESCRIPTION='Next Maintenance Date', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2932;
+UPDATE AD_ELEMENT SET DESCRIPTION='Next Maintenance Unit', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2934;
+UPDATE AD_ELEMENT SET HELP='The Meta Robots Tag define on how a search engines robot should handle this page and the following ones. It defines two keywords: (NO)INDEX which defines whether or not to index this content and (NO)FOLLOW which defines whether or not to follow links. The most common combination is INDEX,FOLLOW which will force a search robot to index the content and follow links and images.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2975;
+UPDATE AD_ELEMENT SET DESCRIPTION='Contains list of elements separated by CR', HELP='Contains a list of elements this template uses separated by a Carriage Return. Last line should be empty', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2983;
+UPDATE AD_ELEMENT SET HELP='A Container defines the abstract level around the content, it defines how the content gets displayed, indexed and stored.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2985;
+UPDATE AD_ELEMENT SET DESCRIPTION='External Link (URL) for the Container', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2988;
+UPDATE AD_ELEMENT SET HELP='This table contains all the media content like images, flash movies etc.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2997;
+UPDATE AD_ELEMENT SET HELP='If we have a block in content where announce content and also sponsored links we should mention the sponsored ones', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3007;
+UPDATE AD_ELEMENT SET HELP='Media Server list to which content should get transferred', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3009;
+UPDATE AD_ELEMENT SET HELP='A container element defines the smallest definition of content, i.e. the headline, the content etc.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID IN (3013,3023);
+UPDATE AD_ELEMENT SET HELP='The date the revenue recognition starts.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3032;
+UPDATE AD_ELEMENT SET DESCRIPTION='Container Stage Template Table', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3050;
+UPDATE AD_ELEMENT SET HELP='The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintained by Adempiere (i.e. all changes are reversed during migration to the current definition).', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3052;
+UPDATE AD_ELEMENT SET HELP='If your application requires additional jar files, enter them here. The jar files must be located in the $ADEMPIERE_HOME/lib directory.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3054;
+UPDATE AD_ELEMENT SET HELP='Keyword not to be indexed, optional restricted to specific Document Type, Container or Request Type', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3078;
+UPDATE AD_ELEMENT SET DESCRIPTION='Open Debit in document currency & rate', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3083;
+UPDATE AD_ELEMENT SET DESCRIPTION='Open Credit in document currency & rate', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3084;
+UPDATE AD_ELEMENT SET DESCRIPTION='Open Balance in document currency & rate', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3085;
+UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all due invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3088;
+UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all not due invoices.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3089;
+UPDATE AD_ELEMENT SET HELP='The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authenticate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3093;
+UPDATE AD_ELEMENT SET PRINTNAME=NAME, DESCRIPTION='Table to check whether the migration script has been applied', UPDATED=TO_DATE('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=53350;
+COMMIT;
diff --git a/migration/354a-trunk/oracle/665_FR2952245_ImportDataPlanning.sql b/migration/354a-trunk/oracle/665_FR2952245_ImportDataPlanning.sql
new file mode 100644
index 0000000000..ea155f3c97
--- /dev/null
+++ b/migration/354a-trunk/oracle/665_FR2952245_ImportDataPlanning.sql
@@ -0,0 +1,2069 @@
+-- Feb 15, 2010 1:05:07 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53109,TO_DATE('2010-02-15 13:05:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','N','Y','Import Product Planning','N',TO_DATE('2010-02-15 13:05:05','YYYY-MM-DD HH24:MI:SS'),0,'M')
+;
+
+-- Feb 15, 2010 1:05:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53109 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID)
+;
+
+-- Feb 15, 2010 1:05:11 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53260,53109,'2',TO_DATE('2010-02-15 13:05:09','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','Y','N','N','N','Import Product Planning','L','I_ProductPlanning',TO_DATE('2010-02-15 13:05:09','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:11 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53260 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID)
+;
+
+-- Feb 15, 2010 1:05:12 PM CST
+-- Create new importer for Planning Data and Forecast
+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,53369,TO_DATE('2010-02-15 13:05:11','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table I_ProductPlanning',1,'Y','N','Y','Y','I_ProductPlanning','N',1000000,TO_DATE('2010-02-15 13:05:11','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:13 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54117,0,'I_ProductPlanning_ID',TO_DATE('2010-02-15 13:05:12','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Import Product Planning','Import Product Planning',TO_DATE('2010-02-15 13:05:12','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:13 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54117 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:05:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=13
+;
+
+-- Feb 15, 2010 1:05:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13
+;
+
+-- Feb 15, 2010 1:05:15 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58977,54117,0,13,53260,'I_ProductPlanning_ID',TO_DATE('2010-02-15 13:05:14','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Import Product Planning',TO_DATE('2010-02-15 13:05:14','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:15 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58977 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:15 PM CST
+-- Create new importer for Planning Data and Forecast
+CREATE TABLE I_ProductPlanning (I_ProductPlanning_ID NUMBER(10) NOT NULL, CONSTRAINT I_ProductPlanning_Key PRIMARY KEY (I_ProductPlanning_ID))
+;
+
+-- Feb 15, 2010 1:05:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_DATE('2010-02-15 13:05:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=102
+;
+
+-- Feb 15, 2010 1:05:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58978,102,0,19,53260,'AD_Client_ID',TO_DATE('2010-02-15 13:05:17','YYYY-MM-DD HH24:MI:SS'),0,'@AD_Client_ID@','Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_DATE('2010-02-15 13:05:17','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58978 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:18 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD AD_Client_ID NUMBER(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:18 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_DATE('2010-02-15 13:05:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=113
+;
+
+-- Feb 15, 2010 1:05:18 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58979,113,0,19,53260,'AD_Org_ID',TO_DATE('2010-02-15 13:05:18','YYYY-MM-DD HH24:MI:SS'),0,'@AD_Org_ID@','Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_DATE('2010-02-15 13:05:18','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58979 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD AD_Org_ID NUMBER(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_DATE('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=245
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=16
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58980,245,0,16,53260,'Created',TO_DATE('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','EE01',14,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_DATE('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58980 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Created DATE NOT NULL
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_DATE('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=246
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='10 Digit numeric', EntityType='D', Help=NULL, IsActive='Y', Name='Integer', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=11
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58981,246,0,11,53260,'CreatedBy',TO_DATE('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','EE01',14,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_DATE('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58981 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD CreatedBy NUMBER(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='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.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_DATE('2010-02-15 13:05:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=348
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58982,348,0,20,53260,'IsActive',TO_DATE('2010-02-15 13:05:22','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
+There are two reasons for de-activating and not deleting records:
+(1) The system requires the record for audit purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_DATE('2010-02-15 13:05:22','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58982 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_DATE('2010-02-15 13:05:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=607
+;
+
+-- Feb 15, 2010 1:05:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58983,607,0,16,53260,'Updated',TO_DATE('2010-02-15 13:05:23','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','EE01',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_DATE('2010-02-15 13:05:23','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58983 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Updated DATE NOT NULL
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_DATE('2010-02-15 13:05:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=608
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58984,608,0,11,53260,'UpdatedBy',TO_DATE('2010-02-15 13:05:24','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','EE01',14,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_DATE('2010-02-15 13:05:24','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58984 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD UpdatedBy NUMBER(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='BPartner_Value', Description='The Key of the Business Partner', EntityType='D', Help=NULL, IsActive='Y', Name='Business Partner Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Partner Key',Updated=TO_DATE('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1906
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1906
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=10
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58985,1906,0,10,53260,'BPartner_Value',TO_DATE('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),0,'The Key of the Business Partner','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner Key',TO_DATE('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58985 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD BPartner_Value NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='C_BPartner_ID', Description='Identifies a Business Partner', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', IsActive='Y', Name='Business Partner ', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Business Partner ',Updated=TO_DATE('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=187
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=187
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=30
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58986,187,0,30,53260,'C_BPartner_ID',TO_DATE('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','EE01',22,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner ',TO_DATE('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58986 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD C_BPartner_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='I_ErrorMsg', Description='Messages generated from import process', EntityType='D', Help='The Import Error Message displays any error messages generated during the import process.', IsActive='Y', Name='Import Error Message', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Import Error Message',Updated=TO_DATE('2010-02-15 13:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=912
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=912
+;
+
+-- Feb 15, 2010 1:05:28 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58987,912,0,10,53260,'I_ErrorMsg',TO_DATE('2010-02-15 13:05:27','YYYY-MM-DD HH24:MI:SS'),0,'Messages generated from import process','EE01',2000,'The Import Error Message displays any error messages generated during the import process.','Y','N','N','N','N','N','N','N','Y','N','Y','Import Error Message',TO_DATE('2010-02-15 13:05:27','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:28 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58987 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:29 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD I_ErrorMsg NVARCHAR2(2000) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:29 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='I_IsImported', Description='Has this import been processed', EntityType='D', Help='The Imported check box indicates if this import has been processed.', IsActive='Y', Name='Imported', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Imported',Updated=TO_DATE('2010-02-15 13:05:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=913
+;
+
+-- Feb 15, 2010 1:05:29 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=913
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58988,913,0,20,53260,'I_IsImported',TO_DATE('2010-02-15 13:05:29','YYYY-MM-DD HH24:MI:SS'),0,'Has this import been processed','EE01',1,'The Imported check box indicates if this import has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Imported',TO_DATE('2010-02-15 13:05:29','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58988 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD I_IsImported CHAR(1) CHECK (I_IsImported IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Processed', Description='The document has been processed', EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', IsActive='Y', Name='Processed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Processed',Updated=TO_DATE('2010-02-15 13:05:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1047
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1047
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58989,1047,0,20,53260,'Processed',TO_DATE('2010-02-15 13:05:30','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed','EE01',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','N','Processed',TO_DATE('2010-02-15 13:05:30','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58989 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Processed CHAR(1) DEFAULT NULL CHECK (Processed IN ('Y','N'))
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_DATE('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=524
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=28
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28
+;
+
+-- Feb 15, 2010 1:05:32 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53200,'3','org.eevolution.process.ImportProductPlanning',TO_DATE('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),0,'Import Product Planning and Forecast','EE01','Import and update product planning data and forecast','Y','N','N','N','Import Product Planning and Forecast','Y',0,0,TO_DATE('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),0,'Import_ProductPlanning',NULL)
+;
+
+-- Feb 15, 2010 1:05:32 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53200 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID)
+;
+
+-- Feb 15, 2010 1:05:33 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1922,0,53200,53402,20,'DeleteOldImported',TO_DATE('2010-02-15 13:05:32','YYYY-MM-DD HH24:MI:SS'),0,'Before processing delete old imported records in the import table','EE01',0,'Y','Y','N','N','Delete old imported records',30,TO_DATE('2010-02-15 13:05:32','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:33 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53402 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
+;
+
+-- Feb 15, 2010 1:05:34 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2169,0,53200,53403,20,'IsImportOnlyNoErrors',TO_DATE('2010-02-15 13:05:33','YYYY-MM-DD HH24:MI:SS'),0,'Y','Only start the import, if there are no validation Errors','EE01',0,'Y','Y','N','N','Import only if No Errors',60,TO_DATE('2010-02-15 13:05:33','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:34 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53403 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58990,524,0,53200,28,53260,'Processing',TO_DATE('2010-02-15 13:05:34','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_DATE('2010-02-15 13:05:34','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58990 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Processing CHAR(1) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='AD_Workflow_ID', Description='Workflow or combination of tasks', EntityType='D', Help='The Workflow field identifies a unique Workflow in the system.', IsActive='Y', Name='Workflow', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Workflow',Updated=TO_DATE('2010-02-15 13:05:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=144
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=144
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=18
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18
+;
+
+-- Feb 15, 2010 1:05:36 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Val_Rule SET Code='WorkflowType=''M''', Description=NULL, EntityType='EE01', IsActive='Y', Name='AD_Workflow Manufacturing', Type='S',Updated=TO_DATE('2010-02-15 13:05:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=52003
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58991,144,0,18,53260,52003,'AD_Workflow_ID',TO_DATE('2010-02-15 13:05:36','YYYY-MM-DD HH24:MI:SS'),0,'Workflow or combination of tasks','EE01',22,'The Workflow field identifies a unique Workflow in the system.','Y','N','N','N','N','N','N','N','Y','N','Y','Workflow',TO_DATE('2010-02-15 13:05:36','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58991 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD AD_Workflow_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='DD_NetworkDistribution_ID', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Network Distribution', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Network Distribution',Updated=TO_DATE('2010-02-15 13:05:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53340
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53340
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58992,53340,0,18,53260,'DD_NetworkDistribution_ID',TO_DATE('2010-02-15 13:05:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Network Distribution',TO_DATE('2010-02-15 13:05:40','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58992 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD DD_NetworkDistribution_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='DeliveryTime_Promised', Description='Promised days between order and delivery', EntityType='D', Help='The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.', IsActive='Y', Name='Promised Delivery Time', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Promised Delivery Time',Updated=TO_DATE('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1256
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1256
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=29
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58993,1256,0,29,53260,'DeliveryTime_Promised',TO_DATE('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),0,'Promised days between order and delivery','EE01',10,'The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.','Y','N','N','N','N','N','N','N','Y','N','Y','Promised Delivery Time',TO_DATE('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58993 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD DeliveryTime_Promised NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsCreatePlan', Description='Indicates whether planned orders will be generated by MRP', EntityType='EE01', Help='Indicates whether planned orders will be generated by MRP, if this flag is not just MRP generate a ''Create'' action notice', IsActive='Y', Name='Create Plan', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Create Plan',Updated=TO_DATE('2010-02-15 13:05:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53258
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53258
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58994,53258,0,20,53260,'IsCreatePlan',TO_DATE('2010-02-15 13:05:42','YYYY-MM-DD HH24:MI:SS'),0,'Indicates whether planned orders will be generated by MRP','EE01',1,'Indicates whether planned orders will be generated by MRP, if this flag is not just MRP generate a ''Create'' action notice','Y','N','N','N','N','Y','N','N','Y','N','Y','Create Plan',TO_DATE('2010-02-15 13:05:42','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58994 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD IsCreatePlan CHAR(1) CHECK (IsCreatePlan IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsMPS', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Is MPS', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Is MPS',Updated=TO_DATE('2010-02-15 13:05:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53261
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53261
+;
+
+-- Feb 15, 2010 1:05:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58995,53261,0,20,53260,'IsMPS',TO_DATE('2010-02-15 13:05:43','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Is MPS',TO_DATE('2010-02-15 13:05:43','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58995 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:48 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD IsMPS CHAR(1) DEFAULT NULL CHECK (IsMPS IN ('Y','N'))
+;
+
+-- Feb 15, 2010 1:05:49 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsPhantom', Description='Phantom Component', EntityType='D', Help='Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.', IsActive='Y', Name='Phantom', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Phantom',Updated=TO_DATE('2010-02-15 13:05:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2788
+;
+
+-- Feb 15, 2010 1:05:49 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2788
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58996,2788,0,20,53260,'IsPhantom',TO_DATE('2010-02-15 13:05:49','YYYY-MM-DD HH24:MI:SS'),0,'Phantom Component','EE01',1,'Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.','Y','N','N','N','N','Y','N','N','Y','N','Y','Phantom',TO_DATE('2010-02-15 13:05:49','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58996 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD IsPhantom CHAR(1) CHECK (IsPhantom IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_DATE('2010-02-15 13:05:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=454
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58997,454,0,30,53260,'M_Product_ID',TO_DATE('2010-02-15 13:05:50','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','Y','Product',TO_DATE('2010-02-15 13:05:50','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58997 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD M_Product_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_Warehouse_ID', Description='Storage Warehouse and Service Point', EntityType='D', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', IsActive='Y', Name='Warehouse', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Warehouse',Updated=TO_DATE('2010-02-15 13:05:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=459
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=459
+;
+
+-- Feb 15, 2010 1:05:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58998,459,0,19,53260,'M_Warehouse_ID',TO_DATE('2010-02-15 13:05:51','YYYY-MM-DD HH24:MI:SS'),0,'-1','Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','N','N','N','Y','N','Y','Warehouse',TO_DATE('2010-02-15 13:05:51','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58998 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:52 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD M_Warehouse_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:53 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Max', Description='Maximum order quantity in UOM', EntityType='EE01', Help='The Maximum Order Quantity indicates the biggest quantity of this product which can be ordered.', IsActive='Y', Name='Maximum Order Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Maximum Order Qty',Updated=TO_DATE('2010-02-15 13:05:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53264
+;
+
+-- Feb 15, 2010 1:05:53 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53264
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58999,53264,0,29,53260,'Order_Max',TO_DATE('2010-02-15 13:05:53','YYYY-MM-DD HH24:MI:SS'),0,'Maximum order quantity in UOM','EE01',10,'The Maximum Order Quantity indicates the biggest quantity of this product which can be ordered.','Y','N','N','N','N','N','N','N','Y','N','Y','Maximum Order Qty',TO_DATE('2010-02-15 13:05:53','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58999 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Order_Max NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Min', Description='Minimum order quantity in UOM', EntityType='D', Help='The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.', IsActive='Y', Name='Minimum Order Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Minimum Order Qty',Updated=TO_DATE('2010-02-15 13:05:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=942
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=942
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59000,942,0,29,53260,'Order_Min',TO_DATE('2010-02-15 13:05:54','YYYY-MM-DD HH24:MI:SS'),0,'Minimum order quantity in UOM','EE01',14,'The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.','Y','N','N','N','N','N','N','N','Y','N','Y','Minimum Order Qty',TO_DATE('2010-02-15 13:05:54','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59000 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Order_Min NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Pack', Description='Package order size in UOM (e.g. order set of 5 units)', EntityType='D', Help='The Order Pack Quantity indicates the number of units in each pack of this product.', IsActive='Y', Name='Order Pack Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Pack Qty',Updated=TO_DATE('2010-02-15 13:05:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=943
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=943
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59001,943,0,29,53260,'Order_Pack',TO_DATE('2010-02-15 13:05:55','YYYY-MM-DD HH24:MI:SS'),0,'Package order size in UOM (e.g. order set of 5 units)','EE01',14,'The Order Pack Quantity indicates the number of units in each pack of this product.','Y','N','N','N','N','N','N','N','Y','N','Y','Order Pack Qty',TO_DATE('2010-02-15 13:05:55','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59001 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Order_Pack NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Period', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Order Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Period',Updated=TO_DATE('2010-02-15 13:05:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53265
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53265
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59002,53265,0,29,53260,'Order_Period',TO_DATE('2010-02-15 13:05:56','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Order Period',TO_DATE('2010-02-15 13:05:56','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59002 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Order_Period NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Policy', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Order Policy', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Policy',Updated=TO_DATE('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53266
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53266
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Reference List', EntityType='D', Help=NULL, IsActive='Y', Name='List', ValidationType='D',Updated=TO_DATE('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=17
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='PP_Product_Planning Order Policy', ValidationType='L',Updated=TO_DATE('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53228
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53228
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List SET AD_Reference_ID=53228, Description=NULL, EntityType='EE01', IsActive='Y', Name='Fixed Order Quantity', Value='FOQ',Updated=TO_DATE('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53272
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53272
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List SET AD_Reference_ID=53228, Description=NULL, EntityType='EE01', IsActive='Y', Name='Lot-for-Lot', Value='LFL',Updated=TO_DATE('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53273
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53273
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List SET AD_Reference_ID=53228, Description=NULL, EntityType='EE01', IsActive='Y', Name='Period Order Quantity', Value='POQ',Updated=TO_DATE('2010-02-15 13:05:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53274
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53274
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59003,53266,0,17,53228,53260,'Order_Policy',TO_DATE('2010-02-15 13:05:58','YYYY-MM-DD HH24:MI:SS'),0,'EE01',3,'Y','N','N','N','N','N','N','N','Y','N','Y','Order Policy',TO_DATE('2010-02-15 13:05:58','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59003 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Order_Policy NVARCHAR2(3) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Qty', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Order Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Qty',Updated=TO_DATE('2010-02-15 13:05:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53267
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53267
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59004,53267,0,29,53260,'Order_Qty',TO_DATE('2010-02-15 13:05:59','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Order Qty',TO_DATE('2010-02-15 13:05:59','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59004 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Order_Qty NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Planner_ID', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Planner', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Planner',Updated=TO_DATE('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53269
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53269
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_DATE('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=110
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59005,53269,0,18,110,53260,164,'Planner_ID',TO_DATE('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Planner',TO_DATE('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59005 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Planner_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', Help=NULL, IsActive='Y', Name='BOM & Formula', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BOM & Formula',Updated=TO_DATE('2010-02-15 13:06:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53245
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53245
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59006,53245,0,19,53260,'PP_Product_BOM_ID',TO_DATE('2010-02-15 13:06:01','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula','EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','BOM & Formula',TO_DATE('2010-02-15 13:06:01','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59006 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD PP_Product_BOM_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='SafetyStock', Description='Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs', EntityType='EE01', Help='Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.
+
+Rereference:
+http://en.wikipedia.org/wiki/Safety_stock', IsActive='Y', Name='Safety Stock Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Safety Stock Qty',Updated=TO_DATE('2010-02-15 13:06:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53354
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53354
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59007,53354,0,29,53260,'SafetyStock',TO_DATE('2010-02-15 13:06:03','YYYY-MM-DD HH24:MI:SS'),0,'Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs','EE01',22,'Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.
+
+Rereference:
+http://en.wikipedia.org/wiki/Safety_stock','Y','N','N','N','N','N','N','N','Y','N','Y','Safety Stock Qty',TO_DATE('2010-02-15 13:06:03','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59007 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD SafetyStock NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='S_Resource_ID', Description='Resource', EntityType='D', Help=NULL, IsActive='Y', Name='Resource', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Resource',Updated=TO_DATE('2010-02-15 13:06:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1777
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1777
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Manufacturing Resources', EntityType='EE01', Help=NULL, IsActive='Y', Name='S_Resource_Manufacturing', ValidationType='T',Updated=TO_DATE('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53320
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53320
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_Table SET AD_Table_ID = 487, AD_Display = 6853, AD_Key = 6862, isValueDisplayed = 'N', OrderByClause = '', EntityType ='EE01', WhereClause = '' WHERE AD_Reference_ID = 53320
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Val_Rule SET Code='IsManufacturingResource=''Y'' AND ManufacturingResourceType=''PT''', Description=NULL, EntityType='EE01', IsActive='Y', Name='S_Resource Plant', Type='S',Updated=TO_DATE('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=52002
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59008,1777,0,18,53320,53260,52002,'S_Resource_ID',TO_DATE('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),0,'-1','Resource','EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Resource',TO_DATE('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59008 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD S_Resource_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:05 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='TimeFence', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Time Fence', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Time Fence',Updated=TO_DATE('2010-02-15 13:06:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53270
+;
+
+-- Feb 15, 2010 1:06:05 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53270
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59009,53270,0,29,53260,'TimeFence',TO_DATE('2010-02-15 13:06:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Time Fence',TO_DATE('2010-02-15 13:06:05','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59009 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD TimeFence NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='TransfertTime', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Transfert Time', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Transfert Time',Updated=TO_DATE('2010-02-15 13:06:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53271
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53271
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59010,53271,0,29,53260,'TransfertTime',TO_DATE('2010-02-15 13:06:07','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Transfert Time',TO_DATE('2010-02-15 13:06:07','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59010 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD TransfertTime NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='WorkingTime', Description='Workflow Simulation Execution Time', EntityType='D', Help='Amount of time the performer of the activity needs to perform the task in Duration Unit', IsActive='Y', Name='Working Time', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Working Time',Updated=TO_DATE('2010-02-15 13:06:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2333
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2333
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59011,2333,0,29,53260,'WorkingTime',TO_DATE('2010-02-15 13:06:08','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Simulation Execution Time','EE01',22,'Amount of time the performer of the activity needs to perform the task in Duration Unit','Y','N','N','N','N','N','N','N','Y','N','Y','Working Time',TO_DATE('2010-02-15 13:06:08','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59011 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD WorkingTime NUMBER DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', EntityType='EE01', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed.
+
+The expected yield for an Activity can be expressed as:
+
+Yield = Acceptable Units at Activity End x 100
+
+The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity.
+
+Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc
+
+Take care when setting yield to anything but 100% particularly when yied is used for multiples activities
+
+', IsActive='Y', Name='Yield %', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Yield %',Updated=TO_DATE('2010-02-15 13:06:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59012,53272,0,11,53260,'Yield',TO_DATE('2010-02-15 13:06:09','YYYY-MM-DD HH24:MI:SS'),0,'The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent','EE01',22,'ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed.
+
+The expected yield for an Activity can be expressed as:
+
+Yield = Acceptable Units at Activity End x 100
+
+The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity.
+
+Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc
+
+Take care when setting yield to anything but 100% particularly when yied is used for multiples activities
+
+','Y','N','N','N','N','N','N','N','Y','N','Y','Yield %',TO_DATE('2010-02-15 13:06:09','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59012 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Yield NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='DatePromised', Description='Date Order was promised', EntityType='D', Help='The Date Promised indicates the date, if any, that an Order was promised for.', IsActive='Y', Name='Date Promised', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Date Promised',Updated=TO_DATE('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=269
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=269
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_DATE('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59013,269,0,15,53260,'DatePromised',TO_DATE('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised','EE01',7,'The Date Promised indicates the date, if any, that an Order was promised for.','Y','N','N','N','N','N','N','N','Y','N','Y','Date Promised',TO_DATE('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59013 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD DatePromised DATE DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_Forecast_ID', Description='Material Forecast', EntityType='D', Help='Material Forecast', IsActive='Y', Name='Forecast', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast',Updated=TO_DATE('2010-02-15 13:06:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2498
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2498
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59014,2498,0,19,53260,'M_Forecast_ID',TO_DATE('2010-02-15 13:06:11','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast','EE01',22,'Material Forecast','Y','N','N','N','N','N','N','N','Y','N','Y','Forecast',TO_DATE('2010-02-15 13:06:11','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59014 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD M_Forecast_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_DATE('2010-02-15 13:06:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=526
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526
+;
+
+-- Feb 15, 2010 1:06:13 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59015,526,0,29,53260,'Qty',TO_DATE('2010-02-15 13:06:12','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',22,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','Y','N','N','Y','N','Y','Quantity',TO_DATE('2010-02-15 13:06:12','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:13 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59015 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:13 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Qty NUMBER NOT NULL
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59016,1063,0,18,53260,'SalesRep_ID',TO_DATE('2010-02-15 13:06:13','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_User_ID@','Sales Representative or Company Agent','EE01',22,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','Y','Sales Representative',TO_DATE('2010-02-15 13:06:13','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59016 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD SalesRep_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='ProductValue', Description='Key of the Product', EntityType='D', Help=NULL, IsActive='Y', Name='Product Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Key',Updated=TO_DATE('2010-02-15 13:06:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1675
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1675
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59017,1675,0,10,53260,'ProductValue',TO_DATE('2010-02-15 13:06:14','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Product','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Product Key',TO_DATE('2010-02-15 13:06:14','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59017 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD ProductValue NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='WarehouseValue', Description='Key of the Warehouse', EntityType='D', Help='Key to identify the Warehouse', IsActive='Y', Name='Warehouse Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Warehouse Key',Updated=TO_DATE('2010-02-15 13:06:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2070
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2070
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59018,2070,0,10,53260,'WarehouseValue',TO_DATE('2010-02-15 13:06:15','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Warehouse','EE01',40,'Key to identify the Warehouse','Y','N','N','N','N','N','N','N','Y','N','Y','Warehouse Key',TO_DATE('2010-02-15 13:06:15','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59018 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD WarehouseValue NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='OrgValue', Description='Key of the Organization', EntityType='D', Help=NULL, IsActive='Y', Name='Org Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Org Key',Updated=TO_DATE('2010-02-15 13:06:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2115
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2115
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59019,2115,0,10,53260,'OrgValue',TO_DATE('2010-02-15 13:06:16','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Organization','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Org Key',TO_DATE('2010-02-15 13:06:16','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59019 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD OrgValue NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54118,0,'NetworkDistributionValue',TO_DATE('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Network Distribution','EE01','Y','Network Distribution Key','Network Distribution Key',TO_DATE('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54118 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59020,54118,0,10,53260,'NetworkDistributionValue',TO_DATE('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Network Distribution','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Network Distribution Key',TO_DATE('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59020 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD NetworkDistributionValue NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54119,0,'Product_BOM_Value',TO_DATE('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0,'Key of Product BOM','U','Y','Product BOM Key','Product BOM Key',TO_DATE('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54119 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:19 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59021,54119,0,10,53260,'Product_BOM_Value',TO_DATE('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0,'Key of Product BOM','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Product BOM Key',TO_DATE('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:19 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59021 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:19 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD Product_BOM_Value NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54120,0,'ForecastValue',TO_DATE('2010-02-15 13:06:19','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Forecast','EE01','Y','Forecast Key','Forecast Key',TO_DATE('2010-02-15 13:06:19','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54120 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59022,54120,0,10,53260,'ForecastValue',TO_DATE('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Forecast','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Forecast Key',TO_DATE('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59022 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD ForecastValue NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:21 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54121,0,'ResourceValue',TO_DATE('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Resource','EE01','Y','Resource Key','Resource Key',TO_DATE('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:21 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54121 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59023,54121,0,10,53260,'ResourceValue',TO_DATE('2010-02-15 13:06:21','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Resource','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Resource Key',TO_DATE('2010-02-15 13:06:21','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59023 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD ResourceValue NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54122,0,'PlannerValue',TO_DATE('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0,'Search Key of the Planning','EE01','Y','Planner Key','Planner Key',TO_DATE('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54122 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59024,54122,0,10,53260,'PlannerValue',TO_DATE('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0,'Search Key of the Planning','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Planner Key',TO_DATE('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59024 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD PlannerValue NVARCHAR2(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_ForecastLine_ID', Description='Forecast Line', EntityType='D', Help='Forecast of Product Qyantity by Period', IsActive='Y', Name='Forecast Line', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast Line',Updated=TO_DATE('2010-02-15 13:06:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2499
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2499
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59025,2499,0,19,53260,'M_ForecastLine_ID',TO_DATE('2010-02-15 13:06:23','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Line','EE01',10,'Forecast of Product Qyantity by Period','Y','N','N','N','N','N','N','N','Y','N','N','Forecast Line',TO_DATE('2010-02-15 13:06:23','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59025 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD M_ForecastLine_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='PP_Product_Planning_ID', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Product Planning', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Planning',Updated=TO_DATE('2010-02-15 13:06:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53268
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53268
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59026,53268,0,19,53260,'PP_Product_Planning_ID',TO_DATE('2010-02-15 13:06:24','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','Y','N','N','Product Planning',TO_DATE('2010-02-15 13:06:24','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59026 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD PP_Product_Planning_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='VendorProductNo', Description='Product Key of the Business Partner', EntityType='D', Help='The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.', IsActive='Y', Name='Partner Product Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BPartner Product Key',Updated=TO_DATE('2010-02-15 13:06:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=623
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=623
+;
+
+-- Feb 15, 2010 1:06:31 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59027,623,0,10,53260,'VendorProductNo',TO_DATE('2010-02-15 13:06:25','YYYY-MM-DD HH24:MI:SS'),0,'Product Key of the Business Partner','EE01',30,'The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.','Y','N','N','N','N','N','N','N','Y','N','Y','Partner Product Key',TO_DATE('2010-02-15 13:06:25','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:31 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59027 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:31 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD VendorProductNo NVARCHAR2(30) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:32 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53307,53260,53109,NULL,TO_DATE('2010-02-15 13:06:31','YYYY-MM-DD HH24:MI:SS'),0,'EE01','N','Y','N','N','Y','N','N','N','N','Import Product Planning','N',10,0,TO_DATE('2010-02-15 13:06:31','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:32 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53307 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID)
+;
+
+-- Feb 15, 2010 1:06:34 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58982,58726,0,53307,TO_DATE('2010-02-15 13:06:32','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','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','Active',0,0,TO_DATE('2010-02-15 13:06:32','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:34 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58726 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:35 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59011,58727,0,53307,TO_DATE('2010-02-15 13:06:34','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Simulation Execution Time',22,'EE01','Amount of time the performer of the activity needs to perform the task in Duration Unit','Y','Y','N','N','N','N','Y','Working Time',0,0,TO_DATE('2010-02-15 13:06:34','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:35 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58727 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:36 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58978,58728,0,53307,TO_DATE('2010-02-15 13:06:35','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'EE01','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','Client',10,0,TO_DATE('2010-02-15 13:06:35','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:36 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58728 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:37 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59026,50010,58729,0,53307,TO_DATE('2010-02-15 13:06:36','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','Y','Y','Product Planning',20,0,TO_DATE('2010-02-15 13:06:36','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:37 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58729 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:38 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59019,50010,58730,0,53307,TO_DATE('2010-02-15 13:06:37','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Organization',22,'EE01','Y','Y','Y','N','N','N','N','Org Key',30,0,TO_DATE('2010-02-15 13:06:37','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:38 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58730 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58979,50010,58731,0,53307,TO_DATE('2010-02-15 13:06:38','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'EE01','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','Y','Organization',40,0,TO_DATE('2010-02-15 13:06:38','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58731 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59017,50010,58732,0,53307,TO_DATE('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Product',22,'EE01','Y','Y','Y','N','N','N','N','Product Key',50,0,TO_DATE('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58732 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58997,50010,58733,0,53307,TO_DATE('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',22,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','Y','Product',60,0,TO_DATE('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58733 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59016,50010,58734,0,53307,TO_DATE('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent',22,'EE01','The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','Y','Y','N','N','N','N','Sales Representative',70,0,TO_DATE('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58734 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59023,50010,58735,0,53307,TO_DATE('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Resource',22,'EE01','Y','Y','Y','N','N','N','N','Resource Key',80,0,TO_DATE('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58735 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59008,50010,58736,0,53307,TO_DATE('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0,'Resource',22,'EE01','Y','Y','Y','N','N','N','Y','Resource',90,0,TO_DATE('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58736 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:42 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59018,50010,58737,0,53307,TO_DATE('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Warehouse',22,'EE01','Key to identify the Warehouse','Y','Y','Y','N','N','N','N','Warehouse Key',100,0,TO_DATE('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:42 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58737 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58998,50010,58738,0,53307,TO_DATE('2010-02-15 13:06:42','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point',22,'EE01','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','Y','N','N','N','Y','Warehouse',110,0,TO_DATE('2010-02-15 13:06:42','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58738 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59024,50010,58739,0,53307,TO_DATE('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0,'Search Key of the Planning',22,'EE01','Y','Y','Y','N','N','N','N','Planner Key',120,0,TO_DATE('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58739 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:44 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59005,50010,58740,0,53307,TO_DATE('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Planner',130,0,TO_DATE('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:44 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58740 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:45 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59021,50010,58741,0,53307,TO_DATE('2010-02-15 13:06:44','YYYY-MM-DD HH24:MI:SS'),0,'Key of Product BOM',22,'EE01','Y','Y','Y','N','N','N','N','Product BOM Key',140,0,TO_DATE('2010-02-15 13:06:44','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:45 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58741 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59006,50010,58742,0,53307,TO_DATE('2010-02-15 13:06:45','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula',22,'EE01','Y','Y','Y','N','N','N','Y','BOM & Formula',150,0,TO_DATE('2010-02-15 13:06:45','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58742 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58991,50010,58743,0,53307,TO_DATE('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0,'Workflow or combination of tasks',60,'EE01','The Workflow field identifies a unique Workflow in the system.','Y','Y','Y','N','N','N','N','Workflow',160,0,TO_DATE('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58743 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:47 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59020,50010,58744,0,53307,TO_DATE('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Network Distribution',22,'EE01','Y','Y','Y','N','N','N','N','Network Distribution Key',170,0,TO_DATE('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:47 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58744 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58992,50010,58745,0,53307,TO_DATE('2010-02-15 13:06:47','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Network Distribution',180,0,TO_DATE('2010-02-15 13:06:47','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58745 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58995,50010,58746,0,53307,TO_DATE('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','Is MPS',190,0,TO_DATE('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58746 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58994,50010,58747,0,53307,TO_DATE('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0,'Indicates whether planned orders will be generated by MRP',1,'EE01','Indicates whether planned orders will be generated by MRP, if this flag is not just MRP generate a ''Create'' action notice','Y','Y','Y','N','N','N','Y','Create Plan',200,0,TO_DATE('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58747 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58993,50010,58748,0,53307,TO_DATE('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0,'Promised days between order and delivery',10,'EE01','The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.','Y','Y','Y','N','N','N','N','Promised Delivery Time',210,0,TO_DATE('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58748 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:50 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59009,50010,58749,0,53307,TO_DATE('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Time Fence',220,0,TO_DATE('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:50 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58749 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59010,50010,58750,0,53307,TO_DATE('2010-02-15 13:06:50','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','Transfert Time',230,0,TO_DATE('2010-02-15 13:06:50','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58750 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59003,50010,58751,0,53307,TO_DATE('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0,3,'EE01','Y','Y','Y','N','N','N','Y','Order Policy',240,0,TO_DATE('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58751 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59002,50010,58752,0,53307,TO_DATE('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','Order Period',250,0,TO_DATE('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58752 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59004,50010,58753,0,53307,TO_DATE('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Order Qty',260,0,TO_DATE('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58753 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:53 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59001,50010,58754,0,53307,TO_DATE('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0,'Package order size in UOM (e.g. order set of 5 units)',14,'EE01','The Order Pack Quantity indicates the number of units in each pack of this product.','Y','Y','Y','N','N','N','N','Order Pack Qty',270,0,TO_DATE('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:53 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58754 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59000,50010,58755,0,53307,TO_DATE('2010-02-15 13:06:53','YYYY-MM-DD HH24:MI:SS'),0,'Minimum order quantity in UOM',14,'EE01','The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.','Y','Y','Y','N','N','N','Y','Minimum Order Qty',280,0,TO_DATE('2010-02-15 13:06:53','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58755 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58999,50010,58756,0,53307,TO_DATE('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0,'Maximum order quantity in UOM',10,'EE01','The Maximum Order Quantity indicates the biggest quantity of this product which can be ordered.','Y','Y','Y','N','N','N','N','Maximum Order Qty',290,0,TO_DATE('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58756 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:55 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59007,50010,58757,0,53307,TO_DATE('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0,'Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs',22,'EE01','Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.
+
+Rereference:
+http://en.wikipedia.org/wiki/Safety_stock','Y','Y','Y','N','N','N','Y','Safety Stock Qty',300,0,TO_DATE('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:55 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58757 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:56 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59012,50010,58758,0,53307,TO_DATE('2010-02-15 13:06:55','YYYY-MM-DD HH24:MI:SS'),0,'The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent',22,'EE01','ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed.
+
+The expected yield for an Activity can be expressed as:
+
+Yield = Acceptable Units at Activity End x 100
+
+The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity.
+
+Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc
+
+Take care when setting yield to anything but 100% particularly when yied is used for multiples activities
+
+','Y','Y','Y','N','N','N','N','Yield %',310,0,TO_DATE('2010-02-15 13:06:55','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:56 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58758 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58996,50010,58759,0,53307,TO_DATE('2010-02-15 13:06:56','YYYY-MM-DD HH24:MI:SS'),0,'Phantom Component',1,'EE01','Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.','Y','Y','Y','N','N','N','Y','Phantom',320,0,TO_DATE('2010-02-15 13:06:56','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58759 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58985,106,58760,0,53307,TO_DATE('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0,'The Key of the Business Partner',22,'EE01','Y','Y','Y','N','N','N','N','Business Partner Key',330,0,TO_DATE('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58760 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:58 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58986,106,58761,0,53307,TO_DATE('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner',22,'EE01','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','Y','Business Partner ',340,0,TO_DATE('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:58 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58761 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59027,106,58762,0,53307,TO_DATE('2010-02-15 13:06:58','YYYY-MM-DD HH24:MI:SS'),0,'Product Key of the Business Partner',22,'EE01','The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.','Y','Y','Y','N','N','N','N','Partner Product Key',350,0,TO_DATE('2010-02-15 13:06:58','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58762 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59022,106,58763,0,53307,TO_DATE('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Forecast',22,'EE01','Y','Y','Y','N','N','N','N','Forecast Key',360,0,TO_DATE('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58763 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:00 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59014,106,58764,0,53307,TO_DATE('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast',22,'EE01','Material Forecast','Y','Y','Y','N','N','N','N','Forecast',370,0,TO_DATE('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:00 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58764 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:01 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59025,106,58765,0,53307,TO_DATE('2010-02-15 13:07:00','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Line',10,'EE01','Forecast of Product Qyantity by Period','Y','Y','Y','N','N','Y','Y','Forecast Line',380,0,TO_DATE('2010-02-15 13:07:00','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:01 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58765 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59013,106,58766,0,53307,TO_DATE('2010-02-15 13:07:01','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised',7,'EE01','The Date Promised indicates the date, if any, that an Order was promised for.','Y','Y','Y','N','N','N','N','Date Promised',390,0,TO_DATE('2010-02-15 13:07:01','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58766 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59015,106,58767,0,53307,TO_DATE('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0,'Quantity',22,'EE01','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','Y','Quantity',400,0,TO_DATE('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58767 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:03 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58987,58768,0,53307,TO_DATE('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0,'Messages generated from import process',2000,'EE01','The Import Error Message displays any error messages generated during the import process.','Y','Y','Y','N','N','Y','N','Import Error Message',410,0,TO_DATE('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:03 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58768 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58988,58769,0,53307,TO_DATE('2010-02-15 13:07:03','YYYY-MM-DD HH24:MI:SS'),0,'Has this import been processed',1,'EE01','The Imported check box indicates if this import has been processed.','Y','Y','Y','N','N','Y','N','Imported',420,0,TO_DATE('2010-02-15 13:07:03','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58769 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58989,58770,0,53307,TO_DATE('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'EE01','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','Y','Processed',430,0,TO_DATE('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58770 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:05 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58990,58771,0,53307,TO_DATE('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','N','Y','N','N','N','N','Import Product Planning Data',440,0,TO_DATE('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:05 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58771 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:06 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58977,58772,0,53307,TO_DATE('2010-02-15 13:07:05','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','N','N','N','N','N','Import Product Planning',0,0,TO_DATE('2010-02-15 13:07:05','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:06 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58772 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:07 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,Action,Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53264,0,53109,'W',TO_DATE('2010-02-15 13:07:06','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','N','N','Import Product Planning',TO_DATE('2010-02-15 13:07:06','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53264 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID)
+;
+
+-- Feb 15, 2010 1:07:07 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 163,4, 10, 53264)
+;
+
diff --git a/migration/354a-trunk/oracle/666_BF2952456_PP_Identifiers.sql b/migration/354a-trunk/oracle/666_BF2952456_PP_Identifiers.sql
new file mode 100644
index 0000000000..8f6cad7372
--- /dev/null
+++ b/migration/354a-trunk/oracle/666_BF2952456_PP_Identifiers.sql
@@ -0,0 +1,20 @@
+-- Feb 15, 2010 5:40:55 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_DATE('2010-02-15 17:40:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53389
+;
+
+-- Feb 15, 2010 5:41:22 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Column SET Help=NULL, IsIdentifier='Y', SeqNo=2,Updated=TO_DATE('2010-02-15 17:41:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
+;
+
+-- Feb 15, 2010 5:41:22 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Field SET Name='Resource', Description='Resource', Help=NULL WHERE AD_Column_ID=53400 AND IsCentrallyMaintained='Y'
+;
+
+-- Feb 15, 2010 5:41:44 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', SeqNo=3,Updated=TO_DATE('2010-02-15 17:41:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390
+;
+
diff --git a/migration/354a-trunk/oracle/667_FR2956390_SchedulerEnhancement.sql b/migration/354a-trunk/oracle/667_FR2956390_SchedulerEnhancement.sql
new file mode 100644
index 0000000000..5138167db9
--- /dev/null
+++ b/migration/354a-trunk/oracle/667_FR2956390_SchedulerEnhancement.sql
@@ -0,0 +1,160 @@
+-- Feb 19, 2010 5:22:38 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54123,0,'IsIgnoreProcessingTime',TO_DATE('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Ignore Processing Time','Ignore Proccessing Time',TO_DATE('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:22:38 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=54123 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 19, 2010 5:26:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54124,0,'CronPattern',TO_DATE('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Cron Scheduling Pattern','Cron Scheduling Pattern',TO_DATE('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:26:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=54124 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 19, 2010 5:29:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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,59028,54123,0,20,688,'IsIgnoreProcessingTime',TO_DATE('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Do not include processing time for the DateNextRun calculation','D',1,'When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Ignore Processing Time',0,TO_DATE('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
+;
+
+-- Feb 19, 2010 5:29:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=59028 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 19, 2010 5:29:16 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+ALTER TABLE AD_Scheduler ADD IsIgnoreProcessingTime CHAR(1) DEFAULT 'N' CHECK (IsIgnoreProcessingTime IN ('Y','N'))
+;
+
+-- Feb 19, 2010 5:46:42 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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,59029,54124,0,10,688,'CronPattern',TO_DATE('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D',255,'Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Cron Scheduling Pattern',0,TO_DATE('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
+;
+
+-- Feb 19, 2010 5:46:42 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=59029 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 19, 2010 5:46:46 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+ALTER TABLE AD_Scheduler ADD CronPattern NVARCHAR2(255) DEFAULT NULL
+;
+
+-- Feb 19, 2010 5:47:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2010-02-19 17:47:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247
+;
+
+-- Feb 19, 2010 5:47:18 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2010-02-19 17:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255
+;
+
+-- Feb 19, 2010 5:48:07 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2010-02-19 17:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=665
+;
+
+-- Feb 19, 2010 5:48:10 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Ref_List SET IsActive='N',Updated=TO_DATE('2010-02-19 17:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=664
+;
+
+-- Feb 19, 2010 5:49:04 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,318,53574,TO_DATE('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'Use cron style scheduling pattern','D','Y','Cron Scheduling Pattern',TO_DATE('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'C')
+;
+
+-- Feb 19, 2010 5:49:04 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=53574 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
+;
+
+-- Feb 19, 2010 5:53:21 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2010-02-19 17:53:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10053
+;
+
+-- Feb 19, 2010 5:53:26 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsActive='N',Updated=TO_DATE('2010-02-19 17:53:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10052
+;
+
+-- Feb 19, 2010 5:54:51 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59028,58773,0,589,TO_DATE('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation',10,'@ScheduleType@=F','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','Y','N','N','N','N','N','Ignore Processing Time',160,0,TO_DATE('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:54:51 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=58773 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 19, 2010 5:55:49 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsMandatory,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59029,58774,0,589,TO_DATE('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.',60,'@ScheduleType@=C','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','Y','N','N','N','Y','N','N','Cron Scheduling Pattern',170,0,TO_DATE('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:55:49 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=58774 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10053
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10052
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=9437
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9430
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=58773
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=58774
+;
+
+-- Feb 19, 2010 5:57:21 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-02-19 17:57:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9430
+;
+
+-- Feb 19, 2010 5:57:28 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-02-19 17:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9437
+;
+
+-- Feb 22, 2010 9:31:45 AM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53095,0,TO_DATE('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Invalid cron scheduling pattern','Invalid cron scheduling pattern - check syntax','E',TO_DATE('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'InvalidCronPattern')
+;
+
+-- Feb 22, 2010 9:31:45 AM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53095 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
+;
+
diff --git a/migration/354a-trunk/oracle/668_FR2957782_PaySelection_DueDate_Para.sql b/migration/354a-trunk/oracle/668_FR2957782_PaySelection_DueDate_Para.sql
new file mode 100644
index 0000000000..05bf813568
--- /dev/null
+++ b/migration/354a-trunk/oracle/668_FR2957782_PaySelection_DueDate_Para.sql
@@ -0,0 +1,10 @@
+-- Feb 24, 2010 4:03:13 PM EST
+-- Payment selection due date parameter
+INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2000,0,156,53404,15,'DueDate',TO_DATE('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100,'Date when the payment is due','@OnlyDue@=Y','D',7,'Date when the payment is due without deductions or discount','Y','Y','N','N','Due Date',45,TO_DATE('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 24, 2010 4:03:13 PM EST
+-- Payment selection due date parameter
+INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53404 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
+;
+
diff --git a/migration/354a-trunk/oracle/669_BF2904257.sql b/migration/354a-trunk/oracle/669_BF2904257.sql
new file mode 100644
index 0000000000..6fdf7546a9
--- /dev/null
+++ b/migration/354a-trunk/oracle/669_BF2904257.sql
@@ -0,0 +1,5 @@
+-- 01-mar-2010 12:10:16 COT
+-- Bug_2904257_wrong validation sql for M_InOutShipment/Receipt (RMA)
+UPDATE AD_Val_Rule SET Code='M_InOutLine.M_InOut_ID=@InOut_ID@',Updated=TO_DATE('2010-03-01 12:10:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=52001
+;
+
diff --git a/migration/354a-trunk/oracle/670_FR2962094_AddProcesssedOnColumn.sql b/migration/354a-trunk/oracle/670_FR2962094_AddProcesssedOnColumn.sql
new file mode 100644
index 0000000000..6715b27b9b
--- /dev/null
+++ b/migration/354a-trunk/oracle/670_FR2962094_AddProcesssedOnColumn.sql
@@ -0,0 +1,237 @@
+-- Mar 2, 2010 2:06:30 PM COT
+-- FR_2962094_Finish implementation of weighted average costing
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54128,0,'ProcessedOn',TO_DATE('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Processed On','Processed On',TO_DATE('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 2, 2010 2:06:30 PM COT
+INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54128 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Mar 2, 2010 2:08:58 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59034,54128,0,22,735,'ProcessedOn',TO_DATE('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:08:58 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59034 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:09:03 PM COT
+ALTER TABLE C_AllocationHdr ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:09:54 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59035,54128,0,22,392,'ProcessedOn',TO_DATE('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:09:54 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59035 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:09:56 PM COT
+ALTER TABLE C_BankStatement ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:10:39 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59036,54128,0,22,407,'ProcessedOn',TO_DATE('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:10:39 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59036 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:10:42 PM COT
+ALTER TABLE C_Cash ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:11:19 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59037,54128,0,22,318,'ProcessedOn',TO_DATE('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:11:19 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59037 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:11:22 PM COT
+ALTER TABLE C_Invoice ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:11:48 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59038,54128,0,22,259,'ProcessedOn',TO_DATE('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:11:48 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59038 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:11:51 PM COT
+ALTER TABLE C_Order ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:12:19 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59039,54128,0,22,335,'ProcessedOn',TO_DATE('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:12:19 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59039 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:12:22 PM COT
+ALTER TABLE C_Payment ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:12:53 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59040,54128,0,22,623,'ProcessedOn',TO_DATE('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:12:53 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59040 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:12:55 PM COT
+ALTER TABLE C_ProjectIssue ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:13:31 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59041,54128,0,22,53037,'ProcessedOn',TO_DATE('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:13:31 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59041 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:13:34 PM COT
+ALTER TABLE DD_Order ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:13:58 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59042,54128,0,22,224,'ProcessedOn',TO_DATE('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:13:58 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59042 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:14:00 PM COT
+ALTER TABLE GL_Journal ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:14:24 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59043,54128,0,22,53092,'ProcessedOn',TO_DATE('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:14:24 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59043 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:14:36 PM COT
+ALTER TABLE HR_Process ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:15:02 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59044,54128,0,22,319,'ProcessedOn',TO_DATE('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:15:02 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59044 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:15:05 PM COT
+ALTER TABLE M_InOut ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:15:29 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59045,54128,0,22,321,'ProcessedOn',TO_DATE('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:15:29 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59045 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:15:30 PM COT
+ALTER TABLE M_Inventory ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:15:52 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59046,54128,0,22,472,'ProcessedOn',TO_DATE('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:15:52 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59046 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:15:53 PM COT
+ALTER TABLE M_MatchInv ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:16:16 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59047,54128,0,22,473,'ProcessedOn',TO_DATE('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:16:16 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59047 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:16:17 PM COT
+ALTER TABLE M_MatchPO ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:16:43 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59048,54128,0,22,323,'ProcessedOn',TO_DATE('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:16:43 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59048 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:16:44 PM COT
+ALTER TABLE M_Movement ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:17:09 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59049,54128,0,22,325,'ProcessedOn',TO_DATE('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:17:09 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59049 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:17:11 PM COT
+ALTER TABLE M_Production ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:17:33 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59050,54128,0,22,702,'ProcessedOn',TO_DATE('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:17:33 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59050 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:17:35 PM COT
+ALTER TABLE M_Requisition ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:18:10 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59051,54128,0,22,53035,'ProcessedOn',TO_DATE('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:18:10 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59051 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:18:12 PM COT
+ALTER TABLE PP_Cost_Collector ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:18:38 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59052,54128,0,22,53027,'ProcessedOn',TO_DATE('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_DATE('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:18:38 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59052 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:18:40 PM COT
+ALTER TABLE PP_Order ADD ProcessedOn NUMBER DEFAULT NULL
+;
+
diff --git a/migration/354a-trunk/oracle/671_FR2962094_FillProcesssedOn.sql b/migration/354a-trunk/oracle/671_FR2962094_FillProcesssedOn.sql
new file mode 100644
index 0000000000..ffbc54d22a
--- /dev/null
+++ b/migration/354a-trunk/oracle/671_FR2962094_FillProcesssedOn.sql
@@ -0,0 +1,421 @@
+-- create temporary index
+CREATE INDEX tmp_ad_wf_activity_speed ON ad_wf_activity(ad_table_id, record_id);
+
+-- ****** SET ProcessedOn on table C_AllocationHdr ******
+
+-- try to get the processed from ad_changelog
+update C_AllocationHdr set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 735 and record_id = C_AllocationHdr.C_AllocationHdr_id and ad_column_id = 12309
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_AllocationHdr set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 735 and a.record_id = C_AllocationHdr.C_AllocationHdr_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_AllocationHdr set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_BankStatement ******
+
+-- try to get the processed from ad_changelog
+update C_BankStatement set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 392 and record_id = C_BankStatement.C_BankStatement_id and ad_column_id = 4924
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_BankStatement set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 392 and a.record_id = C_BankStatement.C_BankStatement_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_BankStatement set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Cash ******
+
+-- try to get the processed from ad_changelog
+update C_Cash set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 407 and record_id = C_Cash.C_Cash_id and ad_column_id = 5258
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Cash set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 407 and a.record_id = C_Cash.C_Cash_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Cash set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Invoice ******
+
+-- try to get the processed from ad_changelog
+update C_Invoice set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 318 and record_id = C_Invoice.C_Invoice_id and ad_column_id = 3497
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Invoice set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 318 and a.record_id = C_Invoice.C_Invoice_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Invoice set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Order ******
+
+-- try to get the processed from ad_changelog
+update C_Order set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 259 and record_id = C_Order.C_Order_id and ad_column_id = 3398
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Order set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 259 and a.record_id = C_Order.C_Order_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Order set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Payment ******
+
+-- try to get the processed from ad_changelog
+update C_Payment set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 335 and record_id = C_Payment.C_Payment_id and ad_column_id = 3878
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Payment set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 335 and a.record_id = C_Payment.C_Payment_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Payment set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_ProjectIssue ******
+
+-- try to get the processed from ad_changelog
+update C_ProjectIssue set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 623 and record_id = C_ProjectIssue.C_ProjectIssue_id and ad_column_id = 9842
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_ProjectIssue set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 623 and a.record_id = C_ProjectIssue.C_ProjectIssue_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_ProjectIssue set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table DD_Order ******
+
+-- try to get the processed from ad_changelog
+update DD_Order set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 53037 and record_id = DD_Order.DD_Order_id and ad_column_id = 53912
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update DD_Order set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53037 and a.record_id = DD_Order.DD_Order_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update DD_Order set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table GL_Journal ******
+
+-- try to get the processed from ad_changelog
+update GL_Journal set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 224 and record_id = GL_Journal.GL_Journal_id and ad_column_id = 5953
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update GL_Journal set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 224 and a.record_id = GL_Journal.GL_Journal_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update GL_Journal set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table HR_Process ******
+
+-- try to get the processed from ad_changelog
+update HR_Process set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 53092 and record_id = HR_Process.HR_Process_id and ad_column_id = 54876
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update HR_Process set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53092 and a.record_id = HR_Process.HR_Process_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update HR_Process set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_InOut ******
+
+-- try to get the processed from ad_changelog
+update M_InOut set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 319 and record_id = M_InOut.M_InOut_id and ad_column_id = 3518
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_InOut set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 319 and a.record_id = M_InOut.M_InOut_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_InOut set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Inventory ******
+
+-- try to get the processed from ad_changelog
+update M_Inventory set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 321 and record_id = M_Inventory.M_Inventory_id and ad_column_id = 3553
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Inventory set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 321 and a.record_id = M_Inventory.M_Inventory_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Inventory set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_MatchInv ******
+
+-- try to get the processed from ad_changelog
+update M_MatchInv set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 472 and record_id = M_MatchInv.M_MatchInv_id and ad_column_id = 6511
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_MatchInv set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 472 and a.record_id = M_MatchInv.M_MatchInv_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_MatchInv set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_MatchPO ******
+
+-- try to get the processed from ad_changelog
+update M_MatchPO set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 473 and record_id = M_MatchPO.M_MatchPO_id and ad_column_id = 6527
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_MatchPO set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 473 and a.record_id = M_MatchPO.M_MatchPO_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_MatchPO set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Movement ******
+
+-- try to get the processed from ad_changelog
+update M_Movement set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 323 and record_id = M_Movement.M_Movement_id and ad_column_id = 3580
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Movement set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 323 and a.record_id = M_Movement.M_Movement_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Movement set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Production ******
+
+-- try to get the processed from ad_changelog
+update M_Production set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 325 and record_id = M_Production.M_Production_id and ad_column_id = 3609
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Production set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 325 and a.record_id = M_Production.M_Production_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Production set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Requisition ******
+
+-- try to get the processed from ad_changelog
+update M_Requisition set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 702 and record_id = M_Requisition.M_Requisition_id and ad_column_id = 11473
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Requisition set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 702 and a.record_id = M_Requisition.M_Requisition_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Requisition set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table PP_Cost_Collector ******
+
+-- try to get the processed from ad_changelog
+update PP_Cost_Collector set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 53035 and record_id = PP_Cost_Collector.PP_Cost_Collector_id and ad_column_id = 53834
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update PP_Cost_Collector set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53035 and a.record_id = PP_Cost_Collector.PP_Cost_Collector_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update PP_Cost_Collector set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table PP_Order ******
+
+-- try to get the processed from ad_changelog
+update PP_Order set processedon =
+(select max((updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_changelog
+ where ad_table_id = 53027 and record_id = PP_Order.PP_Order_id and ad_column_id = 53664
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update PP_Order set processedon =
+(select max((a.updated - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53027 and a.record_id = PP_Order.PP_Order_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update PP_Order set processedon = (created - to_date('1970-01-01', 'YYYY-MM-DD')) * 86400000
+where processedon is null and processed = 'Y';
+
+-- drop temporary index
+DROP INDEX tmp_ad_wf_activity_speed;
diff --git a/migration/354a-trunk/oracle/672_BF2948897.sql b/migration/354a-trunk/oracle/672_BF2948897.sql
new file mode 100644
index 0000000000..6b6ec35ec1
--- /dev/null
+++ b/migration/354a-trunk/oracle/672_BF2948897.sql
@@ -0,0 +1,15 @@
+-- Mar 4, 2010 1:33:05 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''DIS''',Updated=TO_DATE('2010-03-04 13:33:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53141
+;
+
+-- Mar 4, 2010 1:33:13 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''SPL''',Updated=TO_DATE('2010-03-04 13:33:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53151
+;
+
+-- Mar 4, 2010 1:33:21 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''TRN''',Updated=TO_DATE('2010-03-04 13:33:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53140
+;
+
diff --git a/migration/354a-trunk/oracle/673_BF2948897.sql b/migration/354a-trunk/oracle/673_BF2948897.sql
new file mode 100644
index 0000000000..206894c546
--- /dev/null
+++ b/migration/354a-trunk/oracle/673_BF2948897.sql
@@ -0,0 +1,105 @@
+-- Mar 4, 2010 1:54:35 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_DATE('2010-03-04 13:54:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55347
+;
+
+-- Mar 4, 2010 1:55:33 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_DATE('2010-03-04 13:55:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
+;
+
+-- Mar 4, 2010 1:56:07 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation MODIFY Processed CHAR(1) DEFAULT 'Y'
+;
+
+-- Mar 4, 2010 1:56:08 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation SET Processed='Y' WHERE Processed IS NULL
+;
+
+-- Mar 4, 2010 1:56:28 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2010-03-04 13:56:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
+;
+
+-- Mar 4, 2010 1:56:30 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation_Entry MODIFY Processed CHAR(1) DEFAULT 'N'
+;
+
+-- Mar 4, 2010 1:56:31 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation_Entry SET Processed='N' WHERE Processed IS NULL
+;
+
+-- Mar 4, 2010 1:56:58 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=53111, AD_Reference_ID=28,Updated=TO_DATE('2010-03-04 13:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55703
+;
+
+-- Mar 4, 2010 1:57:00 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation_Build MODIFY Processing CHAR(1) DEFAULT NULL
+;
+
+-- Mar 4, 2010 1:57:15 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_DATE('2010-03-04 13:57:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55700
+;
+
+-- Mar 4, 2010 1:57:19 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation_Build MODIFY Processed CHAR(1) DEFAULT 'N'
+;
+
+-- Mar 4, 2010 1:58:11 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_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,Updated,UpdatedBy,Version) VALUES (0,59065,524,0,53123,28,53125,'Processing',TO_DATE('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','Y','N','N','Y','N','Y','Process Now',TO_DATE('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 4, 2010 1:58:11 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+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=59065 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 4, 2010 1:58:36 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2010-03-04 13:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59065
+;
+
+-- Mar 4, 2010 1:58:38 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation_Convention ADD Processing CHAR(1) DEFAULT NULL
+;
+
+-- Mar 4, 2010 1:58:51 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_DATE('2010-03-04 13:58:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55736
+;
+
+-- Mar 4, 2010 1:58:54 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation_Convention MODIFY Processed CHAR(1) DEFAULT 'N'
+;
+
+-- Mar 4, 2010 1:58:54 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation_Convention SET Processed='N' WHERE Processed IS NULL
+;
+
+-- Mar 4, 2010 1:59:46 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_DATE('2010-03-04 13:59:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55747
+;
+
+-- Mar 4, 2010 1:59:49 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation_Method MODIFY Processed CHAR(1) DEFAULT 'Y'
+;
+
+-- Mar 4, 2010 1:59:49 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation_Method SET Processed='Y' WHERE Processed IS NULL
+;
+
diff --git a/migration/354a-trunk/oracle/674_FR2965494.sql b/migration/354a-trunk/oracle/674_FR2965494.sql
new file mode 100644
index 0000000000..07f89ced85
--- /dev/null
+++ b/migration/354a-trunk/oracle/674_FR2965494.sql
@@ -0,0 +1,311 @@
+-- Mar 8, 2010 4:20:41 PM CET
+-- Import of Order Source
+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,59066,53942,0,19,591,'C_OrderSource_ID',TO_DATE('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','N','N','N','N','N','N','Y','Order Source',0,TO_DATE('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 4:20:41 PM CET
+-- Import of Order Source
+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=59066 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 4:20:44 PM CET
+-- Import of Order Source
+ALTER TABLE I_Order ADD C_OrderSource_ID NUMBER(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 4:23:40 PM CET
+-- Import of Order Source
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54129,0,'C_OrderSourceValue',TO_DATE('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Order Source Key','Order Source Key',TO_DATE('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 4:23:40 PM CET
+-- Import of Order Source
+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=54129 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Mar 8, 2010 4:27:20 PM CET
+-- Import of Order Source
+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,59068,54129,0,10,591,'C_OrderSourceValue',TO_DATE('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Order Source Key',0,TO_DATE('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 4:27:20 PM CET
+-- Import of Order Source
+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=59068 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 4:27:27 PM CET
+-- Import of Order Source
+ALTER TABLE I_Order ADD C_OrderSourceValue NVARCHAR2(40) DEFAULT NULL
+;
+
+
+
+-- Mar 8, 2010 4:32:35 PM CET
+-- Import of Order Source
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59068,58779,0,512,TO_DATE('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source Key',590,0,TO_DATE('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 4:32:35 PM CET
+-- Import of Order Source
+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=58779 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 4:33:50 PM CET
+-- Import of Order Source
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59066,58780,0,512,TO_DATE('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source',600,0,TO_DATE('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 4:33:50 PM CET
+-- Import of Order Source
+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=58780 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 4:33:58 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET IsSameLine='Y',Updated=TO_DATE('2010-03-08 16:33:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58780
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7347
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7334
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=7328
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=7319
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=7323
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=7324
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=7337
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=7315
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=7355
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=7356
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=7338
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=7322
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=7359
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=7336
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=7318
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=7330
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=7339
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=7325
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=7341
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=7346
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=7345
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=7331
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=7317
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=7360
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=7354
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=7340
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=7645
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=7332
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=7353
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=7361
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=7358
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=7350
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=7640
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=7644
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=7641
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=7326
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=7642
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=7643
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=7343
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=8262
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=8263
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7329
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=7357
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56402
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56403
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=58779
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=58780
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=7327
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=7335
+;
diff --git a/migration/354a-trunk/oracle/675_FR2962094_AddAverageCostVarianceDefaultAcct.sql b/migration/354a-trunk/oracle/675_FR2962094_AddAverageCostVarianceDefaultAcct.sql
new file mode 100644
index 0000000000..f968499e32
--- /dev/null
+++ b/migration/354a-trunk/oracle/675_FR2962094_AddAverageCostVarianceDefaultAcct.sql
@@ -0,0 +1,413 @@
+-- Mar 8, 2010 8:44:44 PM COT
+-- FR2962094_Finish implementation of weighted average costing
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54132,0,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Average Cost Variance','Average Cost Variance',TO_DATE('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:44:44 PM COT
+INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54132 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Mar 8, 2010 8:46:06 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59071,54132,0,25,315,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_DATE('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 8:46:06 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59071 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 8:46:19 PM COT
+ALTER TABLE C_AcctSchema_Default ADD P_AverageCostVariance_Acct NUMBER(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 8:46:45 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59072,54132,0,25,401,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_DATE('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 8:46:45 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59072 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 8:46:50 PM COT
+ALTER TABLE M_Product_Category_Acct ADD P_AverageCostVariance_Acct NUMBER(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 8:47:12 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59073,54132,0,25,273,'P_AverageCostVariance_Acct',TO_DATE('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_DATE('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 8:47:12 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59073 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 8:47:17 PM COT
+ALTER TABLE M_Product_Acct ADD P_AverageCostVariance_Acct NUMBER(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 8:49:30 PM COT
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59071,106,58783,0,252,TO_DATE('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',770,0,TO_DATE('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:49:30 PM COT
+INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58783 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=58783
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4861
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=4862
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2663
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=4863
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=2662
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=3824
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2654
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=3835
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56529
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=56522
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=56524
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=56528
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=56527
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56525
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56523
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=56520
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=56521
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=56526
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=56550
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=56551
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=3842
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=3841
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=3846
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=5133
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=530,IsDisplayed='Y' WHERE AD_Field_ID=5132
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=540,IsDisplayed='Y' WHERE AD_Field_ID=3843
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=550,IsDisplayed='Y' WHERE AD_Field_ID=3845
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=560,IsDisplayed='Y' WHERE AD_Field_ID=3844
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=3849
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=3850
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=5138
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=3847
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=610,IsDisplayed='Y' WHERE AD_Field_ID=3839
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=620,IsDisplayed='Y' WHERE AD_Field_ID=3837
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=630,IsDisplayed='Y' WHERE AD_Field_ID=3840
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=640,IsDisplayed='Y' WHERE AD_Field_ID=3838
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=650,IsDisplayed='Y' WHERE AD_Field_ID=3836
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=660,IsDisplayed='Y' WHERE AD_Field_ID=3851
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=670,IsDisplayed='Y' WHERE AD_Field_ID=3852
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=680,IsDisplayed='Y' WHERE AD_Field_ID=3830
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=690,IsDisplayed='Y' WHERE AD_Field_ID=3831
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=700,IsDisplayed='Y' WHERE AD_Field_ID=3832
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=710,IsDisplayed='Y' WHERE AD_Field_ID=3833
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=720,IsDisplayed='Y' WHERE AD_Field_ID=4092
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=730,IsDisplayed='Y' WHERE AD_Field_ID=4093
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=740,IsDisplayed='Y' WHERE AD_Field_ID=5134
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=750,IsDisplayed='Y' WHERE AD_Field_ID=4094
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=760,IsDisplayed='Y' WHERE AD_Field_ID=4095
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=770,IsDisplayed='Y' WHERE AD_Field_ID=3823
+;
+
+-- Mar 8, 2010 8:50:56 PM COT
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59072,58784,0,324,TO_DATE('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',310,0,TO_DATE('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:50:56 PM COT
+INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58784 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=58784
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=4872
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=4873
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=3944
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56539
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56532
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56534
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56538
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56537
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56535
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56533
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56530
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56531
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56536
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56552
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56553
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=3945
+;
+
+-- Mar 8, 2010 8:51:50 PM COT
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59073,58785,0,210,TO_DATE('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',280,0,TO_DATE('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:51:50 PM COT
+INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58785 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=58785
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=4868
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4869
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=2608
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56549
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56542
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56544
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56548
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56547
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56545
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56543
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56540
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56541
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56546
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56554
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56555
+;
+
+-- Mar 8, 2010 9:03:21 PM COT
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-03-08 21:03:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58783
+;
+
+-- Mar 8, 2010 9:03:44 PM COT
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-03-08 21:03:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58784
+;
+
+-- Mar 8, 2010 9:04:06 PM COT
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_DATE('2010-03-08 21:04:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58785
+;
+
diff --git a/migration/354a-trunk/oracle/676_FR2962094_SetAverageCostVarianceGW.sql b/migration/354a-trunk/oracle/676_FR2962094_SetAverageCostVarianceGW.sql
new file mode 100644
index 0000000000..82bd4bcd24
--- /dev/null
+++ b/migration/354a-trunk/oracle/676_FR2962094_SetAverageCostVarianceGW.sql
@@ -0,0 +1,56 @@
+-- Mar 8, 2010 8:56:27 PM COT
+-- FR2962094_Finish implementation of weighted average costing
+INSERT INTO C_ElementValue (AccountSign,AccountType,AD_Client_ID,AD_Org_ID,C_Element_ID,C_ElementValue_ID,Created,CreatedBy,Description,IsActive,IsBankAccount,IsDocControlled,IsForeignCurrency,IsSummary,Name,PostActual,PostBudget,PostEncumbrance,PostStatistical,Updated,UpdatedBy,Value) VALUES ('N','E',11,0,105,50017,TO_DATE('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'Account for Average Cost Variance','Y','N','Y','N','N','Average Cost Variance','Y','Y','Y','Y',TO_DATE('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'58800')
+;
+
+-- Mar 8, 2010 8:56:27 PM COT
+INSERT INTO C_ElementValue_Trl (AD_Language,C_ElementValue_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.C_ElementValue_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, C_ElementValue t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_ElementValue_ID=50017 AND NOT EXISTS (SELECT * FROM C_ElementValue_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_ElementValue_ID=t.C_ElementValue_ID)
+;
+
+-- Mar 8, 2010 8:56:27 PM COT
+INSERT INTO AD_TreeNode (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, 100, SysDate, 100,t.AD_Tree_ID, 50017, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=11 AND t.IsActive='Y' AND EXISTS (SELECT * FROM C_Element ae WHERE ae.C_Element_ID=105 AND t.AD_Tree_ID=ae.AD_Tree_ID) AND NOT EXISTS (SELECT * FROM AD_TreeNode e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=50017)
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=444
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=445
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=635
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50001
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50002
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50003
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50004
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=101 AND Node_ID=50017
+;
+
+-- Mar 8, 2010 8:58:19 PM COT
+INSERT INTO C_ValidCombination (Account_ID,AD_Client_ID,AD_Org_ID,C_AcctSchema_ID,Combination,Created,CreatedBy,C_ValidCombination_ID,Description,IsActive,IsFullyQualified,Updated,UpdatedBy) VALUES (50017,11,11,101,'HQ-58800-_-_-_-_',TO_DATE('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100,50013,'HQ-Average Cost Variance-_-_-_-_','Y','Y',TO_DATE('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:58:32 PM COT
+UPDATE C_AcctSchema_Default SET P_AverageCostVariance_Acct=50013,Updated=TO_DATE('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101
+;
+
+UPDATE M_Product_Category_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_DATE('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;
+
+UPDATE M_Product_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_DATE('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;
diff --git a/migration/354a-trunk/oracle/677_BT2092712_Unalloc_payment_report.sql b/migration/354a-trunk/oracle/677_BT2092712_Unalloc_payment_report.sql
new file mode 100644
index 0000000000..f4c7bf7056
--- /dev/null
+++ b/migration/354a-trunk/oracle/677_BT2092712_Unalloc_payment_report.sql
@@ -0,0 +1 @@
+UPDATE AD_ReportView SET WHERECLAUSE = 'DocStatus IN (''CO'',''CL'') AND IsAllocated=''N''' where ad_reportview_id=155;
\ No newline at end of file
diff --git a/migration/354a-trunk/oracle/678_BF_1774758.sql b/migration/354a-trunk/oracle/678_BF_1774758.sql
new file mode 100644
index 0000000000..5532c1953f
--- /dev/null
+++ b/migration/354a-trunk/oracle/678_BF_1774758.sql
@@ -0,0 +1,9 @@
+--
+-- BF [ 1774758 ] No default Sales Representant in request window
+--
+
+UPDATE AD_COLUMN
+ SET DefaultValue = '@#AD_User_ID@'
+ WHERE DefaultValue = '@AD_User_ID@' AND AD_Column_ID = 5432;
+
+COMMIT;
diff --git a/migration/354a-trunk/oracle/679_BF2042466FixProductURL.sql b/migration/354a-trunk/oracle/679_BF2042466FixProductURL.sql
new file mode 100644
index 0000000000..f9ae265d00
--- /dev/null
+++ b/migration/354a-trunk/oracle/679_BF2042466FixProductURL.sql
@@ -0,0 +1,8 @@
+-- Mar 11, 2010 3:09:41 PM COT
+UPDATE M_Product SET DescriptionURL='http://www.adempiere.com/index.php/SampleProductDescriptionForDocumentation', ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_DATE('2010-03-11 15:09:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=146
+;
+
+-- Mar 11, 2010 3:09:58 PM COT
+UPDATE M_Product SET ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_DATE('2010-03-11 15:09:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=126
+;
+
diff --git a/migration/354a-trunk/oracle/680_BF2970013.sql b/migration/354a-trunk/oracle/680_BF2970013.sql
new file mode 100644
index 0000000000..27b759fbc4
--- /dev/null
+++ b/migration/354a-trunk/oracle/680_BF2970013.sql
@@ -0,0 +1,82 @@
+-- Mar 13, 2010 5:43:23 PM COT
+-- BF2970013_Process Para uniqueness required
+UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_DATE('2010-03-13 17:43:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=131
+;
+
+-- Mar 13, 2010 5:43:25 PM COT
+UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2010-03-13 17:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=244
+;
+
+-- Mar 13, 2010 5:43:27 PM COT
+UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53074
+;
+
+-- Mar 13, 2010 5:43:33 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53073
+;
+
+-- Mar 13, 2010 5:43:58 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:43:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=471
+;
+
+-- Mar 13, 2010 5:44:32 PM COT
+UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453
+;
+
+-- Mar 13, 2010 5:45:12 PM COT
+UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:45:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454
+;
+
+-- Mar 13, 2010 5:45:56 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:45:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=397
+;
+
+-- Mar 13, 2010 5:46:18 PM COT
+UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_DATE('2010-03-13 17:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=588
+;
+
+-- Mar 13, 2010 5:46:20 PM COT
+UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:46:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=585
+;
+
+-- Mar 13, 2010 5:46:22 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53153
+;
+
+-- Mar 13, 2010 5:46:23 PM COT
+UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2010-03-13 17:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53154
+;
+
+-- Mar 13, 2010 5:46:25 PM COT
+UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2010-03-13 17:46:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=586
+;
+
+-- Mar 13, 2010 5:46:27 PM COT
+UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_DATE('2010-03-13 17:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=587
+;
+
+-- Mar 13, 2010 5:46:55 PM COT
+UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_DATE('2010-03-13 17:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53066
+;
+
+-- Mar 13, 2010 5:46:56 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_DATE('2010-03-13 17:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53067
+;
+
+-- Mar 13, 2010 5:47:22 PM COT
+UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_DATE('2010-03-13 17:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123
+;
+
+-- Mar 13, 2010 5:47:43 PM COT
+UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_DATE('2010-03-13 17:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
+;
+
+-- Mar 13, 2010 5:47:46 PM COT
+UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_DATE('2010-03-13 17:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53280
+;
+
+-- Mar 13, 2010 5:47:50 PM COT
+UPDATE AD_Process_Para SET EntityType='EE01',Updated=TO_DATE('2010-03-13 17:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
+;
+
+create unique index ad_procpara_procseqno on ad_process_para (ad_process_id, seqno);
diff --git a/migration/354a-trunk/oracle/681_BF2968442.sql b/migration/354a-trunk/oracle/681_BF2968442.sql
new file mode 100644
index 0000000000..9e9ccf3e22
--- /dev/null
+++ b/migration/354a-trunk/oracle/681_BF2968442.sql
@@ -0,0 +1,146 @@
+-- Mar 13, 2010 11:54:49 PM COT
+-- BF_2968442_Post without Application Server
+UPDATE AD_Element SET Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.', Name='Post Immediately (Deprecated)',Updated=TO_DATE('2010-03-13 23:54:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2843
+;
+
+-- Mar 13, 2010 11:54:49 PM COT
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2843
+;
+
+-- Mar 13, 2010 11:54:49 PM COT
+UPDATE AD_Column SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.', AD_Element_ID=2843 WHERE UPPER(ColumnName)='ISPOSTIMMEDIATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843 AND IsCentrallyMaintained='Y'
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_Field SET Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=2843) AND IsCentrallyMaintained='Y'
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_PrintFormatItem pi SET PrintName='Post Immediate', Name='Post Immediately (Deprecated)' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=2843)
+;
+
+-- Mar 13, 2010 11:55:40 PM COT
+UPDATE AD_Field SET IsSameLine='N',Updated=TO_DATE('2010-03-13 23:55:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12326
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=12327
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=317
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=318
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=319
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10318
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=5160
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=5759
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=11025
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=11205
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=3813
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5887
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=5161
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=5162
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=5163
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=5164
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=12099
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=12098
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=11024
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=12326
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=50158
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=50159
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=50160
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=50184
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=50185
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=50186
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54238
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54680
+;
+
diff --git a/migration/354a-trunk/postgresql/659_FR2871676_ReportAmountType.sql b/migration/354a-trunk/postgresql/659_FR2871676_ReportAmountType.sql
new file mode 100644
index 0000000000..c6ed38af7c
--- /dev/null
+++ b/migration/354a-trunk/postgresql/659_FR2871676_ReportAmountType.sql
@@ -0,0 +1,411 @@
+-- 02/10/2009 11:33:15 AM
+-- Add signed amount type to fin report
+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,53327,TO_TIMESTAMP('2009-10-02 11:33:12','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Period Type',TO_TIMESTAMP('2009-10-02 11:33:12','YYYY-MM-DD HH24:MI:SS'),100,'L')
+;
+
+-- 02/10/2009 11:33:15 AM
+-- Add signed amount type to fin report
+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=53327 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
+;
+
+-- 02/10/2009 11:33:29 AM
+-- Add signed amount type to fin report
+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,53327,53536,TO_TIMESTAMP('2009-10-02 11:33:28','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Total',TO_TIMESTAMP('2009-10-02 11:33:28','YYYY-MM-DD HH24:MI:SS'),100,'T')
+;
+
+-- 02/10/2009 11:33:29 AM
+-- Add signed amount type to fin report
+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=53536 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)
+;
+
+-- 02/10/2009 11:33:38 AM
+-- Add signed amount type to fin report
+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,53327,53537,TO_TIMESTAMP('2009-10-02 11:33:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Year',TO_TIMESTAMP('2009-10-02 11:33:37','YYYY-MM-DD HH24:MI:SS'),100,'Y')
+;
+
+-- 02/10/2009 11:33:38 AM
+-- Add signed amount type to fin report
+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=53537 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)
+;
+
+-- 02/10/2009 11:33:51 AM
+-- Add signed amount type to fin report
+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,53327,53538,TO_TIMESTAMP('2009-10-02 11:33:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Period',TO_TIMESTAMP('2009-10-02 11:33:50','YYYY-MM-DD HH24:MI:SS'),100,'P')
+;
+
+-- 02/10/2009 11:33:51 AM
+-- Add signed amount type to fin report
+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=53538 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)
+;
+
+-- 02/10/2009 11:40:15 AM
+-- Add signed amount type to fin report
+INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53327,53540,TO_TIMESTAMP('2009-10-02 11:40:14','YYYY-MM-DD HH24:MI:SS'),100,'Year for P & L account, Total for Balance Sheet account','D','Y','Natural',TO_TIMESTAMP('2009-10-02 11:40:14','YYYY-MM-DD HH24:MI:SS'),100,'N')
+;
+
+-- 02/10/2009 11:40:15 AM
+-- Add signed amount type to fin report
+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=53540 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)
+;
+
+-- 02/10/2009 11:42:57 AM
+-- Add signed amount type to fin report
+UPDATE AD_Reference SET IsActive='N', Name='PA_Report AmountType (deprecated)',Updated=TO_TIMESTAMP('2009-10-02 11:42:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=235
+;
+
+-- 02/10/2009 11:42:57 AM
+-- Add signed amount type to fin report
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=235
+;
+
+-- 02/10/2009 11:43:16 AM
+-- Add signed amount type to fin report
+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,53328,TO_TIMESTAMP('2009-10-02 11:43:15','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Amount Type',TO_TIMESTAMP('2009-10-02 11:43:15','YYYY-MM-DD HH24:MI:SS'),100,'L')
+;
+
+-- 02/10/2009 11:43:16 AM
+-- Add signed amount type to fin report
+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=53328 AND EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Reference_ID!=t.AD_Reference_ID)
+;
+
+-- 02/10/2009 11:44:10 AM
+-- Add signed amount type to fin report
+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,53328,53541,TO_TIMESTAMP('2009-10-02 11:44:09','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Balance (expected sign)',TO_TIMESTAMP('2009-10-02 11:44:09','YYYY-MM-DD HH24:MI:SS'),100,'B')
+;
+
+-- 02/10/2009 11:44:10 AM
+-- Add signed amount type to fin report
+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=53541 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)
+;
+
+-- 02/10/2009 11:44:32 AM
+-- Add signed amount type to fin report
+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,53328,53542,TO_TIMESTAMP('2009-10-02 11:44:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Credit Only',TO_TIMESTAMP('2009-10-02 11:44:30','YYYY-MM-DD HH24:MI:SS'),100,'C')
+;
+
+-- 02/10/2009 11:44:32 AM
+-- Add signed amount type to fin report
+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=53542 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)
+;
+
+-- 02/10/2009 11:44:42 AM
+-- Add signed amount type to fin report
+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,53328,53543,TO_TIMESTAMP('2009-10-02 11:44:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Debit Only',TO_TIMESTAMP('2009-10-02 11:44:41','YYYY-MM-DD HH24:MI:SS'),100,'D')
+;
+
+-- 02/10/2009 11:44:42 AM
+-- Add signed amount type to fin report
+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=53543 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)
+;
+
+-- 02/10/2009 11:45:01 AM
+-- Add signed amount type to fin report
+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,53328,53544,TO_TIMESTAMP('2009-10-02 11:45:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity',TO_TIMESTAMP('2009-10-02 11:45:00','YYYY-MM-DD HH24:MI:SS'),100,'Q')
+;
+
+-- 02/10/2009 11:45:01 AM
+-- Add signed amount type to fin report
+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=53544 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)
+;
+
+-- 02/10/2009 11:48:32 AM
+-- Add signed amount type to fin report
+INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,53328,53545,TO_TIMESTAMP('2009-10-02 11:48:31','YYYY-MM-DD HH24:MI:SS'),100,'DR - CR','D','Y','Balance (accounted sign)',TO_TIMESTAMP('2009-10-02 11:48:31','YYYY-MM-DD HH24:MI:SS'),100,'S')
+;
+
+-- 02/10/2009 11:48:32 AM
+-- Add signed amount type to fin report
+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=53545 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)
+;
+
+-- 02/10/2009 11:52:38 AM
+-- Add signed amount type to fin report
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54061,0,'PAPeriodType',TO_TIMESTAMP('2009-10-02 11:52:35','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D','The Period Type to report on: Period, Year, Total or Natural; where Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Period Type','Period Type',TO_TIMESTAMP('2009-10-02 11:52:35','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 11:52:38 AM
+-- Add signed amount type to fin report
+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=54061 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
+;
+
+-- 02/10/2009 11:56:47 AM
+-- Add signed amount type to fin report
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54062,0,'PAAmountType',TO_TIMESTAMP('2009-10-02 11:56:46','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (DR-CR). Balance (expected sign) adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element.','Y','Amount Type','Amount Type',TO_TIMESTAMP('2009-10-02 11:56:46','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 11:56:47 AM
+-- Add signed amount type to fin report
+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=54062 AND EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Element_ID!=t.AD_Element_ID)
+;
+
+-- 02/10/2009 11:56:58 AM
+-- Add signed amount type to fin report
+UPDATE AD_Element SET Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.',Updated=TO_TIMESTAMP('2009-10-02 11:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54061
+;
+
+-- 02/10/2009 11:56:58 AM
+-- Add signed amount type to fin report
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54061
+;
+
+-- 02/10/2009 11:56:58 AM
+-- Add signed amount type to fin report
+UPDATE AD_Column SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Element_ID=54061
+;
+
+-- 02/10/2009 11:56:58 AM
+-- Add signed amount type to fin report
+UPDATE AD_Process_Para SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.', AD_Element_ID=54061 WHERE UPPER(ColumnName)='PAPERIODTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
+;
+
+-- 02/10/2009 11:56:58 AM
+-- Add signed amount type to fin report
+UPDATE AD_Process_Para SET ColumnName='PAPeriodType', Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Element_ID=54061 AND IsCentrallyMaintained='Y'
+;
+
+-- 02/10/2009 11:56:58 AM
+-- Add signed amount type to fin report
+UPDATE AD_Field SET Name='Period Type', Description='PA Period Type', Help='The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54061) AND IsCentrallyMaintained='Y'
+;
+
+-- 02/10/2009 11:58:09 AM
+-- Add signed amount type to fin report
+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,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,58553,54061,0,17,53327,446,'PAPeriodType',TO_TIMESTAMP('2009-10-02 11:58:08','YYYY-MM-DD HH24:MI:SS'),100,'P','PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_TIMESTAMP('2009-10-02 11:58:08','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- 02/10/2009 11:58:09 AM
+-- Add signed amount type to fin report
+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=58553 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
+;
+
+-- 02/10/2009 11:58:17 AM
+-- Add signed amount type to fin report
+ALTER TABLE PA_ReportColumn ADD COLUMN PAPeriodType CHAR(1) DEFAULT 'P'
+;
+
+-- 02/10/2009 11:59:04 AM
+-- Add signed amount type to fin report
+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,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,58554,54062,0,17,53328,446,'PAAmountType',TO_TIMESTAMP('2009-10-02 11:59:03','YYYY-MM-DD HH24:MI:SS'),100,'B','PA Amount Type for reporting','D',1,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (DR-CR). Balance (expected sign) adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_TIMESTAMP('2009-10-02 11:59:03','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- 02/10/2009 11:59:04 AM
+-- Add signed amount type to fin report
+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=58554 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
+;
+
+-- 02/10/2009 12:01:36 PM
+-- Add signed amount type to fin report
+UPDATE AD_Element SET Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.',Updated=TO_TIMESTAMP('2009-10-02 12:01:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=54062
+;
+
+-- 02/10/2009 12:01:36 PM
+-- Add signed amount type to fin report
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=54062
+;
+
+-- 02/10/2009 12:01:36 PM
+-- Add signed amount type to fin report
+UPDATE AD_Column SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Element_ID=54062
+;
+
+-- 02/10/2009 12:01:36 PM
+-- Add signed amount type to fin report
+UPDATE AD_Process_Para SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.', AD_Element_ID=54062 WHERE UPPER(ColumnName)='PAAMOUNTTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
+;
+
+-- 02/10/2009 12:01:36 PM
+-- Add signed amount type to fin report
+UPDATE AD_Process_Para SET ColumnName='PAAmountType', Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Element_ID=54062 AND IsCentrallyMaintained='Y'
+;
+
+-- 02/10/2009 12:01:36 PM
+-- Add signed amount type to fin report
+UPDATE AD_Field SET Name='Amount Type', Description='PA Amount Type for reporting', Help='The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=54062) AND IsCentrallyMaintained='Y'
+;
+
+-- 02/10/2009 12:03:11 PM
+-- Add signed amount type to fin report
+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,58555,54062,0,17,53328,448,'PAAmountType',TO_TIMESTAMP('2009-10-02 12:03:10','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D',2,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_TIMESTAMP('2009-10-02 12:03:10','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- 02/10/2009 12:03:11 PM
+-- Add signed amount type to fin report
+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=58555 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
+;
+
+-- 02/10/2009 12:03:20 PM
+-- Add signed amount type to fin report
+UPDATE AD_Column SET FieldLength=1,Updated=TO_TIMESTAMP('2009-10-02 12:03:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=58555
+;
+
+-- 02/10/2009 12:03:23 PM
+-- Add signed amount type to fin report
+ALTER TABLE PA_ReportLine ADD COLUMN PAAmountType CHAR(1) DEFAULT NULL
+;
+
+-- 02/10/2009 12:03:48 PM
+-- Add signed amount type to fin report
+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,58556,54061,0,17,53327,448,'PAPeriodType',TO_TIMESTAMP('2009-10-02 12:03:47','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_TIMESTAMP('2009-10-02 12:03:47','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- 02/10/2009 12:03:48 PM
+-- Add signed amount type to fin report
+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=58556 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
+;
+
+-- 02/10/2009 12:03:50 PM
+-- Add signed amount type to fin report
+ALTER TABLE PA_ReportLine ADD COLUMN PAPeriodType CHAR(1) DEFAULT NULL
+;
+
+-- 02/10/2009 12:04:03 PM
+-- Add signed amount type to fin report
+ALTER TABLE PA_ReportColumn ADD COLUMN PAAmountType CHAR(1) DEFAULT 'B'
+;
+
+-- 02/10/2009 12:04:29 PM
+-- Add signed amount type to fin report
+UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:04:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=6019
+;
+
+-- 02/10/2009 12:04:39 PM
+-- Add signed amount type to fin report
+UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:04:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7707
+;
+
+-- 02/10/2009 12:09:57 PM
+-- Add signed amount type to fin report
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58554,58041,0,374,TO_TIMESTAMP('2009-10-02 12:09:56','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',110,TO_TIMESTAMP('2009-10-02 12:09:56','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 12:09:57 PM
+-- Add signed amount type to fin report
+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=58041 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
+;
+
+-- 02/10/2009 12:11:17 PM
+-- Add signed amount type to fin report
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58553,58042,0,374,TO_TIMESTAMP('2009-10-02 12:11:16','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','Y','Period Type',115,TO_TIMESTAMP('2009-10-02 12:11:16','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 12:11:17 PM
+-- Add signed amount type to fin report
+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=58042 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
+;
+
+-- 02/10/2009 12:11:26 PM
+-- Add signed amount type to fin report
+UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:11:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=4760
+;
+
+-- 02/10/2009 12:13:14 PM
+-- Add signed amount type to fin report
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58555,58043,0,376,TO_TIMESTAMP('2009-10-02 12:13:13','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'@LineType@=S','D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',180,TO_TIMESTAMP('2009-10-02 12:13:13','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 12:13:14 PM
+-- Add signed amount type to fin report
+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=58043 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
+;
+
+-- 02/10/2009 12:13:46 PM
+-- Add signed amount type to fin report
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58556,58044,0,376,TO_TIMESTAMP('2009-10-02 12:13:45','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'@LineType@=S','D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','Y','Period Type',185,TO_TIMESTAMP('2009-10-02 12:13:45','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 12:13:46 PM
+-- Add signed amount type to fin report
+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=58044 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
+;
+
+-- 02/10/2009 12:13:57 PM
+-- Add signed amount type to fin report
+UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:13:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=5807
+;
+
+-- 02/10/2009 12:16:06 PM
+-- Add signed amount type to fin report
+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,58557,54062,0,17,53328,535,'PAAmountType',TO_TIMESTAMP('2009-10-02 12:16:05','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting','D',1,'The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Amount Type',0,TO_TIMESTAMP('2009-10-02 12:16:05','YYYY-MM-DD HH24:MI:SS'),100,1)
+;
+
+-- 02/10/2009 12:16:06 PM
+-- Add signed amount type to fin report
+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=58557 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
+;
+
+-- 02/10/2009 12:16:10 PM
+-- Add signed amount type to fin report
+ALTER TABLE I_ReportLine ADD COLUMN PAAmountType CHAR(1) DEFAULT NULL
+;
+
+-- 02/10/2009 12:16:40 PM
+-- Add signed amount type to fin report
+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,58558,54061,0,17,53327,535,'PAPeriodType',TO_TIMESTAMP('2009-10-02 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type','D',1,'The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Period Type',0,TO_TIMESTAMP('2009-10-02 12:16:34','YYYY-MM-DD HH24:MI:SS'),100,1)
+;
+
+-- 02/10/2009 12:16:40 PM
+-- Add signed amount type to fin report
+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=58558 AND EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Column_ID!=t.AD_Column_ID)
+;
+
+-- 02/10/2009 12:16:43 PM
+-- Add signed amount type to fin report
+ALTER TABLE I_ReportLine ADD COLUMN PAPeriodType CHAR(1) DEFAULT NULL
+;
+
+-- 02/10/2009 12:16:52 PM
+-- Add signed amount type to fin report
+UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:16:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=7954
+;
+
+-- 02/10/2009 12:18:35 PM
+-- Add signed amount type to fin report
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58557,58045,0,444,TO_TIMESTAMP('2009-10-02 12:18:35','YYYY-MM-DD HH24:MI:SS'),100,'PA Amount Type for reporting',14,'D','The amount type to report on: Quantity, Credit Only, Debit Only, Balance (expected sign) or Balance (accounted sign). "Expected sign" adjusts the sign of the result based on the Account Type and Expected Sign of each Account Element, whereas "accounted sign" always returns DR-CR.','Y','Y','Y','N','N','N','N','N','Amount Type',160,TO_TIMESTAMP('2009-10-02 12:18:35','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 12:18:35 PM
+-- Add signed amount type to fin report
+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=58045 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
+;
+
+-- 02/10/2009 12:18:56 PM
+-- Add signed amount type to fin report
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,Updated,UpdatedBy) VALUES (0,58558,58046,0,444,TO_TIMESTAMP('2009-10-02 12:18:55','YYYY-MM-DD HH24:MI:SS'),100,'PA Period Type',14,'D','The Period Type to report on: Period, Year, Total or Natural. Natural = Year for P & L accounts, Total for Balance Sheet accounts.','Y','Y','Y','N','N','N','N','N','Period Type',165,TO_TIMESTAMP('2009-10-02 12:18:55','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- 02/10/2009 12:18:56 PM
+-- Add signed amount type to fin report
+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=58046 AND EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language!=l.AD_Language OR tt.AD_Field_ID!=t.AD_Field_ID)
+;
+
+-- 02/10/2009 12:19:04 PM
+-- Add signed amount type to fin report
+UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2009-10-02 12:19:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6043
+;
+
+-- 02/10/2009 1:48:32 PM
+-- Add signed amount type to fin report
+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,53328,53546,TO_TIMESTAMP('2009-10-02 13:48:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity (accounted sign)',TO_TIMESTAMP('2009-10-02 13:48:30','YYYY-MM-DD HH24:MI:SS'),100,'R')
+;
+
+-- 02/10/2009 1:48:32 PM
+-- Add signed amount type to fin report
+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=53546 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)
+;
+
+-- 02/10/2009 1:48:43 PM
+-- Add signed amount type to fin report
+UPDATE AD_Ref_List SET Name='Quantity (expected sign)',Updated=TO_TIMESTAMP('2009-10-02 13:48:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=53544
+;
+
+-- 02/10/2009 1:48:43 PM
+-- Add signed amount type to fin report
+UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53544
+;
+
+update pa_reportline set paamounttype = substr(amounttype, 1,1), paperiodtype = substr(amounttype,2,1);
+
+update pa_reportcolumn set paamounttype = substr(amounttype, 1,1), paperiodtype = substr(amounttype,2,1);
+
+
+
diff --git a/migration/354a-trunk/postgresql/660_BF_2944056_FixSubstituteRelatedInfoProduct.sql b/migration/354a-trunk/postgresql/660_BF_2944056_FixSubstituteRelatedInfoProduct.sql
new file mode 100644
index 0000000000..eae9fb4b15
--- /dev/null
+++ b/migration/354a-trunk/postgresql/660_BF_2944056_FixSubstituteRelatedInfoProduct.sql
@@ -0,0 +1,28 @@
+--- BF 2944056 https://sourceforge.net/tracker/?func=detail&aid=2944056&group_id=176962&atid=879332
+--- Fix Related and Substitute Inventory Quantity in the InfoProduct window
+
+DROP VIEW M_PRODUCT_SUBSTITUTERELATED_V;
+
+CREATE OR REPLACE VIEW M_PRODUCT_SUBSTITUTERELATED_V AS
+SELECT s.ad_client_id, s.ad_org_id, s.isactive, s.created, s.createdby, s.updated, s.updatedby,
+ s.m_product_id, s.substitute_id, 'S' AS rowtype, mp.name, sum(ms.qtyonhand - ms.qtyreserved) AS qtyavailable, sum(ms.qtyonhand) AS qtyonhand, sum(ms.qtyreserved) AS qtyreserved,
+ROUND(MAX(mpr.pricestd),0) AS pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id, org.name AS orgname
+ FROM m_substitute s
+ JOIN m_storage ms ON ms.m_product_id = s.substitute_id
+ JOIN m_product mp ON ms.m_product_id = mp.m_product_id
+ JOIN m_locator ml ON ms.m_locator_id = ml.m_locator_id
+ JOIN m_warehouse mw ON ml.m_warehouse_id = mw.m_warehouse_id
+ JOIN m_productprice mpr ON ms.m_product_id = mpr.m_product_id
+ JOIN ad_org org ON org.ad_org_id = mw.ad_org_id
+ GROUP BY s.ad_client_id, s.ad_org_id, s.isactive, s.created, s.createdby, s.updated, s.updatedby, s.m_product_id, s.substitute_id, mw.m_warehouse_id, mpr.m_pricelist_version_id, org.name, mp.name
+UNION
+ SELECT r.ad_client_id, r.ad_org_id, r.isactive, r.created, r.createdby, r.updated, r.updatedby,
+ r.m_product_id, r.relatedproduct_id AS substitute_id, 'R' AS rowtype, mp.name, sum(ms.qtyonhand - ms.qtyreserved) AS qtyavailable, sum(ms.qtyonhand) AS qtyonhand, sum(ms.qtyreserved) AS qtyreserved, round(MAX(mpr.pricestd),0) AS pricestd, mpr.m_pricelist_version_id, mw.m_warehouse_id, org.name AS orgname
+ FROM m_relatedproduct r
+ JOIN m_storage ms ON ms.m_product_id = r.relatedproduct_id
+ JOIN m_product mp ON ms.m_product_id = mp.m_product_id
+ JOIN m_locator ml ON ms.m_locator_id = ml.m_locator_id
+ JOIN m_warehouse mw ON ml.m_warehouse_id = mw.m_warehouse_id
+ JOIN m_productprice mpr ON ms.m_product_id = mpr.m_product_id
+ JOIN ad_org org ON org.ad_org_id = mw.ad_org_id
+ GROUP BY r.ad_client_id, r.ad_org_id, r.isactive, r.created, r.createdby, r.updated, r.updatedby, r.m_product_id, r.relatedproduct_id, mw.m_warehouse_id, mpr.m_pricelist_version_id, org.name, mp.name;
\ No newline at end of file
diff --git a/migration/354a-trunk/postgresql/661_FR_2945715_AdvancedSearchMsg.sql b/migration/354a-trunk/postgresql/661_FR_2945715_AdvancedSearchMsg.sql
new file mode 100644
index 0000000000..5209053c37
--- /dev/null
+++ b/migration/354a-trunk/postgresql/661_FR_2945715_AdvancedSearchMsg.sql
@@ -0,0 +1,30 @@
+-- Feb 8, 2010 3:00:56 PM EST
+-- Advanced search
+INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53092,0,TO_TIMESTAMP('2010-02-08 15:00:52','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','And/Or','I',TO_TIMESTAMP('2010-02-08 15:00:52','YYYY-MM-DD HH24:MI:SS'),100,'And/Or')
+;
+
+-- Feb 8, 2010 3:00:57 PM EST
+-- Advanced search
+INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53092 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
+;
+
+-- Feb 8, 2010 3:01:21 PM EST
+-- Advanced search
+INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53093,0,TO_TIMESTAMP('2010-02-08 15:01:19','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','AND','I',TO_TIMESTAMP('2010-02-08 15:01:19','YYYY-MM-DD HH24:MI:SS'),100,'AND')
+;
+
+-- Feb 8, 2010 3:01:21 PM EST
+-- Advanced search
+INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53093 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
+;
+
+-- Feb 8, 2010 3:01:42 PM EST
+-- Advanced search
+INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgType,Updated,UpdatedBy,Value) VALUES (0,53094,0,TO_TIMESTAMP('2010-02-08 15:01:34','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','OR','I',TO_TIMESTAMP('2010-02-08 15:01:34','YYYY-MM-DD HH24:MI:SS'),100,'OR')
+;
+
+-- Feb 8, 2010 3:01:42 PM EST
+-- Advanced search
+INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53094 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
+;
+
diff --git a/migration/354a-trunk/postgresql/662_BT_2944388.sql b/migration/354a-trunk/postgresql/662_BT_2944388.sql
new file mode 100644
index 0000000000..497088507c
--- /dev/null
+++ b/migration/354a-trunk/postgresql/662_BT_2944388.sql
@@ -0,0 +1,5 @@
+-- Feb 8, 2010 4:05:08 PM EST
+-- BF2944388
+UPDATE AD_Column SET IsIdentifier='Y', SeqNo=1,Updated=TO_TIMESTAMP('2010-02-08 16:05:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57563
+;
+
diff --git a/migration/354a-trunk/postgresql/663_FR2949534_ResetAllocation.sql b/migration/354a-trunk/postgresql/663_FR2949534_ResetAllocation.sql
new file mode 100644
index 0000000000..0b42e30c42
--- /dev/null
+++ b/migration/354a-trunk/postgresql/663_FR2949534_ResetAllocation.sql
@@ -0,0 +1,35 @@
+-- Feb 11, 2010 3:41:40 PM EST
+-- Reset Allocation
+INSERT INTO AD_Process (AccessLevel,AD_Client_ID,AD_Org_ID,AD_Process_ID,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,IsServerProcess,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value) VALUES ('2',0,0,53199,'org.compiere.process.AllocationReset',TO_TIMESTAMP('2010-02-11 15:41:38','YYYY-MM-DD HH24:MI:SS'),100,'Reset (delete) allocation of invoices to payments','D','Delete individual allocation. In contrast to "Reverse", the allocation is deleted (no trace), if the period is open.','Y','N','N','N','N','Reset Allocation Direct','Y',0,0,TO_TIMESTAMP('2010-02-11 15:41:38','YYYY-MM-DD HH24:MI:SS'),100,'C_Allocation_Reset_Direct')
+;
+
+-- Feb 11, 2010 3:41:40 PM EST
+-- Reset Allocation
+INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53199 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID)
+;
+
+-- Feb 11, 2010 3:43:37 PM EST
+-- Reset Allocation
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=10431
+;
+
+-- Feb 11, 2010 3:44:45 PM EST
+-- Reset Allocation
+UPDATE AD_Column SET AD_Process_ID=53199, AD_Reference_ID=28,Updated=TO_TIMESTAMP('2010-02-11 15:44:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12314
+;
+
+-- Feb 11, 2010 3:44:49 PM EST
+-- Reset Allocation
+UPDATE AD_Field SET Description='Reset (delete) allocation of invoices to payments', Name='Reset Allocation',Updated=TO_TIMESTAMP('2010-02-11 15:44:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10431
+;
+
+-- Feb 11, 2010 3:44:49 PM EST
+-- Reset Allocation
+UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=10431
+;
+
+-- Feb 11, 2010 3:50:09 PM EST
+-- Reset Allocation
+UPDATE AD_Column SET IsAlwaysUpdateable='Y',Updated=TO_TIMESTAMP('2010-02-11 15:50:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=12314
+;
+
diff --git a/migration/354a-trunk/postgresql/664_FR2934358_FixedTyposOnElements.sql b/migration/354a-trunk/postgresql/664_FR2934358_FixedTyposOnElements.sql
new file mode 100644
index 0000000000..cb8cf1e344
--- /dev/null
+++ b/migration/354a-trunk/postgresql/664_FR2934358_FixedTyposOnElements.sql
@@ -0,0 +1,260 @@
+UPDATE AD_ELEMENT SET DESCRIPTION='Trees are used for (financial) reporting and security access (via role)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=134;
+UPDATE AD_ELEMENT SET DESCRIPTION='Trees are used for (financial) reporting', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID IN (131,135,136,137,2514,2515);
+UPDATE AD_ELEMENT SET HELP='A Callout allow you to create Java extensions to perform certain tasks always after a value changed. Callouts should not be used for validation but consequences of a user selecting a certain value.
+The callout is a Java class implementing org.compiere.model.Callout and a method name to call. Example: "org.compiere.model.CalloutRequest.copyText" instantiates the class "CalloutRequest" and calls the method "copyText". You can have multiple callouts by separating them via a semicolon', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=224;
+UPDATE AD_ELEMENT SET HELP='The Costing Method indicates how costs will be calculated (Standard, Average, Lifo, FiFo). The default costing method is defined on accounting schema level and can be optionally overwritten in the product category. The costing method cannot conflict with the Material Movement Policy (defined on Product Category).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=241;
+UPDATE AD_ELEMENT SET NAME='Records deletable',PRINTNAME='Records deletable', HELP='The Records Deletable checkbox indicates if a record can be deleted from the database. If records cannot be deleted, you can only deselect the Active flag', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=366;
+UPDATE AD_ELEMENT SET HELP='The Sales Rep checkbox indicates if this business partner is a sales representative. A sales representative may also be an employee, but does not need to be.'
+, PO_HELP='The Sales Rep checkbox indicates if this business partner is a company agent. A company agent may also be an employee, but does not need to be.'
+, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=409;
+UPDATE AD_ELEMENT SET NAME='Updatable',PRINTNAME='Updatable', HELP='The Updatable checkbox indicates if a field can be updated by the user.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=422;
+UPDATE AD_ELEMENT SET NAME='User updatable',PRINTNAME='User updatable', HELP='The User Updatable checkbox indicate if the user can update this field.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=423;
+UPDATE AD_ELEMENT SET HELP='The Credit Limit indicates the total amount allowed "on account" in primary accounting currency. If the Credit Limit is 0, no check is performed. Credit Management is based on the Total Open Amount, which includes Vendor activities.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=553;
+UPDATE AD_ELEMENT SET HELP='The Order is a control document. The Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you close an order, unshipped (backordered) quantities are cancelled.'
+, PO_HELP='The Purchase Order is a control document. The Purchase Order is complete when the quantity ordered is the same as the quantity shipped and invoiced. When you close an order, unshipped (backordered) quantities are cancelled.'
+, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=558;
+UPDATE AD_ELEMENT SET HELP='The Enforce Price Limit check box indicates that prices cannot be below the limit price in Orders and Invoices. This can be overwritten, if the role allows this.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=882;
+UPDATE AD_ELEMENT SET HELP='The SO Sub Type indicates the type of sales order this document refers to. This field only appears when the Document Base Type is Sales Order. The selection made here will determine which documents will be generated when an order is processed and which documents must be generated manually or in batches.
+The following outlines this process.
+SO Sub Type of Standard Order will generate just the Order document when the order is processed.
+The Delivery Note, Invoice and Receipt must be generated via other processes.
+SO Sub Type of Warehouse Order will generate the Order and Delivery Note.
The Invoice and Receipt must be generated via other processes.
+SO Sub Type of Credit Order will generate the Order, Delivery Note and Invoice.
The Receipt must be generated via other processes.
+SO Sub Type of POS (Point of Sale) will generate all document', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1018;
+UPDATE AD_ELEMENT SET DESCRIPTION='Account for Vendor Service Liability', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1057;
+UPDATE AD_ELEMENT SET HELP='The Days After Due Date indicates the number of days after the payment due date to initiate dunning. If the number is negative, it includes not the not due invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1092;
+UPDATE AD_ELEMENT SET HELP='The Relative Priority indicates the location to pick from first if an product is stored in more than one location. (100 = highest priority, 0 = lowest). For outgoing shipments, the location is picked with the highest priority where the entire quantity can be shipped from. If there is no location, the location with the highest priority is used.
+The Priority is ignored for products with Guarantee Date (always the oldest first) or if a specific instance is selected.
+Incoming receipts are stored at the location with the highest priority, if not explicitly selected.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1145;
+UPDATE AD_ELEMENT SET HELP='When processing a web order, a confirmation is sent to the EMail address of the customer from the request EMail address copying this email address when entered.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=1993;
+UPDATE AD_ELEMENT SET HELP='Web Click Details', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2007;
+UPDATE AD_ELEMENT SET HELP='Attributes are specific to a Product Attribute Set (e.g. Size for T-Shirts: S,M,L). If you have multiple attributes and want to search under a common attribute, you define a search attribute. Example: have one Size search attribute combining the values of all different sizes (Size for Dress Shirt XL,L,M,S,XS). The Attribute Search allows you to have all values available for selection. This eases the maintenance of the individual product attribute.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2025;
+UPDATE AD_ELEMENT SET DESCRIPTION='Included Tab in this Tab (Master Detail)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2026;
+UPDATE AD_ELEMENT SET HELP='Internal (Operating System) Name of the Printer; Please mote that the printer name may be different on different clients. Enter a printer name, which applies to ALL clients (e.g. printer on a server).
+Reference means that the data in this system is read only ->
+Local means that the data in this system is not replicated to other systems -
+Merge means that the data in this system is synchronized with the other system <->
', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2137;
+UPDATE AD_ELEMENT SET HELP='If selected, public users can read/view the entry. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2139;
+UPDATE AD_ELEMENT SET HELP='If selected, public users can write/create entries. Public are users without a Role in the system. Use security rules for more specific access control.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2140;
+UPDATE AD_ELEMENT SET HELP='Set up knowledge categories and values as a search aid. Examples are Release Version, Product Area, etc. Knowledge Category values act like keywords.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2141;
+UPDATE AD_ELEMENT SET DESCRIPTION='Related Entry for this Entry'
+, HELP='Related Knowledge Entry for this Knowledge Entry'
+, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2145;
+UPDATE AD_ELEMENT SET HELP='The Source of a Knowledge Entry is a pointer to the originating system. The Knowledge Entry has an additional entry (Description URL) for more detailed info.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2146;
+UPDATE AD_ELEMENT SET DESCRIPTION='Knowledge Keyword Synonym', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2147;
+UPDATE AD_ELEMENT SET HELP='Topic or Discussion Thead', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2148;
+UPDATE AD_ELEMENT SET NAME='Knowledge Type', HELP='Area of knowledge - A Type has multiple Topics', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2149;
+UPDATE AD_ELEMENT SET DESCRIPTION='Name of the Project Cycle Step', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2165;
+UPDATE AD_ELEMENT SET DESCRIPTION='Minimum Amount in Document Currency', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2177;
+UPDATE AD_ELEMENT SET DESCRIPTION='Minimum number of guarantee days', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2197;
+UPDATE AD_ELEMENT SET HELP='If a line is Description Only, e.g. Product Inventory is not corrected. No accounting transactions are created and the amount or totals are not included in the document. This for including descriptive detail lines, e.g. for an Work Order.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2183;
+UPDATE AD_ELEMENT SET HELP='This allows to have the three general situations of "not open" - "open" - "closed"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2201;
+UPDATE AD_ELEMENT SET NAME='Calculate Maximum (?)', DESCRIPTION='Calculate the maximum amount', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2207;
+UPDATE AD_ELEMENT SET HELP='A running total creates a sum at the end of a page and on the top of the next page for all columns, which have a Sum function. You should define running total only once per format.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2212;
+UPDATE AD_ELEMENT SET DESCRIPTION='Electronic Funds Transfer Payee Account Information', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2233;
+UPDATE AD_ELEMENT SET DESCRIPTION='Shelf Life Days remaining to Guarantee Date (minus minimum guarantee days)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2237;
+UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life ((Guarantee Date-Today) / Guarantee Days) less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2240;
+UPDATE AD_ELEMENT SET HELP='Minimum Shelf Life of products with Guarantee Date instance. If > 0 you cannot select products with a shelf life less than the minimum shelf life, unless you select "Show All"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2264;
+UPDATE AD_ELEMENT SET DESCRIPTION='If selected, the product is displayed in the initial or any empty search'
+, HELP='In the display of products in the Web Store, the product is displayed in the initial view or if no search criteria are entered. To be displayed, the product must be in the price list used.'
+, UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2277;
+UPDATE AD_ELEMENT SET HELP='The loader definition provides the parameters to load bank statements from EFT formats like SWIFT (MT940) or OFX', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2283;
+UPDATE AD_ELEMENT SET DESCRIPTION='Date format used in the input format', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2286;
+UPDATE AD_ELEMENT SET HELP='Activity Result of the execution of the Workflow Process Instance', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2308;
+UPDATE AD_ELEMENT SET HELP='History of changes of the Workflow Process Activity', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2310;
+UPDATE AD_ELEMENT SET HELP='Semantics for multiple outgoing Transitions for a Node/Activity. AND represents multiple concurrent threads - XOR represents the first transition with a true Transition condition.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2337;
+UPDATE AD_ELEMENT SET HELP='You can create a bid for a topic. Depending on the type, the highest bidder wins the Topic - or you participate in funding for a Topic.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2360;
+UPDATE AD_ELEMENT SET HELP='Available Funds (from Payments) and Committed or Uncommitted funds for Bids', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2362;
+UPDATE AD_ELEMENT SET HELP='Available Funds (for Payments) and Committed or Uncommitted funds from Offers', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2364;
+UPDATE AD_ELEMENT SET DESCRIPTION='An Error occurred in the execution', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2395;
+UPDATE AD_ELEMENT SET DESCRIPTION='The response can have just the total amount for the RfQ', HELP='If not selected, the response must be provided per line', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2403;
+UPDATE AD_ELEMENT SET DESCRIPTION='Are Responses to the Request for Quotation accepted', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2404;
+UPDATE AD_ELEMENT SET DESCRIPTION='The response is the selected winner', HELP='The response is the selected winner. If selected on Response level, the line selections are ignored.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2405;
+UPDATE AD_ELEMENT SET DESCRIPTION='Product used to determine the price of the membership for the topic type', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2415;
+UPDATE AD_ELEMENT SET HELP='Consecutive range to', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2455;
+UPDATE AD_ELEMENT SET HELP='Define the method how the next occurrence is calculated', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2457;
+UPDATE AD_ELEMENT SET HELP='If selected and if the window / tab is not read only, you can always update the column. This might be useful for comments, etc.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2468;
+UPDATE AD_ELEMENT SET DESCRIPTION='Elapsed Time in milli seconds', HELP='Elapsed Time in milli seconds', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2474;
+UPDATE AD_ELEMENT SET DESCRIPTION='Distribution Run Lines define Distribution List, the Product and Quantities', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2486;
+UPDATE AD_ELEMENT SET HELP='Maintain and allow to transfer general statistics (number of clients, orgs, business partners, users, products, invoices) to get a better feeling for the application use. This information is not published.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2489;
+UPDATE AD_ELEMENT SET HELP='Forecast of Product Quantity by Period', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2499;
+UPDATE AD_ELEMENT SET HELP='The Total Open Balance Amount is the calculated open item amount for Customer and Vendor activity. If the Balance is below zero, we owe the Business Partner. The amount is used for Credit Management.
+Invoices and Payment Allocations determine the Open Balance (i.e. not Orders or Payments).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2562;
+UPDATE AD_ELEMENT SET HELP='The Attribute Value type determines the data/validation type', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2574;
+UPDATE AD_ELEMENT SET DESCRIPTION='Value set by Migration for post-Migration tasks.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2625;
+UPDATE AD_ELEMENT SET DESCRIPTION='Type of Workflow', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2626;
+UPDATE AD_ELEMENT SET HELP='When a document is due for too long without activity, a reminder is sent. 0 means no reminders.
+The Remind Days are the days when the next email reminder is sent.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2631;
+UPDATE AD_ELEMENT SET HELP='Internal name of the transaction', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2655;
+UPDATE AD_ELEMENT SET HELP='List of classes implementing the interface org.compiere.model.ModelValidator, separated by semicolon.
+The class is called for the client and allows to validate documents in the prepare stage and monitor model changes.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2670;
+UPDATE AD_ELEMENT SET HELP='This allows to have multiple closed status', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2723;
+UPDATE AD_ELEMENT SET HELP='The EMail address is used to send mails to users of the web store', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2731;
+UPDATE AD_ELEMENT SET DESCRIPTION='Assignment of Employee (User) to Job Position', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2763;
+UPDATE AD_ELEMENT SET HELP='Subscriber to invite to respond to RfQs', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2377;
+UPDATE AD_ELEMENT SET HELP='Once per operation', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2779;
+UPDATE AD_ELEMENT SET HELP='Change requests for a Bill of Materials. They can be automatically created from Requests, if enabled in the Request Type and the Request Group refers to a Bill of Materials', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2785;
+UPDATE AD_ELEMENT SET HELP='The Bill of Material Component determines what products, services and outside processing is included in producing the Product. It references the operation and determines it''s sequence.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2786;
+UPDATE AD_ELEMENT SET HELP='Phantom Component are not stored and produced with the product. This is an option to avoid maintaining an Engineering and Manufacturing Bill of Materials.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2788;
+UPDATE AD_ELEMENT SET DESCRIPTION='Optional Lead Time offset before starting production', HELP='Optional Lead Time offset before starting production', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2789;
+UPDATE AD_ELEMENT SET HELP='If selected, the user has full access to the Business Partner (BP) information (Business Documents like Orders, Invoices - Requests) or resources (Assets, Downloads). If you deselect it, the user has no access rights unless, you explicitly grant it in tab "BP Access"', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2835;
+UPDATE AD_ELEMENT SET DESCRIPTION='User/contact access to Business Partner information and resources', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2836;
+UPDATE AD_ELEMENT SET HELP='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2843;
+UPDATE AD_ELEMENT SET HELP='Note that the cost queue may not be the same as the physical movement cost queue due to differences in costing level and warehouse priority.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2845;
+UPDATE AD_ELEMENT SET HELP='Account used for posting matched product (item) expenses (e.g. AP Invoice, Invoice Match). You would use a different account then Product Expense, if you want to differentiate service related costs from item related costs. The balance on the clearing account should be zero and accounts for the timing difference between invoice receipt and matching.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2847;
+UPDATE AD_ELEMENT SET HELP='If selected, you will post service related revenue to a different receivables account and service related cost to a different payables account.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2849;
+UPDATE AD_ELEMENT SET HELP='Enter the number of records the query will return without confirmation to avoid unnecessary system load. If 0, the system default of 500 is used.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2853;
+UPDATE AD_ELEMENT SET HELP='Enter the number of records a user will be able to query to avoid unnecessary system load. If 0, no restrictions are imposed.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2854;
+UPDATE AD_ELEMENT SET HELP='The Posting Type Commitments is created when posting Purchase Orders; The Posting Type Reservation is created when posting Requisitions. This is used for budgetary control.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2860;
+UPDATE AD_ELEMENT SET HELP='Accounting related information for reconciliation with documents. It includes all revenue/expense and tax entries as a base for detail reporting', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2864;
+UPDATE AD_ELEMENT SET HELP='If selected AP tax is handled as expense, otherwise it is handled as a VAT credit.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2870;
+UPDATE AD_ELEMENT SET HELP='Budget Control allows you to restrict the use of expenditures, commitments (Purchase Orders) and reservations (Requisitions). If defined, you may not be able to approve Requisitions, Purchase Orders, or AP Invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2871;
+UPDATE AD_ELEMENT SET HELP='A user defined accounting element refers to a Adempiere table. This allows to use any table content as an accounting dimension (e.g. Project Task). Note that User Elements are optional and are populated from the context of the document (i.e. not requested)', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID IN (2877,2878);
+UPDATE AD_ELEMENT SET HELP='Visual representation of performance by color. The Schema has often three levels (e.g. red-yellow-green). Adempiere support two levels (e.g. red-green) or four levels (e.g. gray-bronze-silver-gold). Note that Measures without a goal are represented white. The percentages could be between 0 and unlimited (i.e. above 100%).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2903;
+UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio', HELP='Calculation instruction set for a performance ratio', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2919;
+UPDATE AD_ELEMENT SET DESCRIPTION='Performance Ratio Used', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2929;
+UPDATE AD_ELEMENT SET NAME='Next Maintenance',PRINTNAME='Next Maintenance', DESCRIPTION='Next Maintenance Date', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2932;
+UPDATE AD_ELEMENT SET DESCRIPTION='Next Maintenance Unit', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2934;
+UPDATE AD_ELEMENT SET HELP='The Meta Robots Tag define on how a search engines robot should handle this page and the following ones. It defines two keywords: (NO)INDEX which defines whether or not to index this content and (NO)FOLLOW which defines whether or not to follow links. The most common combination is INDEX,FOLLOW which will force a search robot to index the content and follow links and images.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2975;
+UPDATE AD_ELEMENT SET DESCRIPTION='Contains list of elements separated by CR', HELP='Contains a list of elements this template uses separated by a Carriage Return. Last line should be empty', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2983;
+UPDATE AD_ELEMENT SET HELP='A Container defines the abstract level around the content, it defines how the content gets displayed, indexed and stored.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2985;
+UPDATE AD_ELEMENT SET DESCRIPTION='External Link (URL) for the Container', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2988;
+UPDATE AD_ELEMENT SET HELP='This table contains all the media content like images, flash movies etc.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=2997;
+UPDATE AD_ELEMENT SET HELP='If we have a block in content where announce content and also sponsored links we should mention the sponsored ones', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3007;
+UPDATE AD_ELEMENT SET HELP='Media Server list to which content should get transferred', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3009;
+UPDATE AD_ELEMENT SET HELP='A container element defines the smallest definition of content, i.e. the headline, the content etc.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID IN (3013,3023);
+UPDATE AD_ELEMENT SET HELP='The date the revenue recognition starts.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3032;
+UPDATE AD_ELEMENT SET DESCRIPTION='Container Stage Template Table', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3050;
+UPDATE AD_ELEMENT SET HELP='The entity type determines the ownership of Application Dictionary entries. The types "Dictionary" and "Adempiere" should not be used and are maintained by Adempiere (i.e. all changes are reversed during migration to the current definition).', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3052;
+UPDATE AD_ELEMENT SET HELP='If your application requires additional jar files, enter them here. The jar files must be located in the $ADEMPIERE_HOME/lib directory.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3054;
+UPDATE AD_ELEMENT SET HELP='Keyword not to be indexed, optional restricted to specific Document Type, Container or Request Type', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3078;
+UPDATE AD_ELEMENT SET DESCRIPTION='Open Debit in document currency & rate', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3083;
+UPDATE AD_ELEMENT SET DESCRIPTION='Open Credit in document currency & rate', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3084;
+UPDATE AD_ELEMENT SET DESCRIPTION='Open Balance in document currency & rate', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3085;
+UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all due invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3088;
+UPDATE AD_ELEMENT SET HELP='The dunning letter with this level includes all not due invoices.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3089;
+UPDATE AD_ELEMENT SET HELP='The LDAP Server allows third party software (e.g. Apache) to use the users defined in the system to authenticate and authorize them. There is only one server per Adempiere system. The "o" is the Client key and the optional "ou" is the Interest Area key.', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=3093;
+UPDATE AD_ELEMENT SET PRINTNAME=NAME, DESCRIPTION='Table to check whether the migration script has been applied', UPDATED=TO_TIMESTAMP('2010-01-13 10:38:15','YYYY-MM-DD HH24:MI:SS')
+WHERE AD_ELEMENT_ID=53350;
+COMMIT;
diff --git a/migration/354a-trunk/postgresql/665_FR2952245_ImportDataPlanning.sql b/migration/354a-trunk/postgresql/665_FR2952245_ImportDataPlanning.sql
new file mode 100644
index 0000000000..c7298175da
--- /dev/null
+++ b/migration/354a-trunk/postgresql/665_FR2952245_ImportDataPlanning.sql
@@ -0,0 +1,2069 @@
+-- Feb 15, 2010 1:05:07 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Window (AD_Client_ID,AD_Org_ID,AD_Window_ID,Created,CreatedBy,EntityType,IsActive,IsBetaFunctionality,IsDefault,IsSOTrx,Name,Processing,Updated,UpdatedBy,WindowType) VALUES (0,0,53109,TO_TIMESTAMP('2010-02-15 13:05:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','N','Y','Import Product Planning','N',TO_TIMESTAMP('2010-02-15 13:05:05','YYYY-MM-DD HH24:MI:SS'),0,'M')
+;
+
+-- Feb 15, 2010 1:05:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53109 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID)
+;
+
+-- Feb 15, 2010 1:05:11 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Table (AD_Client_ID,AD_Org_ID,AD_Table_ID,AD_Window_ID,AccessLevel,Created,CreatedBy,EntityType,IsActive,IsChangeLog,IsDeleteable,IsHighVolume,IsSecurityEnabled,IsView,Name,ReplicationType,TableName,Updated,UpdatedBy) VALUES (0,0,53260,53109,'2',TO_TIMESTAMP('2010-02-15 13:05:09','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','Y','N','N','N','Import Product Planning','L','I_ProductPlanning',TO_TIMESTAMP('2010-02-15 13:05:09','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:11 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53260 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID)
+;
+
+-- Feb 15, 2010 1:05:12 PM CST
+-- Create new importer for Planning Data and Forecast
+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,53369,TO_TIMESTAMP('2010-02-15 13:05:11','YYYY-MM-DD HH24:MI:SS'),0,1000000,50000,'Table I_ProductPlanning',1,'Y','N','Y','Y','I_ProductPlanning','N',1000000,TO_TIMESTAMP('2010-02-15 13:05:11','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:13 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54117,0,'I_ProductPlanning_ID',TO_TIMESTAMP('2010-02-15 13:05:12','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','Import Product Planning','Import Product Planning',TO_TIMESTAMP('2010-02-15 13:05:12','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:13 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54117 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:05:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='10 Digit Identifier', EntityType='D', Help=NULL, IsActive='Y', Name='ID', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=13
+;
+
+-- Feb 15, 2010 1:05:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=13
+;
+
+-- Feb 15, 2010 1:05:15 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58977,54117,0,13,53260,'I_ProductPlanning_ID',TO_TIMESTAMP('2010-02-15 13:05:14','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','Y','Y','N','N','Y','N','N','Import Product Planning',TO_TIMESTAMP('2010-02-15 13:05:14','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:15 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58977 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:15 PM CST
+-- Create new importer for Planning Data and Forecast
+CREATE TABLE I_ProductPlanning (I_ProductPlanning_ID NUMERIC(10) NOT NULL, CONSTRAINT I_ProductPlanning_Key PRIMARY KEY (I_ProductPlanning_ID))
+;
+
+-- Feb 15, 2010 1:05:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='AD_Client_ID', Description='Client/Tenant for this installation.', EntityType='D', Help='A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.', IsActive='Y', Name='Client', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Client',Updated=TO_TIMESTAMP('2010-02-15 13:05:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=102
+;
+
+-- Feb 15, 2010 1:05:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=102
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Direct Table Access', EntityType='D', Help=NULL, IsActive='Y', Name='Table Direct', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=19
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=19
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58978,102,0,19,53260,'AD_Client_ID',TO_TIMESTAMP('2010-02-15 13:05:17','YYYY-MM-DD HH24:MI:SS'),0,'@AD_Client_ID@','Client/Tenant for this installation.','EE01',10,'A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Y','N','N','N','N','Y','N','N','Y','N','N','Client',TO_TIMESTAMP('2010-02-15 13:05:17','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58978 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:18 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN AD_Client_ID NUMERIC(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:18 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='AD_Org_ID', Description='Organizational entity within client', EntityType='D', Help='An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.', IsActive='Y', Name='Organization', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Organization',Updated=TO_TIMESTAMP('2010-02-15 13:05:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=113
+;
+
+-- Feb 15, 2010 1:05:18 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=113
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58979,113,0,19,53260,'AD_Org_ID',TO_TIMESTAMP('2010-02-15 13:05:18','YYYY-MM-DD HH24:MI:SS'),0,'@AD_Org_ID@','Organizational entity within client','EE01',10,'An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Y','N','N','N','N','Y','N','N','Y','N','N','Organization',TO_TIMESTAMP('2010-02-15 13:05:18','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58979 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN AD_Org_ID NUMERIC(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Created', Description='Date this record was created', EntityType='D', Help='The Created field indicates the date that this record was created.', IsActive='Y', Name='Created', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created',Updated=TO_TIMESTAMP('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=245
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=245
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Date with time', EntityType='D', Help=NULL, IsActive='Y', Name='Date+Time', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=16
+;
+
+-- Feb 15, 2010 1:05:19 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=16
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58980,245,0,16,53260,'Created',TO_TIMESTAMP('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was created','EE01',14,'The Created field indicates the date that this record was created.','Y','N','N','N','N','Y','N','N','Y','N','N','Created',TO_TIMESTAMP('2010-02-15 13:05:19','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58980 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Created TIMESTAMP NOT NULL
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='CreatedBy', Description='User who created this records', EntityType='D', Help='The Created By field indicates the user who created this record.', IsActive='Y', Name='Created By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Created By',Updated=TO_TIMESTAMP('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=246
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=246
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='10 Digit numeric', EntityType='D', Help=NULL, IsActive='Y', Name='Integer', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=11
+;
+
+-- Feb 15, 2010 1:05:20 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=11
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58981,246,0,11,53260,'CreatedBy',TO_TIMESTAMP('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),0,'User who created this records','EE01',14,'The Created By field indicates the user who created this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Created By',TO_TIMESTAMP('2010-02-15 13:05:20','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58981 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN CreatedBy NUMERIC(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsActive', Description='The record is active in the system', EntityType='D', Help='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.', IsActive='Y', Name='Active', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Active',Updated=TO_TIMESTAMP('2010-02-15 13:05:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=348
+;
+
+-- Feb 15, 2010 1:05:21 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=348
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='CheckBox', EntityType='D', Help=NULL, IsActive='Y', Name='Yes-No', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=20
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=20
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58982,348,0,20,53260,'IsActive',TO_TIMESTAMP('2010-02-15 13:05:22','YYYY-MM-DD HH24:MI:SS'),0,'Y','The record is active in the system','EE01',1,'There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports.
+There are two reasons for de-activating and not deleting records:
+(1) The system requires the record for audit purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Y','N','N','N','N','Y','N','N','Y','N','Y','Active',TO_TIMESTAMP('2010-02-15 13:05:22','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58982 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:22 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Updated', Description='Date this record was updated', EntityType='D', Help='The Updated field indicates the date that this record was updated.', IsActive='Y', Name='Updated', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated',Updated=TO_TIMESTAMP('2010-02-15 13:05:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=607
+;
+
+-- Feb 15, 2010 1:05:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=607
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58983,607,0,16,53260,'Updated',TO_TIMESTAMP('2010-02-15 13:05:23','YYYY-MM-DD HH24:MI:SS'),0,'Date this record was updated','EE01',7,'The Updated field indicates the date that this record was updated.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated',TO_TIMESTAMP('2010-02-15 13:05:23','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58983 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Updated TIMESTAMP NOT NULL
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='UpdatedBy', Description='User who updated this records', EntityType='D', Help='The Updated By field indicates the user who updated this record.', IsActive='Y', Name='Updated By', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Updated By',Updated=TO_TIMESTAMP('2010-02-15 13:05:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=608
+;
+
+-- Feb 15, 2010 1:05:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=608
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58984,608,0,11,53260,'UpdatedBy',TO_TIMESTAMP('2010-02-15 13:05:24','YYYY-MM-DD HH24:MI:SS'),0,'User who updated this records','EE01',14,'The Updated By field indicates the user who updated this record.','Y','N','N','N','N','Y','N','N','Y','N','N','Updated By',TO_TIMESTAMP('2010-02-15 13:05:24','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58984 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN UpdatedBy NUMERIC(10) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='BPartner_Value', Description='The Key of the Business Partner', EntityType='D', Help=NULL, IsActive='Y', Name='Business Partner Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Partner Key',Updated=TO_TIMESTAMP('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1906
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1906
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Character String', EntityType='D', Help=NULL, IsActive='Y', Name='String', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=10
+;
+
+-- Feb 15, 2010 1:05:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=10
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58985,1906,0,10,53260,'BPartner_Value',TO_TIMESTAMP('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),0,'The Key of the Business Partner','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner Key',TO_TIMESTAMP('2010-02-15 13:05:25','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58985 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN BPartner_Value VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='C_BPartner_ID', Description='Identifies a Business Partner', EntityType='D', Help='A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson', IsActive='Y', Name='Business Partner ', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Business Partner ',Updated=TO_TIMESTAMP('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=187
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=187
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Search Field', EntityType='D', Help=NULL, IsActive='Y', Name='Search', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=30
+;
+
+-- Feb 15, 2010 1:05:26 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=30
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58986,187,0,30,53260,'C_BPartner_ID',TO_TIMESTAMP('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner','EE01',22,'A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','N','N','N','N','N','N','N','Y','N','Y','Business Partner ',TO_TIMESTAMP('2010-02-15 13:05:26','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58986 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN C_BPartner_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='I_ErrorMsg', Description='Messages generated from import process', EntityType='D', Help='The Import Error Message displays any error messages generated during the import process.', IsActive='Y', Name='Import Error Message', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Import Error Message',Updated=TO_TIMESTAMP('2010-02-15 13:05:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=912
+;
+
+-- Feb 15, 2010 1:05:27 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=912
+;
+
+-- Feb 15, 2010 1:05:28 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58987,912,0,10,53260,'I_ErrorMsg',TO_TIMESTAMP('2010-02-15 13:05:27','YYYY-MM-DD HH24:MI:SS'),0,'Messages generated from import process','EE01',2000,'The Import Error Message displays any error messages generated during the import process.','Y','N','N','N','N','N','N','N','Y','N','Y','Import Error Message',TO_TIMESTAMP('2010-02-15 13:05:27','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:28 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58987 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:29 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN I_ErrorMsg VARCHAR(2000) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:29 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='I_IsImported', Description='Has this import been processed', EntityType='D', Help='The Imported check box indicates if this import has been processed.', IsActive='Y', Name='Imported', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Imported',Updated=TO_TIMESTAMP('2010-02-15 13:05:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=913
+;
+
+-- Feb 15, 2010 1:05:29 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=913
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58988,913,0,20,53260,'I_IsImported',TO_TIMESTAMP('2010-02-15 13:05:29','YYYY-MM-DD HH24:MI:SS'),0,'Has this import been processed','EE01',1,'The Imported check box indicates if this import has been processed.','Y','N','N','N','N','Y','N','N','Y','N','Y','Imported',TO_TIMESTAMP('2010-02-15 13:05:29','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58988 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN I_IsImported CHAR(1) CHECK (I_IsImported IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Processed', Description='The document has been processed', EntityType='D', Help='The Processed checkbox indicates that a document has been processed.', IsActive='Y', Name='Processed', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Processed',Updated=TO_TIMESTAMP('2010-02-15 13:05:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1047
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1047
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58989,1047,0,20,53260,'Processed',TO_TIMESTAMP('2010-02-15 13:05:30','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed','EE01',1,'The Processed checkbox indicates that a document has been processed.','Y','N','N','N','N','N','N','N','Y','N','N','Processed',TO_TIMESTAMP('2010-02-15 13:05:30','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:30 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58989 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Processed CHAR(1) DEFAULT NULL CHECK (Processed IN ('Y','N'))
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Processing', Description=NULL, EntityType='D', Help=NULL, IsActive='Y', Name='Process Now', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Process Now',Updated=TO_TIMESTAMP('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=524
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=524
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Command Button - starts a process', EntityType='D', Help=NULL, IsActive='Y', Name='Button', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=28
+;
+
+-- Feb 15, 2010 1:05:31 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=28
+;
+
+-- Feb 15, 2010 1:05:32 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process (AD_Client_ID,AD_Org_ID,AD_Process_ID,AccessLevel,Classname,Created,CreatedBy,Description,EntityType,Help,IsActive,IsBetaFunctionality,IsDirectPrint,IsReport,Name,ShowHelp,Statistic_Count,Statistic_Seconds,Updated,UpdatedBy,Value,WorkflowValue) VALUES (0,0,53200,'3','org.eevolution.process.ImportProductPlanning',TO_TIMESTAMP('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),0,'Import Product Planning and Forecast','EE01','Import and update product planning data and forecast','Y','N','N','N','Import Product Planning and Forecast','Y',0,0,TO_TIMESTAMP('2010-02-15 13:05:31','YYYY-MM-DD HH24:MI:SS'),0,'Import_ProductPlanning',NULL)
+;
+
+-- Feb 15, 2010 1:05:32 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=53200 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID)
+;
+
+-- Feb 15, 2010 1:05:33 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,1922,0,53200,53402,20,'DeleteOldImported',TO_TIMESTAMP('2010-02-15 13:05:32','YYYY-MM-DD HH24:MI:SS'),0,'Before processing delete old imported records in the import table','EE01',0,'Y','Y','N','N','Delete old imported records',30,TO_TIMESTAMP('2010-02-15 13:05:32','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:33 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53402 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
+;
+
+-- Feb 15, 2010 1:05:34 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,DefaultValue,Description,EntityType,FieldLength,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2169,0,53200,53403,20,'IsImportOnlyNoErrors',TO_TIMESTAMP('2010-02-15 13:05:33','YYYY-MM-DD HH24:MI:SS'),0,'Y','Only start the import, if there are no validation Errors','EE01',0,'Y','Y','N','N','Import only if No Errors',60,TO_TIMESTAMP('2010-02-15 13:05:33','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:05:34 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53403 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58990,524,0,53200,28,53260,'Processing',TO_TIMESTAMP('2010-02-15 13:05:34','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2010-02-15 13:05:34','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58990 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Processing CHAR(1) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='AD_Workflow_ID', Description='Workflow or combination of tasks', EntityType='D', Help='The Workflow field identifies a unique Workflow in the system.', IsActive='Y', Name='Workflow', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Workflow',Updated=TO_TIMESTAMP('2010-02-15 13:05:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=144
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=144
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Table List', EntityType='D', Help=NULL, IsActive='Y', Name='Table', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=18
+;
+
+-- Feb 15, 2010 1:05:35 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=18
+;
+
+-- Feb 15, 2010 1:05:36 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Val_Rule SET Code='WorkflowType=''M''', Description=NULL, EntityType='EE01', IsActive='Y', Name='AD_Workflow Manufacturing', Type='S',Updated=TO_TIMESTAMP('2010-02-15 13:05:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=52003
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,AD_Val_Rule_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58991,144,0,18,53260,52003,'AD_Workflow_ID',TO_TIMESTAMP('2010-02-15 13:05:36','YYYY-MM-DD HH24:MI:SS'),0,'Workflow or combination of tasks','EE01',22,'The Workflow field identifies a unique Workflow in the system.','Y','N','N','N','N','N','N','N','Y','N','Y','Workflow',TO_TIMESTAMP('2010-02-15 13:05:36','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58991 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN AD_Workflow_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='DD_NetworkDistribution_ID', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Network Distribution', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Network Distribution',Updated=TO_TIMESTAMP('2010-02-15 13:05:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53340
+;
+
+-- Feb 15, 2010 1:05:40 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53340
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58992,53340,0,18,53260,'DD_NetworkDistribution_ID',TO_TIMESTAMP('2010-02-15 13:05:40','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Network Distribution',TO_TIMESTAMP('2010-02-15 13:05:40','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58992 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN DD_NetworkDistribution_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='DeliveryTime_Promised', Description='Promised days between order and delivery', EntityType='D', Help='The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.', IsActive='Y', Name='Promised Delivery Time', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Promised Delivery Time',Updated=TO_TIMESTAMP('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1256
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1256
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Quantity data type', EntityType='D', Help=NULL, IsActive='Y', Name='Quantity', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=29
+;
+
+-- Feb 15, 2010 1:05:41 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=29
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58993,1256,0,29,53260,'DeliveryTime_Promised',TO_TIMESTAMP('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),0,'Promised days between order and delivery','EE01',10,'The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.','Y','N','N','N','N','N','N','N','Y','N','Y','Promised Delivery Time',TO_TIMESTAMP('2010-02-15 13:05:41','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58993 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN DeliveryTime_Promised NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsCreatePlan', Description='Indicates whether planned orders will be generated by MRP', EntityType='EE01', Help='Indicates whether planned orders will be generated by MRP, if this flag is not just MRP generate a ''Create'' action notice', IsActive='Y', Name='Create Plan', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Create Plan',Updated=TO_TIMESTAMP('2010-02-15 13:05:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53258
+;
+
+-- Feb 15, 2010 1:05:42 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53258
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58994,53258,0,20,53260,'IsCreatePlan',TO_TIMESTAMP('2010-02-15 13:05:42','YYYY-MM-DD HH24:MI:SS'),0,'Indicates whether planned orders will be generated by MRP','EE01',1,'Indicates whether planned orders will be generated by MRP, if this flag is not just MRP generate a ''Create'' action notice','Y','N','N','N','N','Y','N','N','Y','N','Y','Create Plan',TO_TIMESTAMP('2010-02-15 13:05:42','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58994 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN IsCreatePlan CHAR(1) CHECK (IsCreatePlan IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsMPS', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Is MPS', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Is MPS',Updated=TO_TIMESTAMP('2010-02-15 13:05:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53261
+;
+
+-- Feb 15, 2010 1:05:43 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53261
+;
+
+-- Feb 15, 2010 1:05:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58995,53261,0,20,53260,'IsMPS',TO_TIMESTAMP('2010-02-15 13:05:43','YYYY-MM-DD HH24:MI:SS'),0,'EE01',1,'Y','N','N','N','N','N','N','N','Y','N','Y','Is MPS',TO_TIMESTAMP('2010-02-15 13:05:43','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58995 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:48 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN IsMPS CHAR(1) DEFAULT NULL CHECK (IsMPS IN ('Y','N'))
+;
+
+-- Feb 15, 2010 1:05:49 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='IsPhantom', Description='Phantom Component', EntityType='D', Help='Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.', IsActive='Y', Name='Phantom', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Phantom',Updated=TO_TIMESTAMP('2010-02-15 13:05:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2788
+;
+
+-- Feb 15, 2010 1:05:49 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2788
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58996,2788,0,20,53260,'IsPhantom',TO_TIMESTAMP('2010-02-15 13:05:49','YYYY-MM-DD HH24:MI:SS'),0,'Phantom Component','EE01',1,'Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.','Y','N','N','N','N','Y','N','N','Y','N','Y','Phantom',TO_TIMESTAMP('2010-02-15 13:05:49','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58996 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN IsPhantom CHAR(1) CHECK (IsPhantom IN ('Y','N')) NOT NULL
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_Product_ID', Description='Product, Service, Item', EntityType='D', Help='Identifies an item which is either purchased or sold in this organization.', IsActive='Y', Name='Product', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product',Updated=TO_TIMESTAMP('2010-02-15 13:05:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=454
+;
+
+-- Feb 15, 2010 1:05:50 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=454
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58997,454,0,30,53260,'M_Product_ID',TO_TIMESTAMP('2010-02-15 13:05:50','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item','EE01',22,'Identifies an item which is either purchased or sold in this organization.','Y','N','N','N','N','N','N','N','Y','N','Y','Product',TO_TIMESTAMP('2010-02-15 13:05:50','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58997 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN M_Product_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_Warehouse_ID', Description='Storage Warehouse and Service Point', EntityType='D', Help='The Warehouse identifies a unique Warehouse where products are stored or Services are provided.', IsActive='Y', Name='Warehouse', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Warehouse',Updated=TO_TIMESTAMP('2010-02-15 13:05:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=459
+;
+
+-- Feb 15, 2010 1:05:51 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=459
+;
+
+-- Feb 15, 2010 1:05:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58998,459,0,19,53260,'M_Warehouse_ID',TO_TIMESTAMP('2010-02-15 13:05:51','YYYY-MM-DD HH24:MI:SS'),0,'-1','Storage Warehouse and Service Point','EE01',22,'The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','N','N','N','N','N','N','N','Y','N','Y','Warehouse',TO_TIMESTAMP('2010-02-15 13:05:51','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58998 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:52 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN M_Warehouse_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:53 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Max', Description='Maximum order quantity in UOM', EntityType='EE01', Help='The Maximum Order Quantity indicates the biggest quantity of this product which can be ordered.', IsActive='Y', Name='Maximum Order Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Maximum Order Qty',Updated=TO_TIMESTAMP('2010-02-15 13:05:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53264
+;
+
+-- Feb 15, 2010 1:05:53 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53264
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,58999,53264,0,29,53260,'Order_Max',TO_TIMESTAMP('2010-02-15 13:05:53','YYYY-MM-DD HH24:MI:SS'),0,'Maximum order quantity in UOM','EE01',10,'The Maximum Order Quantity indicates the biggest quantity of this product which can be ordered.','Y','N','N','N','N','N','N','N','Y','N','Y','Maximum Order Qty',TO_TIMESTAMP('2010-02-15 13:05:53','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58999 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Order_Max NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Min', Description='Minimum order quantity in UOM', EntityType='D', Help='The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.', IsActive='Y', Name='Minimum Order Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Minimum Order Qty',Updated=TO_TIMESTAMP('2010-02-15 13:05:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=942
+;
+
+-- Feb 15, 2010 1:05:54 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=942
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59000,942,0,29,53260,'Order_Min',TO_TIMESTAMP('2010-02-15 13:05:54','YYYY-MM-DD HH24:MI:SS'),0,'Minimum order quantity in UOM','EE01',14,'The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.','Y','N','N','N','N','N','N','N','Y','N','Y','Minimum Order Qty',TO_TIMESTAMP('2010-02-15 13:05:54','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59000 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Order_Min NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Pack', Description='Package order size in UOM (e.g. order set of 5 units)', EntityType='D', Help='The Order Pack Quantity indicates the number of units in each pack of this product.', IsActive='Y', Name='Order Pack Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Pack Qty',Updated=TO_TIMESTAMP('2010-02-15 13:05:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=943
+;
+
+-- Feb 15, 2010 1:05:55 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=943
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59001,943,0,29,53260,'Order_Pack',TO_TIMESTAMP('2010-02-15 13:05:55','YYYY-MM-DD HH24:MI:SS'),0,'Package order size in UOM (e.g. order set of 5 units)','EE01',14,'The Order Pack Quantity indicates the number of units in each pack of this product.','Y','N','N','N','N','N','N','N','Y','N','Y','Order Pack Qty',TO_TIMESTAMP('2010-02-15 13:05:55','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59001 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Order_Pack NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Period', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Order Period', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Period',Updated=TO_TIMESTAMP('2010-02-15 13:05:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53265
+;
+
+-- Feb 15, 2010 1:05:56 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53265
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59002,53265,0,29,53260,'Order_Period',TO_TIMESTAMP('2010-02-15 13:05:56','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Order Period',TO_TIMESTAMP('2010-02-15 13:05:56','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59002 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Order_Period NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Policy', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Order Policy', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Policy',Updated=TO_TIMESTAMP('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53266
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53266
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Reference List', EntityType='D', Help=NULL, IsActive='Y', Name='List', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=17
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=17
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='PP_Product_Planning Order Policy', ValidationType='L',Updated=TO_TIMESTAMP('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53228
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53228
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List SET AD_Reference_ID=53228, Description=NULL, EntityType='EE01', IsActive='Y', Name='Fixed Order Quantity', Value='FOQ',Updated=TO_TIMESTAMP('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53272
+;
+
+-- Feb 15, 2010 1:05:57 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53272
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List SET AD_Reference_ID=53228, Description=NULL, EntityType='EE01', IsActive='Y', Name='Lot-for-Lot', Value='LFL',Updated=TO_TIMESTAMP('2010-02-15 13:05:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53273
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53273
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List SET AD_Reference_ID=53228, Description=NULL, EntityType='EE01', IsActive='Y', Name='Period Order Quantity', Value='POQ',Updated=TO_TIMESTAMP('2010-02-15 13:05:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Ref_List_ID=53274
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_List_Trl SET IsTranslated='N' WHERE AD_Ref_List_ID=53274
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_Value_ID,AD_Table_ID,ColumnName,Created,CreatedBy,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59003,53266,0,17,53228,53260,'Order_Policy',TO_TIMESTAMP('2010-02-15 13:05:58','YYYY-MM-DD HH24:MI:SS'),0,'EE01',3,'Y','N','N','N','N','N','N','N','Y','N','Y','Order Policy',TO_TIMESTAMP('2010-02-15 13:05:58','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59003 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:58 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Order_Policy VARCHAR(3) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Order_Qty', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Order Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Order Qty',Updated=TO_TIMESTAMP('2010-02-15 13:05:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53267
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53267
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59004,53267,0,29,53260,'Order_Qty',TO_TIMESTAMP('2010-02-15 13:05:59','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Order Qty',TO_TIMESTAMP('2010-02-15 13:05:59','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59004 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:05:59 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Order_Qty NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Planner_ID', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Planner', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Planner',Updated=TO_TIMESTAMP('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53269
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53269
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='User selection', EntityType='D', Help=NULL, IsActive='Y', Name='AD_User', ValidationType='T',Updated=TO_TIMESTAMP('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=110
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=110
+;
+
+-- Feb 15, 2010 1:06:00 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_Table SET AD_Table_ID = 114, AD_Display = 213, AD_Key = 212, isValueDisplayed = 'N', OrderByClause = 'AD_User.Name', EntityType ='D', WhereClause = '' WHERE AD_Reference_ID = 110
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+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,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59005,53269,0,18,110,53260,164,'Planner_ID',TO_TIMESTAMP('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Planner',TO_TIMESTAMP('2010-02-15 13:06:00','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59005 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Planner_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='PP_Product_BOM_ID', Description='BOM & Formula', EntityType='EE01', Help=NULL, IsActive='Y', Name='BOM & Formula', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BOM & Formula',Updated=TO_TIMESTAMP('2010-02-15 13:06:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53245
+;
+
+-- Feb 15, 2010 1:06:01 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53245
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59006,53245,0,19,53260,'PP_Product_BOM_ID',TO_TIMESTAMP('2010-02-15 13:06:01','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula','EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','BOM & Formula',TO_TIMESTAMP('2010-02-15 13:06:01','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59006 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN PP_Product_BOM_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='SafetyStock', Description='Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs', EntityType='EE01', Help='Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.
+
+Rereference:
+http://en.wikipedia.org/wiki/Safety_stock', IsActive='Y', Name='Safety Stock Qty', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Safety Stock Qty',Updated=TO_TIMESTAMP('2010-02-15 13:06:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53354
+;
+
+-- Feb 15, 2010 1:06:02 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53354
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59007,53354,0,29,53260,'SafetyStock',TO_TIMESTAMP('2010-02-15 13:06:03','YYYY-MM-DD HH24:MI:SS'),0,'Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs','EE01',22,'Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.
+
+Rereference:
+http://en.wikipedia.org/wiki/Safety_stock','Y','N','N','N','N','N','N','N','Y','N','Y','Safety Stock Qty',TO_TIMESTAMP('2010-02-15 13:06:03','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59007 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN SafetyStock NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='S_Resource_ID', Description='Resource', EntityType='D', Help=NULL, IsActive='Y', Name='Resource', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Resource',Updated=TO_TIMESTAMP('2010-02-15 13:06:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1777
+;
+
+-- Feb 15, 2010 1:06:03 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1777
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Manufacturing Resources', EntityType='EE01', Help=NULL, IsActive='Y', Name='S_Resource_Manufacturing', ValidationType='T',Updated=TO_TIMESTAMP('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=53320
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=53320
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Ref_Table SET AD_Table_ID = 487, AD_Display = 6853, AD_Key = 6862, isValueDisplayed = 'N', OrderByClause = '', EntityType ='EE01', WhereClause = '' WHERE AD_Reference_ID = 53320
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Val_Rule SET Code='IsManufacturingResource=''Y'' AND ManufacturingResourceType=''PT''', Description=NULL, EntityType='EE01', IsActive='Y', Name='S_Resource Plant', Type='S',Updated=TO_TIMESTAMP('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=52002
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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,DefaultValue,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59008,1777,0,18,53320,53260,52002,'S_Resource_ID',TO_TIMESTAMP('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),0,'-1','Resource','EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Resource',TO_TIMESTAMP('2010-02-15 13:06:04','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59008 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:04 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN S_Resource_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:05 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='TimeFence', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Time Fence', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Time Fence',Updated=TO_TIMESTAMP('2010-02-15 13:06:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53270
+;
+
+-- Feb 15, 2010 1:06:05 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53270
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59009,53270,0,29,53260,'TimeFence',TO_TIMESTAMP('2010-02-15 13:06:05','YYYY-MM-DD HH24:MI:SS'),0,'EE01',22,'Y','N','N','N','N','N','N','N','Y','N','Y','Time Fence',TO_TIMESTAMP('2010-02-15 13:06:05','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59009 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN TimeFence NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='TransfertTime', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Transfert Time', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Transfert Time',Updated=TO_TIMESTAMP('2010-02-15 13:06:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53271
+;
+
+-- Feb 15, 2010 1:06:07 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53271
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59010,53271,0,29,53260,'TransfertTime',TO_TIMESTAMP('2010-02-15 13:06:07','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','Y','N','Y','Transfert Time',TO_TIMESTAMP('2010-02-15 13:06:07','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59010 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN TransfertTime NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='WorkingTime', Description='Workflow Simulation Execution Time', EntityType='D', Help='Amount of time the performer of the activity needs to perform the task in Duration Unit', IsActive='Y', Name='Working Time', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Working Time',Updated=TO_TIMESTAMP('2010-02-15 13:06:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2333
+;
+
+-- Feb 15, 2010 1:06:08 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2333
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59011,2333,0,29,53260,'WorkingTime',TO_TIMESTAMP('2010-02-15 13:06:08','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Simulation Execution Time','EE01',22,'Amount of time the performer of the activity needs to perform the task in Duration Unit','Y','N','N','N','N','N','N','N','Y','N','Y','Working Time',TO_TIMESTAMP('2010-02-15 13:06:08','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59011 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN WorkingTime NUMERIC DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Yield', Description='The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent', EntityType='EE01', Help='ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed.
+
+The expected yield for an Activity can be expressed as:
+
+Yield = Acceptable Units at Activity End x 100
+
+The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity.
+
+Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc
+
+Take care when setting yield to anything but 100% particularly when yied is used for multiples activities
+
+', IsActive='Y', Name='Yield %', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Yield %',Updated=TO_TIMESTAMP('2010-02-15 13:06:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53272
+;
+
+-- Feb 15, 2010 1:06:09 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53272
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59012,53272,0,11,53260,'Yield',TO_TIMESTAMP('2010-02-15 13:06:09','YYYY-MM-DD HH24:MI:SS'),0,'The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent','EE01',22,'ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed.
+
+The expected yield for an Activity can be expressed as:
+
+Yield = Acceptable Units at Activity End x 100
+
+The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity.
+
+Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc
+
+Take care when setting yield to anything but 100% particularly when yied is used for multiples activities
+
+','Y','N','N','N','N','N','N','N','Y','N','Y','Yield %',TO_TIMESTAMP('2010-02-15 13:06:09','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59012 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Yield NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='DatePromised', Description='Date Order was promised', EntityType='D', Help='The Date Promised indicates the date, if any, that an Order was promised for.', IsActive='Y', Name='Date Promised', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Date Promised',Updated=TO_TIMESTAMP('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=269
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=269
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference SET Description='Date mm/dd/yyyy', EntityType='D', Help=NULL, IsActive='Y', Name='Date', ValidationType='D',Updated=TO_TIMESTAMP('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Reference_ID=15
+;
+
+-- Feb 15, 2010 1:06:10 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=15
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59013,269,0,15,53260,'DatePromised',TO_TIMESTAMP('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised','EE01',7,'The Date Promised indicates the date, if any, that an Order was promised for.','Y','N','N','N','N','N','N','N','Y','N','Y','Date Promised',TO_TIMESTAMP('2010-02-15 13:06:10','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59013 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN DatePromised TIMESTAMP DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_Forecast_ID', Description='Material Forecast', EntityType='D', Help='Material Forecast', IsActive='Y', Name='Forecast', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast',Updated=TO_TIMESTAMP('2010-02-15 13:06:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2498
+;
+
+-- Feb 15, 2010 1:06:11 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2498
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59014,2498,0,19,53260,'M_Forecast_ID',TO_TIMESTAMP('2010-02-15 13:06:11','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast','EE01',22,'Material Forecast','Y','N','N','N','N','N','N','N','Y','N','Y','Forecast',TO_TIMESTAMP('2010-02-15 13:06:11','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59014 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN M_Forecast_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='Qty', Description='Quantity', EntityType='D', Help='The Quantity indicates the number of a specific product or item for this document.', IsActive='Y', Name='Quantity', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Qty',Updated=TO_TIMESTAMP('2010-02-15 13:06:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=526
+;
+
+-- Feb 15, 2010 1:06:12 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=526
+;
+
+-- Feb 15, 2010 1:06:13 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59015,526,0,29,53260,'Qty',TO_TIMESTAMP('2010-02-15 13:06:12','YYYY-MM-DD HH24:MI:SS'),0,'Quantity','EE01',22,'The Quantity indicates the number of a specific product or item for this document.','Y','N','N','N','N','Y','N','N','Y','N','Y','Quantity',TO_TIMESTAMP('2010-02-15 13:06:12','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:13 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59015 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:13 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Qty NUMERIC NOT NULL
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59016,1063,0,18,53260,'SalesRep_ID',TO_TIMESTAMP('2010-02-15 13:06:13','YYYY-MM-DD HH24:MI:SS'),0,'@#AD_User_ID@','Sales Representative or Company Agent','EE01',22,'The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','N','N','N','N','N','N','N','Y','N','Y','Sales Representative',TO_TIMESTAMP('2010-02-15 13:06:13','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59016 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN SalesRep_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='ProductValue', Description='Key of the Product', EntityType='D', Help=NULL, IsActive='Y', Name='Product Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Key',Updated=TO_TIMESTAMP('2010-02-15 13:06:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=1675
+;
+
+-- Feb 15, 2010 1:06:14 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=1675
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59017,1675,0,10,53260,'ProductValue',TO_TIMESTAMP('2010-02-15 13:06:14','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Product','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Product Key',TO_TIMESTAMP('2010-02-15 13:06:14','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59017 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN ProductValue VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='WarehouseValue', Description='Key of the Warehouse', EntityType='D', Help='Key to identify the Warehouse', IsActive='Y', Name='Warehouse Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Warehouse Key',Updated=TO_TIMESTAMP('2010-02-15 13:06:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2070
+;
+
+-- Feb 15, 2010 1:06:15 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2070
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59018,2070,0,10,53260,'WarehouseValue',TO_TIMESTAMP('2010-02-15 13:06:15','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Warehouse','EE01',40,'Key to identify the Warehouse','Y','N','N','N','N','N','N','N','Y','N','Y','Warehouse Key',TO_TIMESTAMP('2010-02-15 13:06:15','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59018 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN WarehouseValue VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='OrgValue', Description='Key of the Organization', EntityType='D', Help=NULL, IsActive='Y', Name='Org Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Org Key',Updated=TO_TIMESTAMP('2010-02-15 13:06:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2115
+;
+
+-- Feb 15, 2010 1:06:16 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2115
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59019,2115,0,10,53260,'OrgValue',TO_TIMESTAMP('2010-02-15 13:06:16','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Organization','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Org Key',TO_TIMESTAMP('2010-02-15 13:06:16','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59019 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN OrgValue VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54118,0,'NetworkDistributionValue',TO_TIMESTAMP('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Network Distribution','EE01','Y','Network Distribution Key','Network Distribution Key',TO_TIMESTAMP('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:17 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54118 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59020,54118,0,10,53260,'NetworkDistributionValue',TO_TIMESTAMP('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Network Distribution','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Network Distribution Key',TO_TIMESTAMP('2010-02-15 13:06:17','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59020 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN NetworkDistributionValue VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54119,0,'Product_BOM_Value',TO_TIMESTAMP('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0,'Key of Product BOM','U','Y','Product BOM Key','Product BOM Key',TO_TIMESTAMP('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:18 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54119 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:19 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59021,54119,0,10,53260,'Product_BOM_Value',TO_TIMESTAMP('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0,'Key of Product BOM','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Product BOM Key',TO_TIMESTAMP('2010-02-15 13:06:18','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:19 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59021 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:19 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN Product_BOM_Value VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54120,0,'ForecastValue',TO_TIMESTAMP('2010-02-15 13:06:19','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Forecast','EE01','Y','Forecast Key','Forecast Key',TO_TIMESTAMP('2010-02-15 13:06:19','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54120 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59022,54120,0,10,53260,'ForecastValue',TO_TIMESTAMP('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Forecast','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Forecast Key',TO_TIMESTAMP('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59022 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:20 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN ForecastValue VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:21 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54121,0,'ResourceValue',TO_TIMESTAMP('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Resource','EE01','Y','Resource Key','Resource Key',TO_TIMESTAMP('2010-02-15 13:06:20','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:21 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54121 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59023,54121,0,10,53260,'ResourceValue',TO_TIMESTAMP('2010-02-15 13:06:21','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Resource','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Resource Key',TO_TIMESTAMP('2010-02-15 13:06:21','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59023 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN ResourceValue VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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,54122,0,'PlannerValue',TO_TIMESTAMP('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0,'Search Key of the Planning','EE01','Y','Planner Key','Planner Key',TO_TIMESTAMP('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:22 PM CST
+-- Create new importer for Planning Data and Forecast
+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=54122 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59024,54122,0,10,53260,'PlannerValue',TO_TIMESTAMP('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0,'Search Key of the Planning','EE01',40,'Y','N','N','N','N','N','N','N','Y','N','Y','Planner Key',TO_TIMESTAMP('2010-02-15 13:06:22','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59024 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN PlannerValue VARCHAR(40) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='M_ForecastLine_ID', Description='Forecast Line', EntityType='D', Help='Forecast of Product Qyantity by Period', IsActive='Y', Name='Forecast Line', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Forecast Line',Updated=TO_TIMESTAMP('2010-02-15 13:06:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=2499
+;
+
+-- Feb 15, 2010 1:06:23 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2499
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59025,2499,0,19,53260,'M_ForecastLine_ID',TO_TIMESTAMP('2010-02-15 13:06:23','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Line','EE01',10,'Forecast of Product Qyantity by Period','Y','N','N','N','N','N','N','N','Y','N','N','Forecast Line',TO_TIMESTAMP('2010-02-15 13:06:23','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59025 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN M_ForecastLine_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='PP_Product_Planning_ID', Description=NULL, EntityType='EE01', Help=NULL, IsActive='Y', Name='Product Planning', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='Product Planning',Updated=TO_TIMESTAMP('2010-02-15 13:06:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=53268
+;
+
+-- Feb 15, 2010 1:06:24 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=53268
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59026,53268,0,19,53260,'PP_Product_Planning_ID',TO_TIMESTAMP('2010-02-15 13:06:24','YYYY-MM-DD HH24:MI:SS'),0,'EE01',10,'Y','N','N','N','N','N','N','N','Y','N','N','Product Planning',TO_TIMESTAMP('2010-02-15 13:06:24','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59026 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN PP_Product_Planning_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element SET ColumnName='VendorProductNo', Description='Product Key of the Business Partner', EntityType='D', Help='The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.', IsActive='Y', Name='Partner Product Key', PO_Description=NULL, PO_Help=NULL, PO_Name=NULL, PO_PrintName=NULL, PrintName='BPartner Product Key',Updated=TO_TIMESTAMP('2010-02-15 13:06:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Element_ID=623
+;
+
+-- Feb 15, 2010 1:06:25 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=623
+;
+
+-- Feb 15, 2010 1:06:31 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59027,623,0,10,53260,'VendorProductNo',TO_TIMESTAMP('2010-02-15 13:06:25','YYYY-MM-DD HH24:MI:SS'),0,'Product Key of the Business Partner','EE01',30,'The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.','Y','N','N','N','N','N','N','N','Y','N','Y','Partner Product Key',TO_TIMESTAMP('2010-02-15 13:06:25','YYYY-MM-DD HH24:MI:SS'),0,0)
+;
+
+-- Feb 15, 2010 1:06:31 PM CST
+-- Create new importer for Planning Data and Forecast
+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=59027 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 15, 2010 1:06:31 PM CST
+-- Create new importer for Planning Data and Forecast
+ALTER TABLE I_ProductPlanning ADD COLUMN VendorProductNo VARCHAR(30) DEFAULT NULL
+;
+
+-- Feb 15, 2010 1:06:32 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Tab (AD_Client_ID,AD_Org_ID,AD_Tab_ID,AD_Table_ID,AD_Window_ID,CommitWarning,Created,CreatedBy,EntityType,HasTree,IsActive,IsAdvancedTab,IsInfoTab,IsInsertRecord,IsReadOnly,IsSingleRow,IsSortTab,IsTranslationTab,Name,Processing,SeqNo,TabLevel,Updated,UpdatedBy) VALUES (0,0,53307,53260,53109,NULL,TO_TIMESTAMP('2010-02-15 13:06:31','YYYY-MM-DD HH24:MI:SS'),0,'EE01','N','Y','N','N','Y','N','N','N','N','Import Product Planning','N',10,0,TO_TIMESTAMP('2010-02-15 13:06:31','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:32 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53307 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID)
+;
+
+-- Feb 15, 2010 1:06:34 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58982,58726,0,53307,TO_TIMESTAMP('2010-02-15 13:06:32','YYYY-MM-DD HH24:MI:SS'),0,'The record is active in the system',1,'EE01','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','Active',0,0,TO_TIMESTAMP('2010-02-15 13:06:32','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:34 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58726 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:35 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59011,58727,0,53307,TO_TIMESTAMP('2010-02-15 13:06:34','YYYY-MM-DD HH24:MI:SS'),0,'Workflow Simulation Execution Time',22,'EE01','Amount of time the performer of the activity needs to perform the task in Duration Unit','Y','Y','N','N','N','N','Y','Working Time',0,0,TO_TIMESTAMP('2010-02-15 13:06:34','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:35 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58727 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:36 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58978,58728,0,53307,TO_TIMESTAMP('2010-02-15 13:06:35','YYYY-MM-DD HH24:MI:SS'),0,'Client/Tenant for this installation.',10,'EE01','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','Client',10,0,TO_TIMESTAMP('2010-02-15 13:06:35','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:36 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58728 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:37 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59026,50010,58729,0,53307,TO_TIMESTAMP('2010-02-15 13:06:36','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','Y','Y','Product Planning',20,0,TO_TIMESTAMP('2010-02-15 13:06:36','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:37 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58729 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:38 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59019,50010,58730,0,53307,TO_TIMESTAMP('2010-02-15 13:06:37','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Organization',22,'EE01','Y','Y','Y','N','N','N','N','Org Key',30,0,TO_TIMESTAMP('2010-02-15 13:06:37','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:38 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58730 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58979,50010,58731,0,53307,TO_TIMESTAMP('2010-02-15 13:06:38','YYYY-MM-DD HH24:MI:SS'),0,'Organizational entity within client',10,'EE01','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','Y','Organization',40,0,TO_TIMESTAMP('2010-02-15 13:06:38','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58731 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59017,50010,58732,0,53307,TO_TIMESTAMP('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Product',22,'EE01','Y','Y','Y','N','N','N','N','Product Key',50,0,TO_TIMESTAMP('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:39 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58732 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58997,50010,58733,0,53307,TO_TIMESTAMP('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0,'Product, Service, Item',22,'EE01','Identifies an item which is either purchased or sold in this organization.','Y','Y','Y','N','N','N','Y','Product',60,0,TO_TIMESTAMP('2010-02-15 13:06:39','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58733 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59016,50010,58734,0,53307,TO_TIMESTAMP('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0,'Sales Representative or Company Agent',22,'EE01','The Sales Representative indicates the Sales Rep for this Region. Any Sales Rep must be a valid internal user.','Y','Y','Y','N','N','N','N','Sales Representative',70,0,TO_TIMESTAMP('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:40 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58734 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59023,50010,58735,0,53307,TO_TIMESTAMP('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Resource',22,'EE01','Y','Y','Y','N','N','N','N','Resource Key',80,0,TO_TIMESTAMP('2010-02-15 13:06:40','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58735 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59008,50010,58736,0,53307,TO_TIMESTAMP('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0,'Resource',22,'EE01','Y','Y','Y','N','N','N','Y','Resource',90,0,TO_TIMESTAMP('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:41 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58736 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:42 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59018,50010,58737,0,53307,TO_TIMESTAMP('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Warehouse',22,'EE01','Key to identify the Warehouse','Y','Y','Y','N','N','N','N','Warehouse Key',100,0,TO_TIMESTAMP('2010-02-15 13:06:41','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:42 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58737 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58998,50010,58738,0,53307,TO_TIMESTAMP('2010-02-15 13:06:42','YYYY-MM-DD HH24:MI:SS'),0,'Storage Warehouse and Service Point',22,'EE01','The Warehouse identifies a unique Warehouse where products are stored or Services are provided.','Y','Y','Y','N','N','N','Y','Warehouse',110,0,TO_TIMESTAMP('2010-02-15 13:06:42','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58738 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59024,50010,58739,0,53307,TO_TIMESTAMP('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0,'Search Key of the Planning',22,'EE01','Y','Y','Y','N','N','N','N','Planner Key',120,0,TO_TIMESTAMP('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:43 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58739 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:44 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59005,50010,58740,0,53307,TO_TIMESTAMP('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Planner',130,0,TO_TIMESTAMP('2010-02-15 13:06:43','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:44 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58740 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:45 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59021,50010,58741,0,53307,TO_TIMESTAMP('2010-02-15 13:06:44','YYYY-MM-DD HH24:MI:SS'),0,'Key of Product BOM',22,'EE01','Y','Y','Y','N','N','N','N','Product BOM Key',140,0,TO_TIMESTAMP('2010-02-15 13:06:44','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:45 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58741 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59006,50010,58742,0,53307,TO_TIMESTAMP('2010-02-15 13:06:45','YYYY-MM-DD HH24:MI:SS'),0,'BOM & Formula',22,'EE01','Y','Y','Y','N','N','N','Y','BOM & Formula',150,0,TO_TIMESTAMP('2010-02-15 13:06:45','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58742 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58991,50010,58743,0,53307,TO_TIMESTAMP('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0,'Workflow or combination of tasks',60,'EE01','The Workflow field identifies a unique Workflow in the system.','Y','Y','Y','N','N','N','N','Workflow',160,0,TO_TIMESTAMP('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:46 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58743 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:47 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59020,50010,58744,0,53307,TO_TIMESTAMP('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Network Distribution',22,'EE01','Y','Y','Y','N','N','N','N','Network Distribution Key',170,0,TO_TIMESTAMP('2010-02-15 13:06:46','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:47 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58744 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58992,50010,58745,0,53307,TO_TIMESTAMP('2010-02-15 13:06:47','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Network Distribution',180,0,TO_TIMESTAMP('2010-02-15 13:06:47','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58745 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58995,50010,58746,0,53307,TO_TIMESTAMP('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','Y','Y','N','N','N','N','Is MPS',190,0,TO_TIMESTAMP('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:48 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58746 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58994,50010,58747,0,53307,TO_TIMESTAMP('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0,'Indicates whether planned orders will be generated by MRP',1,'EE01','Indicates whether planned orders will be generated by MRP, if this flag is not just MRP generate a ''Create'' action notice','Y','Y','Y','N','N','N','Y','Create Plan',200,0,TO_TIMESTAMP('2010-02-15 13:06:48','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58747 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58993,50010,58748,0,53307,TO_TIMESTAMP('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0,'Promised days between order and delivery',10,'EE01','The Promised Delivery Time indicates the number of days between the order date and the date that delivery was promised.','Y','Y','Y','N','N','N','N','Promised Delivery Time',210,0,TO_TIMESTAMP('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:49 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58748 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:50 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59009,50010,58749,0,53307,TO_TIMESTAMP('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Time Fence',220,0,TO_TIMESTAMP('2010-02-15 13:06:49','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:50 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58749 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59010,50010,58750,0,53307,TO_TIMESTAMP('2010-02-15 13:06:50','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','Y','N','N','N','N','Transfert Time',230,0,TO_TIMESTAMP('2010-02-15 13:06:50','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58750 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59003,50010,58751,0,53307,TO_TIMESTAMP('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0,3,'EE01','Y','Y','Y','N','N','N','Y','Order Policy',240,0,TO_TIMESTAMP('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:51 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58751 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59002,50010,58752,0,53307,TO_TIMESTAMP('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','N','Order Period',250,0,TO_TIMESTAMP('2010-02-15 13:06:51','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58752 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59004,50010,58753,0,53307,TO_TIMESTAMP('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0,22,'EE01','Y','Y','Y','N','N','N','Y','Order Qty',260,0,TO_TIMESTAMP('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:52 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58753 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:53 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59001,50010,58754,0,53307,TO_TIMESTAMP('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0,'Package order size in UOM (e.g. order set of 5 units)',14,'EE01','The Order Pack Quantity indicates the number of units in each pack of this product.','Y','Y','Y','N','N','N','N','Order Pack Qty',270,0,TO_TIMESTAMP('2010-02-15 13:06:52','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:53 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58754 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59000,50010,58755,0,53307,TO_TIMESTAMP('2010-02-15 13:06:53','YYYY-MM-DD HH24:MI:SS'),0,'Minimum order quantity in UOM',14,'EE01','The Minimum Order Quantity indicates the smallest quantity of this product which can be ordered.','Y','Y','Y','N','N','N','Y','Minimum Order Qty',280,0,TO_TIMESTAMP('2010-02-15 13:06:53','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58755 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58999,50010,58756,0,53307,TO_TIMESTAMP('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0,'Maximum order quantity in UOM',10,'EE01','The Maximum Order Quantity indicates the biggest quantity of this product which can be ordered.','Y','Y','Y','N','N','N','N','Maximum Order Qty',290,0,TO_TIMESTAMP('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:54 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58756 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:55 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59007,50010,58757,0,53307,TO_TIMESTAMP('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0,'Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs',22,'EE01','Safety stock is defined as extra units of inventory carried as protection against possible stockouts. It is held when an organization cannot accurately predict demand and/or lead time for the product.
+
+Rereference:
+http://en.wikipedia.org/wiki/Safety_stock','Y','Y','Y','N','N','N','Y','Safety Stock Qty',300,0,TO_TIMESTAMP('2010-02-15 13:06:54','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:55 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58757 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:56 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59012,50010,58758,0,53307,TO_TIMESTAMP('2010-02-15 13:06:55','YYYY-MM-DD HH24:MI:SS'),0,'The Yield is the percentage of a lot that is expected to be of acceptable wuality may fall below 100 percent',22,'EE01','ADempiere Calculate the total yield for a product from the yield for each activity when the process Workflow Cost Roll-Up is executed.
+
+The expected yield for an Activity can be expressed as:
+
+Yield = Acceptable Units at Activity End x 100
+
+The Total manufacturing yield for a product is determined by multiplying the yied percentage for each activity.
+
+Manufacturing Yield = Yield % for Activity 10 x Yied % for Activity 20 , etc
+
+Take care when setting yield to anything but 100% particularly when yied is used for multiples activities
+
+','Y','Y','Y','N','N','N','N','Yield %',310,0,TO_TIMESTAMP('2010-02-15 13:06:55','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:56 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58758 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58996,50010,58759,0,53307,TO_TIMESTAMP('2010-02-15 13:06:56','YYYY-MM-DD HH24:MI:SS'),0,'Phantom Component',1,'EE01','Phantom Component are not stored and produced with the product. This is an option to avild maintaining an Engineering and Manufacturing Bill of Materials.','Y','Y','Y','N','N','N','Y','Phantom',320,0,TO_TIMESTAMP('2010-02-15 13:06:56','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58759 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58985,106,58760,0,53307,TO_TIMESTAMP('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0,'The Key of the Business Partner',22,'EE01','Y','Y','Y','N','N','N','N','Business Partner Key',330,0,TO_TIMESTAMP('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:57 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58760 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:58 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58986,106,58761,0,53307,TO_TIMESTAMP('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0,'Identifies a Business Partner',22,'EE01','A Business Partner is anyone with whom you transact. This can include Vendor, Customer, Employee or Salesperson','Y','Y','Y','N','N','N','Y','Business Partner ',340,0,TO_TIMESTAMP('2010-02-15 13:06:57','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:58 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58761 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59027,106,58762,0,53307,TO_TIMESTAMP('2010-02-15 13:06:58','YYYY-MM-DD HH24:MI:SS'),0,'Product Key of the Business Partner',22,'EE01','The Business Partner Product Key identifies the number used by the Business Partner for this product. It can be printed on orders and invoices when you include the Product Key in the print format.','Y','Y','Y','N','N','N','N','Partner Product Key',350,0,TO_TIMESTAMP('2010-02-15 13:06:58','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58762 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59022,106,58763,0,53307,TO_TIMESTAMP('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0,'Key of the Forecast',22,'EE01','Y','Y','Y','N','N','N','N','Forecast Key',360,0,TO_TIMESTAMP('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:06:59 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58763 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:00 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59014,106,58764,0,53307,TO_TIMESTAMP('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0,'Material Forecast',22,'EE01','Material Forecast','Y','Y','Y','N','N','N','N','Forecast',370,0,TO_TIMESTAMP('2010-02-15 13:06:59','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:00 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58764 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:01 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59025,106,58765,0,53307,TO_TIMESTAMP('2010-02-15 13:07:00','YYYY-MM-DD HH24:MI:SS'),0,'Forecast Line',10,'EE01','Forecast of Product Qyantity by Period','Y','Y','Y','N','N','Y','Y','Forecast Line',380,0,TO_TIMESTAMP('2010-02-15 13:07:00','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:01 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58765 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59013,106,58766,0,53307,TO_TIMESTAMP('2010-02-15 13:07:01','YYYY-MM-DD HH24:MI:SS'),0,'Date Order was promised',7,'EE01','The Date Promised indicates the date, if any, that an Order was promised for.','Y','Y','Y','N','N','N','N','Date Promised',390,0,TO_TIMESTAMP('2010-02-15 13:07:01','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58766 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59015,106,58767,0,53307,TO_TIMESTAMP('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0,'Quantity',22,'EE01','The Quantity indicates the number of a specific product or item for this document.','Y','Y','Y','N','N','N','Y','Quantity',400,0,TO_TIMESTAMP('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:02 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58767 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:03 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58987,58768,0,53307,TO_TIMESTAMP('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0,'Messages generated from import process',2000,'EE01','The Import Error Message displays any error messages generated during the import process.','Y','Y','Y','N','N','Y','N','Import Error Message',410,0,TO_TIMESTAMP('2010-02-15 13:07:02','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:03 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58768 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58988,58769,0,53307,TO_TIMESTAMP('2010-02-15 13:07:03','YYYY-MM-DD HH24:MI:SS'),0,'Has this import been processed',1,'EE01','The Imported check box indicates if this import has been processed.','Y','Y','Y','N','N','Y','N','Imported',420,0,TO_TIMESTAMP('2010-02-15 13:07:03','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58769 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58989,58770,0,53307,TO_TIMESTAMP('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0,'The document has been processed',1,'EE01','The Processed checkbox indicates that a document has been processed.','Y','Y','Y','N','N','Y','Y','Processed',430,0,TO_TIMESTAMP('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:04 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58770 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:05 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58990,58771,0,53307,TO_TIMESTAMP('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0,1,'EE01','Y','N','Y','N','N','N','N','Import Product Planning Data',440,0,TO_TIMESTAMP('2010-02-15 13:07:04','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:05 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58771 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:06 PM CST
+-- Create new importer for Planning Data and Forecast
+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,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,58977,58772,0,53307,TO_TIMESTAMP('2010-02-15 13:07:05','YYYY-MM-DD HH24:MI:SS'),0,10,'EE01','Y','Y','N','N','N','N','N','Import Product Planning',0,0,TO_TIMESTAMP('2010-02-15 13:07:05','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:06 PM CST
+-- Create new importer for Planning Data and Forecast
+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=58772 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 15, 2010 1:07:07 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_Menu (AD_Client_ID,AD_Menu_ID,AD_Org_ID,AD_Window_ID,"action",Created,CreatedBy,EntityType,IsActive,IsReadOnly,IsSOTrx,IsSummary,Name,Updated,UpdatedBy) VALUES (0,53264,0,53109,'W',TO_TIMESTAMP('2010-02-15 13:07:06','YYYY-MM-DD HH24:MI:SS'),0,'EE01','Y','N','N','N','Import Product Planning',TO_TIMESTAMP('2010-02-15 13:07:06','YYYY-MM-DD HH24:MI:SS'),0)
+;
+
+-- Feb 15, 2010 1:07:07 PM CST
+-- Create new importer for Planning Data and Forecast
+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=53264 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID)
+;
+
+-- Feb 15, 2010 1:07:07 PM CST
+-- Create new importer for Planning Data and Forecast
+INSERT INTO AD_TREENODEMM(AD_Client_ID, AD_Org_ID, CreatedBy, UpdatedBy, Parent_ID, SeqNo, AD_Tree_ID, Node_ID)VALUES(0, 0, 0, 0, 163,4, 10, 53264)
+;
+
diff --git a/migration/354a-trunk/postgresql/666_BF2952456_PP_Identifiers.sql b/migration/354a-trunk/postgresql/666_BF2952456_PP_Identifiers.sql
new file mode 100644
index 0000000000..c91bcb3572
--- /dev/null
+++ b/migration/354a-trunk/postgresql/666_BF2952456_PP_Identifiers.sql
@@ -0,0 +1,20 @@
+-- Feb 15, 2010 5:40:55 PM CST
+-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
+UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', IsUpdateable='N', SeqNo=1,Updated=TO_TIMESTAMP('2010-02-15 17:40:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53389
+;
+
+-- Feb 15, 2010 5:41:22 PM CST
+-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
+UPDATE AD_Column SET Help=NULL, IsIdentifier='Y', SeqNo=2,Updated=TO_TIMESTAMP('2010-02-15 17:41:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53400
+;
+
+-- Feb 15, 2010 5:41:22 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Field SET Name='Resource', Description='Resource', Help=NULL WHERE AD_Column_ID=53400 AND IsCentrallyMaintained='Y'
+;
+
+-- Feb 15, 2010 5:41:44 PM CST
+-- Create new importer for Planning Data and Forecast
+UPDATE AD_Column SET AD_Reference_ID=19, AD_Reference_Value_ID=NULL, IsIdentifier='Y', SeqNo=3,Updated=TO_TIMESTAMP('2010-02-15 17:41:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=53390
+;
+
diff --git a/migration/354a-trunk/postgresql/667_FR2956390_SchedulerEnhancement.sql b/migration/354a-trunk/postgresql/667_FR2956390_SchedulerEnhancement.sql
new file mode 100644
index 0000000000..ade82e2b3b
--- /dev/null
+++ b/migration/354a-trunk/postgresql/667_FR2956390_SchedulerEnhancement.sql
@@ -0,0 +1,160 @@
+-- Feb 19, 2010 5:22:38 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54123,0,'IsIgnoreProcessingTime',TO_TIMESTAMP('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Ignore Processing Time','Ignore Proccessing Time',TO_TIMESTAMP('2010-02-19 17:22:35','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:22:38 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=54123 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 19, 2010 5:26:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54124,0,'CronPattern',TO_TIMESTAMP('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Cron Scheduling Pattern','Cron Scheduling Pattern',TO_TIMESTAMP('2010-02-19 17:26:04','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:26:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=54124 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Feb 19, 2010 5:29:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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,59028,54123,0,20,688,'IsIgnoreProcessingTime',TO_TIMESTAMP('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Do not include processing time for the DateNextRun calculation','D',1,'When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Ignore Processing Time',0,TO_TIMESTAMP('2010-02-19 17:29:09','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
+;
+
+-- Feb 19, 2010 5:29:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=59028 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 19, 2010 5:29:16 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+ALTER TABLE AD_Scheduler ADD COLUMN IsIgnoreProcessingTime CHAR(1) DEFAULT 'N' CHECK (IsIgnoreProcessingTime IN ('Y','N'))
+;
+
+-- Feb 19, 2010 5:46:42 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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,59029,54124,0,10,688,'CronPattern',TO_TIMESTAMP('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.','D',255,'Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Cron Scheduling Pattern',0,TO_TIMESTAMP('2010-02-19 17:46:38','YYYY-MM-DD HH24:MI:SS'),100,1.000000000000)
+;
+
+-- Feb 19, 2010 5:46:42 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=59029 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Feb 19, 2010 5:46:46 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+ALTER TABLE AD_Scheduler ADD COLUMN CronPattern VARCHAR(255) DEFAULT NULL
+;
+
+-- Feb 19, 2010 5:47:11 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2010-02-19 17:47:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247
+;
+
+-- Feb 19, 2010 5:47:18 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2010-02-19 17:47:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255
+;
+
+-- Feb 19, 2010 5:48:07 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:48:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=665
+;
+
+-- Feb 19, 2010 5:48:10 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Ref_List SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:48:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=664
+;
+
+-- Feb 19, 2010 5:49:04 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Ref_List (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Ref_List_ID,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,Value) VALUES (0,0,318,53574,TO_TIMESTAMP('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'Use cron style scheduling pattern','D','Y','Cron Scheduling Pattern',TO_TIMESTAMP('2010-02-19 17:49:02','YYYY-MM-DD HH24:MI:SS'),100,'C')
+;
+
+-- Feb 19, 2010 5:49:04 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=53574 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID)
+;
+
+-- Feb 19, 2010 5:53:21 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:53:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10053
+;
+
+-- Feb 19, 2010 5:53:26 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsActive='N',Updated=TO_TIMESTAMP('2010-02-19 17:53:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=10052
+;
+
+-- Feb 19, 2010 5:54:51 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59028,58773,0,589,TO_TIMESTAMP('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100,'Do not include processing time for the DateNextRun calculation',10,'@ScheduleType@=F','D','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Y','Y','Y','N','N','N','N','N','Ignore Processing Time',160,0,TO_TIMESTAMP('2010-02-19 17:54:49','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:54:51 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=58773 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 19, 2010 5:55:49 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,DisplayLogic,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsMandatory,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59029,58774,0,589,TO_TIMESTAMP('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100,'Cron pattern to define when the process should be invoked.',60,'@ScheduleType@=C','D','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Y','Y','Y','N','N','N','Y','N','N','Cron Scheduling Pattern',170,0,TO_TIMESTAMP('2010-02-19 17:55:48','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 19, 2010 5:55:49 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+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=58774 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10053
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10052
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=9437
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9430
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=58773
+;
+
+-- Feb 19, 2010 5:57:03 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=58774
+;
+
+-- Feb 19, 2010 5:57:21 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-02-19 17:57:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9430
+;
+
+-- Feb 19, 2010 5:57:28 PM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-02-19 17:57:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9437
+;
+
+-- Feb 22, 2010 9:31:45 AM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Message (AD_Client_ID,AD_Message_ID,AD_Org_ID,Created,CreatedBy,EntityType,IsActive,MsgText,MsgTip,MsgType,Updated,UpdatedBy,Value) VALUES (0,53095,0,TO_TIMESTAMP('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Invalid cron scheduling pattern','Invalid cron scheduling pattern - check syntax','E',TO_TIMESTAMP('2010-02-22 09:31:41','YYYY-MM-DD HH24:MI:SS'),100,'InvalidCronPattern')
+;
+
+-- Feb 22, 2010 9:31:45 AM MYT
+-- adding cron4j to the Adempiere scheduler - ID: 2950261
+INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=53095 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
+;
+
diff --git a/migration/354a-trunk/postgresql/668_FR2957782_PaySelection_DueDate_Para.sql b/migration/354a-trunk/postgresql/668_FR2957782_PaySelection_DueDate_Para.sql
new file mode 100644
index 0000000000..88cdb5d5c1
--- /dev/null
+++ b/migration/354a-trunk/postgresql/668_FR2957782_PaySelection_DueDate_Para.sql
@@ -0,0 +1,10 @@
+-- Feb 24, 2010 4:03:13 PM EST
+-- Payment selection due date parameter
+INSERT INTO AD_Process_Para (AD_Client_ID,AD_Element_ID,AD_Org_ID,AD_Process_ID,AD_Process_Para_ID,AD_Reference_ID,ColumnName,Created,CreatedBy,Description,DisplayLogic,EntityType,FieldLength,Help,IsActive,IsCentrallyMaintained,IsMandatory,IsRange,Name,SeqNo,Updated,UpdatedBy) VALUES (0,2000,0,156,53404,15,'DueDate',TO_TIMESTAMP('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100,'Date when the payment is due','@OnlyDue@=Y','D',7,'Date when the payment is due without deductions or discount','Y','Y','N','N','Due Date',45,TO_TIMESTAMP('2010-02-24 16:03:03','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Feb 24, 2010 4:03:13 PM EST
+-- Payment selection due date parameter
+INSERT INTO AD_Process_Para_Trl (AD_Language,AD_Process_Para_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Process_Para_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Process_Para t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_Para_ID=53404 AND NOT EXISTS (SELECT * FROM AD_Process_Para_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_Para_ID=t.AD_Process_Para_ID)
+;
+
diff --git a/migration/354a-trunk/postgresql/669_BF2904257.sql b/migration/354a-trunk/postgresql/669_BF2904257.sql
new file mode 100644
index 0000000000..46c8ddcd14
--- /dev/null
+++ b/migration/354a-trunk/postgresql/669_BF2904257.sql
@@ -0,0 +1,5 @@
+-- 01-mar-2010 12:10:16 COT
+-- Bug_2904257_wrong validation sql for M_InOutShipment/Receipt (RMA)
+UPDATE AD_Val_Rule SET Code='M_InOutLine.M_InOut_ID=@InOut_ID@',Updated=TO_TIMESTAMP('2010-03-01 12:10:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=52001
+;
+
diff --git a/migration/354a-trunk/postgresql/670_FR2962094_AddProcesssedOnColumn.sql b/migration/354a-trunk/postgresql/670_FR2962094_AddProcesssedOnColumn.sql
new file mode 100644
index 0000000000..35437b6717
--- /dev/null
+++ b/migration/354a-trunk/postgresql/670_FR2962094_AddProcesssedOnColumn.sql
@@ -0,0 +1,237 @@
+-- Mar 2, 2010 2:06:30 PM COT
+-- FR_2962094_Finish implementation of weighted average costing
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54128,0,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D','The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','Processed On','Processed On',TO_TIMESTAMP('2010-03-02 14:06:28','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 2, 2010 2:06:30 PM COT
+INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54128 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Mar 2, 2010 2:08:58 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59034,54128,0,22,735,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:08:57','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:08:58 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59034 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:09:03 PM COT
+ALTER TABLE C_AllocationHdr ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:09:54 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59035,54128,0,22,392,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:09:54','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:09:54 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59035 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:09:56 PM COT
+ALTER TABLE C_BankStatement ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:10:39 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59036,54128,0,22,407,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:10:38','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:10:39 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59036 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:10:42 PM COT
+ALTER TABLE C_Cash ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:11:19 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59037,54128,0,22,318,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:11:19','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:11:19 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59037 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:11:22 PM COT
+ALTER TABLE C_Invoice ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:11:48 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59038,54128,0,22,259,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:11:48','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:11:48 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59038 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:11:51 PM COT
+ALTER TABLE C_Order ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:12:19 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59039,54128,0,22,335,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:12:15','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:12:19 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59039 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:12:22 PM COT
+ALTER TABLE C_Payment ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:12:53 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59040,54128,0,22,623,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:12:52','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:12:53 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59040 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:12:55 PM COT
+ALTER TABLE C_ProjectIssue ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:13:31 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59041,54128,0,22,53037,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:13:31','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:13:31 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59041 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:13:34 PM COT
+ALTER TABLE DD_Order ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:13:58 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59042,54128,0,22,224,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:13:57','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:13:58 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59042 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:14:00 PM COT
+ALTER TABLE GL_Journal ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:14:24 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59043,54128,0,22,53092,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:14:24','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:14:24 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59043 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:14:36 PM COT
+ALTER TABLE HR_Process ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:15:02 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59044,54128,0,22,319,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:15:00','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:15:02 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59044 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:15:05 PM COT
+ALTER TABLE M_InOut ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:15:29 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59045,54128,0,22,321,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:15:28','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:15:29 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59045 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:15:30 PM COT
+ALTER TABLE M_Inventory ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:15:52 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59046,54128,0,22,472,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:15:51','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:15:52 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59046 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:15:53 PM COT
+ALTER TABLE M_MatchInv ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:16:16 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59047,54128,0,22,473,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:16:15','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:16:16 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59047 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:16:17 PM COT
+ALTER TABLE M_MatchPO ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:16:43 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59048,54128,0,22,323,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:16:42','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:16:43 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59048 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:16:44 PM COT
+ALTER TABLE M_Movement ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:17:09 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59049,54128,0,22,325,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:17:09','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:17:09 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59049 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:17:11 PM COT
+ALTER TABLE M_Production ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:17:33 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59050,54128,0,22,702,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:17:33','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:17:33 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59050 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:17:35 PM COT
+ALTER TABLE M_Requisition ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:18:10 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59051,54128,0,22,53035,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:18:09','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:18:10 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59051 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:18:12 PM COT
+ALTER TABLE PP_Cost_Collector ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
+-- Mar 2, 2010 2:18:38 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAlwaysUpdateable,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,SeqNo,Updated,UpdatedBy,Version) VALUES (0,59052,54128,0,22,53027,'ProcessedOn',TO_TIMESTAMP('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,'The date+time (expressed in decimal format) when the document has been processed','D',20,'The ProcessedOn Date+Time save the exact moment (nanoseconds precision if allowed by the DB) when a document has been processed.','Y','N','N','N','N','N','N','N','N','N','Y','Processed On',0,TO_TIMESTAMP('2010-03-02 14:18:38','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 2, 2010 2:18:38 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59052 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 2, 2010 2:18:40 PM COT
+ALTER TABLE PP_Order ADD COLUMN ProcessedOn NUMERIC DEFAULT NULL
+;
+
diff --git a/migration/354a-trunk/postgresql/671_FR2962094_FillProcesssedOn.sql b/migration/354a-trunk/postgresql/671_FR2962094_FillProcesssedOn.sql
new file mode 100644
index 0000000000..5d62b2c315
--- /dev/null
+++ b/migration/354a-trunk/postgresql/671_FR2962094_FillProcesssedOn.sql
@@ -0,0 +1,421 @@
+-- create temporary index
+CREATE INDEX tmp_ad_wf_activity_speed ON ad_wf_activity(ad_table_id, record_id);
+
+-- ****** SET ProcessedOn on table C_AllocationHdr ******
+
+-- try to get the processed from ad_changelog
+update C_AllocationHdr set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 735 and record_id = C_AllocationHdr.C_AllocationHdr_id and ad_column_id = 12309
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_AllocationHdr set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 735 and a.record_id = C_AllocationHdr.C_AllocationHdr_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_AllocationHdr set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_BankStatement ******
+
+-- try to get the processed from ad_changelog
+update C_BankStatement set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 392 and record_id = C_BankStatement.C_BankStatement_id and ad_column_id = 4924
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_BankStatement set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 392 and a.record_id = C_BankStatement.C_BankStatement_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_BankStatement set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Cash ******
+
+-- try to get the processed from ad_changelog
+update C_Cash set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 407 and record_id = C_Cash.C_Cash_id and ad_column_id = 5258
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Cash set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 407 and a.record_id = C_Cash.C_Cash_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Cash set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Invoice ******
+
+-- try to get the processed from ad_changelog
+update C_Invoice set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 318 and record_id = C_Invoice.C_Invoice_id and ad_column_id = 3497
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Invoice set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 318 and a.record_id = C_Invoice.C_Invoice_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Invoice set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Order ******
+
+-- try to get the processed from ad_changelog
+update C_Order set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 259 and record_id = C_Order.C_Order_id and ad_column_id = 3398
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Order set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 259 and a.record_id = C_Order.C_Order_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Order set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_Payment ******
+
+-- try to get the processed from ad_changelog
+update C_Payment set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 335 and record_id = C_Payment.C_Payment_id and ad_column_id = 3878
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_Payment set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 335 and a.record_id = C_Payment.C_Payment_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_Payment set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table C_ProjectIssue ******
+
+-- try to get the processed from ad_changelog
+update C_ProjectIssue set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 623 and record_id = C_ProjectIssue.C_ProjectIssue_id and ad_column_id = 9842
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update C_ProjectIssue set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 623 and a.record_id = C_ProjectIssue.C_ProjectIssue_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update C_ProjectIssue set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table DD_Order ******
+
+-- try to get the processed from ad_changelog
+update DD_Order set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 53037 and record_id = DD_Order.DD_Order_id and ad_column_id = 53912
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update DD_Order set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53037 and a.record_id = DD_Order.DD_Order_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update DD_Order set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table GL_Journal ******
+
+-- try to get the processed from ad_changelog
+update GL_Journal set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 224 and record_id = GL_Journal.GL_Journal_id and ad_column_id = 5953
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update GL_Journal set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 224 and a.record_id = GL_Journal.GL_Journal_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update GL_Journal set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table HR_Process ******
+
+-- try to get the processed from ad_changelog
+update HR_Process set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 53092 and record_id = HR_Process.HR_Process_id and ad_column_id = 54876
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update HR_Process set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53092 and a.record_id = HR_Process.HR_Process_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update HR_Process set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_InOut ******
+
+-- try to get the processed from ad_changelog
+update M_InOut set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 319 and record_id = M_InOut.M_InOut_id and ad_column_id = 3518
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_InOut set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 319 and a.record_id = M_InOut.M_InOut_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_InOut set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Inventory ******
+
+-- try to get the processed from ad_changelog
+update M_Inventory set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 321 and record_id = M_Inventory.M_Inventory_id and ad_column_id = 3553
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Inventory set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 321 and a.record_id = M_Inventory.M_Inventory_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Inventory set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_MatchInv ******
+
+-- try to get the processed from ad_changelog
+update M_MatchInv set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 472 and record_id = M_MatchInv.M_MatchInv_id and ad_column_id = 6511
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_MatchInv set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 472 and a.record_id = M_MatchInv.M_MatchInv_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_MatchInv set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_MatchPO ******
+
+-- try to get the processed from ad_changelog
+update M_MatchPO set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 473 and record_id = M_MatchPO.M_MatchPO_id and ad_column_id = 6527
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_MatchPO set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 473 and a.record_id = M_MatchPO.M_MatchPO_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_MatchPO set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Movement ******
+
+-- try to get the processed from ad_changelog
+update M_Movement set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 323 and record_id = M_Movement.M_Movement_id and ad_column_id = 3580
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Movement set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 323 and a.record_id = M_Movement.M_Movement_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Movement set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Production ******
+
+-- try to get the processed from ad_changelog
+update M_Production set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 325 and record_id = M_Production.M_Production_id and ad_column_id = 3609
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Production set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 325 and a.record_id = M_Production.M_Production_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Production set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table M_Requisition ******
+
+-- try to get the processed from ad_changelog
+update M_Requisition set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 702 and record_id = M_Requisition.M_Requisition_id and ad_column_id = 11473
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update M_Requisition set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 702 and a.record_id = M_Requisition.M_Requisition_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update M_Requisition set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table PP_Cost_Collector ******
+
+-- try to get the processed from ad_changelog
+update PP_Cost_Collector set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 53035 and record_id = PP_Cost_Collector.PP_Cost_Collector_id and ad_column_id = 53834
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update PP_Cost_Collector set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53035 and a.record_id = PP_Cost_Collector.PP_Cost_Collector_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update PP_Cost_Collector set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+
+
+-- ****** SET ProcessedOn on table PP_Order ******
+
+-- try to get the processed from ad_changelog
+update PP_Order set processedon =
+(select max(EXTRACT(EPOCH FROM updated)*1000) from ad_changelog
+ where ad_table_id = 53027 and record_id = PP_Order.PP_Order_id and ad_column_id = 53664
+ and (newvalue = 'Y' or newvalue = 'true') and (oldvalue = 'false' or oldvalue = 'NULL' or oldvalue is null))
+where processedon is null and processed = 'Y';
+
+-- if not then try to get the processed from ad_wf_activity
+update PP_Order set processedon =
+(select max(EXTRACT(EPOCH FROM a.updated)*1000) from ad_wf_activity a, ad_wf_node n
+where a.ad_table_id = 53027 and a.record_id = PP_Order.PP_Order_id
+and a.ad_wf_node_id = n.ad_wf_node_id and n.docaction = 'CO' and a.wfstate = 'CC')
+where processedon is null and processed = 'Y';
+
+-- fallback to created date
+update PP_Order set processedon = EXTRACT(EPOCH FROM created)*1000
+where processedon is null and processed = 'Y';
+
+-- drop temporary index
+DROP INDEX tmp_ad_wf_activity_speed;
diff --git a/migration/354a-trunk/postgresql/672_BF2948897.sql b/migration/354a-trunk/postgresql/672_BF2948897.sql
new file mode 100644
index 0000000000..05588a7d2a
--- /dev/null
+++ b/migration/354a-trunk/postgresql/672_BF2948897.sql
@@ -0,0 +1,15 @@
+-- Mar 4, 2010 1:33:05 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''DIS''',Updated=TO_TIMESTAMP('2010-03-04 13:33:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53141
+;
+
+-- Mar 4, 2010 1:33:13 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''SPL''',Updated=TO_TIMESTAMP('2010-03-04 13:33:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53151
+;
+
+-- Mar 4, 2010 1:33:21 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Tab SET WhereClause='A_Depreciation_Entry.A_Entry_Type=''TRN''',Updated=TO_TIMESTAMP('2010-03-04 13:33:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=53140
+;
+
diff --git a/migration/354a-trunk/postgresql/673_BF2948897.sql b/migration/354a-trunk/postgresql/673_BF2948897.sql
new file mode 100644
index 0000000000..d915069e7c
--- /dev/null
+++ b/migration/354a-trunk/postgresql/673_BF2948897.sql
@@ -0,0 +1,105 @@
+-- Mar 4, 2010 1:54:35 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_TIMESTAMP('2010-03-04 13:54:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55347
+;
+
+-- Mar 4, 2010 1:55:33 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_TIMESTAMP('2010-03-04 13:55:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
+;
+
+-- Mar 4, 2010 1:56:07 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO t_alter_column values('a_depreciation','Processed','CHAR(1)',null,'Y')
+;
+
+-- Mar 4, 2010 1:56:08 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation SET Processed='Y' WHERE Processed IS NULL
+;
+
+-- Mar 4, 2010 1:56:28 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2010-03-04 13:56:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55557
+;
+
+-- Mar 4, 2010 1:56:30 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO t_alter_column values('a_depreciation_entry','Processed','CHAR(1)',null,'N')
+;
+
+-- Mar 4, 2010 1:56:31 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation_Entry SET Processed='N' WHERE Processed IS NULL
+;
+
+-- Mar 4, 2010 1:56:58 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=53111, AD_Reference_ID=28,Updated=TO_TIMESTAMP('2010-03-04 13:56:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55703
+;
+
+-- Mar 4, 2010 1:57:00 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO t_alter_column values('a_depreciation_build','Processing','CHAR(1)',null,'NULL')
+;
+
+-- Mar 4, 2010 1:57:15 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_TIMESTAMP('2010-03-04 13:57:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55700
+;
+
+-- Mar 4, 2010 1:57:19 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO t_alter_column values('a_depreciation_build','Processed','CHAR(1)',null,'N')
+;
+
+-- Mar 4, 2010 1:58:11 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Process_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,Updated,UpdatedBy,Version) VALUES (0,59065,524,0,53123,28,53125,'Processing',TO_TIMESTAMP('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,'D',1,'Y','Y','N','N','N','N','N','Y','N','N','Y','N','Y','Process Now',TO_TIMESTAMP('2010-03-04 13:58:09','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 4, 2010 1:58:11 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+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=59065 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 4, 2010 1:58:36 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2010-03-04 13:58:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59065
+;
+
+-- Mar 4, 2010 1:58:38 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+ALTER TABLE A_Depreciation_Convention ADD COLUMN Processing CHAR(1) DEFAULT NULL
+;
+
+-- Mar 4, 2010 1:58:51 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20, DefaultValue='N',Updated=TO_TIMESTAMP('2010-03-04 13:58:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55736
+;
+
+-- Mar 4, 2010 1:58:54 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO t_alter_column values('a_depreciation_convention','Processed','CHAR(1)',null,'N')
+;
+
+-- Mar 4, 2010 1:58:54 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation_Convention SET Processed='N' WHERE Processed IS NULL
+;
+
+-- Mar 4, 2010 1:59:46 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE AD_Column SET AD_Process_ID=NULL, AD_Reference_ID=20,Updated=TO_TIMESTAMP('2010-03-04 13:59:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55747
+;
+
+-- Mar 4, 2010 1:59:49 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+INSERT INTO t_alter_column values('a_depreciation_method','Processed','CHAR(1)',null,'Y')
+;
+
+-- Mar 4, 2010 1:59:49 PM COT
+-- BF2948897_Fixed Assets Dictionary Errors
+UPDATE A_Depreciation_Method SET Processed='Y' WHERE Processed IS NULL
+;
+
diff --git a/migration/354a-trunk/postgresql/674_FR2965494.sql b/migration/354a-trunk/postgresql/674_FR2965494.sql
new file mode 100644
index 0000000000..f33d0790b1
--- /dev/null
+++ b/migration/354a-trunk/postgresql/674_FR2965494.sql
@@ -0,0 +1,311 @@
+-- Mar 8, 2010 4:20:41 PM CET
+-- Import of Order Source
+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,59066,53942,0,19,591,'C_OrderSource_ID',TO_TIMESTAMP('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,'D',10,'Y','N','N','N','N','N','N','N','N','N','N','N','Y','Order Source',0,TO_TIMESTAMP('2010-03-08 16:20:39','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 4:20:41 PM CET
+-- Import of Order Source
+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=59066 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 4:20:44 PM CET
+-- Import of Order Source
+ALTER TABLE I_Order ADD COLUMN C_OrderSource_ID NUMERIC(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 4:23:40 PM CET
+-- Import of Order Source
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,EntityType,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54129,0,'C_OrderSourceValue',TO_TIMESTAMP('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Order Source Key','Order Source Key',TO_TIMESTAMP('2010-03-08 16:23:39','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 4:23:40 PM CET
+-- Import of Order Source
+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=54129 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Mar 8, 2010 4:27:20 PM CET
+-- Import of Order Source
+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,59068,54129,0,10,591,'C_OrderSourceValue',TO_TIMESTAMP('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,'D',40,'Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Order Source Key',0,TO_TIMESTAMP('2010-03-08 16:27:19','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 4:27:20 PM CET
+-- Import of Order Source
+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=59068 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 4:27:27 PM CET
+-- Import of Order Source
+ALTER TABLE I_Order ADD COLUMN C_OrderSourceValue VARCHAR(40) DEFAULT NULL
+;
+
+
+
+-- Mar 8, 2010 4:32:35 PM CET
+-- Import of Order Source
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59068,58779,0,512,TO_TIMESTAMP('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source Key',590,0,TO_TIMESTAMP('2010-03-08 16:32:33','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 4:32:35 PM CET
+-- Import of Order Source
+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=58779 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 4:33:50 PM CET
+-- Import of Order Source
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,DisplayLength,EntityType,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59066,58780,0,512,TO_TIMESTAMP('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100,0,'D','Y','Y','Y','N','N','N','N','N','Order Source',600,0,TO_TIMESTAMP('2010-03-08 16:33:47','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 4:33:50 PM CET
+-- Import of Order Source
+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=58780 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 4:33:58 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET IsSameLine='Y',Updated=TO_TIMESTAMP('2010-03-08 16:33:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58780
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7347
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=7334
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=7328
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=7319
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=7323
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=7324
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=7337
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=7315
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=7355
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=7356
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=7338
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=7322
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=7359
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=7336
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=7318
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=7330
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=7339
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=7325
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=7341
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=7346
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=7345
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=7331
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=7317
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=7360
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=7354
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=7340
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=7645
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=7332
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=7353
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=7361
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=7358
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=7350
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=7640
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=7644
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=7641
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=7326
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=7642
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=7643
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=7343
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=8262
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=8263
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=7329
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=7357
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56402
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56403
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=58779
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=58780
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=7327
+;
+
+-- Mar 8, 2010 4:35:20 PM CET
+-- Import of Order Source
+UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=7335
+;
diff --git a/migration/354a-trunk/postgresql/675_FR2962094_AddAverageCostVarianceDefaultAcct.sql b/migration/354a-trunk/postgresql/675_FR2962094_AddAverageCostVarianceDefaultAcct.sql
new file mode 100644
index 0000000000..dba1cfa8dc
--- /dev/null
+++ b/migration/354a-trunk/postgresql/675_FR2962094_AddAverageCostVarianceDefaultAcct.sql
@@ -0,0 +1,413 @@
+-- Mar 8, 2010 8:44:44 PM COT
+-- FR2962094_Finish implementation of weighted average costing
+INSERT INTO AD_Element (AD_Client_ID,AD_Element_ID,AD_Org_ID,ColumnName,Created,CreatedBy,Description,EntityType,Help,IsActive,Name,PrintName,Updated,UpdatedBy) VALUES (0,54132,0,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Average Cost Variance','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:44:43','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:44:44 PM COT
+INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Description,Help,Name,PO_Description,PO_Help,PO_Name,PO_PrintName,PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Element_ID, t.Description,t.Help,t.Name,t.PO_Description,t.PO_Help,t.PO_Name,t.PO_PrintName,t.PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=54132 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID)
+;
+
+-- Mar 8, 2010 8:46:06 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59071,54132,0,25,315,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:46:05','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 8:46:06 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59071 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 8:46:19 PM COT
+ALTER TABLE C_AcctSchema_Default ADD COLUMN P_AverageCostVariance_Acct NUMERIC(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 8:46:45 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59072,54132,0,25,401,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:46:45','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 8:46:45 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59072 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 8:46:50 PM COT
+ALTER TABLE M_Product_Category_Acct ADD COLUMN P_AverageCostVariance_Acct NUMERIC(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 8:47:12 PM COT
+INSERT INTO AD_Column (AD_Client_ID,AD_Column_ID,AD_Element_ID,AD_Org_ID,AD_Reference_ID,AD_Table_ID,ColumnName,Created,CreatedBy,Description,EntityType,FieldLength,Help,IsActive,IsAllowLogging,IsAlwaysUpdateable,IsAutocomplete,IsEncrypted,IsIdentifier,IsKey,IsMandatory,IsParent,IsSelectionColumn,IsSyncDatabase,IsTranslated,IsUpdateable,Name,Updated,UpdatedBy,Version) VALUES (0,59073,54132,0,25,273,'P_AverageCostVariance_Acct',TO_TIMESTAMP('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance','D',10,'The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','N','N','N','N','N','N','N','N','N','N','Y','Average Cost Variance',TO_TIMESTAMP('2010-03-08 20:47:11','YYYY-MM-DD HH24:MI:SS'),100,0)
+;
+
+-- Mar 8, 2010 8:47:12 PM COT
+INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=59073 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID)
+;
+
+-- Mar 8, 2010 8:47:17 PM COT
+ALTER TABLE M_Product_Acct ADD COLUMN P_AverageCostVariance_Acct NUMERIC(10) DEFAULT NULL
+;
+
+-- Mar 8, 2010 8:49:30 PM COT
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_FieldGroup_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59071,106,58783,0,252,TO_TIMESTAMP('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',770,0,TO_TIMESTAMP('2010-03-08 20:49:29','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:49:30 PM COT
+INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58783 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=58783
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=4861
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=4862
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=2663
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=320,IsDisplayed='Y' WHERE AD_Field_ID=4863
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=330,IsDisplayed='Y' WHERE AD_Field_ID=2662
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=340,IsDisplayed='Y' WHERE AD_Field_ID=3824
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=350,IsDisplayed='Y' WHERE AD_Field_ID=2654
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=360,IsDisplayed='Y' WHERE AD_Field_ID=3835
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=370,IsDisplayed='Y' WHERE AD_Field_ID=56529
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=380,IsDisplayed='Y' WHERE AD_Field_ID=56522
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=390,IsDisplayed='Y' WHERE AD_Field_ID=56524
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=400,IsDisplayed='Y' WHERE AD_Field_ID=56528
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=410,IsDisplayed='Y' WHERE AD_Field_ID=56527
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=420,IsDisplayed='Y' WHERE AD_Field_ID=56525
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=430,IsDisplayed='Y' WHERE AD_Field_ID=56523
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=440,IsDisplayed='Y' WHERE AD_Field_ID=56520
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=450,IsDisplayed='Y' WHERE AD_Field_ID=56521
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=460,IsDisplayed='Y' WHERE AD_Field_ID=56526
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=470,IsDisplayed='Y' WHERE AD_Field_ID=56550
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=480,IsDisplayed='Y' WHERE AD_Field_ID=56551
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=490,IsDisplayed='Y' WHERE AD_Field_ID=3842
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=500,IsDisplayed='Y' WHERE AD_Field_ID=3841
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=510,IsDisplayed='Y' WHERE AD_Field_ID=3846
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=520,IsDisplayed='Y' WHERE AD_Field_ID=5133
+;
+
+-- Mar 8, 2010 8:50:01 PM COT
+UPDATE AD_Field SET SeqNo=530,IsDisplayed='Y' WHERE AD_Field_ID=5132
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=540,IsDisplayed='Y' WHERE AD_Field_ID=3843
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=550,IsDisplayed='Y' WHERE AD_Field_ID=3845
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=560,IsDisplayed='Y' WHERE AD_Field_ID=3844
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=570,IsDisplayed='Y' WHERE AD_Field_ID=3849
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=580,IsDisplayed='Y' WHERE AD_Field_ID=3850
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=590,IsDisplayed='Y' WHERE AD_Field_ID=5138
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=600,IsDisplayed='Y' WHERE AD_Field_ID=3847
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=610,IsDisplayed='Y' WHERE AD_Field_ID=3839
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=620,IsDisplayed='Y' WHERE AD_Field_ID=3837
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=630,IsDisplayed='Y' WHERE AD_Field_ID=3840
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=640,IsDisplayed='Y' WHERE AD_Field_ID=3838
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=650,IsDisplayed='Y' WHERE AD_Field_ID=3836
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=660,IsDisplayed='Y' WHERE AD_Field_ID=3851
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=670,IsDisplayed='Y' WHERE AD_Field_ID=3852
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=680,IsDisplayed='Y' WHERE AD_Field_ID=3830
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=690,IsDisplayed='Y' WHERE AD_Field_ID=3831
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=700,IsDisplayed='Y' WHERE AD_Field_ID=3832
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=710,IsDisplayed='Y' WHERE AD_Field_ID=3833
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=720,IsDisplayed='Y' WHERE AD_Field_ID=4092
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=730,IsDisplayed='Y' WHERE AD_Field_ID=4093
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=740,IsDisplayed='Y' WHERE AD_Field_ID=5134
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=750,IsDisplayed='Y' WHERE AD_Field_ID=4094
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=760,IsDisplayed='Y' WHERE AD_Field_ID=4095
+;
+
+-- Mar 8, 2010 8:50:02 PM COT
+UPDATE AD_Field SET SeqNo=770,IsDisplayed='Y' WHERE AD_Field_ID=3823
+;
+
+-- Mar 8, 2010 8:50:56 PM COT
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59072,58784,0,324,TO_TIMESTAMP('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',310,0,TO_TIMESTAMP('2010-03-08 20:50:55','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:50:56 PM COT
+INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58784 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=58784
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=4872
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=4873
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=3944
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56539
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56532
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56534
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56538
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56537
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56535
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56533
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56530
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56531
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56536
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=290,IsDisplayed='Y' WHERE AD_Field_ID=56552
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=300,IsDisplayed='Y' WHERE AD_Field_ID=56553
+;
+
+-- Mar 8, 2010 8:51:06 PM COT
+UPDATE AD_Field SET SeqNo=310,IsDisplayed='Y' WHERE AD_Field_ID=3945
+;
+
+-- Mar 8, 2010 8:51:50 PM COT
+INSERT INTO AD_Field (AD_Client_ID,AD_Column_ID,AD_Field_ID,AD_Org_ID,AD_Tab_ID,Created,CreatedBy,Description,DisplayLength,EntityType,Help,IsActive,IsCentrallyMaintained,IsDisplayed,IsEncrypted,IsFieldOnly,IsHeading,IsReadOnly,IsSameLine,Name,SeqNo,SortNo,Updated,UpdatedBy) VALUES (0,59073,58785,0,210,TO_TIMESTAMP('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100,'Average Cost Variance',26,'D','The Average Cost Variance is used in weighted average costing to reflect differences when posting costs for negative inventory.','Y','Y','Y','N','N','N','N','N','Average Cost Variance',280,0,TO_TIMESTAMP('2010-03-08 20:51:49','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:51:50 PM COT
+INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Description,Help,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.AD_Field_ID, t.Description,t.Help,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=58785 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID)
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=58785
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=4868
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4869
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=2608
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=56549
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=56542
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=56544
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=56548
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=56547
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=56545
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=56543
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=56540
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=56541
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=56546
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=56554
+;
+
+-- Mar 8, 2010 8:51:59 PM COT
+UPDATE AD_Field SET SeqNo=280,IsDisplayed='Y' WHERE AD_Field_ID=56555
+;
+
+-- Mar 8, 2010 9:03:21 PM COT
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-03-08 21:03:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58783
+;
+
+-- Mar 8, 2010 9:03:44 PM COT
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-03-08 21:03:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58784
+;
+
+-- Mar 8, 2010 9:04:06 PM COT
+UPDATE AD_Field SET IsMandatory='Y',Updated=TO_TIMESTAMP('2010-03-08 21:04:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58785
+;
+
diff --git a/migration/354a-trunk/postgresql/676_FR2962094_SetAverageCostVarianceGW.sql b/migration/354a-trunk/postgresql/676_FR2962094_SetAverageCostVarianceGW.sql
new file mode 100644
index 0000000000..a5551fb94f
--- /dev/null
+++ b/migration/354a-trunk/postgresql/676_FR2962094_SetAverageCostVarianceGW.sql
@@ -0,0 +1,56 @@
+-- Mar 8, 2010 8:56:27 PM COT
+-- FR2962094_Finish implementation of weighted average costing
+INSERT INTO C_ElementValue (AccountSign,AccountType,AD_Client_ID,AD_Org_ID,C_Element_ID,C_ElementValue_ID,Created,CreatedBy,Description,IsActive,IsBankAccount,IsDocControlled,IsForeignCurrency,IsSummary,Name,PostActual,PostBudget,PostEncumbrance,PostStatistical,Updated,UpdatedBy,Value) VALUES ('N','E',11,0,105,50017,TO_TIMESTAMP('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'Account for Average Cost Variance','Y','N','Y','N','N','Average Cost Variance','Y','Y','Y','Y',TO_TIMESTAMP('2010-03-08 20:56:26','YYYY-MM-DD HH24:MI:SS'),100,'58800')
+;
+
+-- Mar 8, 2010 8:56:27 PM COT
+INSERT INTO C_ElementValue_Trl (AD_Language,C_ElementValue_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy) SELECT l.AD_Language,t.C_ElementValue_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, C_ElementValue t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.C_ElementValue_ID=50017 AND NOT EXISTS (SELECT * FROM C_ElementValue_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.C_ElementValue_ID=t.C_ElementValue_ID)
+;
+
+-- Mar 8, 2010 8:56:27 PM COT
+INSERT INTO AD_TreeNode (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, 100, CURRENT_TIMESTAMP, 100,t.AD_Tree_ID, 50017, 0, 999 FROM AD_Tree t WHERE t.AD_Client_ID=11 AND t.IsActive='Y' AND EXISTS (SELECT * FROM C_Element ae WHERE ae.C_Element_ID=105 AND t.AD_Tree_ID=ae.AD_Tree_ID) AND NOT EXISTS (SELECT * FROM AD_TreeNode e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=50017)
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=444
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=445
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=635
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50001
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50002
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50003
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50004
+;
+
+-- Mar 8, 2010 8:56:34 PM COT
+UPDATE AD_TreeNode SET Parent_ID=443, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=101 AND Node_ID=50017
+;
+
+-- Mar 8, 2010 8:58:19 PM COT
+INSERT INTO C_ValidCombination (Account_ID,AD_Client_ID,AD_Org_ID,C_AcctSchema_ID,Combination,Created,CreatedBy,C_ValidCombination_ID,Description,IsActive,IsFullyQualified,Updated,UpdatedBy) VALUES (50017,11,11,101,'HQ-58800-_-_-_-_',TO_TIMESTAMP('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100,50013,'HQ-Average Cost Variance-_-_-_-_','Y','Y',TO_TIMESTAMP('2010-03-08 20:58:18','YYYY-MM-DD HH24:MI:SS'),100)
+;
+
+-- Mar 8, 2010 8:58:32 PM COT
+UPDATE C_AcctSchema_Default SET P_AverageCostVariance_Acct=50013,Updated=TO_TIMESTAMP('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101
+;
+
+UPDATE M_Product_Category_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_TIMESTAMP('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;
+
+UPDATE M_Product_Acct SET P_AverageCostVariance_Acct=50013,Updated=TO_TIMESTAMP('2010-03-08 20:58:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE C_AcctSchema_ID=101;
diff --git a/migration/354a-trunk/postgresql/677_BT_2092712_Unalloc_payment_report.sql b/migration/354a-trunk/postgresql/677_BT_2092712_Unalloc_payment_report.sql
new file mode 100644
index 0000000000..f4c7bf7056
--- /dev/null
+++ b/migration/354a-trunk/postgresql/677_BT_2092712_Unalloc_payment_report.sql
@@ -0,0 +1 @@
+UPDATE AD_ReportView SET WHERECLAUSE = 'DocStatus IN (''CO'',''CL'') AND IsAllocated=''N''' where ad_reportview_id=155;
\ No newline at end of file
diff --git a/migration/354a-trunk/postgresql/678_BF_1774758.sql b/migration/354a-trunk/postgresql/678_BF_1774758.sql
new file mode 100644
index 0000000000..5532c1953f
--- /dev/null
+++ b/migration/354a-trunk/postgresql/678_BF_1774758.sql
@@ -0,0 +1,9 @@
+--
+-- BF [ 1774758 ] No default Sales Representant in request window
+--
+
+UPDATE AD_COLUMN
+ SET DefaultValue = '@#AD_User_ID@'
+ WHERE DefaultValue = '@AD_User_ID@' AND AD_Column_ID = 5432;
+
+COMMIT;
diff --git a/migration/354a-trunk/postgresql/679_BF2042466FixProductURL.sql b/migration/354a-trunk/postgresql/679_BF2042466FixProductURL.sql
new file mode 100644
index 0000000000..288c346a03
--- /dev/null
+++ b/migration/354a-trunk/postgresql/679_BF2042466FixProductURL.sql
@@ -0,0 +1,8 @@
+-- Mar 11, 2010 3:09:41 PM COT
+UPDATE M_Product SET DescriptionURL='http://www.adempiere.com/index.php/SampleProductDescriptionForDocumentation', ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_TIMESTAMP('2010-03-11 15:09:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=146
+;
+
+-- Mar 11, 2010 3:09:58 PM COT
+UPDATE M_Product SET ImageURL='http://www.adempiere.com/images/f/f5/C32.png', IsStocked='N',Updated=TO_TIMESTAMP('2010-03-11 15:09:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE M_Product_ID=126
+;
+
diff --git a/migration/354a-trunk/postgresql/680_BF2970013.sql b/migration/354a-trunk/postgresql/680_BF2970013.sql
new file mode 100644
index 0000000000..b19c9d78d0
--- /dev/null
+++ b/migration/354a-trunk/postgresql/680_BF2970013.sql
@@ -0,0 +1,82 @@
+-- Mar 13, 2010 5:43:23 PM COT
+-- BF2970013_Process Para uniqueness required
+UPDATE AD_Process_Para SET SeqNo=20,Updated=TO_TIMESTAMP('2010-03-13 17:43:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=131
+;
+
+-- Mar 13, 2010 5:43:25 PM COT
+UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2010-03-13 17:43:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=244
+;
+
+-- Mar 13, 2010 5:43:27 PM COT
+UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:43:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53074
+;
+
+-- Mar 13, 2010 5:43:33 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:43:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53073
+;
+
+-- Mar 13, 2010 5:43:58 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:43:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=471
+;
+
+-- Mar 13, 2010 5:44:32 PM COT
+UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:44:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=453
+;
+
+-- Mar 13, 2010 5:45:12 PM COT
+UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:45:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=454
+;
+
+-- Mar 13, 2010 5:45:56 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:45:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=397
+;
+
+-- Mar 13, 2010 5:46:18 PM COT
+UPDATE AD_Process_Para SET SeqNo=30,Updated=TO_TIMESTAMP('2010-03-13 17:46:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=588
+;
+
+-- Mar 13, 2010 5:46:20 PM COT
+UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:46:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=585
+;
+
+-- Mar 13, 2010 5:46:22 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:46:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53153
+;
+
+-- Mar 13, 2010 5:46:23 PM COT
+UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2010-03-13 17:46:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53154
+;
+
+-- Mar 13, 2010 5:46:25 PM COT
+UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2010-03-13 17:46:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=586
+;
+
+-- Mar 13, 2010 5:46:27 PM COT
+UPDATE AD_Process_Para SET SeqNo=80,Updated=TO_TIMESTAMP('2010-03-13 17:46:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=587
+;
+
+-- Mar 13, 2010 5:46:55 PM COT
+UPDATE AD_Process_Para SET SeqNo=40,Updated=TO_TIMESTAMP('2010-03-13 17:46:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53066
+;
+
+-- Mar 13, 2010 5:46:56 PM COT
+UPDATE AD_Process_Para SET SeqNo=50,Updated=TO_TIMESTAMP('2010-03-13 17:46:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53067
+;
+
+-- Mar 13, 2010 5:47:22 PM COT
+UPDATE AD_Process_Para SET SeqNo=140,Updated=TO_TIMESTAMP('2010-03-13 17:47:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53123
+;
+
+-- Mar 13, 2010 5:47:43 PM COT
+UPDATE AD_Process_Para SET SeqNo=60,Updated=TO_TIMESTAMP('2010-03-13 17:47:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
+;
+
+-- Mar 13, 2010 5:47:46 PM COT
+UPDATE AD_Process_Para SET SeqNo=70,Updated=TO_TIMESTAMP('2010-03-13 17:47:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53280
+;
+
+-- Mar 13, 2010 5:47:50 PM COT
+UPDATE AD_Process_Para SET EntityType='EE01',Updated=TO_TIMESTAMP('2010-03-13 17:47:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53275
+;
+
+create unique index ad_procpara_procseqno on ad_process_para (ad_process_id, seqno);
diff --git a/migration/354a-trunk/postgresql/681_BF2968442.sql b/migration/354a-trunk/postgresql/681_BF2968442.sql
new file mode 100644
index 0000000000..50a5bfb19a
--- /dev/null
+++ b/migration/354a-trunk/postgresql/681_BF2968442.sql
@@ -0,0 +1,146 @@
+-- Mar 13, 2010 11:54:49 PM COT
+-- BF_2968442_Post without Application Server
+UPDATE AD_Element SET Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.', Name='Post Immediately (Deprecated)',Updated=TO_TIMESTAMP('2010-03-13 23:54:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=2843
+;
+
+-- Mar 13, 2010 11:54:49 PM COT
+UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=2843
+;
+
+-- Mar 13, 2010 11:54:49 PM COT
+UPDATE AD_Column SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.', AD_Element_ID=2843 WHERE UPPER(ColumnName)='ISPOSTIMMEDIATE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_Process_Para SET ColumnName='IsPostImmediate', Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Element_ID=2843 AND IsCentrallyMaintained='Y'
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_Field SET Name='Post Immediately (Deprecated)', Description='Post the accounting immediately for testing (Deprecated)', Help='If selected, the accounting consequences are immediately generated when completing a document. Otherwise the document is posted by a batch process. You should select this only if you are testing.
+Deprecated column - use instead the functionality Client Accounting.' WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=2843) AND IsCentrallyMaintained='Y'
+;
+
+-- Mar 13, 2010 11:54:50 PM COT
+UPDATE AD_PrintFormatItem SET PrintName='Post Immediate', Name='Post Immediately (Deprecated)' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=2843)
+;
+
+-- Mar 13, 2010 11:55:40 PM COT
+UPDATE AD_Field SET IsSameLine='N',Updated=TO_TIMESTAMP('2010-03-13 23:55:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=12326
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=12327
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=317
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=318
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=319
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=10318
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=5160
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=5759
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=11025
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=11205
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=3813
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5887
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=5161
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=5162
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=5163
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=5164
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=12099
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=12098
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=11024
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=12326
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=200,IsDisplayed='Y' WHERE AD_Field_ID=50158
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=210,IsDisplayed='Y' WHERE AD_Field_ID=50159
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=220,IsDisplayed='Y' WHERE AD_Field_ID=50160
+;
+
+-- Mar 13, 2010 11:55:55 PM COT
+UPDATE AD_Field SET SeqNo=230,IsDisplayed='Y' WHERE AD_Field_ID=50184
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=240,IsDisplayed='Y' WHERE AD_Field_ID=50185
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=250,IsDisplayed='Y' WHERE AD_Field_ID=50186
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=260,IsDisplayed='Y' WHERE AD_Field_ID=54238
+;
+
+-- Mar 13, 2010 11:55:56 PM COT
+UPDATE AD_Field SET SeqNo=270,IsDisplayed='Y' WHERE AD_Field_ID=54680
+;
+
diff --git a/plugins/TestPlugin/.classpath b/plugins/TestPlugin/.classpath
new file mode 100644
index 0000000000..64c5e31b7a
--- /dev/null
+++ b/plugins/TestPlugin/.classpath
@@ -0,0 +1,7 @@
+
+Release Notes - Open SaaS: 0.2
+
+ 564: Business Partner Search Info
+ 567: Payment Rule
+ 568: Location Editor
+ 569: Product Search Info
+ 570: Invoice Search Info
+ 571: Order Search Info
+ 536: Generate Charges Custom Form
+ 556: Bug in Search Editor
+