diff --git a/JasperReports/.classpath b/JasperReports/.classpath index 31566a3e61..825d97b205 100644 --- a/JasperReports/.classpath +++ b/JasperReports/.classpath @@ -10,6 +10,6 @@ - + diff --git a/JasperReports/.project b/JasperReports/.project index 484eaaceb9..9ccde536cc 100644 --- a/JasperReports/.project +++ b/JasperReports/.project @@ -23,7 +23,12 @@ - org.eclipse.wst.validation.validationbuilder + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder @@ -33,5 +38,6 @@ org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jdt.core.javanature org.eclipse.wst.common.project.facet.core.nature + org.eclipse.pde.PluginNature diff --git a/JasperReports/META-INF/MANIFEST.MF b/JasperReports/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..348e4ecf69 --- /dev/null +++ b/JasperReports/META-INF/MANIFEST.MF @@ -0,0 +1,16 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: JasperReports +Bundle-SymbolicName: JasperReports +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: JasperReports.jar, + lib/postgresql.jar, + lib/ocrs12.jar, + lib/ojdbc14.jar, + lib/barbecue-1.5-beta1.jar +Export-Package: org.compiere.interfaces, + org.compiere.report, + org.compiere.utils +Require-Bundle: org.adempiere.base;bundle-version="0.0.0", + org.adempiere.JasperReportsTools;bundle-version="1.0.0", + org.adempiere.client;bundle-version="0.0.0" diff --git a/JasperReports/build.properties b/JasperReports/build.properties new file mode 100644 index 0000000000..e87b6126ed --- /dev/null +++ b/JasperReports/build.properties @@ -0,0 +1,7 @@ +source.JasperReports.jar = src/, build/ +bin.includes = META-INF/,\ + lib/postgresql.jar,\ + lib/ocrs12.jar,\ + lib/ojdbc14.jar,\ + lib/barbecue-1.5-beta1.jar,\ + JasperReports.jar diff --git a/JasperReports/src/org/compiere/report/ReportStarter.java b/JasperReports/src/org/compiere/report/ReportStarter.java index 2754a20d94..ea6a337bfc 100644 --- a/JasperReports/src/org/compiere/report/ReportStarter.java +++ b/JasperReports/src/org/compiere/report/ReportStarter.java @@ -69,6 +69,7 @@ import org.compiere.db.CConnection; import org.compiere.interfaces.MD5; import org.compiere.model.MAttachment; import org.compiere.model.MAttachmentEntry; +import org.compiere.model.MBPartner; import org.compiere.model.MProcess; import org.compiere.model.PrintInfo; import org.compiere.model.X_AD_PInstance_Para; @@ -110,7 +111,7 @@ public class ReportStarter implements ProcessCall, ClientProcess private static File REPORT_HOME = null; private static JRViewerProvider viewerProvider = new SwingJRViewerProvider(); - private static JasperPrint jasperPrint; + private static JasperPrint jasperPrint; static { String reportPath = System.getProperty("org.compiere.report.path"); @@ -626,12 +627,12 @@ public class ReportStarter implements ProcessCall, ClientProcess return true; } - public static JasperPrint getJasperPrint() - { - return jasperPrint; - } - - + public static JasperPrint getJasperPrint() + { + return jasperPrint; + } + + /** * Get .property resource file from process attachment * @param jasperName diff --git a/JasperReportsTools/.classpath b/JasperReportsTools/.classpath index 90846ffdcf..52ebb838f1 100644 --- a/JasperReportsTools/.classpath +++ b/JasperReportsTools/.classpath @@ -28,5 +28,6 @@ + diff --git a/JasperReportsTools/.project b/JasperReportsTools/.project index d6c1fadeaa..57efd16f3c 100644 --- a/JasperReportsTools/.project +++ b/JasperReportsTools/.project @@ -16,7 +16,12 @@ - org.eclipse.wst.validation.validationbuilder + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder @@ -26,5 +31,6 @@ org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jdt.core.javanature org.eclipse.wst.common.project.facet.core.nature + org.eclipse.pde.PluginNature diff --git a/JasperReportsTools/META-INF/MANIFEST.MF b/JasperReportsTools/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..5132322ca4 --- /dev/null +++ b/JasperReportsTools/META-INF/MANIFEST.MF @@ -0,0 +1,199 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: JasperReportsTools +Bundle-SymbolicName: org.adempiere.JasperReportsTools +Bundle-Version: 1.0.0.qualifier +Bundle-ClassPath: lib/commons-beanutils-1.7.jar, + lib/commons-digester-1.7.jar, + lib/iReport.jar, + lib/jasperreports-3.5.3.jar, + lib/jfreechart-1.0.3.jar +Export-Package: ., + be.savat.components, + it.businesslogic.ireport, + it.businesslogic.ireport.barcode, + it.businesslogic.ireport.chart, + it.businesslogic.ireport.chart.gui, + it.businesslogic.ireport.compiler, + it.businesslogic.ireport.compiler.xml, + it.businesslogic.ireport.connection, + it.businesslogic.ireport.connection.gui, + it.businesslogic.ireport.crosstab, + it.businesslogic.ireport.crosstab.gui, + it.businesslogic.ireport.data, + it.businesslogic.ireport.data.ejbql, + it.businesslogic.ireport.data.hibernate, + it.businesslogic.ireport.data.olap, + it.businesslogic.ireport.data.xml, + it.businesslogic.ireport.dtds, + it.businesslogic.ireport.examples, + it.businesslogic.ireport.examples.beans, + it.businesslogic.ireport.examples.chart, + it.businesslogic.ireport.examples.queryexecuter, + it.businesslogic.ireport.export, + it.businesslogic.ireport.gui, + it.businesslogic.ireport.gui.actions, + it.businesslogic.ireport.gui.box, + it.businesslogic.ireport.gui.command, + it.businesslogic.ireport.gui.dnd, + it.businesslogic.ireport.gui.docking, + it.businesslogic.ireport.gui.documentstructure, + it.businesslogic.ireport.gui.event, + it.businesslogic.ireport.gui.expbuilder, + it.businesslogic.ireport.gui.export, + it.businesslogic.ireport.gui.fonts, + it.businesslogic.ireport.gui.library, + it.businesslogic.ireport.gui.library.objects, + it.businesslogic.ireport.gui.listview, + it.businesslogic.ireport.gui.locale, + it.businesslogic.ireport.gui.logpane, + it.businesslogic.ireport.gui.prompt, + it.businesslogic.ireport.gui.queryexecuters, + it.businesslogic.ireport.gui.sheet, + it.businesslogic.ireport.gui.style, + it.businesslogic.ireport.gui.subdataset, + it.businesslogic.ireport.gui.syntax, + it.businesslogic.ireport.gui.table, + it.businesslogic.ireport.gui.wizard, + it.businesslogic.ireport.icons, + it.businesslogic.ireport.icons.charts, + it.businesslogic.ireport.icons.crosstab, + it.businesslogic.ireport.icons.datasource, + it.businesslogic.ireport.icons.docking, + it.businesslogic.ireport.icons.layout, + it.businesslogic.ireport.icons.library, + it.businesslogic.ireport.icons.log, + it.businesslogic.ireport.icons.menu, + it.businesslogic.ireport.icons.newtoolbar, + it.businesslogic.ireport.icons.olap, + it.businesslogic.ireport.icons.palette, + it.businesslogic.ireport.icons.problems, + it.businesslogic.ireport.icons.sheet, + it.businesslogic.ireport.icons.styles, + it.businesslogic.ireport.icons.toolbars, + it.businesslogic.ireport.icons.toolbars.format, + it.businesslogic.ireport.icons.toolbars.text, + it.businesslogic.ireport.icons.tree, + it.businesslogic.ireport.icons.tree.editor, + it.businesslogic.ireport.icons.tree.elements, + it.businesslogic.ireport.icons.tree.javabean, + it.businesslogic.ireport.icons.xml, + it.businesslogic.ireport.locale, + it.businesslogic.ireport.plugin, + it.businesslogic.ireport.plugin.checkupdate, + it.businesslogic.ireport.plugin.examples, + it.businesslogic.ireport.plugin.jforg, + it.businesslogic.ireport.plugin.jrx, + it.businesslogic.ireport.plugin.locale, + it.businesslogic.ireport.plugin.massivecompiler, + it.businesslogic.ireport.plugin.oracle, + it.businesslogic.ireport.plugin.textwizard, + it.businesslogic.ireport.refactoring, + it.businesslogic.ireport.res, + it.businesslogic.ireport.rmi, + it.businesslogic.ireport.undo, + it.businesslogic.ireport.util, + net.sf.jasperreports.ant, + net.sf.jasperreports.charts, + net.sf.jasperreports.charts.base, + net.sf.jasperreports.charts.design, + net.sf.jasperreports.charts.fill, + net.sf.jasperreports.charts.util, + net.sf.jasperreports.charts.xml, + net.sf.jasperreports.compilers, + net.sf.jasperreports.components, + net.sf.jasperreports.components.barbecue, + net.sf.jasperreports.components.barcode4j, + net.sf.jasperreports.components.list, + net.sf.jasperreports.crosstabs, + net.sf.jasperreports.crosstabs.base, + net.sf.jasperreports.crosstabs.design, + net.sf.jasperreports.crosstabs.fill, + net.sf.jasperreports.crosstabs.fill.calculation, + net.sf.jasperreports.crosstabs.xml, + net.sf.jasperreports.engine, + net.sf.jasperreports.engine.base, + net.sf.jasperreports.engine.component, + net.sf.jasperreports.engine.convert, + net.sf.jasperreports.engine.data, + net.sf.jasperreports.engine.design, + net.sf.jasperreports.engine.design.events, + net.sf.jasperreports.engine.dtds, + net.sf.jasperreports.engine.export, + net.sf.jasperreports.engine.export.data, + net.sf.jasperreports.engine.export.draw, + net.sf.jasperreports.engine.export.legacy, + net.sf.jasperreports.engine.export.oasis, + net.sf.jasperreports.engine.export.ooxml, + net.sf.jasperreports.engine.export.xmlss, + net.sf.jasperreports.engine.export.zip, + net.sf.jasperreports.engine.fill, + net.sf.jasperreports.engine.fonts, + net.sf.jasperreports.engine.images, + net.sf.jasperreports.engine.print, + net.sf.jasperreports.engine.query, + net.sf.jasperreports.engine.scriptlets, + net.sf.jasperreports.engine.util, + net.sf.jasperreports.engine.util.xml, + net.sf.jasperreports.engine.xml, + net.sf.jasperreports.extensions, + net.sf.jasperreports.governors, + net.sf.jasperreports.j2ee.servlets, + net.sf.jasperreports.olap, + net.sf.jasperreports.olap.mapping, + net.sf.jasperreports.olap.mondrian, + net.sf.jasperreports.olap.result, + net.sf.jasperreports.olap.xmla, + net.sf.jasperreports.renderers, + net.sf.jasperreports.swing, + net.sf.jasperreports.view, + net.sf.jasperreports.view.images, + net.sf.jasperreports.view.save, + org.apache.commons.beanutils, + org.apache.commons.beanutils.converters, + org.apache.commons.beanutils.locale, + org.apache.commons.beanutils.locale.converters, + org.apache.commons.collections, + org.apache.commons.digester, + org.apache.commons.digester.parser, + org.apache.commons.digester.plugins, + org.apache.commons.digester.plugins.strategies, + org.apache.commons.digester.substitution, + org.apache.commons.digester.xmlrules, + org.jfree.chart, + org.jfree.chart.annotations, + org.jfree.chart.axis, + org.jfree.chart.block, + org.jfree.chart.demo, + org.jfree.chart.editor, + org.jfree.chart.encoders, + org.jfree.chart.entity, + org.jfree.chart.event, + org.jfree.chart.imagemap, + org.jfree.chart.labels, + org.jfree.chart.needle, + org.jfree.chart.plot, + org.jfree.chart.renderer, + org.jfree.chart.renderer.category, + org.jfree.chart.renderer.xy, + org.jfree.chart.resources, + org.jfree.chart.servlet, + org.jfree.chart.title, + org.jfree.chart.urls, + org.jfree.chart.util, + org.jfree.data, + org.jfree.data.category, + org.jfree.data.contour, + org.jfree.data.function, + org.jfree.data.gantt, + org.jfree.data.general, + org.jfree.data.io, + org.jfree.data.jdbc, + org.jfree.data.resources, + org.jfree.data.statistics, + org.jfree.data.time, + org.jfree.data.xml, + org.jfree.data.xy, + org.syntax.jedit, + org.syntax.jedit.tokenmarker, + org.w3c.tools.codec diff --git a/JasperReportsTools/build.properties b/JasperReportsTools/build.properties new file mode 100644 index 0000000000..628d6cfe13 --- /dev/null +++ b/JasperReportsTools/build.properties @@ -0,0 +1,6 @@ +bin.includes = META-INF/,\ + lib/commons-beanutils-1.7.jar,\ + lib/commons-digester-1.7.jar,\ + lib/iReport.jar,\ + lib/jasperreports-3.5.3.jar,\ + lib/jfreechart-1.0.3.jar diff --git a/base/.classpath b/base/.classpath index b858a55c28..50ce172089 100644 --- a/base/.classpath +++ b/base/.classpath @@ -23,7 +23,6 @@ - @@ -101,5 +100,6 @@ + diff --git a/base/.project b/base/.project index b989a039ed..3fe9df8854 100644 --- a/base/.project +++ b/base/.project @@ -25,7 +25,12 @@ - org.eclipse.wst.validation.validationbuilder + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder @@ -34,6 +39,7 @@ org.eclipse.jem.workbench.JavaEMFNature org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature org.eclipse.wst.common.project.facet.core.nature diff --git a/base/META-INF/MANIFEST.MF b/base/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..53b20775e5 --- /dev/null +++ b/base/META-INF/MANIFEST.MF @@ -0,0 +1,66 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.adempiere.base +Bundle-SymbolicName: org.adempiere.base;singleton:=true +Bundle-Version: 0.0.0.2 +Bundle-ClassPath: base.jar, + lib/commons-net-1.4.0.jar, + lib/ant.jar, + lib/jpedal.jar, + lib/jnlp.jar, + lib/junit.jar, + client/jbossall-client.jar, + lib/postgresql.jar, + lib/ocrs12.jar, + lib/ojdbc14.jar, + lib/c3p0-0.9.1.2.jar, + lib/script-api.jar, + lib/barbecue-1.5-beta1.jar, + lib/poi-3.0.1-FINAL-20070705.jar, + lib/jcommon-1.0.14.jar, + lib/jfreechart-1.0.11.jar, + lib/swingx-0.9.0.jar, + lib/looks-2.0.4.jar, + lib/commons-collections-3.1.jar, + lib/activemq-core-5.0.0.jar +Export-Package: org.adempiere.apps.graph, + org.adempiere.as, + org.adempiere.base, + org.adempiere.exceptions, + org.adempiere.impexp, + org.adempiere.model, + org.adempiere.pdf, + org.adempiere.pdf.viewer, + org.adempiere.pipo, + org.adempiere.pipo.exception, + org.adempiere.pipo.handler, + org.adempiere.plaf, + org.adempiere.print.export, + org.adempiere.process, + org.adempiere.process.rpl, + org.adempiere.process.rpl.exp, + org.adempiere.process.rpl.imp, + org.adempiere.util, + org.compiere, + org.compiere.FA, + org.compiere.acct, + org.compiere.cm, + org.compiere.db, + org.compiere.dbPort, + org.compiere.impexp, + org.compiere.interfaces, + org.compiere.model, + org.compiere.plaf, + org.compiere.print, + org.compiere.print.layout, + org.compiere.process, + org.compiere.report, + org.compiere.report.core, + org.compiere.sla, + org.compiere.swing, + org.compiere.tools, + org.compiere.util, + org.compiere.wf +Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0", + org.adempiere.tools;bundle-version="0.0.0", + org.adempiere.jboss;bundle-version="0.0.0" diff --git a/base/build.properties b/base/build.properties new file mode 100644 index 0000000000..164171b6b9 --- /dev/null +++ b/base/build.properties @@ -0,0 +1,54 @@ +source.base.jar = src/,build/ +bin.includes = META-INF/,\ + base.jar,\ + plugin.xml +jars.extra.classpath = platform:/plugin/org.adempiere.tools/lib/activation.jar,\ + platform:/plugin/org.adempiere.tools/lib/activemq-core-5.0.0.jar,\ + platform:/plugin/org.adempiere.tools/lib/ant-commons-net.jar,\ + platform:/plugin/org.adempiere.tools/lib/ant-contrib-1.0b1.jar,\ + platform:/plugin/org.adempiere.tools/lib/ant-launcher.jar,\ + platform:/plugin/org.adempiere.tools/lib/ant.jar,\ + platform:/plugin/org.adempiere.tools/lib/barbecue-1.5-beta1.jar,\ + platform:/plugin/org.adempiere.tools/lib/bsh-2.0b5.jar,\ + platform:/plugin/org.adempiere.tools/lib/bsh-engine.jar,\ + platform:/plugin/org.adempiere.tools/lib/c3p0-0.9.1.2.jar,\ + platform:/plugin/org.adempiere.tools/lib/c3p0-oracle-thin-extras-0.9.1.2.jar,\ + platform:/plugin/org.adempiere.tools/lib/cglib.jar,\ + platform:/plugin/org.adempiere.tools/lib/commons-codec.jar,\ + platform:/plugin/org.adempiere.tools/lib/commons-collections-3.1.jar,\ + platform:/plugin/org.adempiere.tools/lib/commons-logging.jar,\ + platform:/plugin/org.adempiere.tools/lib/commons-net-1.4.0.jar,\ + platform:/plugin/org.adempiere.tools/lib/groovy-all-1.5.1.jar,\ + platform:/plugin/org.adempiere.tools/lib/groovy-engine.jar,\ + platform:/plugin/org.adempiere.tools/lib/iText-2.1.7.jar,\ + platform:/plugin/org.adempiere.tools/lib/javaee.jar,\ + platform:/plugin/org.adempiere.tools/lib/jcommon-1.0.14.jar,\ + platform:/plugin/org.adempiere.tools/lib/jfreechart-1.0.11.jar,\ + platform:/plugin/org.adempiere.tools/lib/jgraph.jar,\ + platform:/plugin/org.adempiere.tools/lib/jnlp.jar,\ + platform:/plugin/org.adempiere.tools/lib/jpayment.jar,\ + platform:/plugin/org.adempiere.tools/lib/jpedal.jar,\ + platform:/plugin/org.adempiere.tools/lib/jsp-api.jar,\ + platform:/plugin/org.adempiere.tools/lib/jstl.jar,\ + platform:/plugin/org.adempiere.tools/lib/junit.jar,\ + platform:/plugin/org.adempiere.tools/lib/jython-engine.jar,\ + platform:/plugin/org.adempiere.tools/lib/jython.jar,\ + platform:/plugin/org.adempiere.tools/lib/log4j.jar,\ + platform:/plugin/org.adempiere.tools/lib/logkit.jar,\ + platform:/plugin/org.adempiere.tools/lib/looks-2.0.4.jar,\ + platform:/plugin/org.adempiere.tools/lib/mail.jar,\ + platform:/plugin/org.adempiere.tools/lib/miglayout-3.7.1-swing.jar,\ + platform:/plugin/org.adempiere.tools/lib/ocrs12.jar,\ + platform:/plugin/org.adempiere.tools/lib/ojdbc14.jar,\ + platform:/plugin/org.adempiere.tools/lib/poi-3.0.1-FINAL-20070705.jar,\ + platform:/plugin/org.adempiere.tools/lib/postgresql.jar,\ + platform:/plugin/org.adempiere.tools/lib/script-api.jar,\ + platform:/plugin/org.adempiere.tools/lib/servlet-api.jar,\ + platform:/plugin/org.adempiere.tools/lib/standard.jar,\ + platform:/plugin/org.adempiere.tools/lib/swingx-0.9.0.jar,\ + platform:/plugin/org.adempiere.tools/lib/Verisign.jar,\ + platform:/plugin/org.adempiere.tools/lib/wizard.jar,\ + platform:/plugin/org.adempiere.tools/lib/xercesImpl.jar,\ + platform:/plugin/org.adempiere.tools/lib/xjavadoc-1.1.jar,\ + platform:/plugin/org.adempiere.tools/lib/xml-apis.jar + \ No newline at end of file diff --git a/base/build.xml b/base/build.xml index c1a02a9fda..ad7632522f 100644 --- a/base/build.xml +++ b/base/build.xml @@ -18,6 +18,7 @@ + @@ -105,6 +106,29 @@ + + + + + + + + + + + + diff --git a/base/plugin.xml b/base/plugin.xml new file mode 100644 index 0000000000..8041937132 --- /dev/null +++ b/base/plugin.xml @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/base/schema/ResourceFinder.exsd b/base/schema/ResourceFinder.exsd new file mode 100644 index 0000000000..a2f30d7849 --- /dev/null +++ b/base/schema/ResourceFinder.exsd @@ -0,0 +1,102 @@ + + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/base/schema/org.adempiere.as.IApplicationServer.exsd b/base/schema/org.adempiere.as.IApplicationServer.exsd new file mode 100644 index 0000000000..3009c74a74 --- /dev/null +++ b/base/schema/org.adempiere.as.IApplicationServer.exsd @@ -0,0 +1,102 @@ + + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/base/schema/org.adempiere.base.Callout.exsd b/base/schema/org.adempiere.base.Callout.exsd new file mode 100644 index 0000000000..f80d1e9141 --- /dev/null +++ b/base/schema/org.adempiere.base.Callout.exsd @@ -0,0 +1,119 @@ + + + + + + + + + This is the ADempiere Call extension point. + +Callouts provided by plugins are not entered into the application dictionary. +Instead, you specify Table and Column in the extension declaration. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/base/schema/org.adempiere.base.IDictionaryService.exsd b/base/schema/org.adempiere.base.IDictionaryService.exsd new file mode 100644 index 0000000000..a5da49f38e --- /dev/null +++ b/base/schema/org.adempiere.base.IDictionaryService.exsd @@ -0,0 +1,102 @@ + + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/base/schema/org.compiere.apps.form.FormPanel.exsd b/base/schema/org.compiere.apps.form.FormPanel.exsd new file mode 100644 index 0000000000..9cd2b89745 --- /dev/null +++ b/base/schema/org.compiere.apps.form.FormPanel.exsd @@ -0,0 +1,102 @@ + + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/base/src/org/adempiere/as/ASFactory.java b/base/src/org/adempiere/as/ASFactory.java index 1235194f09..4a9e33b29c 100644 --- a/base/src/org/adempiere/as/ASFactory.java +++ b/base/src/org/adempiere/as/ASFactory.java @@ -14,6 +14,8 @@ package org.adempiere.as; import java.util.Hashtable; +import org.adempiere.base.Service; + /** * * @author Low Heng Sin @@ -28,24 +30,10 @@ public class ASFactory { JBOSS, GLASS_FISH }; - private final static String[] AS_Classes = new String[] { - "org.adempiere.as.jboss.JBoss", - "org.adempiere.as.glassfish.GlassFish" - }; - private static IApplicationServer applicationServer; static { - //detect the installed application server - for(String s : AS_Classes) { - try { - Class c = Class.forName(s); - IApplicationServer server = (IApplicationServer) c.newInstance(); - applicationServer = server; - break; - } catch (Throwable t) { - } - } + applicationServer = Service.locate(IApplicationServer.class); if (applicationServer == null) { applicationServer = new IApplicationServer() { diff --git a/base/src/org/adempiere/as/IApplicationServer.java b/base/src/org/adempiere/as/IApplicationServer.java index e42b090445..c5d6de51f6 100644 --- a/base/src/org/adempiere/as/IApplicationServer.java +++ b/base/src/org/adempiere/as/IApplicationServer.java @@ -14,12 +14,14 @@ package org.adempiere.as; import java.util.Hashtable; +import org.adempiere.base.IService; + /** * * @author Low Heng Sin * */ -public interface IApplicationServer { +public interface IApplicationServer extends IService { /** * @param AppsHost * @param AppsPort diff --git a/base/src/org/adempiere/base/Core.java b/base/src/org/adempiere/base/Core.java new file mode 100644 index 0000000000..2b204f7d71 --- /dev/null +++ b/base/src/org/adempiere/base/Core.java @@ -0,0 +1,44 @@ +package org.adempiere.base; + +import java.net.URL; +import java.util.List; + +/** + * This is a facade class for the Service Locator. + * It provides simple access to all core services. + * + * @author viola + */ +public class Core { + + public static final String OSGI_PREFIX = "osgi://"; + + public static IResourceFinder getResourceFinder() { + return new IResourceFinder() { + + public URL getResource(String name) { + List f = Service.list(IResourceFinder.class); + for (IResourceFinder finder : f) { + URL url = finder.getResource(name); + if (url!=null) + return url; + } + return null; + } + }; + } + + public static List findCallout(String tableName, String columnName) { + ServiceQuery query = new ServiceQuery(); + query.put("tableName", tableName); + query.put("columnName", columnName); + + return Service.list(IColumnCallout.class, query); + } + + public static boolean isExtension(String className) { + return className.startsWith(OSGI_PREFIX); + } + + +} diff --git a/base/src/org/adempiere/base/IColumnCallout.java b/base/src/org/adempiere/base/IColumnCallout.java new file mode 100755 index 0000000000..baaa3bed4a --- /dev/null +++ b/base/src/org/adempiere/base/IColumnCallout.java @@ -0,0 +1,48 @@ +/****************************************************************************** + * 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.Properties; + +import org.compiere.model.GridField; +import org.compiere.model.GridTab; + +/** + * Column Callout Interface + */ +public interface IColumnCallout extends IService +{ + /** + * Start Callout. + *

+ * 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 { + T locate(Class type); + T locate(Class type, ServiceQuery query); + List list(Class type); + List list(Class type, ServiceQuery query); +} diff --git a/base/src/org/adempiere/base/Service.java b/base/src/org/adempiere/base/Service.java new file mode 100644 index 0000000000..763c77b313 --- /dev/null +++ b/base/src/org/adempiere/base/Service.java @@ -0,0 +1,75 @@ +/****************************************************************************** + * 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; + +/** + * This is a very simple factory for service locators + * + * @author viola + * + */ +public class Service { + + private static final String LOCATOR_CLASS = "ServiceLocator"; + private static final String DEFAULT_LOCATOR_CLASS = "org.adempiere.base.equinox.EquinoxServiceLocator"; + + private static IServiceLocator theLocator; + + public static IServiceLocator locator() { + if (theLocator == null) { + synchronized (Service.class) { + if (theLocator == null) { + theLocator = createServiceLocator(); + } + } + } + return theLocator; + } + + private static IServiceLocator createServiceLocator() { + String className = System.getProperty(LOCATOR_CLASS); + if (className==null) + className = DEFAULT_LOCATOR_CLASS; + try { + Class clazz = Class.forName(className); + IServiceLocator locator = (IServiceLocator) clazz.newInstance(); + System.out.println("Started service locator: " + locator); + return locator; + } catch (Exception e) { + e.printStackTrace(); + return null; + } + } + + public static T locate(Class type) { + return locator().locate(type); + } + + public static T locate(Class type, ServiceQuery query) { + return locator().locate(type, query); + } + + public static List list(Class type) { + return locator().list(type); + } + + public static List list(Class type, ServiceQuery query) { + return locator().list(type, query); + } +} diff --git a/base/src/org/adempiere/base/ServiceQuery.java b/base/src/org/adempiere/base/ServiceQuery.java new file mode 100644 index 0000000000..3cb1f42a6e --- /dev/null +++ b/base/src/org/adempiere/base/ServiceQuery.java @@ -0,0 +1,9 @@ +package org.adempiere.base; + +import java.util.HashMap; + +public class ServiceQuery extends HashMap { + + private static final long serialVersionUID = -3624488575106821781L; + +} diff --git a/base/src/org/adempiere/base/equinox/EquinoxServiceLocator.java b/base/src/org/adempiere/base/equinox/EquinoxServiceLocator.java new file mode 100644 index 0000000000..fe13648039 --- /dev/null +++ b/base/src/org/adempiere/base/equinox/EquinoxServiceLocator.java @@ -0,0 +1,56 @@ +/****************************************************************************** + * 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.equinox; + +import java.util.List; + +import org.adempiere.base.IService; +import org.adempiere.base.IServiceLocator; +import org.adempiere.base.ServiceQuery; + + +/** + * This is the Equinox implementation of the ADempiere Service Locator. + * It delegates work to the ExtensionList that lookups up services as extensions. + * The ids of extension points have to correspond to the interface names of the services. + * + * @author viola + * + */ +public class EquinoxServiceLocator implements IServiceLocator { + + public List list(Class type) { + ExtensionList list = new ExtensionList(type, type.getName()); + return list.asList(); + } + + public List list(Class type, ServiceQuery query) { + ExtensionList list = new ExtensionList(type, type.getName(), query); + return list.asList(); + } + + public T locate(Class type) { + ExtensionList list = new ExtensionList(type, type.getName()); + return list.first(); + } + + public T locate(Class type, ServiceQuery query) { + ExtensionList list = new ExtensionList(type, type.getName(), query); + return list.first(); + } + +} diff --git a/base/src/org/adempiere/base/equinox/ExtensionList.java b/base/src/org/adempiere/base/equinox/ExtensionList.java new file mode 100644 index 0000000000..02a2bebc7e --- /dev/null +++ b/base/src/org/adempiere/base/equinox/ExtensionList.java @@ -0,0 +1,128 @@ +/****************************************************************************** + * 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.equinox; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.Iterator; +import java.util.List; + +import org.adempiere.base.ServiceQuery; +import org.compiere.model.Callout; +import org.eclipse.core.runtime.CoreException; +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.Platform; + +/** + * This List looks up services as extensions in equinox. + * The extension point must be the class name of the service interface. + * The query attributes are checked against the attributes + * of the extension configuration element. + * + * In order to minimize equinox lookups, a filtering iterator is used. + * @author viola + * + * @param The service this list holds implementations of. + */ +public class ExtensionList implements Iterable{ + + public class ExtensionIterator implements Iterator { + + private int index = 0; + + public boolean hasNext() { + iterateUntilAccepted(); + return index filters = new HashMap(); + + public ExtensionList(Class clazz, String id) { + try { + elements = Platform.getExtensionRegistry().getConfigurationElementsFor(id); + } catch (Exception ex) { + System.out.println(ex.getMessage()); + } + } + + public ExtensionList(Class type, String name, ServiceQuery query) { + this(type, name); + for (String key : query.keySet()) { + addFilter(key, query.get(key)); + } + } + + public Iterator iterator() { + return new ExtensionIterator(); + } + + public void addFilter(String name, String value) { + filters.put(name, value); + } + + public T first() { + Iterator i = iterator(); + if (!i.hasNext()) + return null; + return i.next(); + } + + public List asList() { + List result = new ArrayList(); + for (T t : this) { + result.add(t); + } + return result; + } + +} diff --git a/base/src/org/adempiere/process/rpl/exp/ExportHelper.java b/base/src/org/adempiere/process/rpl/exp/ExportHelper.java index c2e200b7f0..cb95e07146 100644 --- a/base/src/org/adempiere/process/rpl/exp/ExportHelper.java +++ b/base/src/org/adempiere/process/rpl/exp/ExportHelper.java @@ -418,14 +418,12 @@ public class ExportHelper { if (embeddedFormat.getWhereClause() != null & !"".equals(embeddedFormat.getWhereClause())) { whereClause.append(" AND ").append(embeddedFormat.getWhereClause()); - } String columnName = ""; if(formatLine.getAD_Reference_ID()== DisplayType.Table | formatLine.getAD_Reference_ID()==DisplayType.Search) { MColumn column = MColumn.get(masterPO.getCtx(), formatLine.getAD_Column_ID()); columnName = column.getColumnName(); - } else { columnName = tableEmbedded.getTableName() + "_ID"; diff --git a/base/src/org/compiere/Adempiere.java b/base/src/org/compiere/Adempiere.java index 57a6589c5f..9af51b69c9 100644 --- a/base/src/org/compiere/Adempiere.java +++ b/base/src/org/compiere/Adempiere.java @@ -22,6 +22,7 @@ import java.io.File; import java.io.IOException; import java.io.InputStream; import java.net.URL; +import java.util.List; import java.util.Properties; import java.util.logging.Level; @@ -30,6 +31,9 @@ import javax.jnlp.ServiceManager; import javax.jnlp.UnavailableServiceException; import javax.swing.ImageIcon; +import org.adempiere.base.Core; +import org.adempiere.base.IResourceFinder; +import org.adempiere.base.Service; import org.compiere.db.CConnection; import org.compiere.model.MClient; import org.compiere.model.MSystem; @@ -43,7 +47,7 @@ import org.compiere.util.Ini; import org.compiere.util.Login; import org.compiere.util.SecureEngine; import org.compiere.util.SecureInterface; -import org.compiere.util.Splash; +//import org.compiere.util.Splash; import org.compiere.util.Util; /** @@ -336,7 +340,8 @@ public final class Adempiere if (s_imageLogo == null) { Toolkit tk = Toolkit.getDefaultToolkit(); - URL url = org.compiere.Adempiere.class.getResource(s_file100x30); + URL url = Core.getResourceFinder().getResource(s_file100x30); +// URL url = org.compiere.Adempiere.class.getResource(s_file100x30); // System.out.println(url); if (url == null) return null; @@ -579,37 +584,41 @@ public final class Adempiere return true; } // startupEnvironment + public static URL getResource(String name) { + return Core.getResourceFinder().getResource(name); + } + /** * Main Method * * @param args optional start class */ - public static void main (String[] args) - { - Splash.getSplash(); - startup(true); // error exit and initUI - - // Start with class as argument - or if nothing provided with Client - String className = "org.compiere.apps.AMenu"; - for (int i = 0; i < args.length; i++) - { - if (!args[i].equals("-debug")) // ignore -debug - { - className = args[i]; - break; - } - } - // - try - { - Class startClass = Class.forName(className); - startClass.newInstance(); - } - catch (Exception e) - { - System.err.println("ADempiere starting: " + className + " - " + e.toString()); - e.printStackTrace(); - } - } // main +// public static void main (String[] args) +// { +// Splash.getSplash(); +// startup(true); // error exit and initUI +// +// // Start with class as argument - or if nothing provided with Client +// String className = "org.compiere.apps.AMenu"; +// for (int i = 0; i < args.length; i++) +// { +// if (!args[i].equals("-debug")) // ignore -debug +// { +// className = args[i]; +// break; +// } +// } +// // +// try +// { +// Class startClass = Class.forName(className); +// startClass.newInstance(); +// } +// catch (Exception e) +// { +// System.err.println("ADempiere starting: " + className + " - " + e.toString()); +// e.printStackTrace(); +// } +// } // main } // Adempiere diff --git a/base/src/org/compiere/db/CConnection.java b/base/src/org/compiere/db/CConnection.java index 690365119e..04e073984a 100644 --- a/base/src/org/compiere/db/CConnection.java +++ b/base/src/org/compiere/db/CConnection.java @@ -18,6 +18,7 @@ package org.compiere.db; import java.io.Serializable; import java.lang.reflect.Proxy; +import java.rmi.RMISecurityManager; import java.sql.Connection; import java.sql.DatabaseMetaData; import java.sql.SQLException; @@ -1630,7 +1631,6 @@ public class CConnection implements Serializable, Cloneable private Object lookup(String jndiName) throws NamingException { InitialContext ctx = getInitialContext(Ini.isClient()); - if (useComponentNamespace) { try diff --git a/base/src/org/compiere/model/Callout.java b/base/src/org/compiere/model/Callout.java index 59501e7024..3ddfcf7b20 100644 --- a/base/src/org/compiere/model/Callout.java +++ b/base/src/org/compiere/model/Callout.java @@ -18,6 +18,8 @@ package org.compiere.model; import java.util.Properties; +import org.adempiere.base.IService; + /** * Callout Interface for Callout. * Used in MTab and ImpFormatRow diff --git a/base/src/org/compiere/model/GridField.java b/base/src/org/compiere/model/GridField.java index de35761cbd..70eade9d09 100644 --- a/base/src/org/compiere/model/GridField.java +++ b/base/src/org/compiere/model/GridField.java @@ -1313,7 +1313,7 @@ public class GridField { Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.ColumnName, ((Boolean)m_value).booleanValue()); - } + } Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName, m_value==null ? null : (((Boolean)m_value) ? "Y" : "N")); } diff --git a/base/src/org/compiere/model/GridTab.java b/base/src/org/compiere/model/GridTab.java index debe710a0f..822fefe337 100644 --- a/base/src/org/compiere/model/GridTab.java +++ b/base/src/org/compiere/model/GridTab.java @@ -37,6 +37,9 @@ import java.util.logging.Level; import javax.script.ScriptEngine; import javax.swing.event.EventListenerList; +import org.adempiere.base.Core; +import org.adempiere.base.IColumnCallout; +import org.adempiere.base.Service; import org.compiere.util.CLogMgt; import org.compiere.util.CLogger; import org.compiere.util.DB; @@ -70,7 +73,7 @@ import org.compiere.util.ValueNamePair; * * @author Jorg Janke * @version $Id: GridTab.java,v 1.10 2006/10/02 05:18:39 jjanke Exp $ - * + * * @author Teo Sarca, SC ARHIPAC SERVICE SRL *

  • BF [ 1742159 ] Editable number field for inactive record *
  • BF [ 1968598 ] Callout is not called if tab is processed @@ -86,7 +89,7 @@ import org.compiere.util.ValueNamePair; * https://sourceforge.net/tracker/?func=detail&aid=2905287&group_id=176962&atid=879332 *
  • BF [ 3007342 ] Included tab context conflict issue * https://sourceforge.net/tracker/?func=detail&aid=3007342&group_id=176962&atid=879332 - * @author Victor Perez , e-Evolution.SC + * @author Victor Perez , e-Evolution.SC *
  • FR [1877902] Implement JSR 223 Scripting APIs to Callout *
  • BF [ 2910358 ] Error in context when a field is found in different tabs. * https://sourceforge.net/tracker/?func=detail&aid=2910358&group_id=176962&atid=879332 @@ -102,12 +105,12 @@ import org.compiere.util.ValueNamePair; public class GridTab implements DataStatusListener, Evaluatee, Serializable { /** - * + * */ private static final long serialVersionUID = -8055500064230704903L; public static final String DEFAULT_STATUS_MESSAGE = "NavigateOrUpdate"; - + /** * Create Tab (Model) from Value Object. *

    @@ -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 activeCallouts = new ArrayList(); private List activeCalloutInstance = new ArrayList(); - + /** - * + * * @return list of active call out for this tab */ public String[] getActiveCallouts() @@ -2690,9 +2693,9 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable String[] list = new String[activeCallouts.size()]; return activeCallouts.toArray(list); } - + /** - * + * * @return list of active call out instance for this tab */ public Callout[] getActiveCalloutInstance() @@ -2718,15 +2721,48 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable */ public String processCallout (GridField field) { - String callout = field.getCallout(); - if (callout.length() == 0) - return ""; // if (isProcessed() && !field.isAlwaysUpdateable()) // only active records return ""; // "DocProcessed"; Object value = field.getValue(); Object oldValue = field.getOldValue(); + List callouts = Core.findCallout(getTableName(), field.getColumnName()); + if (callouts != null && !callouts.isEmpty()) { + for(IColumnCallout co : callouts) + { + String retValue = ""; + + String cmd = co.getClass().getName(); + //detect infinite loop + if (activeCallouts.contains(cmd)) continue; + try + { + activeCallouts.add(cmd); + retValue = co.start(m_vo.ctx, m_vo.WindowNo, this, field, value, oldValue); + } + catch (Exception e) + { + log.log(Level.SEVERE, "start", e); + retValue = "Callout Invalid: " + e.toString(); + return retValue; + } + finally + { + activeCallouts.remove(cmd); + } + if (!Util.isEmpty(retValue)) // interrupt on first error + { + log.severe (retValue); + return retValue; + } + } + } + + String callout = field.getCallout(); + if (callout.length() == 0) + return ""; + log.fine(field.getColumnName() + "=" + value + " (" + callout + ") - old=" + oldValue); @@ -2734,26 +2770,26 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable while (st.hasMoreTokens()) // for each callout { String cmd = st.nextToken().trim(); - + //detect infinite loop if (activeCallouts.contains(cmd)) continue; - + String retValue = ""; // FR [1877902] // CarlosRuiz - globalqss - implement beanshell callout // Victor Perez - vpj-cd implement JSR 223 Scripting if (cmd.toLowerCase().startsWith(MRule.SCRIPT_PREFIX)) { - + MRule rule = MRule.get(m_vo.ctx, cmd.substring(MRule.SCRIPT_PREFIX.length())); if (rule == null) { - retValue = "Callout " + cmd + " not found"; + retValue = "Callout " + cmd + " not found"; log.log(Level.SEVERE, retValue); return retValue; } - if ( ! (rule.getEventType().equals(MRule.EVENTTYPE_Callout) + if ( ! (rule.getEventType().equals(MRule.EVENTTYPE_Callout) && rule.getRuleType().equals(MRule.RULETYPE_JSR223ScriptingAPIs))) { retValue = "Callout " + cmd - + " must be of type JSR 223 and event Callout"; + + " must be of type JSR 223 and event Callout"; log.log(Level.SEVERE, retValue); return retValue; } @@ -2763,7 +2799,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable // Window context are W_ // Login context are G_ MRule.setContext(engine, m_vo.ctx, m_vo.WindowNo); - // now add the callout parameters windowNo, tab, field, value, oldValue to the engine + // now add the callout parameters windowNo, tab, field, value, oldValue to the engine // Method arguments context are A_ engine.put(MRule.ARGUMENTS_PREFIX + "WindowNo", m_vo.WindowNo); engine.put(MRule.ARGUMENTS_PREFIX + "Tab", this); @@ -2772,7 +2808,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable engine.put(MRule.ARGUMENTS_PREFIX + "OldValue", oldValue); engine.put(MRule.ARGUMENTS_PREFIX + "Ctx", m_vo.ctx); - try + try { activeCallouts.add(cmd); retValue = engine.eval(rule.getScript()).toString(); @@ -2787,7 +2823,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable { activeCallouts.remove(cmd); } - + } else { Callout call = null; @@ -2828,9 +2864,9 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable activeCallouts.remove(cmd); activeCalloutInstance.remove(call); } - - } - + + } + if (!Util.isEmpty(retValue)) // interrupt on first error { log.severe (retValue); @@ -2899,7 +2935,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable return null; return m_mTable.getValueAt(row, col); } // getValue - + /* public boolean isNeedToSaveParent() { @@ -2953,11 +2989,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable { m_listenerList.add(DataStatusListener.class, l); } - + /** * @param l */ - public synchronized void addStateChangeListener(StateChangeListener l) + public synchronized void addStateChangeListener(StateChangeListener l) { m_listenerList.add(StateChangeListener.class, l); } @@ -2965,11 +3001,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable /** * @param l */ - public synchronized void removeStateChangeListener(StateChangeListener l) + public synchronized void removeStateChangeListener(StateChangeListener l) { m_listenerList.remove(StateChangeListener.class, l); } - + /** * Feature Request [1707462] * Enable runtime change of VFormat @@ -2980,7 +3016,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable public void setFieldVFormat (String identifier, String strNewFormat) { m_mTable.setFieldVFormat(identifier, strNewFormat); - } // setFieldVFormat + } // setFieldVFormat /** * Switches the line/seqNo of the two rows @@ -3039,10 +3075,10 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable if (lineNoCurrentRow >= 9900 || lineNoNextRow >= 9900) { log.fine("don't sort - might be special lines"); - return; + return; } // switch the line numbers and save new values - + m_mTable.setValueAt(lineNoCurrentRow, to, lineCol); setCurrentRow(to, false); m_mTable.dataSave(true); @@ -3057,7 +3093,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable } navigate(to); } - + private void fireStateChangeEvent(StateChangeEvent e) { StateChangeListener[] listeners = m_listenerList.getListeners(StateChangeListener.class); @@ -3066,11 +3102,11 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable for(int i = 0; i < listeners.length; i++) { listeners[i].stateChange(e); } - + } - + /** - * + * * @return list of all tabs included in this tab */ public List getIncludedTabs() @@ -3093,8 +3129,8 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable } return list; } - - //BF [ 2910358 ] + + //BF [ 2910358 ] /** * get Parent Tab No * @return Tab No @@ -3108,7 +3144,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable return tabNo; while (parentLevel != currentLevel) { - tabNo--; + tabNo--; currentLevel = Env.getContextAsInt(m_vo.ctx, m_vo.WindowNo, tabNo, GridTab.CTX_TabLevel); } return tabNo; diff --git a/base/src/org/compiere/util/Env.java b/base/src/org/compiere/util/Env.java index 04506f464f..07a3606495 100644 --- a/base/src/org/compiere/util/Env.java +++ b/base/src/org/compiere/util/Env.java @@ -46,6 +46,9 @@ import javax.swing.JFrame; import javax.swing.RepaintManager; import javax.swing.SwingUtilities; +import org.adempiere.base.Core; +import org.adempiere.base.IResourceFinder; +import org.adempiere.base.Service; import org.compiere.Adempiere; import org.compiere.db.CConnection; import org.compiere.model.MClient; @@ -54,6 +57,10 @@ import org.compiere.model.MRole; import org.compiere.model.MSession; import org.compiere.model.PO; import org.compiere.swing.CFrame; +import org.eclipse.core.runtime.IConfigurationElement; +import org.eclipse.core.runtime.Platform; + +import com.sun.xml.internal.ws.util.ServiceFinder; /** @@ -1497,7 +1504,10 @@ public final class Env */ public static Image getImage (String fileNameInImageDir) { - URL url = Adempiere.class.getResource("images/" + fileNameInImageDir); + IResourceFinder rf = Core.getResourceFinder(); + URL url = rf.getResource("images/" + fileNameInImageDir); + +// URL url = Adempiere.class.getResource("images/" + fileNameInImageDir); if (url == null) { s_log.log(Level.SEVERE, "Not found: " + fileNameInImageDir); @@ -1515,7 +1525,9 @@ public final class Env */ public static ImageIcon getImageIcon (String fileNameInImageDir) { - URL url = Adempiere.class.getResource("images/" + fileNameInImageDir); + IResourceFinder rf = Core.getResourceFinder(); + URL url = rf.getResource("images/" + fileNameInImageDir); +// URL url = Adempiere.class.getResource("images/" + fileNameInImageDir); if (url == null) { s_log.log(Level.INFO, "Not found: " + fileNameInImageDir); @@ -1535,9 +1547,12 @@ public final class Env */ public static ImageIcon getImageIcon2 (String fileName) { - URL url = Adempiere.class.getResource("images/" + fileName+".gif"); + IResourceFinder rf = Core.getResourceFinder(); + URL url = rf.getResource("images/" + fileName+".gif"); +// URL url = Adempiere.class.getResource("images/" + fileName+".gif"); if (url == null) - url = Adempiere.class.getResource("images/" + fileName+".png"); + url = rf.getResource("images/" + fileName+".png"); +// url = Adempiere.class.getResource("images/" + fileName+".png"); if (url == null) { s_log.log(Level.INFO, "GIF/PNG Not found: " + fileName); diff --git a/base/src/org/eevolution/model/I_PP_Product_Planning.java b/base/src/org/eevolution/model/I_PP_Product_Planning.java index e4e9f9d9cf..9235e97373 100644 --- a/base/src/org/eevolution/model/I_PP_Product_Planning.java +++ b/base/src/org/eevolution/model/I_PP_Product_Planning.java @@ -147,10 +147,14 @@ public interface I_PP_Product_Planning /** Column name IsMPS */ public static final String COLUMNNAME_IsMPS = "IsMPS"; - /** Set Is MPS */ + /** Set Is MPS. + * Determines if this product is part of the master production schedule + */ public void setIsMPS (boolean IsMPS); - /** Get Is MPS */ + /** Get Is MPS. + * Determines if this product is part of the master production schedule + */ public boolean isMPS(); /** Column name IsPhantom */ @@ -280,17 +284,6 @@ public interface I_PP_Product_Planning /** Get Order Qty */ public BigDecimal getOrder_Qty(); - /** Column name Planner_ID */ - public static final String COLUMNNAME_Planner_ID = "Planner_ID"; - - /** Set Planner */ - public void setPlanner_ID (int Planner_ID); - - /** Get Planner */ - public int getPlanner_ID(); - - public I_AD_User getPlanner() throws RuntimeException; - /** Column name PP_Product_BOM_ID */ public static final String COLUMNNAME_PP_Product_BOM_ID = "PP_Product_BOM_ID"; @@ -315,18 +308,16 @@ public interface I_PP_Product_Planning /** Get Product Planning */ public int getPP_Product_Planning_ID(); - /** Column name SafetyStock */ - public static final String COLUMNNAME_SafetyStock = "SafetyStock"; + /** Column name Planner_ID */ + public static final String COLUMNNAME_Planner_ID = "Planner_ID"; - /** Set Safety Stock Qty. - * Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs - */ - public void setSafetyStock (BigDecimal SafetyStock); + /** Set Planner */ + public void setPlanner_ID (int Planner_ID); - /** Get Safety Stock Qty. - * Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs - */ - public BigDecimal getSafetyStock(); + /** Get Planner */ + public int getPlanner_ID(); + + public I_AD_User getPlanner() throws RuntimeException; /** Column name S_Resource_ID */ public static final String COLUMNNAME_S_Resource_ID = "S_Resource_ID"; @@ -343,6 +334,19 @@ public interface I_PP_Product_Planning public I_S_Resource getS_Resource() throws RuntimeException; + /** Column name SafetyStock */ + public static final String COLUMNNAME_SafetyStock = "SafetyStock"; + + /** Set Safety Stock Qty. + * Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs + */ + public void setSafetyStock (BigDecimal SafetyStock); + + /** Get Safety Stock Qty. + * Safety stock is a term used to describe a level of stock that is maintained below the cycle stock to buffer against stock-outs + */ + public BigDecimal getSafetyStock(); + /** Column name TimeFence */ public static final String COLUMNNAME_TimeFence = "TimeFence"; diff --git a/client/.classpath b/client/.classpath index 1d00251176..ef91d5ab6c 100644 --- a/client/.classpath +++ b/client/.classpath @@ -9,5 +9,6 @@ + diff --git a/client/.project b/client/.project index 13176e95ec..f35cc99699 100644 --- a/client/.project +++ b/client/.project @@ -22,7 +22,12 @@ - org.eclipse.wst.validation.validationbuilder + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder @@ -32,5 +37,6 @@ org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jdt.core.javanature org.eclipse.wst.common.project.facet.core.nature + org.eclipse.pde.PluginNature diff --git a/client/META-INF/MANIFEST.MF b/client/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..e23362587e --- /dev/null +++ b/client/META-INF/MANIFEST.MF @@ -0,0 +1,204 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.adempiere.client +Bundle-SymbolicName: org.adempiere.client;singleton:=true +Bundle-Version: 0.0.0.2 +Bundle-ClassPath: client.jar, + lib/swingx-0.9.0.jar, + lib/groovy-all-1.5.1.jar, + lib/jcommon-1.0.14.jar, + lib/jfreechart-1.0.11.jar +Export-Package: com.keypoint, + de.schaeffer.compiere.tools, + groovy.inspect, + groovy.inspect.swingui, + groovy.io, + groovy.lang, + groovy.mock, + groovy.mock.interceptor, + groovy.model, + groovy.security, + groovy.servlet, + groovy.sql, + groovy.swing, + groovy.swing.binding, + groovy.swing.factory, + groovy.swing.impl, + groovy.text, + groovy.time, + groovy.ui, + groovy.ui.icons, + groovy.ui.text, + groovy.ui.view, + groovy.util, + groovy.util.slurpersupport, + groovy.xml, + groovy.xml.dom, + groovy.xml.streamingmarkupsupport, + groovyjarjarantlr, + groovyjarjarantlr.ASdebug, + groovyjarjarantlr.actions.cpp, + groovyjarjarantlr.actions.csharp, + groovyjarjarantlr.actions.java, + groovyjarjarantlr.actions.python, + groovyjarjarantlr.build, + groovyjarjarantlr.collections, + groovyjarjarantlr.collections.impl, + groovyjarjarantlr.debug, + groovyjarjarantlr.debug.misc, + groovyjarjarantlr.preprocessor, + groovyjarjarasm.asm, + groovyjarjarasm.asm.signature, + groovyjarjarasm.asm.tree, + groovyjarjarcommonscli, + org.adempiere.apps.graph, + org.adempiere.osgi, + org.codehaus.groovy, + org.codehaus.groovy.ant, + org.codehaus.groovy.antlr, + org.codehaus.groovy.antlr.java, + org.codehaus.groovy.antlr.parser, + org.codehaus.groovy.antlr.treewalker, + org.codehaus.groovy.ast, + org.codehaus.groovy.ast.expr, + org.codehaus.groovy.ast.stmt, + org.codehaus.groovy.binding, + org.codehaus.groovy.bsf, + org.codehaus.groovy.classgen, + org.codehaus.groovy.control, + org.codehaus.groovy.control.io, + org.codehaus.groovy.control.messages, + org.codehaus.groovy.groovydoc, + org.codehaus.groovy.reflection, + org.codehaus.groovy.runtime, + org.codehaus.groovy.runtime.metaclass, + org.codehaus.groovy.runtime.typehandling, + org.codehaus.groovy.runtime.wrappers, + org.codehaus.groovy.syntax, + org.codehaus.groovy.tools, + org.codehaus.groovy.tools.groovydoc, + org.codehaus.groovy.tools.javac, + org.codehaus.groovy.tools.shell, + org.codehaus.groovy.tools.shell.commands, + org.codehaus.groovy.tools.shell.util, + org.codehaus.groovy.tools.xml, + org.codehaus.groovy.vmplugin, + org.codehaus.groovy.vmplugin.v4, + org.codehaus.groovy.vmplugin.v5, + org.compiere, + org.compiere.acct, + org.compiere.apps, + org.compiere.apps.form, + org.compiere.apps.search, + org.compiere.apps.wf, + org.compiere.grid, + org.compiere.grid.ed, + org.compiere.grid.tree, + org.compiere.images, + org.compiere.install, + org.compiere.minigrid, + org.compiere.pos, + org.compiere.print, + org.eevolution.form, + org.jdesktop.beans, + org.jdesktop.swingx, + org.jdesktop.swingx.action, + org.jdesktop.swingx.auth, + org.jdesktop.swingx.auth.resources, + org.jdesktop.swingx.autocomplete, + org.jdesktop.swingx.autocomplete.workarounds, + org.jdesktop.swingx.border, + org.jdesktop.swingx.calendar, + org.jdesktop.swingx.calendar.resources, + org.jdesktop.swingx.color, + org.jdesktop.swingx.combobox, + org.jdesktop.swingx.decorator, + org.jdesktop.swingx.editors, + org.jdesktop.swingx.error, + org.jdesktop.swingx.event, + org.jdesktop.swingx.geom, + org.jdesktop.swingx.graphics, + org.jdesktop.swingx.icon, + org.jdesktop.swingx.image, + org.jdesktop.swingx.multislider, + org.jdesktop.swingx.multisplitpane, + org.jdesktop.swingx.painter, + org.jdesktop.swingx.painter.effects, + org.jdesktop.swingx.plaf, + org.jdesktop.swingx.plaf.basic, + org.jdesktop.swingx.plaf.basic.resources, + org.jdesktop.swingx.plaf.linux, + org.jdesktop.swingx.plaf.macosx, + org.jdesktop.swingx.plaf.metal, + org.jdesktop.swingx.plaf.misc, + org.jdesktop.swingx.plaf.motif, + org.jdesktop.swingx.plaf.nimbus, + org.jdesktop.swingx.plaf.resources, + org.jdesktop.swingx.plaf.windows, + org.jdesktop.swingx.plaf.windows.resources, + org.jdesktop.swingx.renderer, + org.jdesktop.swingx.resources, + org.jdesktop.swingx.table, + org.jdesktop.swingx.table.resources, + org.jdesktop.swingx.tips, + org.jdesktop.swingx.tree, + org.jdesktop.swingx.treetable, + org.jdesktop.swingx.util, + org.jfree, + org.jfree.base, + org.jfree.base.config, + org.jfree.base.log, + org.jfree.base.modules, + org.jfree.chart, + org.jfree.chart.annotations, + org.jfree.chart.axis, + org.jfree.chart.block, + org.jfree.chart.demo, + org.jfree.chart.editor, + org.jfree.chart.encoders, + org.jfree.chart.entity, + org.jfree.chart.event, + org.jfree.chart.imagemap, + org.jfree.chart.labels, + org.jfree.chart.needle, + org.jfree.chart.plot, + org.jfree.chart.plot.dial, + org.jfree.chart.renderer, + org.jfree.chart.renderer.category, + org.jfree.chart.renderer.xy, + org.jfree.chart.resources, + org.jfree.chart.servlet, + org.jfree.chart.title, + org.jfree.chart.urls, + org.jfree.chart.util, + org.jfree.data, + org.jfree.data.category, + org.jfree.data.contour, + org.jfree.data.function, + org.jfree.data.gantt, + org.jfree.data.general, + org.jfree.data.io, + org.jfree.data.jdbc, + org.jfree.data.resources, + org.jfree.data.statistics, + org.jfree.data.time, + org.jfree.data.time.ohlc, + org.jfree.data.xml, + org.jfree.data.xy, + org.jfree.date, + org.jfree.io, + org.jfree.layout, + org.jfree.resources, + org.jfree.text, + org.jfree.threads, + org.jfree.ui, + org.jfree.ui.about, + org.jfree.ui.about.resources, + org.jfree.ui.action, + org.jfree.ui.tabbedui, + org.jfree.util +Require-Bundle: org.adempiere.base;bundle-version="0.0.0", + org.eclipse.core.runtime;bundle-version="3.5.0", + org.adempiere.tools;bundle-version="0.0.0", + org.adempiere.jbossfacet;bundle-version="0.0.0" +Bundle-Activator: org.adempiere.client.Activator diff --git a/client/build.properties b/client/build.properties new file mode 100644 index 0000000000..fa5b12cd3f --- /dev/null +++ b/client/build.properties @@ -0,0 +1,8 @@ +source.client.jar = src/,build/ +bin.includes = META-INF/,\ + lib/swingx-0.9.0.jar,\ + lib/groovy-all-1.5.1.jar,\ + lib/jcommon-1.0.14.jar,\ + lib/jfreechart-1.0.11.jar,\ + client.jar,\ + plugin.xml diff --git a/client/build.xml b/client/build.xml index 1f6304344a..08131c5408 100644 --- a/client/build.xml +++ b/client/build.xml @@ -17,13 +17,24 @@ + + + + + + + + + + + @@ -112,7 +123,14 @@ - + + + + diff --git a/client/plugin.xml b/client/plugin.xml new file mode 100644 index 0000000000..3a52fae1c2 --- /dev/null +++ b/client/plugin.xml @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + diff --git a/client/schema/org.adempiere.osgi.IMenuAction.exsd b/client/schema/org.adempiere.osgi.IMenuAction.exsd new file mode 100644 index 0000000000..14f2107919 --- /dev/null +++ b/client/schema/org.adempiere.osgi.IMenuAction.exsd @@ -0,0 +1,101 @@ + + + + + + + + [Enter description of this extension point.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + [Enter the first release in which this extension point appears.] + + + + + + + + + [Enter extension point usage example here.] + + + + + + + + + [Enter API information here.] + + + + + + + + + [Enter information about supplied implementation of this extension point.] + + + + + diff --git a/client/src/org/adempiere/client/Activator.java b/client/src/org/adempiere/client/Activator.java new file mode 100644 index 0000000000..4f4c31bc1c --- /dev/null +++ b/client/src/org/adempiere/client/Activator.java @@ -0,0 +1,35 @@ +package org.adempiere.client; + +import java.rmi.RMISecurityManager; + +import org.compiere.util.CLogger; +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.Bundle; +import org.osgi.framework.BundleContext; +import org.osgi.framework.BundleException; + +public class Activator extends Plugin { + private static final String ADMEPIERE_PREFIX = "org.adempiere"; + private static CLogger log = CLogger.getCLogger(Activator.class); + + @Override + public void start(BundleContext context) throws Exception { + activateAll(context.getBundles()); + } + + private void activateAll(Bundle[] bundles) { + for (Bundle bundle : bundles) { + if (shouldStart(bundle)) + try { + bundle.start(); + log.info("Started "+bundle.getSymbolicName()); + } catch (BundleException e) { + log.warning("Could not start "+bundle.getSymbolicName()); + } + } + } + + private boolean shouldStart(Bundle bundle) { + return bundle.getSymbolicName().startsWith(ADMEPIERE_PREFIX); + } +} diff --git a/client/src/org/adempiere/client/Application.java b/client/src/org/adempiere/client/Application.java new file mode 100644 index 0000000000..a58e0870c3 --- /dev/null +++ b/client/src/org/adempiere/client/Application.java @@ -0,0 +1,19 @@ +package org.adempiere.client; + +import org.compiere.util.CLogger; +import org.eclipse.equinox.app.IApplication; +import org.eclipse.equinox.app.IApplicationContext; + +public class Application implements IApplication { + private static CLogger log = CLogger.getCLogger(Application.class); + + public Object start(IApplicationContext ctx) throws Exception { + log.info("Starting client"); + org.compiere.AdempiereClient.main(new String[]{}); + return IApplication.EXIT_OK; + } + + public void stop() { + } + +} diff --git a/client/src/org/adempiere/client/Client.java b/client/src/org/adempiere/client/Client.java new file mode 100644 index 0000000000..0fd064200e --- /dev/null +++ b/client/src/org/adempiere/client/Client.java @@ -0,0 +1,18 @@ +package org.adempiere.client; + +import org.adempiere.base.Core; +import org.adempiere.base.Service; +import org.adempiere.base.ServiceQuery; +import org.compiere.apps.form.FormPanel; + +public class Client { + + public static FormPanel getFormPanel(String className) { + if (Core.isExtension(className)) + className = className.substring(Core.OSGI_PREFIX.length()); + ServiceQuery query = new ServiceQuery(); + query.put("class", className); + return Service.locate(FormPanel.class, query ); + } + +} diff --git a/client/src/org/adempiere/osgi/AbstractMenuAction.java b/client/src/org/adempiere/osgi/AbstractMenuAction.java new file mode 100644 index 0000000000..164c2777d0 --- /dev/null +++ b/client/src/org/adempiere/osgi/AbstractMenuAction.java @@ -0,0 +1,35 @@ +package org.adempiere.osgi; + +import javax.swing.JMenu; +import javax.swing.JMenuBar; + +import org.compiere.util.CLogger; +import org.compiere.util.Env; +import org.compiere.util.Msg; + +public abstract class AbstractMenuAction implements IMenuAction { + + protected CLogger log = CLogger.getCLogger(getClass()); + + protected JMenu getMenu(JMenuBar menuBar, String label) { + + // Translated text + String text = Msg.getMsg(Env.getCtx(), label); + int pos = text.indexOf('&'); + if (pos != -1) { + text = text.substring(0, pos) + text.substring(pos+1); + } + + for (int i=0; i < menuBar.getMenuCount(); i++) { + JMenu menu = menuBar.getMenu(i); + if (text.equals(menu.getText())) { + return menu; + } + } + // menu not found. + log.warning("Menu " + label + " not found."); + return null; + } + + +} diff --git a/client/src/org/adempiere/osgi/IMenuAction.java b/client/src/org/adempiere/osgi/IMenuAction.java new file mode 100644 index 0000000000..b47dc1dce5 --- /dev/null +++ b/client/src/org/adempiere/osgi/IMenuAction.java @@ -0,0 +1,11 @@ +package org.adempiere.osgi; + +import javax.swing.JMenuBar; + +import org.adempiere.base.IService; + +public interface IMenuAction extends IService { + + public void addAction(JMenuBar menuBar); + +} diff --git a/client/src/org/compiere/AdempiereClient.java b/client/src/org/compiere/AdempiereClient.java new file mode 100644 index 0000000000..7d4dd39e35 --- /dev/null +++ b/client/src/org/compiere/AdempiereClient.java @@ -0,0 +1,219 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere; + +import java.awt.Image; +import java.awt.Toolkit; +import java.io.File; +import java.io.IOException; +import java.io.InputStream; +import java.net.URL; +import java.util.Properties; +import java.util.logging.Level; + +import javax.jnlp.BasicService; +import javax.jnlp.ServiceManager; +import javax.jnlp.UnavailableServiceException; +import javax.swing.ImageIcon; + +import org.compiere.db.CConnection; +import org.compiere.model.MClient; +import org.compiere.model.MSystem; +import org.compiere.model.ModelValidationEngine; +import org.compiere.util.CLogFile; +import org.compiere.util.CLogMgt; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.compiere.util.Ini; +import org.compiere.util.Login; +import org.compiere.util.SecureEngine; +import org.compiere.util.SecureInterface; +import org.compiere.util.Splash; +import org.compiere.util.Util; + +/** + * Adempiere Control Class + * + * @author Jorg Janke + * @version $Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $ + * + */ +public final class AdempiereClient +{ + /** Logging */ + private static CLogger log = null; + + /************************************************************************* + * Startup Client. + * - Print greeting, + * - Check Java version and + * - load ini parameters + * If it is a client, load/set PLAF and exit if error. + * If Client, you need to call startupEnvironment explicitly! + * For testing call method startupEnvironment + * @param isClient true for client + * @return successful startup + */ + public static synchronized boolean startup (boolean isClient) + { + // Already started + if (log != null) + return true; + + // Check Version + if (!Login.isJavaOK(isClient) && isClient) + System.exit(1); + + CLogMgt.initialize(isClient); + Ini.setClient (isClient); // Ini requires Logging + // Init Log + log = CLogger.getCLogger(AdempiereClient.class); + // Greeting + log.info(Adempiere.getSummaryAscii()); + // log.info(getAdempiereHome() + " - " + getJavaInfo() + " - " + getOSInfo()); + + // Load System environment + // EnvLoader.load(Ini.ENV_PREFIX); + + // System properties + Ini.loadProperties (false); + + // Set up Log + CLogMgt.setLevel(Ini.getProperty(Ini.P_TRACELEVEL)); + if (isClient && Ini.isPropertyBool(Ini.P_TRACEFILE) + && CLogFile.get(false, null, isClient) == null) + CLogMgt.addHandler(CLogFile.get (true, Ini.findAdempiereHome(), isClient)); + + // Set UI + if (isClient) + { + if (CLogMgt.isLevelAll()) + log.log(Level.FINEST, System.getProperties().toString()); + } + + // Set Default Database Connection from Ini + DB.setDBTarget(CConnection.get(Adempiere.getCodeBaseHost())); + + if (isClient) // don't test connection + return false; // need to call + + return startupEnvironment(isClient); + } // startup + + /** + * Startup Adempiere Environment. + * Automatically called for Server connections + * For testing call this method. + * @param isClient true if client connection + * @return successful startup + */ + public static boolean startupEnvironment (boolean isClient) + { + startup(isClient); // returns if already initiated + if (!DB.isConnected()) + { + log.severe ("No Database"); + return false; + } + MSystem system = MSystem.get(Env.getCtx()); // Initializes Base Context too + if (system == null) + return false; + + // Initialize main cached Singletons + ModelValidationEngine.get(); + try + { + String className = system.getEncryptionKey(); + if (className == null || className.length() == 0) + { + className = System.getProperty(SecureInterface.ADEMPIERE_SECURE); + if (className != null && className.length() > 0 + && !className.equals(SecureInterface.ADEMPIERE_SECURE_DEFAULT)) + { + SecureEngine.init(className); // test it + system.setEncryptionKey(className); + system.save(); + } + } + SecureEngine.init(className); + + // + if (isClient) + MClient.get(Env.getCtx(),0); // Login Client loaded later + else + MClient.getAll(Env.getCtx()); + } + catch (Exception e) + { + log.warning("Environment problems: " + e.toString()); + } + + // Start Workflow Document Manager (in other package) for PO + String className = null; + try + { + className = "org.compiere.wf.DocWorkflowManager"; + Class.forName(className); + // Initialize Archive Engine + className = "org.compiere.print.ArchiveEngine"; + Class.forName(className); + } + catch (Exception e) + { + log.warning("Not started: " + className + " - " + e.getMessage()); + } + + if (!isClient) + DB.updateMail(); + return true; + } // startupEnvironment + + + /** + * Main Method + * + * @param args optional start class + */ + public static void main (String[] args) + { + Splash.getSplash(); + startup(true); // error exit and initUI + + // Start with class as argument - or if nothing provided with Client + String className = "org.compiere.apps.AMenu"; + for (int i = 0; i < args.length; i++) + { + if (!args[i].equals("-debug")) // ignore -debug + { + className = args[i]; + break; + } + } + // + try + { + Class startClass = Class.forName(className); + startClass.newInstance(); + } + catch (Exception e) + { + System.err.println("ADempiere starting: " + className + " - " + e.toString()); + e.printStackTrace(); + } + } // main +} // Adempiere diff --git a/client/src/org/compiere/acct/AcctViewer.java b/client/src/org/compiere/acct/AcctViewer.java index 2fe4c85488..2827738ae4 100644 --- a/client/src/org/compiere/acct/AcctViewer.java +++ b/client/src/org/compiere/acct/AcctViewer.java @@ -122,7 +122,7 @@ public class AcctViewer extends CFrame /** State Info */ private AcctViewerData m_data = null; /** Image Icon */ - private ImageIcon m_iFind = new ImageIcon(org.compiere.Adempiere.class.getResource("images/Find16.gif")); + private ImageIcon m_iFind = new ImageIcon(org.compiere.Adempiere.getResource("images/Find16.gif")); /** Logger */ private static CLogger log = CLogger.getCLogger(AcctViewer.class); @@ -210,7 +210,7 @@ public class AcctViewer extends CFrame */ private void jbInit() throws Exception { - ImageIcon ii = new ImageIcon(org.compiere.Adempiere.class.getResource("images/InfoAccount16.gif")); + ImageIcon ii = new ImageIcon(org.compiere.Adempiere.getResource("images/InfoAccount16.gif")); setIconImage(ii.getImage()); // mainLayout.setHgap(5); diff --git a/client/src/org/compiere/apps/APanel.java b/client/src/org/compiere/apps/APanel.java index 25fef04704..362612b883 100644 --- a/client/src/org/compiere/apps/APanel.java +++ b/client/src/org/compiere/apps/APanel.java @@ -33,6 +33,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.Iterator; +import java.util.List; import java.util.Map; import java.util.Properties; import java.util.TreeMap; @@ -59,6 +60,8 @@ import javax.swing.SwingUtilities; import javax.swing.event.ChangeEvent; import javax.swing.event.ChangeListener; +import org.adempiere.base.Service; +import org.adempiere.osgi.IMenuAction; import org.compiere.apps.form.FormFrame; import org.compiere.apps.search.Find; import org.compiere.grid.APanelTab; @@ -525,6 +528,12 @@ public final class APanel extends CPanel toolBar.add(aEnd.getButton()); } + // Create OSGi menu actions.. + List osgiActions = Service.list(IMenuAction.class); + for (IMenuAction action:osgiActions) { + action.addAction(menuBar); + } + // if (CLogMgt.isLevelAll()) Util.printActionInputMap(this); diff --git a/client/src/org/compiere/apps/FieldRecordInfo.java b/client/src/org/compiere/apps/FieldRecordInfo.java index 245fee94dc..2306cba212 100644 --- a/client/src/org/compiere/apps/FieldRecordInfo.java +++ b/client/src/org/compiere/apps/FieldRecordInfo.java @@ -63,7 +63,7 @@ public class FieldRecordInfo extends CDialog public static final String CHANGE_LOG_COMMAND = "ChangeLog"; /** The Menu Icon */ - private static Icon s_icon = new ImageIcon(org.compiere.Adempiere.class.getResource("images/ChangeLog16.png")); + private static Icon s_icon = new ImageIcon(org.compiere.Adempiere.getResource("images/ChangeLog16.png")); private int AD_Table_ID; private int AD_Column_ID; diff --git a/client/src/org/compiere/apps/form/FormFrame.java b/client/src/org/compiere/apps/form/FormFrame.java index 9933058690..ef48824de4 100644 --- a/client/src/org/compiere/apps/form/FormFrame.java +++ b/client/src/org/compiere/apps/form/FormFrame.java @@ -33,6 +33,8 @@ import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.KeyStroke; +import org.adempiere.base.Core; +import org.adempiere.client.Client; import org.compiere.apps.AEnv; import org.compiere.apps.AGlassPane; import org.compiere.apps.AMenu; @@ -315,7 +317,10 @@ public class FormFrame extends CFrame try { // Create instance w/o parameters - m_panel = (FormPanel)Class.forName(className).newInstance(); + if (Core.isExtension(className)) + m_panel = Client.getFormPanel(className); + else + m_panel = (FormPanel)Class.forName(className).newInstance(); } catch (Exception e) { diff --git a/client/src/org/compiere/apps/form/FormPanel.java b/client/src/org/compiere/apps/form/FormPanel.java index 443ac21be5..f0adf52f76 100644 --- a/client/src/org/compiere/apps/form/FormPanel.java +++ b/client/src/org/compiere/apps/form/FormPanel.java @@ -16,13 +16,15 @@ *****************************************************************************/ package org.compiere.apps.form; +import org.adempiere.base.IService; + /** * Form Panel Interface. * for communicating between FormFrame and JPanel * @author Jorg Janke * @version $Id: FormPanel.java,v 1.2 2006/07/30 00:51:28 jjanke Exp $ */ -public interface FormPanel +public interface FormPanel extends IService { /** * Initialize Panel diff --git a/client/src/org/compiere/apps/search/Find.java b/client/src/org/compiere/apps/search/Find.java index b2f7260fb1..2a25a7066a 100644 --- a/client/src/org/compiere/apps/search/Find.java +++ b/client/src/org/compiere/apps/search/Find.java @@ -348,22 +348,22 @@ public final class Find extends CDialog spaceN = Box.createVerticalStrut(8); spaceW = Box.createHorizontalStrut(8); spaceS = Box.createVerticalStrut(8); - bIgnore.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Ignore24.gif"))); + bIgnore.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Ignore24.gif"))); bIgnore.setMargin(new Insets(2, 2, 2, 2)); bIgnore.setToolTipText(Msg.getMsg(Env.getCtx(),"Ignore")); bIgnore.addActionListener(this); fQueryName.setToolTipText (Msg.getMsg(Env.getCtx(),"QueryName")); fQueryName.setEditable(true); fQueryName.addActionListener(this); - bSave.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Save24.gif"))); + bSave.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Save24.gif"))); bSave.setMargin(new Insets(2, 2, 2, 2)); bSave.setToolTipText(Msg.getMsg(Env.getCtx(),"Save")); bSave.addActionListener(this); - bNew.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/New24.gif"))); + bNew.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/New24.gif"))); bNew.setMargin(new Insets(2, 2, 2, 2)); bNew.setToolTipText(Msg.getMsg(Env.getCtx(),"New")); bNew.addActionListener(this); - bDelete.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Delete24.gif"))); + bDelete.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Delete24.gif"))); bDelete.setMargin(new Insets(2, 2, 2, 2)); bDelete.setToolTipText(Msg.getMsg(Env.getCtx(),"Delete")); bDelete.addActionListener(this); diff --git a/client/src/org/compiere/apps/search/Info.java b/client/src/org/compiere/apps/search/Info.java index a83c37269d..5ac8f7fbd8 100644 --- a/client/src/org/compiere/apps/search/Info.java +++ b/client/src/org/compiere/apps/search/Info.java @@ -406,7 +406,7 @@ public abstract class Info extends CDialog // popup.add(calcMenu); calcMenu.setText(Msg.getMsg(Env.getCtx(), "Calculator")); - calcMenu.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Calculator16.gif"))); + calcMenu.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Calculator16.gif"))); calcMenu.addActionListener(this); // p_table.getSelectionModel().addListSelectionListener(this); diff --git a/client/src/org/compiere/grid/GridController.java b/client/src/org/compiere/grid/GridController.java index 09aeabb9f0..57d9b83bbe 100644 --- a/client/src/org/compiere/grid/GridController.java +++ b/client/src/org/compiere/grid/GridController.java @@ -33,6 +33,7 @@ import java.beans.PropertyVetoException; import java.beans.VetoableChangeListener; import java.util.ArrayList; import java.util.HashSet; +import java.util.List; import java.util.Properties; import java.util.Set; import java.util.logging.Level; @@ -48,6 +49,8 @@ import javax.swing.table.DefaultTableModel; import javax.swing.table.TableColumn; import javax.swing.table.TableColumnModel; +import org.adempiere.base.Core; +import org.adempiere.base.IColumnCallout; import org.adempiere.plaf.AdempiereLookAndFeel; import org.adempiere.plaf.AdempierePLAF; import org.compiere.apps.ADialog; @@ -801,11 +804,13 @@ public class GridController extends CPanel // Process Callout GridField mField = m_mTab.getField(col); if (mField != null - && (mField.getCallout().length() > 0 || m_mTab.hasDependants(mField.getColumnName()))) - { - String msg = m_mTab.processFieldChange(mField); // Dependencies & Callout - if (msg.length() > 0) - ADialog.error(m_WindowNo, this, msg); + List callouts = Core.findCallout(m_mTab.getTableName(), mField.getColumnName()); + if (mField.getCallout().length() > 0 || callouts.size()>0 || m_mTab.hasDependants(mField.getColumnName())) + { + String msg = m_mTab.processFieldChange(mField); // Dependencies & Callout + if (msg.length() > 0) + ADialog.error(m_WindowNo, this, msg); + } } //if (col >= 0) dynamicDisplay(col); diff --git a/client/src/org/compiere/grid/ed/VAccountDialog.java b/client/src/org/compiere/grid/ed/VAccountDialog.java index 5fd659f660..b78ab99c0a 100644 --- a/client/src/org/compiere/grid/ed/VAccountDialog.java +++ b/client/src/org/compiere/grid/ed/VAccountDialog.java @@ -226,15 +226,15 @@ public final class VAccountDialog extends CDialog toolBar.setRequestFocusEnabled(false); toolBar.setBorderPainted(false); toolBar.setMargin(new Insets(5, 5, 5, 5)); - bSave.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Save24.gif"))); + bSave.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Save24.gif"))); bSave.setMargin(new Insets(2, 2, 2, 2)); bSave.setToolTipText(Msg.getMsg(Env.getCtx(),"AccountNewUpdate")); bSave.addActionListener(this); - bRefresh.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Refresh24.gif"))); + bRefresh.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Refresh24.gif"))); bRefresh.setMargin(new Insets(2, 2, 2, 2)); bRefresh.setToolTipText(Msg.getMsg(Env.getCtx(),"Refresh")); bRefresh.addActionListener(this); - bIgnore.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Ignore24.gif"))); + bIgnore.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Ignore24.gif"))); bIgnore.setMargin(new Insets(2, 2, 2, 2)); bIgnore.setToolTipText(Msg.getMsg(Env.getCtx(),"Ignore")); bIgnore.addActionListener(this); diff --git a/client/src/org/compiere/grid/ed/VLocator.java b/client/src/org/compiere/grid/ed/VLocator.java index 71f0edcd6c..0e76487133 100644 --- a/client/src/org/compiere/grid/ed/VLocator.java +++ b/client/src/org/compiere/grid/ed/VLocator.java @@ -144,7 +144,7 @@ public class VLocator extends JComponent m_text.addActionListener(this); this.add(m_text, BorderLayout.CENTER); - m_button.setIcon(new ImageIcon(org.compiere.Adempiere.class.getResource("images/Locator10.gif"))); + m_button.setIcon(new ImageIcon(org.compiere.Adempiere.getResource("images/Locator10.gif"))); m_button.setMargin(new Insets(0, 0, 0, 0)); m_button.setPreferredSize(new Dimension(height, height)); m_button.addActionListener(this); diff --git a/client/src/org/compiere/grid/ed/ValuePreference.java b/client/src/org/compiere/grid/ed/ValuePreference.java index f69a770266..9887f07c35 100644 --- a/client/src/org/compiere/grid/ed/ValuePreference.java +++ b/client/src/org/compiere/grid/ed/ValuePreference.java @@ -162,7 +162,7 @@ public class ValuePreference extends CDialog /** The Name of the Editor */ public static final String NAME = "ValuePreference"; /** The Menu Icon */ - private static Icon s_icon = new ImageIcon(org.compiere.Adempiere.class.getResource("images/VPreference16.gif")); + private static Icon s_icon = new ImageIcon(org.compiere.AdempiereClient.class.getResource("images/VPreference16.gif")); /** Logger */ private static CLogger log = CLogger.getCLogger(ValuePreference.class); diff --git a/client/src/org/compiere/print/ReportCtl.java b/client/src/org/compiere/print/ReportCtl.java index 766d952baa..1d41721774 100644 --- a/client/src/org/compiere/print/ReportCtl.java +++ b/client/src/org/compiere/print/ReportCtl.java @@ -337,6 +337,11 @@ public class ReportCtl // We have a Jasper Print Format // ============================== if(format.getJasperProcess_ID() > 0) + if (info.isDocument()) { + ProcessInfoParameter pip = new ProcessInfoParameter("CURRENT_LANG", format.getLanguage(), null, null, null); + pi.setParameter(new ProcessInfoParameter[]{pip}); + } + { ServerReportCtl.runJasperProcess(Record_ID, re, IsDirectPrint, printerName); } diff --git a/client/src/org/compiere/util/ResourceFinder.java b/client/src/org/compiere/util/ResourceFinder.java new file mode 100644 index 0000000000..2a613bf290 --- /dev/null +++ b/client/src/org/compiere/util/ResourceFinder.java @@ -0,0 +1,18 @@ +package org.compiere.util; + +import java.net.URL; + +import org.adempiere.base.IResourceFinder; +import org.compiere.AdempiereClient; + +public class ResourceFinder implements IResourceFinder { + + public ResourceFinder() { + } + + public URL getResource(String name) { + URL resource = AdempiereClient.class.getResource(name); + return resource; + } + +} diff --git a/base/src/org/compiere/util/Splash.java b/client/src/org/compiere/util/Splash.java similarity index 93% rename from base/src/org/compiere/util/Splash.java rename to client/src/org/compiere/util/Splash.java index d7d19c57e1..fc3a358c5c 100644 --- a/base/src/org/compiere/util/Splash.java +++ b/client/src/org/compiere/util/Splash.java @@ -36,6 +36,7 @@ import java.net.URL; import java.util.Locale; import org.compiere.Adempiere; +import org.compiere.AdempiereClient; /** * Splash Screen. @@ -94,6 +95,7 @@ public class Splash extends Frame public Splash (String text) { super("Adempiere"); + System.out.println(text); message.setText(text); try { @@ -268,9 +270,9 @@ public class Splash extends Frame public AImage() { super(); - URL url = org.compiere.Adempiere.class.getResource("images/Java_anim.gif"); + URL url = org.compiere.AdempiereClient.class.getResource("images/Java_anim.gif"); if (url == null) - url = org.compiere.Adempiere.class.getResource("images/Java_logo.gif"); + url = org.compiere.AdempiereClient.class.getResource("images/Java_logo.gif"); if (url != null) { m_image = Toolkit.getDefaultToolkit().getImage(url); diff --git a/equinox-target/.project b/equinox-target/.project new file mode 100644 index 0000000000..08165072a3 --- /dev/null +++ b/equinox-target/.project @@ -0,0 +1,11 @@ + + + equinox-target + + + + + + + + diff --git a/equinox-target/build.xml b/equinox-target/build.xml new file mode 100644 index 0000000000..cdfa4c718b --- /dev/null +++ b/equinox-target/build.xml @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/equinox-target/configuration/config.ini b/equinox-target/configuration/config.ini new file mode 100644 index 0000000000..edb7b17978 --- /dev/null +++ b/equinox-target/configuration/config.ini @@ -0,0 +1,3 @@ +org.osgi.framework.bootdelegation=* +osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@3:start, org.eclipse.core.runtime@4:start, org.adempiere.client@start + diff --git a/equinox-target/equinox.target b/equinox-target/equinox.target new file mode 100644 index 0000000000..090df68307 --- /dev/null +++ b/equinox-target/equinox.target @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/equinox-target/webapp/WEB-INF/eclipse/configuration/config.ini b/equinox-target/webapp/WEB-INF/eclipse/configuration/config.ini new file mode 100644 index 0000000000..5a1ca3b458 --- /dev/null +++ b/equinox-target/webapp/WEB-INF/eclipse/configuration/config.ini @@ -0,0 +1,3 @@ +#Eclipse Runtime Configuration File +osgi.bundles=org.eclipse.equinox.common@2:start, org.eclipse.update.configurator@start, org.eclipse.equinox.http.servletbridge@start, org.eclipse.equinox.http.registry@start, org.adempiere.zkwebui@start +osgi.bundles.defaultStartLevel=4 diff --git a/equinox-target/webapp/WEB-INF/eclipse/features/org.eclipse.equinox.servletbridge.feature_1.0.0/feature.xml b/equinox-target/webapp/WEB-INF/eclipse/features/org.eclipse.equinox.servletbridge.feature_1.0.0/feature.xml new file mode 100644 index 0000000000..a826af0699 --- /dev/null +++ b/equinox-target/webapp/WEB-INF/eclipse/features/org.eclipse.equinox.servletbridge.feature_1.0.0/feature.xml @@ -0,0 +1,76 @@ + + + + + The Servletbridge feature is used to hold the default plugins and dependencies used to build the bridge WebARchive. + + + + 2006 Cognos Inc. + + + + ECLIPSE FOUNDATION SOFTWARE USER AGREEMENT + + + + + + + + + + + + + + + + + + + diff --git a/equinox-target/webapp/WEB-INF/web.xml b/equinox-target/webapp/WEB-INF/web.xml new file mode 100644 index 0000000000..cc51ad9f99 --- /dev/null +++ b/equinox-target/webapp/WEB-INF/web.xml @@ -0,0 +1,49 @@ + + + + + equinoxbridgeservlet + Equinox Bridge Servlet + Equinox Bridge Servlet + org.eclipse.equinox.servletbridge.BridgeServlet + + commandline + -console -clean + + + enableFrameworkControls + true + + + + extendedFrameworkExports + + + + + 1 + + + equinoxbridgeservlet + /* + + + + equinoxbridgeservlet + *.jsp + + diff --git a/equinox-target/webstart/adempiere-equinox.jnlp b/equinox-target/webstart/adempiere-equinox.jnlp new file mode 100644 index 0000000000..8660f359a1 --- /dev/null +++ b/equinox-target/webstart/adempiere-equinox.jnlp @@ -0,0 +1,57 @@ + + + + Adempiere Client 3.5.4a + ADempiere, Inc. + + + Adempiere ERP+CRM ($$context) - Smart Business Solution for Distribution and Service - globally + Adempiere ERP+CRM ($$context) + Adempiere ERP+CRM + Adempiere ERP+CRM ($$context) + + + + + + + + + + + -consoleLog + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/install/.classpath b/install/.classpath index 1d8f58df82..701ac0fbe1 100644 --- a/install/.classpath +++ b/install/.classpath @@ -13,5 +13,6 @@ + diff --git a/install/.project b/install/.project index e7adf24f52..3dca82a6da 100644 --- a/install/.project +++ b/install/.project @@ -1,28 +1,39 @@ - - - install - - - base - client - dbPort - extend - jboss - looks - print - server - serverApps - serverRoot - tools - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + + + install + + + base + client + dbPort + extend + jboss + looks + print + server + serverApps + serverRoot + tools + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/install/Adempiere/RUN_setup.sh b/install/Adempiere/RUN_setup.sh index 47f12eff44..3b534c6448 100644 --- a/install/Adempiere/RUN_setup.sh +++ b/install/Adempiere/RUN_setup.sh @@ -26,7 +26,10 @@ ARGS=CONFIG # To test the OCI driver, add -DTestOCI=Y to the command - example: # $JAVA -classpath $CP -DADEMPIERE_HOME=$ADEMPIERE_HOME -DTestOCI=Y org.compiere.install.Setup $ARGS -$JAVA -classpath $CP -DADEMPIERE_HOME=$ADEMPIERE_HOME org.compiere.install.Setup $ARGS +# $JAVA -classpath $CP -DADEMPIERE_HOME=$ADEMPIERE_HOME org.compiere.install.Setup $ARGS +# OSGi: +$JAVA -jar osgi/org.eclipse.osgi_3.5.0.v20090520.jar -clean -console -application org.adempiere.Install + #echo =================================== #echo Setup Adempiere Server Environment @@ -41,7 +44,7 @@ find . -name '*.sh' -exec chmod a+x '{}' \; # Sign database build cd utils -. ./RUN_SignDatabaseBuild.sh +#. ./RUN_SignDatabaseBuild.sh . ./RUN_UnixEnv.sh diff --git a/install/Adempiere/build.xml b/install/Adempiere/build.xml index 5bb8abc49c..14d438ce77 100644 --- a/install/Adempiere/build.xml +++ b/install/Adempiere/build.xml @@ -338,7 +338,7 @@ - @@ -349,7 +349,7 @@ - + @@ -515,10 +515,23 @@ - + + + + + + + + + + + + diff --git a/install/META-INF/MANIFEST.MF b/install/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..27b97b25a4 --- /dev/null +++ b/install/META-INF/MANIFEST.MF @@ -0,0 +1,19 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: install +Bundle-SymbolicName: org.adempiere.install;singleton:=true +Bundle-Version: 0.0.0.1 +Bundle-ClassPath: install.jar, + lib/ant.jar, + lib/ant-commons-net.jar, + lib/ant-launcher.jar, + lib/commons-net-1.4.0.jar, + lib/ocrs12.jar, + lib/ojdbc14.jar +Export-Package: images, + org.compiere.install +Require-Bundle: org.eclipse.core.runtime;bundle-version="3.5.0", + org.adempiere.base;bundle-version="0.0.0", + org.adempiere.client;bundle-version="0.0.0", + org.adempiere.tools;bundle-version="0.0.0" +Bundle-Activator: org.compiere.install.Activator diff --git a/install/build.properties b/install/build.properties new file mode 100644 index 0000000000..f467f3ebcf --- /dev/null +++ b/install/build.properties @@ -0,0 +1,10 @@ +source.install.jar = src/,build/ +bin.includes = META-INF/,\ + lib/ant.jar,\ + lib/ant-commons-net.jar,\ + lib/ant-launcher.jar,\ + lib/commons-net-1.4.0.jar,\ + lib/ocrs12.jar,\ + lib/ojdbc14.jar,\ + install.jar,\ + plugin.xml diff --git a/install/build.xml b/install/build.xml index 7ee097813c..739b2af31d 100644 --- a/install/build.xml +++ b/install/build.xml @@ -16,6 +16,7 @@ + @@ -117,7 +118,7 @@ - - + AdempiereHome - + + + + + + + + + + + + + + + + + + + + + @@ -268,6 +289,13 @@ + + + diff --git a/install/plugin.xml b/install/plugin.xml new file mode 100644 index 0000000000..4f264a6626 --- /dev/null +++ b/install/plugin.xml @@ -0,0 +1,12 @@ + + + + + + + + + + diff --git a/install/src/org/compiere/install/Application.java b/install/src/org/compiere/install/Application.java new file mode 100644 index 0000000000..e29ec94eac --- /dev/null +++ b/install/src/org/compiere/install/Application.java @@ -0,0 +1,16 @@ +package org.compiere.install; + +import org.eclipse.equinox.app.IApplication; +import org.eclipse.equinox.app.IApplicationContext; + +public class Application implements IApplication { + + public Object start(IApplicationContext arg0) throws Exception { + Setup.main(new String[]{}); + return null; + } + + public void stop() { + } + +} diff --git a/install/src/org/compiere/install/ConfigurationPanel.java b/install/src/org/compiere/install/ConfigurationPanel.java index e2d3be1e14..03013bcd5d 100644 --- a/install/src/org/compiere/install/ConfigurationPanel.java +++ b/install/src/org/compiere/install/ConfigurationPanel.java @@ -36,6 +36,7 @@ import javax.swing.JSeparator; import javax.swing.SwingUtilities; import javax.swing.border.TitledBorder; +import org.adempiere.base.Core; import org.apache.tools.ant.Main; import org.compiere.Adempiere; import org.compiere.swing.CButton; @@ -47,6 +48,8 @@ import org.compiere.swing.CPassword; import org.compiere.swing.CTextField; import org.compiere.util.CLogger; +import com.sfcommerce.jpaymentcomponent.ssl.Client; + /** * Configuration Panel @@ -98,8 +101,8 @@ public class ConfigurationPanel extends CPanel implements ActionListener private ConfigurationData m_data = new ConfigurationData(this); private static ImageIcon iOpen = new ImageIcon(ConfigurationPanel.class.getResource("openFile.gif")); - private static ImageIcon iSave = new ImageIcon(Adempiere.class.getResource("images/Save16.gif")); - private static ImageIcon iHelp = new ImageIcon(Adempiere.class.getResource("images/Help16.gif")); + private static ImageIcon iSave = new ImageIcon(Core.getResourceFinder().getResource("images/Save16.gif")); + private static ImageIcon iHelp = new ImageIcon(Core.getResourceFinder().getResource("images/Help16.gif")); // ------------- Static UI diff --git a/interfaces/.classpath b/interfaces/.classpath new file mode 100644 index 0000000000..8c49c50367 --- /dev/null +++ b/interfaces/.classpath @@ -0,0 +1,5 @@ + + + + + diff --git a/jboss/.classpath b/jboss/.classpath index 58fbfeb7d5..c0559fe568 100644 --- a/jboss/.classpath +++ b/jboss/.classpath @@ -1,12 +1,14 @@ - - - - - - - - - - - - + + + + + + + + + + + + + + diff --git a/jboss/.project b/jboss/.project index d538ec80ef..ac83f0cff5 100644 --- a/jboss/.project +++ b/jboss/.project @@ -1,17 +1,28 @@ - - - jboss - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + + + jboss + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/jboss/META-INF/MANIFEST.MF b/jboss/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..7af0dba21b --- /dev/null +++ b/jboss/META-INF/MANIFEST.MF @@ -0,0 +1,114 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jboss +Bundle-SymbolicName: org.adempiere.jboss +Bundle-Version: 0.0.0.1 +Bundle-ClassPath: client/jboss-client.jar, + client/jboss-common-client.jar, + client/jboss-j2ee.jar, + client/jbosssx-client.jar, + client/jboss-transaction-client.jar, + client/jnp-client.jar, + client/jmx-invoker-adaptor-client.jar, + client/jbossall-client.jar +Export-Package: EDU.oswego.cs.dl.util.concurrent, + EDU.oswego.cs.dl.util.concurrent.misc, + javax.ejb, + javax.ejb.spi, + javax.enterprise.deploy.model, + javax.enterprise.deploy.model.exceptions, + javax.enterprise.deploy.shared, + javax.enterprise.deploy.shared.factories, + javax.enterprise.deploy.spi, + javax.enterprise.deploy.spi.exceptions, + javax.enterprise.deploy.spi.factories, + javax.enterprise.deploy.spi.status, + javax.jms, + javax.management, + javax.management.loading, + javax.management.modelmbean, + javax.management.monitor, + javax.management.openmbean, + javax.management.relation, + javax.management.timer, + javax.resource, + javax.resource.cci, + javax.resource.spi, + javax.resource.spi.endpoint, + javax.resource.spi.security, + javax.resource.spi.work, + javax.security.jacc, + javax.sql, + javax.transaction, + javax.transaction.xa, + javax.xml.registry, + javax.xml.registry.infomodel, + org.apache.xerces.impl.xs, + org.jboss.corba, + org.jboss.crypto, + org.jboss.crypto.digest, + org.jboss.ejb, + org.jboss.ejb.plugins.cmp.jdbc, + org.jboss.ejb.plugins.keygenerator, + org.jboss.invocation, + org.jboss.invocation.http.interfaces, + org.jboss.invocation.jrmp.interfaces, + org.jboss.invocation.jrmp.server, + org.jboss.invocation.pooled.interfaces, + org.jboss.invocation.unified.interfaces, + org.jboss.invocation.unified.marshall, + org.jboss.jmx.adaptor.rmi, + org.jboss.jmx.connector.invoker.client, + org.jboss.logging, + org.jboss.logging.appender, + org.jboss.logging.filter, + org.jboss.logging.layout, + org.jboss.logging.util, + org.jboss.monitor.client, + org.jboss.naming, + org.jboss.naming.client.java, + org.jboss.naming.interceptors, + org.jboss.net.protocol, + org.jboss.net.protocol.file, + org.jboss.net.protocol.http, + org.jboss.net.protocol.njar, + org.jboss.net.protocol.resource, + org.jboss.net.sockets, + org.jboss.net.ssl, + org.jboss.proxy, + org.jboss.proxy.compiler, + org.jboss.proxy.ejb, + org.jboss.proxy.ejb.handle, + org.jboss.security, + org.jboss.security.auth.callback, + org.jboss.security.auth.login, + org.jboss.security.jndi, + org.jboss.security.plugins, + org.jboss.security.ssl, + org.jboss.tm, + org.jboss.tm.integrity, + org.jboss.tm.usertx.client, + org.jboss.tm.usertx.interfaces, + org.jboss.tm.usertx.server, + org.jboss.util, + org.jboss.util.coerce, + org.jboss.util.collection, + org.jboss.util.deadlock, + org.jboss.util.file, + org.jboss.util.id, + org.jboss.util.loading, + org.jboss.util.naming, + org.jboss.util.platform, + org.jboss.util.property, + org.jboss.util.property.jmx, + org.jboss.util.propertyeditor, + org.jboss.util.state, + org.jboss.util.state.xml, + org.jboss.util.stream, + org.jboss.util.threadpool, + org.jboss.util.timeout, + org.jboss.util.xml, + org.jnp.interfaces, + org.jnp.interfaces.java, + org.jnp.interfaces.jnp, + org.jnp.server diff --git a/jboss/build.properties b/jboss/build.properties new file mode 100644 index 0000000000..94b04f62d7 --- /dev/null +++ b/jboss/build.properties @@ -0,0 +1,9 @@ +bin.includes = META-INF/,\ + client/jboss-client.jar,\ + client/jboss-common-client.jar,\ + client/jboss-j2ee.jar,\ + client/jbosssx-client.jar,\ + client/jboss-transaction-client.jar,\ + client/jnp-client.jar,\ + client/jmx-invoker-adaptor-client.jar,\ + client/jbossall-client.jar diff --git a/jboss/build.xml b/jboss/build.xml new file mode 100644 index 0000000000..9def206026 --- /dev/null +++ b/jboss/build.xml @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + diff --git a/jbossfacet/.classpath b/jbossfacet/.classpath index b7d5653ef7..751c8f2e50 100644 --- a/jbossfacet/.classpath +++ b/jbossfacet/.classpath @@ -2,7 +2,6 @@ - - + diff --git a/jbossfacet/.project b/jbossfacet/.project index 69df8d58d9..1a5341a63f 100644 --- a/jbossfacet/.project +++ b/jbossfacet/.project @@ -1,17 +1,28 @@ - - - jbossfacet - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - + + + jbossfacet + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.pde.PluginNature + + diff --git a/jbossfacet/META-INF/MANIFEST.MF b/jbossfacet/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..718025aa4d --- /dev/null +++ b/jbossfacet/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: jbossfacet +Bundle-SymbolicName: org.adempiere.jbossfacet;singleton:=true +Bundle-Version: 0.0.0.1 +Bundle-ClassPath: jbossfacet.jar +Export-Package: org.adempiere.as.jboss +Require-Bundle: org.adempiere.jboss;bundle-version="0.0.0" +Import-Package: org.adempiere.as, + org.compiere.util + diff --git a/jbossfacet/build.properties b/jbossfacet/build.properties new file mode 100644 index 0000000000..8d2492d81d --- /dev/null +++ b/jbossfacet/build.properties @@ -0,0 +1,7 @@ +source.jbossfacet.jar = src/,\ + bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml,\ + jbossfacet.jar +output.jbossfacet.jar = bin/ diff --git a/jbossfacet/build.xml b/jbossfacet/build.xml new file mode 100644 index 0000000000..99afc190bb --- /dev/null +++ b/jbossfacet/build.xml @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/jbossfacet/plugin.xml b/jbossfacet/plugin.xml new file mode 100644 index 0000000000..b143c32bd0 --- /dev/null +++ b/jbossfacet/plugin.xml @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/migration/354a-trunk/oracle/659_FR2871676_ReportAmountType.sql b/migration/354a-trunk/oracle/659_FR2871676_ReportAmountType.sql new file mode 100644 index 0000000000..15a10895d4 --- /dev/null +++ b/migration/354a-trunk/oracle/659_FR2871676_ReportAmountType.sql @@ -0,0 +1,412 @@ +SET DEFINE OFF; +-- 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_DATE('2009-10-02 11:33:12','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Period Type',TO_DATE('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_DATE('2009-10-02 11:33:28','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Total',TO_DATE('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_DATE('2009-10-02 11:33:37','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Year',TO_DATE('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_DATE('2009-10-02 11:33:50','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Period',TO_DATE('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_DATE('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_DATE('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_DATE('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_DATE('2009-10-02 11:43:15','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','PA_Report Amount Type',TO_DATE('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_DATE('2009-10-02 11:44:09','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Balance (expected sign)',TO_DATE('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_DATE('2009-10-02 11:44:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Credit Only',TO_DATE('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_DATE('2009-10-02 11:44:41','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Debit Only',TO_DATE('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_DATE('2009-10-02 11:45:00','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity',TO_DATE('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_DATE('2009-10-02 11:48:31','YYYY-MM-DD HH24:MI:SS'),100,'DR - CR','D','Y','Balance (accounted sign)',TO_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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 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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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 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_DATE('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_DATE('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 PAPeriodType CHAR(1) DEFAULT NULL +; + +-- 02/10/2009 12:04:03 PM +-- Add signed amount type to fin report +ALTER TABLE PA_ReportColumn ADD 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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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 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_DATE('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_DATE('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 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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('2009-10-02 13:48:30','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','Quantity (accounted sign)',TO_DATE('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_DATE('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/oracle/660_BF_2944056_FixSubstituteRelatedInfoProduct.sql b/migration/354a-trunk/oracle/660_BF_2944056_FixSubstituteRelatedInfoProduct.sql new file mode 100644 index 0000000000..716e559f45 --- /dev/null +++ b/migration/354a-trunk/oracle/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/oracle/661_FR_2945715_AdvancedSearchMsg.sql b/migration/354a-trunk/oracle/661_FR_2945715_AdvancedSearchMsg.sql new file mode 100644 index 0000000000..2cd415ea08 --- /dev/null +++ b/migration/354a-trunk/oracle/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_DATE('2010-02-08 15:00:52','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','And/Or','I',TO_DATE('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_DATE('2010-02-08 15:01:19','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','AND','I',TO_DATE('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_DATE('2010-02-08 15:01:34','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','OR','I',TO_DATE('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/oracle/662_BT_2944388.sql b/migration/354a-trunk/oracle/662_BT_2944388.sql new file mode 100644 index 0000000000..4d974aa845 --- /dev/null +++ b/migration/354a-trunk/oracle/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_DATE('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/oracle/663_FR2949534_ResetAllocation.sql b/migration/354a-trunk/oracle/663_FR2949534_ResetAllocation.sql new file mode 100644 index 0000000000..f24898429a --- /dev/null +++ b/migration/354a-trunk/oracle/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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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/oracle/664_FR2934358_FixedTyposOnElements.sql b/migration/354a-trunk/oracle/664_FR2934358_FixedTyposOnElements.sql new file mode 100644 index 0000000000..fa5a717f6b --- /dev/null +++ b/migration/354a-trunk/oracle/664_FR2934358_FixedTyposOnElements.sql @@ -0,0 +1,261 @@ +SET DEFINE OFF; +UPDATE AD_ELEMENT SET DESCRIPTION='Trees are used for (financial) reporting and security access (via role)', UPDATED=TO_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_DATE('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_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).

    +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.
    +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).

    +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.
    +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 @@ + + + + + + + diff --git a/plugins/TestPlugin/.project b/plugins/TestPlugin/.project new file mode 100644 index 0000000000..c076fb0c19 --- /dev/null +++ b/plugins/TestPlugin/.project @@ -0,0 +1,28 @@ + + + TestPlugin + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/plugins/TestPlugin/.settings/org.eclipse.jdt.core.prefs b/plugins/TestPlugin/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..534f9e484d --- /dev/null +++ b/plugins/TestPlugin/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +#Sat Jan 30 21:34:42 CET 2010 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 +org.eclipse.jdt.core.compiler.compliance=1.5 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.5 diff --git a/plugins/TestPlugin/.settings/org.eclipse.pde.core.prefs b/plugins/TestPlugin/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 0000000000..72573f1b9d --- /dev/null +++ b/plugins/TestPlugin/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +#Sat Jan 30 21:35:00 CET 2010 +eclipse.preferences.version=1 +pluginProject.extensions=true +resolve.requirebundle=false diff --git a/plugins/TestPlugin/META-INF/MANIFEST.MF b/plugins/TestPlugin/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..36a9037756 --- /dev/null +++ b/plugins/TestPlugin/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: TestPlugin +Bundle-SymbolicName: org.adempiere.base.TestPlugin;singleton:=true +Bundle-Version: 0.0.0.1 +Bundle-Activator: org.adempiere.testplugin.Activator +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: J2SE-1.5 +Import-Package: org.adempiere.plugin.utils, + org.osgi.framework;version="1.3.0" +Require-Bundle: org.adempiere.base;bundle-version="0.0.0" diff --git a/plugins/TestPlugin/build.properties b/plugins/TestPlugin/build.properties new file mode 100644 index 0000000000..e9863e281e --- /dev/null +++ b/plugins/TestPlugin/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/plugins/TestPlugin/plugin.xml b/plugins/TestPlugin/plugin.xml new file mode 100644 index 0000000000..7d9b37eee3 --- /dev/null +++ b/plugins/TestPlugin/plugin.xml @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/plugins/TestPlugin/src/org/adempiere/testplugin/Activator.java b/plugins/TestPlugin/src/org/adempiere/testplugin/Activator.java new file mode 100644 index 0000000000..17824addd1 --- /dev/null +++ b/plugins/TestPlugin/src/org/adempiere/testplugin/Activator.java @@ -0,0 +1,19 @@ +package org.adempiere.testplugin; + +import org.adempiere.base.Service; +import org.adempiere.plugin.utils.AdempiereActivator; +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator extends AdempiereActivator { + + @Override + protected void start() { + System.out.println("Testplugin starting..."); + } + + @Override + protected void stop() { + System.out.println("Testplugin stopping..."); + } +} diff --git a/plugins/TestPlugin/src/org/adempiere/testplugin/MyCallout1.java b/plugins/TestPlugin/src/org/adempiere/testplugin/MyCallout1.java new file mode 100644 index 0000000000..34bc7d1afb --- /dev/null +++ b/plugins/TestPlugin/src/org/adempiere/testplugin/MyCallout1.java @@ -0,0 +1,18 @@ +package org.adempiere.testplugin; + +import java.util.Properties; + +import org.adempiere.base.IColumnCallout; +import org.compiere.model.Callout; +import org.compiere.model.GridField; +import org.compiere.model.GridTab; + +public class MyCallout1 implements IColumnCallout { + + public String start(Properties ctx, int WindowNo, GridTab mTab, + GridField mField, Object value, Object oldValue) { + System.out.println("Callout on C_Order.Description: "+oldValue+"->"+value); + return null; + } + +} diff --git a/plugins/pipo/.classpath b/plugins/pipo/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/plugins/pipo/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/pipo/.project b/plugins/pipo/.project new file mode 100644 index 0000000000..3c9fc47d88 --- /dev/null +++ b/plugins/pipo/.project @@ -0,0 +1,28 @@ + + + pipo + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/plugins/pipo/.settings/org.eclipse.jdt.core.prefs b/plugins/pipo/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..ceb61221f1 --- /dev/null +++ b/plugins/pipo/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +#Fri Mar 12 08:48:46 CET 2010 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/plugins/pipo/.settings/org.eclipse.pde.core.prefs b/plugins/pipo/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 0000000000..173c0ad34c --- /dev/null +++ b/plugins/pipo/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +#Fri Mar 12 15:16:08 CET 2010 +eclipse.preferences.version=1 +pluginProject.extensions=true +resolve.requirebundle=false diff --git a/plugins/pipo/META-INF/MANIFEST.MF b/plugins/pipo/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..8908263f8d --- /dev/null +++ b/plugins/pipo/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: PiPo +Bundle-SymbolicName: org.adempiere.pipo;singleton:=true +Bundle-Version: 0.0.0.1 +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Import-Package: org.adempiere.base, + org.adempiere.pipo, + org.compiere, + org.compiere.util +Export-Package: org.adempiere.pipo.srv +Require-Bundle: org.adempiere.base;bundle-version="0.0.0", + org.adempiere.tools;bundle-version="0.0.0" diff --git a/plugins/pipo/build.properties b/plugins/pipo/build.properties new file mode 100644 index 0000000000..e9863e281e --- /dev/null +++ b/plugins/pipo/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/plugins/pipo/plugin.xml b/plugins/pipo/plugin.xml new file mode 100644 index 0000000000..5ac7a83ec5 --- /dev/null +++ b/plugins/pipo/plugin.xml @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/plugins/pipo/src/org/adempiere/pipo/srv/PipoDictionaryService.java b/plugins/pipo/src/org/adempiere/pipo/srv/PipoDictionaryService.java new file mode 100644 index 0000000000..c955dd4457 --- /dev/null +++ b/plugins/pipo/src/org/adempiere/pipo/srv/PipoDictionaryService.java @@ -0,0 +1,76 @@ +package org.adempiere.pipo.srv; + +import java.io.File; +import java.io.InputStream; +import java.util.logging.Level; +import java.util.logging.Logger; + +import javax.xml.parsers.SAXParser; +import javax.xml.parsers.SAXParserFactory; + +import org.adempiere.base.IDictionaryService; +import org.adempiere.pipo.PackIn; +import org.adempiere.pipo.PackInHandler; +import org.compiere.Adempiere; +import org.compiere.util.DB; +import org.compiere.util.Trx; + +public class PipoDictionaryService implements IDictionaryService { + + Logger logger = Logger.getLogger(PipoDictionaryService.class.getName()); + + @Override + public void merge(InputStream model) throws Exception { + if (model == null) { + logger.info("No PackIn Model found"); + return; + } + try { + String trxName = Trx.createTrxName(); + logger.info("starting " + trxName); + PackIn.m_UpdateMode = "true"; + if (DB.isOracle()) + PackIn.m_Database = "Oracle"; + else if (DB.isPostgreSQL()) + PackIn.m_Database = "PostgreSQL"; + PackIn.m_Package_Dir = getPackageDir(); + + System.setProperty("javax.xml.parsers.SAXParserFactory", + "org.apache.xerces.jaxp.SAXParserFactoryImpl"); + PackInHandler handler = new PackInHandler(); + handler.set_TrxName(trxName); + handler.setCtx(null); + PackIn packIn = new PackIn(); + handler.setProcess(packIn); + SAXParserFactory factory = SAXParserFactory.newInstance(); + SAXParser parser = factory.newSAXParser(); + logger.info("Start Parser"); + parser.parse(model, handler); + logger.info("End Parser"); + Trx.get(trxName, false).commit(); + logger.info("commit " + trxName); + } catch (Exception e) { + logger.log(Level.SEVERE, "importXML:", e); + throw e; + } + + } + + private String getPackageDir() { + + // Create Target directory if required + String packageDirectory = Adempiere.getAdempiereHome(); + String result = packageDirectory + File.separator + + "packages"; + File docDir = new File( result+File.separator+"doc"); + + if (!docDir.exists()) { + boolean success = docDir.mkdirs(); + if (!success) { + logger.info("Target directory creation failed"); + } + } + return result; + } + +} diff --git a/plugins/pluginList/.classpath b/plugins/pluginList/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/plugins/pluginList/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/pluginList/.project b/plugins/pluginList/.project new file mode 100644 index 0000000000..9a8e142dee --- /dev/null +++ b/plugins/pluginList/.project @@ -0,0 +1,28 @@ + + + pluginList + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/plugins/pluginList/.settings/org.eclipse.jdt.core.prefs b/plugins/pluginList/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..a9df5ee2a9 --- /dev/null +++ b/plugins/pluginList/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +#Mon Mar 15 20:45:28 CET 2010 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/plugins/pluginList/.settings/org.eclipse.pde.core.prefs b/plugins/pluginList/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 0000000000..b83250f900 --- /dev/null +++ b/plugins/pluginList/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +#Wed Mar 17 17:21:50 CET 2010 +eclipse.preferences.version=1 +pluginProject.extensions=true +resolve.requirebundle=false diff --git a/plugins/pluginList/META-INF/MANIFEST.MF b/plugins/pluginList/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..0153c951bb --- /dev/null +++ b/plugins/pluginList/META-INF/MANIFEST.MF @@ -0,0 +1,13 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: PluginList +Bundle-SymbolicName: org.adempiere.plugin.list;singleton:=true +Bundle-Version: 0.0.0.2 +Bundle-Activator: org.adempiere.plugin.list.Activator +Bundle-ActivationPolicy: lazy +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Eclipse-LazyStart: true +Import-Package: org.osgi.framework;version="1.3.0" +Require-Bundle: org.adempiere.pluginUtils;bundle-version="0.0.0", + org.adempiere.base;bundle-version="0.0.0", + org.adempiere.client;bundle-version="0.0.0" diff --git a/plugins/pluginList/META-INF/PackOut.xml b/plugins/pluginList/META-INF/PackOut.xml new file mode 100644 index 0000000000..333bcac9c3 --- /dev/null +++ b/plugins/pluginList/META-INF/PackOut.xml @@ -0,0 +1,13 @@ + + +

    +
    +
    + diff --git a/plugins/pluginList/build.properties b/plugins/pluginList/build.properties new file mode 100644 index 0000000000..e9863e281e --- /dev/null +++ b/plugins/pluginList/build.properties @@ -0,0 +1,5 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + .,\ + plugin.xml diff --git a/plugins/pluginList/plugin.xml b/plugins/pluginList/plugin.xml new file mode 100644 index 0000000000..802aa740db --- /dev/null +++ b/plugins/pluginList/plugin.xml @@ -0,0 +1,11 @@ + + + + + + + + + diff --git a/plugins/pluginList/src/org/adempiere/plugin/list/Activator.java b/plugins/pluginList/src/org/adempiere/plugin/list/Activator.java new file mode 100644 index 0000000000..0ccbe00ba0 --- /dev/null +++ b/plugins/pluginList/src/org/adempiere/plugin/list/Activator.java @@ -0,0 +1,19 @@ +package org.adempiere.plugin.list; + +import org.adempiere.plugin.utils.AdempiereActivator; +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class Activator extends AdempiereActivator implements BundleActivator { + + static private BundleContext ctx; + + @Override + public void start() { + ctx = getContext(); + } + + public static BundleContext getPluginContext() { + return ctx; + } +} diff --git a/plugins/pluginList/src/org/adempiere/plugin/list/PluginList.java b/plugins/pluginList/src/org/adempiere/plugin/list/PluginList.java new file mode 100644 index 0000000000..7c521f93c8 --- /dev/null +++ b/plugins/pluginList/src/org/adempiere/plugin/list/PluginList.java @@ -0,0 +1,142 @@ +package org.adempiere.plugin.list; + +import java.awt.BorderLayout; +import java.awt.Component; +import java.awt.event.ActionEvent; +import java.awt.event.ActionListener; +import java.util.Vector; +import java.util.logging.Level; + +import javax.swing.JButton; +import javax.swing.JScrollPane; +import javax.swing.table.DefaultTableModel; + +import org.compiere.apps.form.FormFrame; +import org.compiere.apps.form.FormPanel; +import org.compiere.apps.form.VFileImport; +import org.compiere.minigrid.MiniTable; +import org.compiere.swing.CPanel; +import org.compiere.util.CLogger; +import org.osgi.framework.Bundle; +import org.osgi.framework.BundleContext; +import org.osgi.framework.BundleException; + +public class PluginList implements FormPanel, ActionListener { + + private static CLogger log = CLogger.getCLogger(PluginList.class); + private int m_WindowNo; + private FormFrame m_frame; + private CPanel northPanel = new CPanel(); + private CPanel centerPanel = new CPanel(); + private CPanel confirmPanel = new CPanel(); + private MiniTable pluginTable = new MiniTable(); + private JScrollPane centerScrollPane = new JScrollPane(); + private JButton refreshButton = new JButton(); + + @Override + public void dispose() { + if (m_frame != null) + m_frame.dispose(); + m_frame = null; + } + + @Override + public void init(int WindowNo, FormFrame frame) { + log.info(""); + m_WindowNo = WindowNo; + m_frame = frame; + try + { + jbInit(); + frame.getContentPane().add(northPanel, BorderLayout.NORTH); + frame.getContentPane().add(centerPanel, BorderLayout.CENTER); + frame.getContentPane().add(confirmPanel, BorderLayout.SOUTH); + } + catch(Exception e) + { + log.log(Level.SEVERE, "init", e); + } + } + + private void jbInit() { + centerPanel.add(centerScrollPane, BorderLayout.CENTER); + centerScrollPane.getViewport().add(pluginTable, null); + updatePlugins(); + + refreshButton.setText("Refresh"); + refreshButton.addActionListener(this); + confirmPanel.add(refreshButton); + } + + private void updatePlugins() { + DefaultTableModel dataModel = new DefaultTableModel(getData(), getColumnNames()); + pluginTable.setModel(dataModel); + pluginTable.autoSize(); + } + + private Vector> getData() { + BundleContext ctx = getContext(); + Vector> result = new Vector>(); + for (Bundle bundle : ctx.getBundles()) { + Vector col = new Vector(); + col.add(bundle.getBundleId()); + col.add(state(bundle.getState())); + col.add(bundle.getSymbolicName()); + col.add(bundle.getVersion()); + result.add(col); + } + return result; + } + + private BundleContext getContext() { + return Activator.getPluginContext(); + } + + private String state(int state) { + switch (state) { + case Bundle.ACTIVE: + return "ACTIVE"; + case Bundle.INSTALLED: + return "INSTALLED"; + case Bundle.RESOLVED: + return "RESOLVED"; + case Bundle.STARTING: + return "STARTING"; + case Bundle.STOPPING: + return "STOPPING"; + case Bundle.UNINSTALLED: + return "UNINSTALLED"; + default: + return "UNKNOWN"; + } + } + + private Vector getColumnNames() { + Vector result = new Vector(); + result.add("Id"); + result.add("State"); + result.add("Name"); + result.add("Version"); + return result; + } + + @Override + public void actionPerformed(ActionEvent e) { + if (e.getSource().equals(refreshButton)) + refreshClicked(e); + } + + private void refreshClicked(ActionEvent e) { + int row = pluginTable.getSelectedRow(); + if (row==-1) + return; + long id = (Long) pluginTable.getValueAt(row, 0); + Bundle bundle = getContext().getBundle(id); + try { + bundle.update(); + } catch (BundleException ex) { + log.log(Level.SEVERE, "refresh", ex); + } + } + +} diff --git a/plugins/pluginUtils/.classpath b/plugins/pluginUtils/.classpath new file mode 100644 index 0000000000..ad32c83a78 --- /dev/null +++ b/plugins/pluginUtils/.classpath @@ -0,0 +1,7 @@ + + + + + + + diff --git a/plugins/pluginUtils/.project b/plugins/pluginUtils/.project new file mode 100644 index 0000000000..29dc1d61a3 --- /dev/null +++ b/plugins/pluginUtils/.project @@ -0,0 +1,28 @@ + + + pluginUtils + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + + + + org.eclipse.pde.PluginNature + org.eclipse.jdt.core.javanature + + diff --git a/plugins/pluginUtils/.settings/org.eclipse.jdt.core.prefs b/plugins/pluginUtils/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000000..ef6af465ad --- /dev/null +++ b/plugins/pluginUtils/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,8 @@ +#Fri Mar 12 08:32:19 CET 2010 +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error +org.eclipse.jdt.core.compiler.source=1.6 diff --git a/plugins/pluginUtils/.settings/org.eclipse.pde.core.prefs b/plugins/pluginUtils/.settings/org.eclipse.pde.core.prefs new file mode 100644 index 0000000000..e72eeee76a --- /dev/null +++ b/plugins/pluginUtils/.settings/org.eclipse.pde.core.prefs @@ -0,0 +1,4 @@ +#Fri Mar 12 08:32:19 CET 2010 +eclipse.preferences.version=1 +pluginProject.extensions=false +resolve.requirebundle=false diff --git a/plugins/pluginUtils/META-INF/MANIFEST.MF b/plugins/pluginUtils/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..b2e9d65818 --- /dev/null +++ b/plugins/pluginUtils/META-INF/MANIFEST.MF @@ -0,0 +1,11 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: PluginUtils +Bundle-SymbolicName: org.adempiere.pluginUtils +Bundle-Version: 0.0.0.1 +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 +Import-Package: org.adempiere.base, + org.compiere.model, + org.compiere.util, + org.osgi.framework;version="1.5.0" +Export-Package: org.adempiere.plugin.utils diff --git a/plugins/pluginUtils/build.properties b/plugins/pluginUtils/build.properties new file mode 100644 index 0000000000..34d2e4d2da --- /dev/null +++ b/plugins/pluginUtils/build.properties @@ -0,0 +1,4 @@ +source.. = src/ +output.. = bin/ +bin.includes = META-INF/,\ + . diff --git a/plugins/pluginUtils/src/org/adempiere/plugin/utils/AdempiereActivator.java b/plugins/pluginUtils/src/org/adempiere/plugin/utils/AdempiereActivator.java new file mode 100644 index 0000000000..33cacb20a4 --- /dev/null +++ b/plugins/pluginUtils/src/org/adempiere/plugin/utils/AdempiereActivator.java @@ -0,0 +1,103 @@ +package org.adempiere.plugin.utils; + +import java.io.InputStream; +import java.util.logging.Level; +import java.util.logging.Logger; + +import org.adempiere.base.IDictionaryService; +import org.adempiere.base.Service; +import org.compiere.model.Query; +import org.compiere.model.X_AD_Package_Imp; +import org.compiere.model.X_AD_Package_Imp_Inst; +import org.compiere.util.Env; +import org.compiere.util.Trx; +import org.osgi.framework.BundleActivator; +import org.osgi.framework.BundleContext; + +public class AdempiereActivator implements BundleActivator { + + private final static Logger logger = Logger + .getLogger(AdempiereActivator.class.getName()); + private BundleContext context; + + @Override + public void start(BundleContext context) throws Exception { + this.context = context; + logger.info(getName() + " " + getVersion() + " starting..."); + installPackage(); + start(); + logger.info(getName() + " " + getVersion() + " ready."); + } + + public String getName() { + return context.getBundle().getSymbolicName(); + } + + public String getVersion() { + return (String) context.getBundle().getHeaders().get("Bundle-Version"); + } + + public String getDescription() { + return getName(); + } + + private void installPackage() { + String trxName = Trx.createTrxName(); + String where = "Name=? AND PK_Version=?"; + Query q = new Query(Env.getCtx(), X_AD_Package_Imp.Table_Name, + where.toString(), trxName); + q.setParameters(new Object[] { getName(), getVersion() }); + X_AD_Package_Imp pkg = q.first(); + if (pkg == null) { + packIn(trxName); + install(); + logger.info(getName() + " " + getVersion() + " installed."); + } else { + logger.info(getName() + " " + getVersion() + " was installed: " + + pkg.getCreated()); + } + Trx.get(trxName, false).commit(); + } + + protected void packIn(String trxName) { + InputStream packout = this.getClass().getResourceAsStream( + "/META-INF/PackOut.xml"); + if (packout != null) { + IDictionaryService service = Service.locate(IDictionaryService.class); + try { + service.merge(packout); + } catch (Exception e) { + logger.log(Level.WARNING, "Error on Dictionary service", e); + } + } + X_AD_Package_Imp pkg = new X_AD_Package_Imp(Env.getCtx(), + 0, trxName); + pkg.setName(getName()); + pkg.setPK_Version(getVersion()); + pkg.setPK_Status("Installed."); + pkg.setDescription(getDescription()); + pkg.save(trxName); + } + + protected BundleContext getContext() { + return context; + } + + @Override + public void stop(BundleContext context) throws Exception { + stop(); + logger.info(context.getBundle().getSymbolicName() + " " + + context.getBundle().getHeaders().get("Bundle-Version") + + " stopped."); + } + + protected void install() { + }; + + protected void start() { + }; + + protected void stop() { + }; + +} diff --git a/tools/.classpath b/tools/.classpath index 842f13e589..a72e101441 100644 --- a/tools/.classpath +++ b/tools/.classpath @@ -76,6 +76,11 @@ + + + + + diff --git a/tools/.project b/tools/.project index 7c37d4df9d..c07aba19ce 100644 --- a/tools/.project +++ b/tools/.project @@ -21,7 +21,12 @@ - org.eclipse.wst.validation.validationbuilder + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder @@ -31,5 +36,6 @@ org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jdt.core.javanature org.eclipse.wst.common.project.facet.core.nature + org.eclipse.pde.PluginNature diff --git a/tools/META-INF/MANIFEST.MF b/tools/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..cb7201a8d1 --- /dev/null +++ b/tools/META-INF/MANIFEST.MF @@ -0,0 +1,1652 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: org.adempiere.tools +Bundle-SymbolicName: org.adempiere.tools +Bundle-Version: 0.0.0.1 +Eclipse-BuddyPolicy: dependent +Bundle-ClassPath: tools.jar, + lib/jstl.jar, + lib/Verisign.jar, + lib/standard.jar, + lib/barbecue-1.5-beta1.jar, + lib/poi-3.0.1-FINAL-20070705.jar, + lib/jnlp.jar, + lib/iText-2.1.7.jar, + lib/swingx-0.9.0.jar, + lib/miglayout-3.7.1-swing.jar, + lib/log4j.jar, + lib/activation.jar, + lib/mail.jar, + lib/jpayment.jar, + lib/bsh-2.0b5.jar, + lib/script-api.jar, + lib/bsh-engine.jar, + lib/groovy-all-1.5.1.jar, + lib/groovy-engine.jar, + lib/jython.jar, + lib/jython-engine.jar, + lib/jcommon-1.0.14.jar, + lib/jfreechart-1.0.11.jar, + lib/javaee.jar, + lib/c3p0-0.9.1.2.jar, + lib/ant-commons-net.jar, + lib/ant-contrib-1.0b1.jar, + lib/ant-launcher.jar, + lib/c3p0-oracle-thin-extras-0.9.1.2.jar, + lib/cglib.jar, + lib/commons-codec.jar, + lib/commons-logging.jar, + lib/jgraph.jar, + lib/jsp-api.jar, + lib/logkit.jar, + lib/looks-2.0.4.jar, + lib/ocrs12.jar, + lib/ojdbc14.jar, + lib/postgresql.jar, + lib/wizard.jar, + lib/xjavadoc-1.1.jar, + lib/xml-apis.jar, + lib/xercesImpl.jar, + lib/junit.jar, + lib/commons-collections-3.1.jar, + lib/ant.jar, + lib/jpedal.jar, + lib/activemq-core-5.0.0.jar, + lib/commons-net-1.4.0.jar, + lib/cron4j-2.2.1.jar, + lib/payflow.jar +Export-Package: Lib, + Lib.email, + Lib.encodings, + Lib.pawt, + Lib.xml, + Lib.xml.dom, + Lib.xml.sax, + Lib.xml.sax.drivers2, + bsh;uses:="bsh.org.objectweb.asm", + bsh.classpath;uses:="bsh", + bsh.collection;uses:="bsh", + bsh.commands;uses:="bsh", + bsh.engine;uses:="javax.script,bsh", + bsh.org.objectweb.asm, + bsh.reflect;uses:="bsh", + bsh.servlet;uses:="javax.servlet.http", + bsh.util; + uses:="bsh.classpath, + javax.swing.text, + javax.swing.tree, + javax.swing.event, + bsh, + org.apache.bsf.util, + org.apache.bsf, + javax.swing", + bsh.util.lib, + com.Verisign.payment;uses:="javax.security.cert,javax.net.ssl", + com.jgoodies.looks;uses:="javax.swing.plaf,javax.swing", + com.jgoodies.looks.common; + uses:="javax.swing.plaf.basic, + javax.swing.text, + javax.swing.border, + javax.swing.plaf, + javax.swing", + com.jgoodies.looks.plastic; + uses:="com.jgoodies.looks, + javax.swing.plaf.basic, + javax.swing.text, + com.jgoodies.looks.common, + javax.swing.border, + javax.swing.plaf.metal, + javax.swing.event, + javax.swing.plaf, + javax.swing", + com.jgoodies.looks.plastic.theme;uses:="com.jgoodies.looks.plastic,javax.swing.plaf,javax.swing", + com.jgoodies.looks.windows; + uses:="com.jgoodies.looks, + javax.swing.plaf.basic, + com.jgoodies.looks.common, + javax.swing.text, + javax.swing.border, + javax.swing.plaf.metal, + com.sun.java.swing.plaf.windows, + javax.swing.event, + javax.swing.plaf, + javax.swing", + com.keypoint, + com.lowagie.text;uses:="com.lowagie.text.pdf.draw,com.lowagie.text.pdf", + com.lowagie.text.exceptions, + com.lowagie.text.factories;uses:="com.lowagie.text", + com.lowagie.text.html; + uses:="com.lowagie.text.xml, + org.xml.sax, + com.lowagie.text.pdf, + com.lowagie.text", + com.lowagie.text.html.simpleparser;uses:="com.lowagie.text.pdf,com.lowagie.text.xml.simpleparser,com.lowagie.text", + com.lowagie.text.pdf; + uses:="new com.lowagie.text.pdf, + org.bouncycastle.ocsp, + com.lowagie.text.pdf.interfaces, + org.bouncycastle.asn1, + com.lowagie.text, + com.lowagie.text.pdf.collection, + com.lowagie.text.pdf.crypto, + org.w3c.dom, + com.lowagie.text.pdf.hyphenation, + org.bouncycastle.tsp, + com.lowagie.text.pdf.internal, + com.lowagie.text.xml.simpleparser", + com.lowagie.text.pdf.codec;uses:="com.lowagie.text.pdf,com.lowagie.text", + com.lowagie.text.pdf.codec.wmf;uses:="com.lowagie.text.pdf,com.lowagie.text", + com.lowagie.text.pdf.collection;uses:="com.lowagie.text.pdf", + com.lowagie.text.pdf.crypto, + com.lowagie.text.pdf.draw;uses:="com.lowagie.text.pdf,com.lowagie.text", + com.lowagie.text.pdf.events;uses:="com.lowagie.text.pdf,com.lowagie.text", + com.lowagie.text.pdf.fonts, + com.lowagie.text.pdf.fonts.cmaps, + com.lowagie.text.pdf.hyphenation;uses:="com.lowagie.text.xml.simpleparser", + com.lowagie.text.pdf.interfaces;uses:="com.lowagie.text.pdf", + com.lowagie.text.pdf.internal;uses:="com.lowagie.text.pdf.interfaces,com.lowagie.text.pdf,com.lowagie.text", + com.lowagie.text.pdf.parser;uses:="com.lowagie.text.pdf", + com.lowagie.text.xml; + uses:="org.xml.sax, + javax.xml.parsers, + org.xml.sax.helpers, + org.w3c.dom, + com.lowagie.text.pdf, + com.lowagie.text.html, + com.lowagie.text", + com.lowagie.text.xml.simpleparser;uses:="com.lowagie.text", + com.lowagie.text.xml.xmp;uses:="org.w3c.dom,com.lowagie.text.pdf", + com.lowagie.tools, + com.mchange;uses:="com.mchange.v2.debug", + com.mchange.lang;uses:="com.mchange.v2.debug", + com.mchange.util;uses:="com.mchange.v2.debug", + com.mchange.v1;uses:="com.mchange.v2.debug", + com.mchange.v1.db;uses:="com.mchange.v2.debug", + com.mchange.v1.db.sql;uses:="com.mchange.v2.debug", + com.mchange.v1.identicator;uses:="com.mchange.v2.debug,new com.mchange.v1.identicator,com.mchange.v1.util", + com.mchange.v1.io;uses:="com.mchange.v2.debug", + com.mchange.v1.lang;uses:="com.mchange.v2.debug", + com.mchange.v1.util;uses:="com.mchange.v2.debug", + com.mchange.v1.xml;uses:="com.mchange.v2.debug,org.w3c.dom", + com.mchange.v2;uses:="com.mchange.v2.debug", + com.mchange.v2.async;uses:="com.mchange.v2.debug,com.mchange.v2.log,com.mchange.v1.util", + com.mchange.v2.beans;uses:="com.mchange.v2.debug,com.mchange.v2.log", + com.mchange.v2.c3p0; + uses:="com.mchange.v2.naming, + javax.sql, + com.mchange.v2.c3p0.impl, + com.mchange.v2.debug, + javax.naming, + com.mchange.v2.log", + com.mchange.v2.c3p0.cfg;uses:="com.mchange.v2.debug,com.mchange.v2.log,org.w3c.dom", + com.mchange.v2.c3p0.filter;uses:="com.mchange.v2.debug,javax.sql", + com.mchange.v2.c3p0.impl; + uses:="com.mchange.v2.sql.filter, + com.mchange.v2.c3p0, + com.mchange.v2.coalesce, + com.mchange.v2.naming, + new com.mchange.v2.c3p0.impl, + javax.sql, + com.mchange.v2.debug, + com.mchange.v2.resourcepool, + javax.naming, + com.mchange.v2.c3p0.stmt, + com.mchange.v2.c3p0.util, + com.mchange.v2.async, + com.mchange.v2.log, + com.mchange.v1.util", + com.mchange.v2.c3p0.jboss;uses:="com.mchange.v2.debug,com.mchange.v2.c3p0", + com.mchange.v2.c3p0.management; + uses:="com.mchange.v2.debug, + com.mchange.v2.c3p0, + javax.management, + com.mchange.v2.log, + javax.sql", + com.mchange.v2.c3p0.mbean;uses:="com.mchange.v2.debug,com.mchange.v2.c3p0", + com.mchange.v2.c3p0.stmt; + uses:="com.mchange.v2.debug, + com.mchange.v2.coalesce, + com.mchange.v2.async, + com.mchange.v2.log, + com.mchange.v1.util, + javax.sql", + com.mchange.v2.c3p0.subst;uses:="com.mchange.v2.debug", + com.mchange.v2.c3p0.util; + uses:="com.mchange.v2.c3p0, + com.mchange.v2.debug, + com.mchange.v2.sql.filter, + javax.sql", + com.mchange.v2.cfg;uses:="com.mchange.v2.debug,com.mchange.v2.log", + com.mchange.v2.coalesce;uses:="com.mchange.v2.debug,com.mchange.v1.identicator", + com.mchange.v2.codegen;uses:="com.mchange.v2.debug,com.mchange.v2.io", + com.mchange.v2.codegen.bean; + uses:="com.mchange.v2.debug, + com.mchange.v2.codegen, + com.mchange.v2.ser, + com.mchange.v2.log, + org.w3c.dom", + com.mchange.v2.codegen.intfc;uses:="com.mchange.v2.debug,com.mchange.v2.codegen", + com.mchange.v2.debug, + com.mchange.v2.encounter;uses:="com.mchange.v2.debug", + com.mchange.v2.holders;uses:="com.mchange.v2.debug", + com.mchange.v2.io;uses:="com.mchange.v2.debug", + com.mchange.v2.lang;uses:="com.mchange.v2.debug", + com.mchange.v2.log;uses:="com.mchange.v2.debug,com.mchange.v2.cfg", + com.mchange.v2.log.jdk14logging;uses:="com.mchange.v2.debug,com.mchange.v2.log", + com.mchange.v2.log.log4j;uses:="com.mchange.v2.debug,com.mchange.v2.log", + com.mchange.v2.management;uses:="com.mchange.v2.debug", + com.mchange.v2.naming; + uses:="com.mchange.v2.debug, + javax.naming, + com.mchange.v2.ser, + com.mchange.v2.log, + new com.mchange.v2.naming, + javax.naming.spi", + com.mchange.v2.resourcepool; + uses:="com.mchange.v2.debug, + com.mchange.v2.async, + com.mchange.v2.log, + new com.mchange.v2.resourcepool, + com.mchange.v1.util, + com.mchange.lang", + com.mchange.v2.ser;uses:="com.mchange.v2.debug,com.mchange.v2.log", + com.mchange.v2.sql;uses:="com.mchange.v2.debug,com.mchange.v2.log", + com.mchange.v2.sql.filter;uses:="com.mchange.v2.debug", + com.mchange.v2.util;uses:="com.mchange.v2.debug,com.mchange.v1.util", + com.sfcommerce.jpaymentcomponent.beans;uses:="com.sfcommerce.jpaymentcomponent.ssl", + com.sfcommerce.jpaymentcomponent.definitions, + com.sfcommerce.jpaymentcomponent.exceptions, + com.sfcommerce.jpaymentcomponent.messages, + com.sfcommerce.jpaymentcomponent.ssl; + uses:="com.sun.net.ssl, + javax.security.cert, + com.sfcommerce.jpaymentcomponent.messages, + javax.net, + com.sfcommerce.jpaymentcomponent.definitions, + javax.net.ssl", + com.sfcommerce.jpaymentcomponent.utilities;uses:="javax.servlet.http,com.sfcommerce.jpaymentcomponent.messages", + com.sun.activation.registries, + com.sun.activation.viewers;uses:="javax.activation", + com.sun.mail.handlers;uses:="javax.activation", + com.sun.mail.iap, + com.sun.mail.imap; + uses:="javax.mail.search, + javax.mail.internet, + javax.activation, + com.sun.mail.imap.protocol, + javax.mail, + com.sun.mail.iap", + com.sun.mail.imap.protocol; + uses:="javax.mail.search, + javax.mail.internet, + com.sun.mail.imap, + javax.mail, + com.sun.mail.iap, + javax.security.auth.callback", + com.sun.mail.pop3;uses:="javax.mail.internet,javax.mail", + com.sun.mail.smtp;uses:="javax.mail.internet,javax.mail,com.sun.mail.util", + com.sun.mail.util, + com.sun.script.groovy;uses:="javax.script,groovy.lang", + com.sun.script.jython;uses:="javax.script,org.python.core", + com.ziclix.python.sql;uses:="org.python.core", + com.ziclix.python.sql.connect;uses:="org.python.core", + com.ziclix.python.sql.handler;uses:="org.python.core,com.ziclix.python.sql", + com.ziclix.python.sql.pipe;uses:="org.python.core,com.ziclix.python.sql.util", + com.ziclix.python.sql.pipe.csv;uses:="org.python.core,com.ziclix.python.sql.pipe", + com.ziclix.python.sql.pipe.db;uses:="org.python.core,com.ziclix.python.sql,com.ziclix.python.sql.pipe", + com.ziclix.python.sql.procedure;uses:="org.python.core,com.ziclix.python.sql", + com.ziclix.python.sql.resource, + com.ziclix.python.sql.util;uses:="org.python.core,com.ziclix.python.sql", + groovy.inspect;uses:="groovy.lang", + groovy.inspect.swingui; + uses:="javax.swing.event, + javax.swing.table, + org.codehaus.groovy.runtime, + groovy.lang, + javax.swing", + groovy.io, + groovy.lang; + uses:="groovy.util, + org.codehaus.groovy.ast, + org.codehaus.groovy.control, + groovyjarjarasm.asm, + org.codehaus.groovy.runtime.metaclass, + org.codehaus.groovy.reflection, + junit.framework, + new groovy.lang", + groovy.mock;uses:="com.mockobjects,groovy.lang,com.mockobjects.constraint", + groovy.mock.interceptor;uses:="groovy.lang", + groovy.model;uses:="javax.swing.table,groovy.lang", + groovy.security, + groovy.servlet; + uses:="groovy.util, + javax.servlet.http, + javax.servlet, + groovy.lang, + groovy.text, + javax.servlet.jsp", + groovy.sql; + uses:="org.codehaus.groovy.ast, + javax.sql, + org.codehaus.groovy.ast.stmt, + org.codehaus.groovy.syntax, + org.codehaus.groovy.ast.expr, + groovy.lang", + groovy.swing; + uses:="groovy.util, + org.codehaus.groovy.runtime, + groovy.lang, + javax.swing", + groovy.swing.binding; + uses:="javax.swing.event, + javax.swing.text, + org.codehaus.groovy.binding, + javax.swing", + groovy.swing.factory;uses:="groovy.util,org.codehaus.groovy.runtime,groovy.lang", + groovy.swing.impl;uses:="groovy.lang,javax.swing", + groovy.text;uses:="groovy.util,groovy.lang", + groovy.time, + groovy.ui; + uses:="javax.swing.text, + javax.swing.event, + groovy.swing, + org.codehaus.groovy.runtime, + groovy.lang, + groovy.ui.text, + javax.swing", + groovy.ui.icons, + groovy.ui.text; + uses:="javax.swing.undo, + javax.swing.text, + org.xml.sax, + javax.swing.event, + org.xml.sax.helpers, + javax.swing", + groovy.ui.view;uses:="javax.swing.text,org.codehaus.groovy.runtime,groovy.lang", + groovy.util; + uses:="org.xml.sax, + org.apache.tools.ant, + javax.management, + new groovy.util, + org.xml.sax.helpers, + groovy.util.slurpersupport, + javax.xml.parsers, + org.codehaus.groovy.runtime, + groovy.xml, + groovy.lang, + junit.framework, + org.apache.commons.cli", + groovy.util.slurpersupport;uses:="groovy.lang", + groovy.xml; + uses:="groovy.util, + org.xml.sax, + javax.xml.parsers, + org.codehaus.groovy.runtime, + groovy.xml.streamingmarkupsupport, + org.w3c.dom, + groovy.lang", + groovy.xml.dom;uses:="org.w3c.dom", + groovy.xml.streamingmarkupsupport;uses:="org.codehaus.groovy.runtime,groovy.lang", + groovyjarjarantlr; + uses:="groovyjarjarantlr.debug, + groovyjarjarantlr.collections.impl, + groovyjarjarantlr.collections, + groovyjarjarantlr.ASdebug", + groovyjarjarantlr.ASdebug;uses:="groovyjarjarantlr", + groovyjarjarantlr.actions.cpp;uses:="groovyjarjarantlr,groovyjarjarantlr.collections.impl", + groovyjarjarantlr.actions.csharp;uses:="groovyjarjarantlr,groovyjarjarantlr.collections.impl", + groovyjarjarantlr.actions.java;uses:="groovyjarjarantlr,groovyjarjarantlr.collections.impl", + groovyjarjarantlr.actions.python;uses:="groovyjarjarantlr,groovyjarjarantlr.collections.impl", + groovyjarjarantlr.build, + groovyjarjarantlr.collections;uses:="groovyjarjarantlr", + groovyjarjarantlr.collections.impl;uses:="groovyjarjarantlr,groovyjarjarantlr.collections", + groovyjarjarantlr.debug;uses:="groovyjarjarantlr,groovyjarjarantlr.collections.impl", + groovyjarjarantlr.debug.misc; + uses:="javax.swing.event, + javax.swing.tree, + groovyjarjarantlr.collections, + javax.swing", + groovyjarjarantlr.preprocessor;uses:="groovyjarjarantlr,groovyjarjarantlr.collections.impl", + groovyjarjarasm.asm, + groovyjarjarasm.asm.signature, + groovyjarjarasm.asm.tree;uses:="groovyjarjarasm.asm", + groovyjarjarcommonscli, + it.sauronsoftware.cron4j, + javatests, + javax.activation, + javax.annotation, + javax.annotation.security, + javax.ejb;uses:="javax.xml.rpc.handler,javax.transaction", + javax.ejb.spi;uses:="javax.ejb", + javax.el, + javax.enterprise.deploy.model;uses:="javax.enterprise.deploy.shared", + javax.enterprise.deploy.model.exceptions, + javax.enterprise.deploy.shared, + javax.enterprise.deploy.shared.factories;uses:="javax.enterprise.deploy.spi,javax.enterprise.deploy.spi.factories", + javax.enterprise.deploy.spi;uses:="javax.enterprise.deploy.shared,javax.enterprise.deploy.model,javax.enterprise.deploy.spi.status", + javax.enterprise.deploy.spi.exceptions, + javax.enterprise.deploy.spi.factories;uses:="javax.enterprise.deploy.spi", + javax.enterprise.deploy.spi.status;uses:="javax.enterprise.deploy.spi,javax.enterprise.deploy.shared", + javax.faces, + javax.faces.application; + uses:="javax.faces, + javax.faces.context, + javax.faces.convert, + javax.faces.el, + javax.faces.event, + javax.faces.component, + javax.faces.validator, + javax.el, + new javax.faces.application", + javax.faces.component; + uses:="javax.faces.render, + javax.faces.context, + javax.faces.convert, + javax.faces.el, + javax.faces.event, + javax.faces.application, + javax.faces.validator, + javax.faces.model, + javax.el", + javax.faces.component.html;uses:="javax.faces.component,javax.faces.context", + javax.faces.context; + uses:="javax.faces.lifecycle, + javax.faces.render, + javax.faces.component, + javax.faces.application, + javax.el", + javax.faces.convert; + uses:="javax.faces, + javax.faces.component, + javax.faces.context, + javax.faces.application", + javax.faces.el;uses:="javax.faces,javax.faces.context", + javax.faces.event; + uses:="javax.faces.lifecycle, + javax.faces.component, + javax.faces, + javax.faces.context, + javax.el", + javax.faces.lifecycle;uses:="javax.faces.event,javax.faces.context", + javax.faces.model;uses:="javax.servlet.jsp.jstl.sql", + javax.faces.render;uses:="javax.faces.component,javax.faces.context,javax.faces.application", + javax.faces.validator; + uses:="javax.faces, + javax.faces.component, + javax.faces.context, + javax.faces.application, + javax.el", + javax.faces.webapp; + uses:="javax.servlet.jsp.tagext, + javax.faces.context, + javax.faces.convert, + javax.servlet.jsp, + javax.servlet, + javax.faces.component, + javax.faces.application, + javax.faces.validator, + javax.el", + javax.interceptor, + javax.jms;uses:="javax.transaction.xa", + javax.jnlp, + javax.jws, + javax.jws.soap, + javax.mail;uses:="javax.mail.search,javax.mail.event,javax.activation", + javax.mail.event;uses:="javax.mail", + javax.mail.internet;uses:="javax.activation,javax.mail", + javax.mail.search;uses:="javax.mail", + javax.mail.util;uses:="javax.mail.internet,javax.activation", + javax.management.j2ee;uses:="javax.ejb,javax.management", + javax.management.j2ee.statistics, + javax.persistence, + javax.persistence.spi;uses:="javax.persistence,javax.sql", + javax.resource;uses:="javax.naming", + javax.resource.cci;uses:="javax.resource", + javax.resource.spi; + uses:="javax.resource.spi.endpoint, + javax.resource.spi.work, + javax.resource, + javax.transaction.xa, + javax.security.auth", + javax.resource.spi.endpoint;uses:="javax.transaction.xa", + javax.resource.spi.security;uses:="javax.resource.spi", + javax.resource.spi.work;uses:="javax.resource,javax.transaction.xa", + javax.script, + javax.security.jacc;uses:="javax.servlet.http", + javax.servlet, + javax.servlet.http, + javax.servlet.jsp, + javax.servlet.jsp.el, + javax.servlet.jsp.jstl.core, + javax.servlet.jsp.jstl.fmt, + javax.servlet.jsp.jstl.sql, + javax.servlet.jsp.jstl.tlv, + javax.servlet.jsp.tagext, + javax.transaction;uses:="javax.transaction.xa", + javax.transaction.xa, + javax.xml.bind; + uses:="javax.xml.bind.attachment, + org.xml.sax, + javax.xml.namespace, + javax.xml.bind.annotation.adapters, + org.w3c.dom, + javax.xml.transform, + javax.xml.validation, + javax.xml.stream", + javax.xml.bind.annotation; + uses:="javax.xml.transform.dom, + javax.xml.parsers, + org.w3c.dom, + javax.xml.bind, + javax.xml.transform", + javax.xml.bind.annotation.adapters, + javax.xml.bind.attachment;uses:="javax.activation", + javax.xml.bind.helpers; + uses:="javax.xml.bind.attachment, + org.xml.sax, + javax.xml.validation, + javax.xml.bind.annotation.adapters, + org.w3c.dom, + javax.xml.bind, + javax.xml.transform, + javax.xml.stream", + javax.xml.bind.util;uses:="javax.xml.transform.sax,org.xml.sax,javax.xml.bind", + javax.xml.registry;uses:="javax.activation,javax.xml.registry.infomodel", + javax.xml.registry.infomodel;uses:="javax.activation,javax.xml.registry", + javax.xml.registry.samples;uses:="javax.xml.registry", + javax.xml.rpc;uses:="javax.xml.rpc.handler,javax.xml.rpc.encoding,javax.xml.namespace", + javax.xml.rpc.encoding;uses:="javax.xml.namespace", + javax.xml.rpc.handler;uses:="javax.xml.namespace", + javax.xml.rpc.handler.soap;uses:="javax.xml.soap,javax.xml.rpc.handler", + javax.xml.rpc.holders;uses:="javax.xml.namespace", + javax.xml.rpc.server;uses:="javax.servlet.http,javax.servlet,javax.xml.rpc.handler", + javax.xml.rpc.soap;uses:="javax.xml.soap,javax.xml.namespace", + javax.xml.soap; + uses:="javax.xml.transform.dom, + javax.xml.namespace, + javax.activation, + org.w3c.dom, + javax.xml.transform", + javax.xml.stream; + uses:="javax.xml.stream.events, + javax.xml.namespace, + javax.xml.transform, + javax.xml.stream.util", + javax.xml.stream.events;uses:="javax.xml.namespace,javax.xml.stream", + javax.xml.stream.util;uses:="javax.xml.stream.events,javax.xml.namespace,javax.xml.stream", + javax.xml.ws; + uses:="javax.xml.ws.handler, + javax.xml.namespace, + org.w3c.dom, + javax.xml.bind, + javax.xml.transform", + javax.xml.ws.handler;uses:="javax.xml.namespace,javax.xml.ws", + javax.xml.ws.handler.soap; + uses:="javax.xml.ws.handler, + javax.xml.soap, + javax.xml.namespace, + javax.xml.bind", + javax.xml.ws.http;uses:="javax.xml.ws", + javax.xml.ws.soap;uses:="javax.xml.soap,javax.xml.ws", + javax.xml.ws.spi; + uses:="javax.xml.ws.handler, + javax.xml.namespace, + javax.xml.ws.wsaddressing, + javax.xml.bind, + javax.xml.ws, + javax.xml.transform", + javax.xml.ws.wsaddressing; + uses:="javax.xml.namespace, + org.w3c.dom, + javax.xml.ws, + javax.xml.transform", + junit.awtui, + junit.extensions, + junit.framework, + junit.runner, + junit.swingui, + junit.textui, + jxxload_help;uses:="org.python.core", + net.miginfocom.layout, + net.miginfocom.swing;uses:="net.miginfocom.layout", + net.sourceforge.barbecue; + uses:="javax.servlet.http, + javax.portlet, + javax.swing, + net.sourceforge.barbecue.output", + net.sourceforge.barbecue.env, + net.sourceforge.barbecue.formatter;uses:="net.sourceforge.barbecue", + net.sourceforge.barbecue.linear;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.output", + net.sourceforge.barbecue.linear.codabar;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.linear", + net.sourceforge.barbecue.linear.code128;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.linear", + net.sourceforge.barbecue.linear.code39;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.linear", + net.sourceforge.barbecue.linear.ean; + uses:="net.sourceforge.barbecue.linear.code128, + net.sourceforge.barbecue, + net.sourceforge.barbecue.linear.upc, + net.sourceforge.barbecue.output", + net.sourceforge.barbecue.linear.postnet;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.output,net.sourceforge.barbecue.linear", + net.sourceforge.barbecue.linear.twoOfFive;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.linear", + net.sourceforge.barbecue.linear.upc;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.output,net.sourceforge.barbecue.linear", + net.sourceforge.barbecue.output;uses:="org.jdom", + net.sourceforge.barbecue.twod.pdf417;uses:="net.sourceforge.barbecue,net.sourceforge.barbecue.output,net.sourceforge.barbecue.linear", + oracle.core.lmx, + oracle.core.lvf, + oracle.jdbc; + uses:="oracle.jdbc.internal, + oracle.jdbc.dcn, + oracle.jdbc.aq, + oracle.jdbc.driver, + oracle.sql, + oracle.jdbc.pool", + oracle.jdbc.aq;uses:="oracle.jdbc,oracle.sql", + oracle.jdbc.connector; + uses:="javax.resource.spi.endpoint, + javax.resource.spi, + javax.resource.spi.security, + javax.transaction.xa, + javax.security.auth, + javax.sql", + oracle.jdbc.dcn;uses:="oracle.jdbc,oracle.sql", + oracle.jdbc.driver; + uses:="oracle.jdbc.internal, + oracle.net.ns, + oracle.jdbc.dcn, + oracle.jdbc.xa, + oracle.jdbc.pool, + oracle.jdbc.oracore, + javax.management, + oracle.jdbc.aq, + javax.transaction.xa, + oracle.jdbc, + oracle.sql, + oracle.jdbc.xa.client", + oracle.jdbc.internal; + uses:="oracle.jdbc, + oracle.jdbc.oracore, + oracle.sql, + javax.transaction.xa, + oracle.jdbc.pool", + oracle.jdbc.oci;uses:="oracle.jdbc.driver", + oracle.jdbc.oracore;uses:="oracle.jdbc.internal,oracle.sql", + oracle.jdbc.pool; + uses:="oracle.jdbc.internal, + javax.transaction.xa, + oracle.jdbc.oci, + javax.naming.spi, + javax.sql, + oracle.jdbc, + javax.naming, + oracle.jdbc.driver, + oracle.ons", + oracle.jdbc.rowset; + uses:="javax.sql.rowset, + oracle.jdbc.internal, + org.xml.sax, + org.w3c.dom, + javax.sql, + oracle.jdbc, + oracle.jdbc.driver, + org.xml.sax.helpers, + javax.sql.rowset.spi", + oracle.jdbc.util, + oracle.jdbc.xa;uses:="javax.transaction.xa,oracle.jdbc.pool,javax.sql", + oracle.jdbc.xa.client; + uses:="oracle.jdbc.internal, + oracle.jdbc.driver, + javax.transaction.xa, + oracle.jdbc.xa, + javax.sql", + oracle.jpub.runtime; + uses:="oracle.jdbc, + oracle.jdbc.internal, + oracle.jdbc.driver, + oracle.sql", + oracle.net.TNSAddress;uses:="oracle.net.nl", + oracle.net.ano;uses:="oracle.net.ns,oracle.net.aso", + oracle.net.aso, + oracle.net.jndi;uses:="javax.naming.directory,javax.net,javax.net.ssl", + oracle.net.nl, + oracle.net.nl.mesg, + oracle.net.ns;uses:="oracle.net.ano,oracle.net.nt", + oracle.net.nt;uses:="javax.net.ssl", + oracle.net.resolver;uses:="oracle.net.TNSAddress,oracle.net.nt", + oracle.security.o3logon, + oracle.security.o5logon, + oracle.sql; + uses:="oracle.jdbc, + oracle.jdbc.internal, + oracle.jdbc.oracore, + oracle.jdbc.driver, + oracle.sql.converter", + oracle.sql.converter;uses:="oracle.jdbc.internal,oracle.i18n.text,oracle.i18n.text.converter", + org.apache.activemq, + org.apache.activemq.advisory, + org.apache.activemq.blob, + org.apache.activemq.broker, + org.apache.activemq.broker.ft, + org.apache.activemq.broker.jmx, + org.apache.activemq.broker.region, + org.apache.activemq.broker.region.cursors, + org.apache.activemq.broker.region.group, + org.apache.activemq.broker.region.policy, + org.apache.activemq.broker.region.virtual, + org.apache.activemq.broker.util, + org.apache.activemq.broker.view, + org.apache.activemq.camel, + org.apache.activemq.camel.component, + org.apache.activemq.camel.converter, + org.apache.activemq.command, + org.apache.activemq.filter, + org.apache.activemq.jaas, + org.apache.activemq.jndi, + org.apache.activemq.kaha, + org.apache.activemq.kaha.impl, + org.apache.activemq.kaha.impl.async, + org.apache.activemq.kaha.impl.container, + org.apache.activemq.kaha.impl.data, + org.apache.activemq.kaha.impl.index, + org.apache.activemq.kaha.impl.index.hash, + org.apache.activemq.kaha.impl.index.tree, + org.apache.activemq.management, + org.apache.activemq.memory, + org.apache.activemq.memory.buffer, + org.apache.activemq.memory.list, + org.apache.activemq.network, + org.apache.activemq.network.jms, + org.apache.activemq.openwire, + org.apache.activemq.openwire.tool, + org.apache.activemq.openwire.v1, + org.apache.activemq.openwire.v2, + org.apache.activemq.openwire.v3, + org.apache.activemq.pool, + org.apache.activemq.proxy, + org.apache.activemq.security, + org.apache.activemq.selector, + org.apache.activemq.spring, + org.apache.activemq.state, + org.apache.activemq.store, + org.apache.activemq.store.amq, + org.apache.activemq.store.jdbc, + org.apache.activemq.store.jdbc.adapter, + org.apache.activemq.store.journal, + org.apache.activemq.store.kahadaptor, + org.apache.activemq.store.memory, + org.apache.activemq.thread, + org.apache.activemq.transaction, + org.apache.activemq.transport, + org.apache.activemq.transport.discovery, + org.apache.activemq.transport.discovery.multicast, + org.apache.activemq.transport.discovery.rendezvous, + org.apache.activemq.transport.discovery.simple, + org.apache.activemq.transport.failover, + org.apache.activemq.transport.fanout, + org.apache.activemq.transport.mock, + org.apache.activemq.transport.multicast, + org.apache.activemq.transport.nio, + org.apache.activemq.transport.peer, + org.apache.activemq.transport.reliable, + org.apache.activemq.transport.stomp, + org.apache.activemq.transport.tcp, + org.apache.activemq.transport.udp, + org.apache.activemq.transport.vm, + org.apache.activemq.usage, + org.apache.activemq.util, + org.apache.activemq.wireformat, + org.apache.activemq.xbean, + org.apache.commons.collections, + org.apache.commons.collections.bag, + org.apache.commons.collections.bidimap, + org.apache.commons.collections.buffer, + org.apache.commons.collections.collection, + org.apache.commons.collections.comparators, + org.apache.commons.collections.functors, + org.apache.commons.collections.iterators, + org.apache.commons.collections.keyvalue, + org.apache.commons.collections.list, + org.apache.commons.collections.map, + org.apache.commons.collections.set, + org.apache.commons.net, + org.apache.commons.net.bsd, + org.apache.commons.net.ftp, + org.apache.commons.net.ftp.parser, + org.apache.commons.net.io, + org.apache.commons.net.nntp, + org.apache.commons.net.ntp, + org.apache.commons.net.pop3, + org.apache.commons.net.smtp, + org.apache.commons.net.telnet, + org.apache.commons.net.tftp, + org.apache.commons.net.util, + org.apache.ecs;uses:="org.apache.ecs.xhtml", + org.apache.ecs.filter;uses:="org.apache.ecs", + org.apache.ecs.storage, + org.apache.ecs.xhtml;uses:="org.apache.ecs", + org.apache.ecs.xml;uses:="org.apache.ecs", + org.apache.html.dom, + org.apache.log4j;uses:="org.apache.log4j.or,org.apache.log4j.spi,org.apache.log4j.helpers", + org.apache.log4j.chainsaw; + uses:="javax.swing.event, + org.apache.log4j, + org.xml.sax, + org.apache.log4j.spi, + org.xml.sax.helpers, + javax.swing.table, + javax.swing", + org.apache.log4j.config;uses:="org.apache.log4j", + org.apache.log4j.helpers;uses:="org.apache.log4j,org.apache.log4j.spi", + org.apache.log4j.jdbc;uses:="org.apache.log4j,org.apache.log4j.spi", + org.apache.log4j.lf5;uses:="org.apache.log4j,org.apache.log4j.lf5.viewer,org.apache.log4j.spi", + org.apache.log4j.lf5.config, + org.apache.log4j.lf5.util;uses:="org.apache.log4j.lf5.viewer,org.apache.log4j.lf5", + org.apache.log4j.lf5.viewer; + uses:="javax.swing.table, + org.apache.log4j.lf5.viewer.categoryexplorer, + org.apache.log4j.lf5, + javax.swing.event, + org.apache.log4j.lf5.viewer.configure, + org.apache.log4j.lf5.util, + javax.swing", + org.apache.log4j.lf5.viewer.categoryexplorer; + uses:="javax.swing.event, + javax.swing.tree, + javax.swing.table, + org.apache.log4j.lf5, + javax.swing", + org.apache.log4j.lf5.viewer.configure;uses:="org.apache.log4j.lf5.viewer,javax.swing.tree,org.w3c.dom", + org.apache.log4j.lf5.viewer.images, + org.apache.log4j.net; + uses:="org.apache.log4j, + javax.naming, + org.apache.log4j.spi, + javax.mail.internet, + javax.mail, + javax.jms, + org.apache.log4j.helpers", + org.apache.log4j.nt;uses:="org.apache.log4j,org.apache.log4j.spi", + org.apache.log4j.or;uses:="org.apache.log4j.spi", + org.apache.log4j.or.jms;uses:="org.apache.log4j.or", + org.apache.log4j.or.sax;uses:="org.apache.log4j.or", + org.apache.log4j.spi;uses:="org.apache.log4j.or,org.apache.log4j", + org.apache.log4j.varia;uses:="org.apache.log4j,org.apache.log4j.spi", + org.apache.log4j.xml; + uses:="org.apache.log4j, + org.apache.log4j.spi, + org.xml.sax, + javax.xml.parsers, + org.w3c.dom, + org.apache.log4j.helpers, + org.apache.log4j.config", + org.apache.poi.ddf, + org.apache.poi.dev, + org.apache.poi.hpsf;uses:="org.apache.poi.poifs.filesystem", + org.apache.poi.hpsf.wellknown, + org.apache.poi.hssf.dev;uses:="org.apache.poi.hssf.eventusermodel,org.apache.poi.hssf.usermodel,org.apache.poi.hssf.record", + org.apache.poi.hssf.eventmodel;uses:="org.apache.poi.hssf.model,org.apache.poi.hssf.record", + org.apache.poi.hssf.eventusermodel;uses:="org.apache.poi.poifs.filesystem,org.apache.poi.hssf.record", + org.apache.poi.hssf.model; + uses:="org.apache.poi.hssf.util, + org.apache.poi.hssf.record.formula, + org.apache.poi.ddf, + org.apache.poi.hssf.record, + org.apache.poi.hssf.usermodel, + org.apache.poi.hssf.record.aggregates", + org.apache.poi.hssf.record; + uses:="org.apache.poi.util, + org.apache.poi.hssf.record.formula, + org.apache.poi.hssf.model, + org.apache.poi.ddf, + org.apache.poi.hssf.usermodel", + org.apache.poi.hssf.record.aggregates;uses:="org.apache.poi.hssf.record", + org.apache.poi.hssf.record.formula;uses:="org.apache.poi.util,org.apache.poi.hssf.model,org.apache.poi.hssf.record", + org.apache.poi.hssf.usermodel; + uses:="org.apache.poi.hssf.util, + org.apache.poi.hssf.model, + org.apache.poi.poifs.filesystem, + org.apache.poi.ddf, + org.apache.poi.hssf.record", + org.apache.poi.hssf.util;uses:="org.apache.poi.hssf.record", + org.apache.poi.poifs.common, + org.apache.poi.poifs.dev, + org.apache.poi.poifs.eventfilesystem;uses:="org.apache.poi.poifs.filesystem", + org.apache.poi.poifs.filesystem; + uses:="org.apache.poi.poifs.property, + org.apache.poi.hpsf, + org.apache.poi.poifs.storage, + org.apache.poi.poifs.dev", + org.apache.poi.poifs.property; + uses:="org.apache.poi.poifs.filesystem, + org.apache.poi.hpsf, + org.apache.poi.poifs.storage, + org.apache.poi.poifs.dev", + org.apache.poi.poifs.storage;uses:="org.apache.poi.poifs.filesystem,org.apache.poi.poifs.property", + org.apache.poi.util;uses:="new org.apache.poi.util", + org.apache.taglibs.standard, + org.apache.taglibs.standard.extra.spath;uses:="org.xml.sax,javax.servlet.jsp.tagext,org.xml.sax.helpers", + org.apache.taglibs.standard.functions, + org.apache.taglibs.standard.lang.jstl; + uses:="javax.servlet.http, + javax.servlet, + javax.servlet.jsp.tagext, + org.apache.taglibs.standard.lang.support, + org.apache.taglibs.standard.lang.jstl.parser, + javax.servlet.jsp", + org.apache.taglibs.standard.lang.jstl.parser;uses:="org.apache.taglibs.standard.lang.jstl", + org.apache.taglibs.standard.lang.jstl.test; + uses:="javax.servlet.http, + javax.servlet, + javax.servlet.jsp.el, + javax.servlet.jsp", + org.apache.taglibs.standard.lang.jstl.test.beans, + org.apache.taglibs.standard.lang.support;uses:="javax.servlet.jsp.tagext,javax.servlet.jsp", + org.apache.taglibs.standard.resources, + org.apache.taglibs.standard.tag.common.core; + uses:="javax.servlet.http, + javax.servlet.jsp.jstl.core, + javax.servlet, + javax.servlet.jsp.tagext, + javax.servlet.jsp.el, + javax.servlet.jsp", + org.apache.taglibs.standard.tag.common.fmt;uses:="javax.servlet.jsp.jstl.fmt,javax.servlet.jsp.tagext,javax.servlet.jsp", + org.apache.taglibs.standard.tag.common.sql; + uses:="javax.servlet.jsp.tagext, + javax.servlet.jsp.jstl.sql, + javax.servlet.jsp, + javax.sql", + org.apache.taglibs.standard.tag.common.xml; + uses:="org.apache.taglibs.standard.tag.common.core, + org.xml.sax, + javax.servlet.jsp.tagext, + org.w3c.dom, + javax.servlet.jsp, + javax.xml.transform, + org.apache.xml.utils, + org.w3c.dom.traversal, + javax.servlet.jsp.jstl.core, + javax.xml.parsers, + org.apache.xpath.objects, + org.apache.xpath", + org.apache.taglibs.standard.tag.el.core; + uses:="javax.servlet.jsp.jstl.core, + org.apache.taglibs.standard.tag.common.core, + javax.servlet.jsp.tagext, + javax.servlet.jsp", + org.apache.taglibs.standard.tag.el.fmt;uses:="org.apache.taglibs.standard.tag.common.fmt", + org.apache.taglibs.standard.tag.el.sql;uses:="org.apache.taglibs.standard.tag.common.sql", + org.apache.taglibs.standard.tag.el.xml;uses:="org.apache.taglibs.standard.tag.common.xml", + org.apache.taglibs.standard.tag.rt.core;uses:="javax.servlet.jsp.jstl.core,org.apache.taglibs.standard.tag.common.core,javax.servlet.jsp.tagext", + org.apache.taglibs.standard.tag.rt.fmt;uses:="javax.servlet.jsp.jstl.fmt,org.apache.taglibs.standard.tag.common.fmt", + org.apache.taglibs.standard.tag.rt.sql;uses:="org.apache.taglibs.standard.tag.common.sql", + org.apache.taglibs.standard.tag.rt.xml;uses:="org.xml.sax,org.apache.taglibs.standard.tag.common.xml,javax.xml.transform", + org.apache.taglibs.standard.tei;uses:="javax.servlet.jsp.tagext", + org.apache.taglibs.standard.tlv;uses:="org.xml.sax,javax.servlet.jsp.tagext,org.xml.sax.helpers", + org.apache.tools.ant, + org.apache.tools.ant.filters, + org.apache.tools.ant.filters.util, + org.apache.tools.ant.helper, + org.apache.tools.ant.input, + org.apache.tools.ant.listener, + org.apache.tools.ant.loader, + org.apache.tools.ant.taskdefs, + org.apache.tools.ant.taskdefs.compilers, + org.apache.tools.ant.taskdefs.condition, + org.apache.tools.ant.taskdefs.cvslib, + org.apache.tools.ant.taskdefs.email, + org.apache.tools.ant.taskdefs.rmic, + org.apache.tools.ant.types, + org.apache.tools.ant.types.mappers, + org.apache.tools.ant.types.selectors, + org.apache.tools.ant.types.selectors.modifiedselector, + org.apache.tools.ant.util, + org.apache.tools.ant.util.facade, + org.apache.tools.ant.util.regexp, + org.apache.tools.bzip2, + org.apache.tools.mail, + org.apache.tools.tar, + org.apache.tools.zip, + org.apache.wml, + org.apache.wml.dom, + org.apache.xerces.dom, + org.apache.xerces.dom.events, + org.apache.xerces.dom3.as, + org.apache.xerces.impl, + org.apache.xerces.impl.dtd, + org.apache.xerces.impl.dtd.models, + org.apache.xerces.impl.dv, + org.apache.xerces.impl.dv.dtd, + org.apache.xerces.impl.dv.util, + org.apache.xerces.impl.dv.xs, + org.apache.xerces.impl.io, + org.apache.xerces.impl.msg, + org.apache.xerces.impl.validation, + org.apache.xerces.impl.xpath, + org.apache.xerces.impl.xpath.regex, + org.apache.xerces.impl.xs, + org.apache.xerces.impl.xs.identity, + org.apache.xerces.impl.xs.models, + org.apache.xerces.impl.xs.opti, + org.apache.xerces.impl.xs.traversers, + org.apache.xerces.impl.xs.util, + org.apache.xerces.jaxp, + org.apache.xerces.jaxp.datatype, + org.apache.xerces.jaxp.validation, + org.apache.xerces.parsers, + org.apache.xerces.util, + org.apache.xerces.xinclude, + org.apache.xerces.xni, + org.apache.xerces.xni.grammars, + org.apache.xerces.xni.parser, + org.apache.xerces.xpointer, + org.apache.xerces.xs, + org.apache.xerces.xs.datatypes, + org.apache.xml.serialize, + org.codehaus.groovy, + org.codehaus.groovy.ant; + uses:="groovyjarjarasm.asm.tree, + org.apache.tools.ant.types, + org.apache.tools.ant.taskdefs, + org.apache.tools.ant, + org.codehaus.groovy.control, + groovyjarjarasm.asm.tree.analysis, + groovyjarjarasm.asm, + groovyjarjarasm.asm.util, + org.codehaus.groovy.tools.javac, + groovy.lang", + org.codehaus.groovy.antlr; + uses:="groovyjarjarantlr.debug.misc, + org.codehaus.groovy.antlr.parser, + org.codehaus.groovy.ast, + org.codehaus.groovy.control, + javax.swing.border, + groovyjarjarantlr, + org.codehaus.groovy.ast.stmt, + groovyjarjarantlr.collections, + org.codehaus.groovy.syntax, + org.codehaus.groovy.ast.expr, + javax.swing", + org.codehaus.groovy.antlr.java; + uses:="org.codehaus.groovy.antlr, + groovyjarjarantlr, + groovyjarjarantlr.collections.impl, + org.codehaus.groovy.antlr.parser, + groovyjarjarantlr.collections, + org.codehaus.groovy.antlr.treewalker", + org.codehaus.groovy.antlr.parser; + uses:="org.codehaus.groovy.antlr, + groovyjarjarantlr, + groovyjarjarantlr.collections.impl, + groovyjarjarantlr.collections", + org.codehaus.groovy.antlr.treewalker;uses:="org.codehaus.groovy.antlr,groovyjarjarantlr.collections", + org.codehaus.groovy.ast; + uses:="org.codehaus.groovy.ast.stmt, + org.codehaus.groovy.control, + org.codehaus.groovy.ast.expr, + groovy.lang, + groovyjarjarasm.asm", + org.codehaus.groovy.ast.expr; + uses:="org.codehaus.groovy.ast.stmt, + org.codehaus.groovy.syntax, + org.codehaus.groovy.ast, + groovy.lang", + org.codehaus.groovy.ast.stmt;uses:="org.codehaus.groovy.ast,org.codehaus.groovy.ast.expr", + org.codehaus.groovy.binding;uses:="groovy.lang,javax.swing", + org.codehaus.groovy.bsf;uses:="org.apache.bsf.util,org.apache.bsf,groovy.lang", + org.codehaus.groovy.classgen; + uses:="org.codehaus.groovy.reflection, + org.codehaus.groovy.ast.stmt, + org.codehaus.groovy.syntax, + org.codehaus.groovy.ast, + org.codehaus.groovy.ast.expr, + org.codehaus.groovy.control, + groovyjarjarasm.asm", + org.codehaus.groovy.control; + uses:="org.codehaus.groovy, + org.codehaus.groovy.classgen, + org.codehaus.groovy.control.messages, + org.codehaus.groovy.ast, + org.codehaus.groovy.control.io, + groovyjarjarasm.asm, + groovyjarjarantlr, + org.codehaus.groovy.ast.stmt, + org.codehaus.groovy.syntax, + org.codehaus.groovy.ast.expr, + groovy.lang, + org.codehaus.groovy.tools", + org.codehaus.groovy.control.io;uses:="org.codehaus.groovy.control", + org.codehaus.groovy.control.messages;uses:="org.codehaus.groovy.syntax,org.codehaus.groovy.control", + org.codehaus.groovy.groovydoc, + org.codehaus.groovy.reflection;uses:="org.codehaus.groovy.classgen,org.codehaus.groovy.runtime,groovy.lang", + org.codehaus.groovy.runtime; + uses:="org.w3c.dom, + groovy.time, + org.codehaus.groovy.reflection, + org.codehaus.groovy.runtime.wrappers, + junit.framework, + groovy.lang", + org.codehaus.groovy.runtime.metaclass;uses:="org.codehaus.groovy.reflection,org.codehaus.groovy.runtime,groovy.lang", + org.codehaus.groovy.runtime.typehandling, + org.codehaus.groovy.runtime.wrappers;uses:="groovy.lang", + org.codehaus.groovy.syntax; + uses:="org.codehaus.groovy, + org.codehaus.groovy.ast, + org.codehaus.groovy.control, + groovy.lang", + org.codehaus.groovy.tools;uses:="org.codehaus.groovy,org.codehaus.groovy.control,groovyjarjarcommonscli", + org.codehaus.groovy.tools.groovydoc;uses:="org.codehaus.groovy.antlr,org.codehaus.groovy.antlr.treewalker,org.codehaus.groovy.groovydoc", + org.codehaus.groovy.tools.javac; + uses:="org.codehaus.groovy.ast.stmt, + org.codehaus.groovy.classgen, + org.codehaus.groovy.ast, + org.codehaus.groovy.control, + groovy.lang", + org.codehaus.groovy.tools.shell; + uses:="org.codehaus.groovy.tools.shell.util, + org.codehaus.groovy.runtime, + jline, + groovy.lang", + org.codehaus.groovy.tools.shell.commands; + uses:="org.codehaus.groovy.tools.shell.util, + org.codehaus.groovy.tools.shell, + org.codehaus.groovy.runtime, + jline, + groovy.lang", + org.codehaus.groovy.tools.shell.util; + uses:="org.codehaus.groovy.tools.shell, + org.codehaus.groovy.runtime, + jline, + groovy.lang, + groovyjarjarcommonscli", + org.codehaus.groovy.tools.xml;uses:="groovy.util,org.w3c.dom", + org.codehaus.groovy.vmplugin;uses:="org.codehaus.groovy.ast", + org.codehaus.groovy.vmplugin.v4;uses:="org.codehaus.groovy.vmplugin,org.codehaus.groovy.ast", + org.codehaus.groovy.vmplugin.v5;uses:="org.codehaus.groovy.vmplugin,org.codehaus.groovy.ast", + org.jdesktop.beans, + org.jdesktop.swingx; + uses:="org.jdesktop.swingx.event, + org.jdesktop.swingx.multislider, + javax.swing.undo, + javax.swing.tree, + org.jdesktop.swingx.table, + javax.swing.table, + new org.jdesktop.swingx, + org.jdesktop.swingx.painter, + org.jdesktop.swingx.treetable, + org.jdesktop.swingx.tips, + org.jdesktop.swingx.calendar, + javax.swing, + org.apache.batik.ext.awt, + javax.swing.text, + org.jdesktop.swingx.error, + org.jdesktop.swingx.auth, + javax.swing.border, + org.jdesktop.swingx.decorator, + javax.swing.event, + org.jdesktop.swingx.action, + org.jdesktop.beans, + javax.swing.text.html, + javax.swing.plaf, + javax.accessibility, + org.jdesktop.swingx.plaf, + org.jdesktop.swingx.color", + org.jdesktop.swingx.action;uses:="org.jdesktop.swingx,javax.swing", + org.jdesktop.swingx.auth; + uses:="new org.jdesktop.swingx.auth, + org.jdesktop.beans, + org.jdesktop.swingworker, + javax.security.auth.callback", + org.jdesktop.swingx.auth.resources, + org.jdesktop.swingx.autocomplete; + uses:="javax.swing.event, + javax.swing.text, + javax.swing.table, + javax.swing", + org.jdesktop.swingx.autocomplete.workarounds;uses:="javax.swing", + org.jdesktop.swingx.border;uses:="javax.swing.border,javax.swing", + org.jdesktop.swingx.calendar;uses:="org.jdesktop.swingx.plaf,org.jdesktop.swingx,javax.swing", + org.jdesktop.swingx.calendar.resources, + org.jdesktop.swingx.color; + uses:="org.jdesktop.swingx.multislider, + org.apache.batik.ext.awt, + org.jdesktop.swingx, + javax.swing.colorchooser, + javax.swing.event, + javax.swing", + org.jdesktop.swingx.combobox;uses:="javax.swing.event,javax.swing", + org.jdesktop.swingx.decorator; + uses:="org.jdesktop.swingx.event, + javax.swing.event, + org.jdesktop.swingx.painter, + javax.swing", + org.jdesktop.swingx.editors; + uses:="org.jdesktop.swingx.decorator, + org.jdesktop.swingx, + javax.swing.event, + org.jdesktop.swingx.painter, + javax.swing", + org.jdesktop.swingx.error, + org.jdesktop.swingx.event;uses:="javax.swing.event", + org.jdesktop.swingx.geom, + org.jdesktop.swingx.graphics, + org.jdesktop.swingx.icon;uses:="javax.swing.plaf,javax.swing", + org.jdesktop.swingx.image;uses:="org.jdesktop.beans", + org.jdesktop.swingx.multislider;uses:="org.jdesktop.swingx,javax.swing", + org.jdesktop.swingx.multisplitpane;uses:="org.jdesktop.swingx", + org.jdesktop.swingx.painter; + uses:="org.jdesktop.swingx.editors, + org.jdesktop.swingx.painter.effects, + org.jdesktop.beans, + org.jdesktop.swingx, + javax.swing", + org.jdesktop.swingx.painter.effects;uses:="org.jdesktop.swingx.editors,org.jdesktop.swingx.painter,org.jdesktop.swingx", + org.jdesktop.swingx.plaf; + uses:="javax.swing.text, + org.jdesktop.swingx.painter, + javax.swing.plaf, + org.jdesktop.swingx, + javax.swing", + org.jdesktop.swingx.plaf.basic; + uses:="org.jdesktop.swingx.event, + javax.swing.plaf.basic, + javax.swing.text, + org.jdesktop.swingx.error, + javax.swing.border, + org.jdesktop.swingx, + javax.swing.event, + org.jdesktop.swingx.painter, + org.jdesktop.swingx.action, + javax.swing.text.html, + javax.swing.plaf, + org.jdesktop.swingx.calendar, + org.jdesktop.swingx.plaf, + javax.swing", + org.jdesktop.swingx.plaf.basic.resources, + org.jdesktop.swingx.plaf.linux;uses:="org.jdesktop.swingx.plaf.basic", + org.jdesktop.swingx.plaf.macosx; + uses:="org.jdesktop.swingx.plaf.basic, + org.jdesktop.swingx.painter, + org.jdesktop.swingx.action, + javax.swing.plaf, + org.jdesktop.swingx.plaf, + javax.swing", + org.jdesktop.swingx.plaf.metal; + uses:="org.jdesktop.swingx.plaf.basic, + javax.swing.border, + javax.swing.plaf, + org.jdesktop.swingx, + javax.swing", + org.jdesktop.swingx.plaf.misc; + uses:="org.jdesktop.swingx.plaf.basic, + javax.swing.border, + javax.swing.plaf, + org.jdesktop.swingx, + javax.swing", + org.jdesktop.swingx.plaf.motif;uses:="org.jdesktop.swingx.plaf.basic", + org.jdesktop.swingx.plaf.nimbus;uses:="org.jdesktop.swingx.plaf.basic", + org.jdesktop.swingx.plaf.resources, + org.jdesktop.swingx.plaf.windows; + uses:="org.jdesktop.swingx.plaf.basic, + javax.swing.border, + javax.swing.plaf, + org.jdesktop.swingx, + javax.swing", + org.jdesktop.swingx.plaf.windows.resources, + org.jdesktop.swingx.renderer; + uses:="javax.swing.tree, + javax.swing.table, + javax.swing.border, + org.jdesktop.swingx, + org.jdesktop.swingx.painter, + org.jdesktop.swingx.action, + javax.swing", + org.jdesktop.swingx.resources, + org.jdesktop.swingx.table; + uses:="javax.swing.tree, + javax.swing.table, + org.jdesktop.swingx, + javax.swing.event, + org.jdesktop.swingx.action, + javax.swing.plaf, + javax.swing", + org.jdesktop.swingx.table.resources, + org.jdesktop.swingx.tips, + org.jdesktop.swingx.tree;uses:="javax.swing.tree,javax.swing", + org.jdesktop.swingx.treetable;uses:="javax.swing.event,javax.swing.tree,javax.swing", + org.jdesktop.swingx.util;uses:="javax.swing.border,javax.swing", + org.jfree;uses:="org.jfree.ui.about", + org.jfree.base;uses:="org.jfree.util,org.jfree.base.modules,org.jfree.base.config", + org.jfree.base.config;uses:="org.jfree.util", + org.jfree.base.log;uses:="org.jfree.util,org.jfree.base.modules", + org.jfree.base.modules;uses:="org.jfree.util,org.jfree.base,org.jfree.base.config", + org.jfree.chart; + uses:="org.jfree.util, + org.jfree.chart.plot, + org.jfree.data.xy, + org.jfree.chart.annotations, + org.jfree.chart.renderer, + org.jfree.chart.renderer.xy, + org.jfree.chart.event, + org.jfree.data.category, + javax.swing, + org.jfree.ui.about, + org.jfree.chart.renderer.category, + org.jfree.data.general, + org.jfree.data.statistics, + org.jfree.chart.entity, + org.jfree.chart.block, + org.jfree.chart.imagemap, + org.jfree.chart.title, + org.jfree.chart.axis, + org.jfree.ui", + org.jfree.chart.annotations; + uses:="org.jfree.util, + org.jfree.chart.plot, + org.jfree.chart.util, + org.jfree.chart.title, + org.jfree.ui, + org.jfree.chart.axis", + org.jfree.chart.axis; + uses:="org.jfree.util, + org.jfree.data.time, + org.jfree.chart.plot, + org.jfree.text, + org.jfree.chart.event, + org.jfree.data.category, + org.jfree.data, + org.jfree.ui", + org.jfree.chart.block; + uses:="org.jfree.util, + org.jfree.chart.entity, + org.jfree.data, + org.jfree.ui", + org.jfree.chart.demo;uses:="javax.swing,org.jfree.ui", + org.jfree.chart.editor; + uses:="org.jfree.chart.plot, + org.jfree.chart, + org.jfree.chart.title, + javax.swing, + org.jfree.ui, + org.jfree.chart.axis", + org.jfree.chart.encoders, + org.jfree.chart.entity; + uses:="org.jfree.util, + org.jfree.chart.imagemap, + org.jfree.data.xy, + org.jfree.data.general, + org.jfree.data.category", + org.jfree.chart.event; + uses:="org.jfree.chart.plot, + org.jfree.chart, + org.jfree.chart.title, + org.jfree.chart.axis", + org.jfree.chart.imagemap;uses:="org.jfree.chart", + org.jfree.chart.labels; + uses:="org.jfree.util, + org.jfree.data.xy, + org.jfree.data.general, + org.jfree.data.category, + org.jfree.ui, + org.jfree.data.contour", + org.jfree.chart.needle, + org.jfree.chart.plot; + uses:="org.jfree.util, + org.jfree.chart.needle, + org.jfree.data.xy, + org.jfree.chart, + org.jfree.text, + org.jfree.data.contour, + org.jfree.chart.renderer, + org.jfree.chart.annotations, + org.jfree.chart.renderer.xy, + org.jfree.chart.urls, + org.jfree.chart.event, + org.jfree.chart.labels, + org.jfree.data.category, + javax.swing, + org.jfree.chart.renderer.category, + org.jfree.data.general, + org.jfree.chart.title, + org.jfree.ui, + org.jfree.chart.axis, + org.jfree.data", + org.jfree.chart.plot.dial; + uses:="org.jfree.util, + org.jfree.chart.plot, + org.jfree.data.general, + org.jfree.chart.event, + org.jfree.ui", + org.jfree.chart.renderer; + uses:="org.jfree.util, + org.jfree.chart.plot, + org.jfree.data.xy, + org.jfree.chart, + org.jfree.chart.entity, + org.jfree.chart.event, + org.jfree.chart.labels, + org.jfree.chart.axis", + org.jfree.chart.renderer.category; + uses:="org.jfree.util, + org.jfree.chart.plot, + org.jfree.chart, + org.jfree.data.statistics, + org.jfree.chart.renderer, + org.jfree.chart.entity, + org.jfree.chart.urls, + org.jfree.chart.event, + org.jfree.data.gantt, + org.jfree.chart.labels, + org.jfree.data.category, + javax.swing, + org.jfree.data, + org.jfree.chart.axis, + org.jfree.ui", + org.jfree.chart.renderer.xy; + uses:="org.jfree.util, + org.jfree.chart.plot, + org.jfree.data.general, + org.jfree.data.xy, + org.jfree.chart, + org.jfree.chart.renderer, + org.jfree.chart.annotations, + org.jfree.chart.entity, + org.jfree.chart.urls, + org.jfree.chart.event, + org.jfree.chart.labels, + org.jfree.ui, + org.jfree.data, + org.jfree.chart.axis", + org.jfree.chart.resources, + org.jfree.chart.servlet;uses:="javax.servlet.http,org.jfree.chart", + org.jfree.chart.title; + uses:="org.jfree.util, + org.jfree.data.general, + org.jfree.chart, + org.jfree.chart.renderer, + org.jfree.chart.block, + org.jfree.chart.event, + org.jfree.data, + org.jfree.ui, + org.jfree.chart.axis", + org.jfree.chart.urls; + uses:="org.jfree.util, + org.jfree.data.xy, + org.jfree.data.general, + org.jfree.data.category", + org.jfree.chart.util, + org.jfree.data;uses:="org.jfree.util,org.jfree.data.general", + org.jfree.data.category;uses:="org.jfree.util,org.jfree.data.general,org.jfree.data", + org.jfree.data.contour;uses:="org.jfree.data.xy,org.jfree.data", + org.jfree.data.function, + org.jfree.data.gantt; + uses:="org.jfree.util, + org.jfree.data.time, + org.jfree.data.xy, + org.jfree.data.general, + org.jfree.data.category", + org.jfree.data.general; + uses:="org.jfree.util, + org.jfree.data.xy, + org.jfree.data.function, + org.jfree.data.category, + org.jfree.data", + org.jfree.data.io;uses:="org.jfree.data.category", + org.jfree.data.jdbc; + uses:="org.jfree.data.xy, + org.jfree.data.general, + org.jfree.data.category, + org.jfree.data", + org.jfree.data.resources, + org.jfree.data.statistics; + uses:="org.jfree.util, + org.jfree.data.general, + org.jfree.data.xy, + org.jfree.data.category, + org.jfree.data", + org.jfree.data.time; + uses:="org.jfree.util, + javax.swing.table, + org.jfree.data.general, + org.jfree.data.xy, + org.jfree.date, + org.jfree.data", + org.jfree.data.time.ohlc;uses:="org.jfree.data.time,org.jfree.data.xy,org.jfree.data", + org.jfree.data.xml; + uses:="org.xml.sax, + org.jfree.data.general, + org.xml.sax.helpers, + org.jfree.data.category", + org.jfree.data.xy; + uses:="org.jfree.util, + javax.swing.table, + org.jfree.data.general, + org.jfree.data", + org.jfree.date, + org.jfree.io, + org.jfree.layout, + org.jfree.resources, + org.jfree.text;uses:="org.jfree.util,org.jfree.ui", + org.jfree.threads, + org.jfree.ui; + uses:="org.jfree.util, + javax.swing.text, + javax.swing.table, + javax.swing.filechooser, + javax.swing.event, + org.jfree.date, + javax.swing", + org.jfree.ui.about; + uses:="javax.swing.table, + javax.swing.border, + org.jfree.base, + org.jfree.ui, + javax.swing", + org.jfree.ui.about.resources, + org.jfree.ui.action;uses:="javax.swing", + org.jfree.ui.tabbedui;uses:="javax.swing", + org.jfree.util;uses:="org.jfree.base.config,org.jfree.ui,javax.swing", + org.jpedal, + org.jpedal.color, + org.jpedal.examples, + org.jpedal.examples.acroform, + org.jpedal.examples.contentextractor, + org.jpedal.examples.handlers, + org.jpedal.examples.images, + org.jpedal.examples.jpaneldemo, + org.jpedal.examples.printing, + org.jpedal.examples.simpleviewer, + org.jpedal.examples.simpleviewer.gui, + org.jpedal.examples.simpleviewer.gui.generic, + org.jpedal.examples.simpleviewer.gui.popups, + org.jpedal.examples.simpleviewer.gui.swing, + org.jpedal.examples.simpleviewer.paper, + org.jpedal.examples.simpleviewer.utils, + org.jpedal.examples.text, + org.jpedal.examples.text.extractheadlines, + org.jpedal.exception, + org.jpedal.external, + org.jpedal.fonts, + org.jpedal.fonts.glyph, + org.jpedal.fonts.tt, + org.jpedal.function, + org.jpedal.grouping, + org.jpedal.gui, + org.jpedal.images, + org.jpedal.io, + org.jpedal.objects, + org.jpedal.objects.acroforms, + org.jpedal.objects.acroforms.listeners, + org.jpedal.objects.outlines, + org.jpedal.objects.structuredtext, + org.jpedal.parser, + org.jpedal.render, + org.jpedal.storypad, + org.jpedal.sun, + org.jpedal.utils, + org.jpedal.utils.repositories, + org.postgresql;uses:="org.postgresql.largeobject,org.postgresql.fastpath,org.postgresql.copy", + org.postgresql.copy;uses:="org.postgresql.core,org.postgresql", + org.postgresql.core;uses:="org.postgresql.jdbc2,org.postgresql.copy,org.postgresql", + org.postgresql.core.types, + org.postgresql.core.v2;uses:="org.postgresql.copy,org.postgresql.core,org.postgresql", + org.postgresql.core.v3;uses:="org.postgresql.copy,org.postgresql.core,org.postgresql", + org.postgresql.ds;uses:="org.postgresql.ds.jdbc4,org.postgresql.ds.common,javax.sql", + org.postgresql.ds.common;uses:="javax.naming,javax.naming.spi", + org.postgresql.ds.jdbc23; + uses:="javax.naming, + org.postgresql.ds.common, + org.postgresql.ds, + javax.sql", + org.postgresql.ds.jdbc4;uses:="org.postgresql.ds.jdbc23,javax.sql", + org.postgresql.fastpath;uses:="org.postgresql.core", + org.postgresql.geometric;uses:="org.postgresql.util", + org.postgresql.gss;uses:="org.postgresql.core,javax.security.auth.callback", + org.postgresql.jdbc2; + uses:="org.postgresql.fastpath, + org.postgresql.util, + org.postgresql.copy, + org.postgresql, + org.postgresql.largeobject, + org.postgresql.core", + org.postgresql.jdbc2.optional;uses:="org.postgresql.ds", + org.postgresql.jdbc3;uses:="org.postgresql.jdbc2,org.postgresql.core", + org.postgresql.jdbc3g;uses:="org.postgresql.jdbc3,org.postgresql.core", + org.postgresql.jdbc4; + uses:="org.postgresql.jdbc3, + org.xml.sax, + org.postgresql.jdbc3g, + org.postgresql.jdbc2, + org.postgresql.core, + javax.xml.transform", + org.postgresql.largeobject;uses:="org.postgresql.fastpath,org.postgresql.core", + org.postgresql.ssl;uses:="org.postgresql.core,javax.net.ssl", + org.postgresql.translation, + org.postgresql.util, + org.postgresql.xa; + uses:="javax.naming, + org.postgresql.ds.common, + org.postgresql.ds, + org.postgresql.core, + javax.transaction.xa, + javax.sql", + org.python.compiler;uses:="org.python.parser,org.python.core,org.python.parser.ast", + org.python.core; + uses:="org.python.core.adapter, + org.python.parser.ast, + org.python.parser, + new org.python.core", + org.python.core.adapter;uses:="org.python.core", + org.python.modules;uses:="org.python.core,org.python.modules.sre", + org.python.modules.sets;uses:="org.python.core", + org.python.modules.sre;uses:="org.python.core", + org.python.modules.time;uses:="org.python.core", + org.python.parser;uses:="org.python.parser.ast", + org.python.parser.ast;uses:="org.python.parser", + org.python.rmi, + org.python.util; + uses:="javax.servlet.http, + javax.servlet, + org.apache.tools.ant.taskdefs, + org.apache.tools.ant.types, + org.python.core, + jline", + org.w3c.dom.html, + paypal.payflow diff --git a/tools/build.properties b/tools/build.properties new file mode 100644 index 0000000000..8f19b5c9eb --- /dev/null +++ b/tools/build.properties @@ -0,0 +1,54 @@ +source.tools.jar = src/,build/ +bin.includes = META-INF/,\ + lib/jstl.jar,\ + lib/Verisign.jar,\ + lib/standard.jar,\ + lib/barbecue-1.5-beta1.jar,\ + lib/poi-3.0.1-FINAL-20070705.jar,\ + lib/jnlp.jar,\ + lib/iText-2.1.7.jar,\ + lib/swingx-0.9.0.jar,\ + lib/miglayout-3.7.1-swing.jar,\ + lib/log4j.jar,\ + lib/activation.jar,\ + lib/mail.jar,\ + lib/jpayment.jar,\ + lib/bsh-2.0b5.jar,\ + lib/script-api.jar,\ + lib/bsh-engine.jar,\ + lib/groovy-all-1.5.1.jar,\ + lib/groovy-engine.jar,\ + lib/jython.jar,\ + lib/jython-engine.jar,\ + lib/jcommon-1.0.14.jar,\ + lib/jfreechart-1.0.11.jar,\ + lib/javaee.jar,\ + tools.jar,\ + lib/ant-commons-net.jar,\ + lib/ant-contrib-1.0b1.jar,\ + lib/ant-launcher.jar,\ + lib/c3p0-0.9.1.2.jar,\ + lib/c3p0-oracle-thin-extras-0.9.1.2.jar,\ + lib/cglib.jar,\ + lib/commons-codec.jar,\ + lib/commons-logging.jar,\ + lib/copyLibraries.bat,\ + lib/jgraph.jar,\ + lib/jsp-api.jar,\ + lib/logkit.jar,\ + lib/looks-2.0.4.jar,\ + lib/ocrs12.jar,\ + lib/ojdbc14.jar,\ + lib/postgresql.jar,\ + lib/wizard.jar,\ + lib/xjavadoc-1.1.jar,\ + lib/xml-apis.jar,\ + lib/xercesImpl.jar,\ + lib/junit.jar,\ + lib/commons-collections-3.1.jar,\ + lib/ant.jar,\ + lib/jpedal.jar,\ + lib/activemq-core-5.0.0.jar,\ + lib/commons-net-1.4.0.jar,\ + lib/cron4j-2.2.1.jar,\ + lib/payflow.jar diff --git a/tools/build.xml b/tools/build.xml index dd1bd0ef85..a4c310cf9f 100644 --- a/tools/build.xml +++ b/tools/build.xml @@ -21,6 +21,9 @@ + + + @@ -345,31 +348,31 @@ - - - - + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -476,6 +479,66 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/lib/ant4eclipse/macros/a4e-jdt-macros.xml b/tools/lib/ant4eclipse/macros/a4e-jdt-macros.xml new file mode 100644 index 0000000000..cf2fc68462 --- /dev/null +++ b/tools/lib/ant4eclipse/macros/a4e-jdt-macros.xml @@ -0,0 +1,195 @@ + + + + + + + + + + + + + eclipse.preferences.version=1${line.separator} + org.eclipse.jdt.core.compiler.codegen.targetPlatform=@{targetlevel}${line.separator} + org.eclipse.jdt.core.compiler.compliance=@{targetlevel}${line.separator} + org.eclipse.jdt.core.compiler.source=@{sourcelevel}${line.separator} + + + + + + + + + + + + + + + + + + + + + + + + + + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + * * * Building project @{projectName} + * * * in workspace @{workspaceDirectory} + * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * + + + + + + + + + + + + + + + + + + + + + + + + + * Cleaning output directory '${buildJdtProject.output.directory}' + + + + + + + + + + + Compiling jdt project '${buildJdtProject.project.name}' + - source directories -> ${buildJdtProject.source.directories} + - output directories -> ${buildJdtProject.default.output.directory} + - bootclasspath -> ${buildJdtProject.boot.classpath} + - classpath -> ${buildJdtProject.classpath.absolute.compiletime} + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copying resources from directory '${buildJdtProject.source.directory}' to '${buildJdtProject.output.directory}' + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml b/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml new file mode 100644 index 0000000000..eaf6abdce2 --- /dev/null +++ b/tools/lib/ant4eclipse/macros/a4e-pde-macros.xml @@ -0,0 +1,852 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Compiling pde project '${buildPlugin.project.name}' + + + + + + + + + + + + + + + + + + + + + + + + + + Copying resources from directory '${buildPlugin.source.directory}' to '${buildPlugin.output.directory}' + + + + + + + + + + + + + + + + + + Packing library '${buildPlugin.library.name}' + + + + + + + + + Copying resources from directory '${executePluginLibrary.output.directory}' to '@{destination}/${a4e.temp.directory}/${buildPlugin.library.name}' + + + + + + + Copying resources from directory '${executePluginLibrary.source.directory}' to '@{destination}/${a4e.temp.directory}/${buildPlugin.library.name}' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Packing library '.' + + + + + + + + + Copying resources from directory '${executePluginLibrary.output.directory}' to '${buildPlugin.project.directory}/${a4e.self.directory}' + + + + + + + Copying resources from directory '${executePluginLibrary.source.directory}' to '${buildPlugin.project.directory}/${a4e.self.directory}' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Scrubbing directory '@{dir}' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Building product ${executeProduct.product.name} version ${executeProduct.product.version} + + + + + + + + + Scrubbing directory '@{destination}' + + + + + + + + + + + + + + + + -> Building included feature '${executeProduct.feature.id}' - '${executeProduct.feature.version}' + + + + + + + + + + + -> Building included plugin '${executeProduct.plugin.id}' from project: ${executeProduct.plugin.projectName} + + + + + + + + + + + Copying bundle '${executeProduct.plugin.file} (${executeProduct.plugin.id})' + + + + + + + + + + + + version=1.0.0 + name=${executeProduct.product.name} + id=${executeProduct.product.id} + + + + + + + + + + + + -vmargs + + + @{vmarg} + + + + + + + + + + + + + + + + + + + # Product Runtime Configuration File + eclipse.application=${executeProduct.product.applicationid} + osgi.bundles.defaultStartLevel=4 + eclipse.product=${executeProduct.product.id} + osgi.splashPath=platform:/base/plugins/org.eclipse.platform + osgi.bundles=org.eclipse.core.runtime@start,org.eclipse.osgi@start,org.eclipse.equinox.common@2:start,org.eclipse.update.configurator@3:start + + + + + + + + + + + + + + + + + + + + + + + Building product ${executeProduct.product.name} successfully build. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Building feature '${executeFeature.feature.id}_${executeFeature.feature.version}' + - feature.isSource: '${executeFeature.feature.isSource}' + + + + + Scrubbing directory '@{destination}' + + + + + + + -> Building included feature '${executeFeature.feature.id}' + + + + + + + Building plug-in project '${executeFeature.plugin.filename} (${executeFeature.plugin.id}_${executeFeature.plugin.resolvedversion})' + + + + + + Copying bundle '${executeFeature.plugin.file} (${executeFeature.plugin.id}_${executeFeature.plugin.resolvedversion})' + + + + + + + + + Building feature project '${executeFeature.feature.file.name} (${executeFeature.feature.id}_${executeFeature.feature.resolved.version})' + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Copying feature '${executeFeature.feature.file} (${executeFeature.feature.id}_${executeFeature.feature.resolved.version})' + + + + + + + + + Feature '${executeFeature.feature.id}_${executeFeature.feature.version}' successfully built. + + + + + + + + \ No newline at end of file diff --git a/tools/lib/ant4eclipse/macros/a4e-platform-macros.xml b/tools/lib/ant4eclipse/macros/a4e-platform-macros.xml new file mode 100644 index 0000000000..d661ac214e --- /dev/null +++ b/tools/lib/ant4eclipse/macros/a4e-platform-macros.xml @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/utils/RUN_Adempiere.sh b/utils/RUN_Adempiere.sh index 64eea36f3e..bce91f2d0a 100644 --- a/utils/RUN_Adempiere.sh +++ b/utils/RUN_Adempiere.sh @@ -38,5 +38,7 @@ PROP= # SECURE=-DADEMPIERE_SECURE=org.compiere.util.Secure SECURE= -$JAVA -Xms32m -Xmx512m -DADEMPIERE_HOME=$ADEMPIERE_HOME $PROP $SECURE -classpath $CLASSPATH org.compiere.Adempiere +#$JAVA -Xms32m -Xmx512m -DADEMPIERE_HOME=$ADEMPIERE_HOME $PROP $SECURE -classpath $CLASSPATH org.compiere.Adempiere +# OSGi: +$JAVA -Xms32m -Xmx512m -DADEMPIERE_HOME=$ADEMPIERE_HOME $PROP $SECURE -jar $ADEMPIERE_HOME/osgi/org.eclipse.osgi_3.5.0.v20090520.jar -clean -console -application org.adempiere.Client diff --git a/utils_dev/RUN_build.sh b/utils_dev/RUN_build.sh index 8f19e63278..d43fb4d4d7 100755 --- a/utils_dev/RUN_build.sh +++ b/utils_dev/RUN_build.sh @@ -22,16 +22,18 @@ if [ ! -f $JAVA_HOME/lib/tools.jar ] ; then exit fi -#classpath -export ANT_CLASSPATH=$CLASSPATH:../tools/lib/ant.jar:../tools/lib/ant-launcher.jar:../tools/lib/ant-swing.jar:../tools/lib/ant-commons-net.jar:../tools/lib/commons-net.jar:$JAVA_HOME/lib/tools.jar +ANTLIB="-lib ../tools/lib/ant4eclipse/ -lib ../equinox-target/org.eclipse.osgi_3.5.0.v20090520.jar -lib ../tools/lib/ant-contrib-1.0b1.jar" -export ANT_OPTS="-Xms128m -Xmx512m" +#classpath +export ANT_CLASSPATH=../tools/lib/ant-launcher.jar + +export ANT_OPTS="-Xms128m -Xmx512m -Dworkspace=`pwd`/.." echo Cleanup ... -$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH -Dant.home="." org.apache.tools.ant.Main clean +$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH org.apache.tools.ant.launch.Launcher $ANTLIB clean echo Building ... -$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH -Dant.home="." org.apache.tools.ant.Main -logger org.apache.tools.ant.listener.MailLogger complete +$JAVA_HOME/bin/java $ANT_OPTS -classpath $ANT_CLASSPATH org.apache.tools.ant.launch.Launcher -logger org.apache.tools.ant.listener.MailLogger $ANTLIB complete echo Done ... diff --git a/utils_dev/RUN_plugin.sh b/utils_dev/RUN_plugin.sh new file mode 100755 index 0000000000..f147058e54 --- /dev/null +++ b/utils_dev/RUN_plugin.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +export ANT_OPTS="-Xms128m -Xmx512m -Dworkspace=`pwd`/.." + +ANT4ECLIPSE=../tools/lib/ant4eclipse/ +ANT4OSGI=../equinox-target/org.eclipse.osgi_3.5.0.v20090520.jar + +ant -Dplugin=$1 -lib $ANT4ECLIPSE -lib $ANT4OSGI -lib ../tools/lib/ant-contrib-1.0b1.jar plugin diff --git a/utils_dev/build.properties b/utils_dev/build.properties index 86d6720098..7758bf354f 100644 --- a/utils_dev/build.properties +++ b/utils_dev/build.properties @@ -3,7 +3,7 @@ env.ADEMPIERE_ROOT=${env.ADEMPIERE_SOURCE}/adempiere env.ADEMPIERE_HOME=${env.ADEMPIERE_ROOT}/Adempiere env.ADEMPIERE_INSTALL=${env.ADEMPIERE_SOURCE}/adempiere/install env.ADEMPIERE_VERSION=ADempiere -env.ADEMPIERE_VERSION_FILE=360LTS +env.ADEMPIERE_VERSION_FILE=400pr01 env.ADEMPIERE_VENDOR=ADempiere env.ENCODING=UTF-8 env.XDOCLET_HOME=${env.ADEMPIERE_SOURCE}/tools diff --git a/utils_dev/build.xml b/utils_dev/build.xml index ad3347605d..706d90869a 100644 --- a/utils_dev/build.xml +++ b/utils_dev/build.xml @@ -2,7 +2,7 @@ - + This buildfile is used to build the Adempiere system. @@ -31,9 +31,10 @@ - + + @@ -92,6 +93,39 @@ --> + + + + + + + + + + + + + + + + + + diff --git a/utils_dev/properties.xml b/utils_dev/properties.xml index be1e2401c9..24a5b3739a 100644 --- a/utils_dev/properties.xml +++ b/utils_dev/properties.xml @@ -1,5 +1,7 @@ - + + This project file sets all properties needed during build and installation. This file is imported in all other build.xml @@ -14,4 +16,21 @@ + + + + + + + + + + + + + + + diff --git a/webstart/.project b/webstart/.project new file mode 100644 index 0000000000..761dc7d2e3 --- /dev/null +++ b/webstart/.project @@ -0,0 +1,17 @@ + + + webstart + + + + + + org.eclipse.pde.FeatureBuilder + + + + + + org.eclipse.pde.FeatureNature + + diff --git a/webstart/build.properties b/webstart/build.properties new file mode 100644 index 0000000000..64f93a9f0b --- /dev/null +++ b/webstart/build.properties @@ -0,0 +1 @@ +bin.includes = feature.xml diff --git a/webstart/compile.org.adempiere.webstart.xml b/webstart/compile.org.adempiere.webstart.xml new file mode 100644 index 0000000000..fe7b83ade1 --- /dev/null +++ b/webstart/compile.org.adempiere.webstart.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/webstart/feature.xml b/webstart/feature.xml new file mode 100644 index 0000000000..7a9f8c7450 --- /dev/null +++ b/webstart/feature.xml @@ -0,0 +1,106 @@ + + + + + [Enter Feature Description here.] + + + + [Enter Copyright Description here.] + + + + [Enter License Description here.] + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/zkwebui/.classpath b/zkwebui/.classpath index c96756cd0f..f64bc6a5fe 100644 --- a/zkwebui/.classpath +++ b/zkwebui/.classpath @@ -2,6 +2,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -11,9 +40,6 @@ - - - @@ -28,5 +54,6 @@ + diff --git a/zkwebui/.project b/zkwebui/.project index baa35d8ff1..736c7b18af 100644 --- a/zkwebui/.project +++ b/zkwebui/.project @@ -22,6 +22,16 @@ + + org.eclipse.pde.ManifestBuilder + + + + + org.eclipse.pde.SchemaBuilder + + + org.eclipse.wst.common.project.facet.core.nature @@ -29,5 +39,6 @@ org.eclipse.wst.common.modulecore.ModuleCoreNature org.eclipse.jem.workbench.JavaEMFNature org.eclipse.wst.jsdt.core.jsNature + org.eclipse.pde.PluginNature diff --git a/zkwebui/META-INF/MANIFEST.MF b/zkwebui/META-INF/MANIFEST.MF new file mode 100644 index 0000000000..cc9f130ba3 --- /dev/null +++ b/zkwebui/META-INF/MANIFEST.MF @@ -0,0 +1,519 @@ +Manifest-Version: 1.0 +Bundle-ManifestVersion: 2 +Bundle-Name: zkwebui +Bundle-SymbolicName: org.adempiere.zkwebui;singleton:=true +Bundle-Version: 0.0.0.2 +Bundle-ClassPath: zkwebui.jar, + WEB-INF/lib/zk.jar, + WEB-INF/lib/zcommon.jar, + WEB-INF/lib/zul.jar, + WEB-INF/lib/junit.jar, + WEB-INF/lib/keylistener.jar, + lib/xercesImpl.jar, + WEB-INF/lib/zkmax.jar, + WEB-INF/lib/zkex.jar, + WEB-INF/lib/zkplus.jar, + WEB-INF/lib/zhtml.jar, + WEB-INF/lib/timelinez.jar, + WEB-INF/lib/zweb.jar, + lib/javaee.jar, + WEB-INF/lib/cglib.jar, + WEB-INF/lib/fckez.jar, + lib/jcommon-1.0.14.jar, + lib/jfreechart-1.0.11.jar, + WEB-INF/lib/asm.jar, + WEB-INF/lib/bsh.jar, + WEB-INF/lib/commons-el.jar, + WEB-INF/lib/commons-fileupload.jar, + WEB-INF/lib/commons-io.jar, + WEB-INF/lib/Filters.jar, + WEB-INF/lib/gmapsz.jar, + WEB-INF/lib/groovy.jar, + WEB-INF/lib/jruby.jar, + WEB-INF/lib/js.jar, + WEB-INF/lib/json_simple.jar, + WEB-INF/lib/jxl.jar, + WEB-INF/lib/jython.jar, + WEB-INF/lib/mvel.jar, + WEB-INF/lib/ognl.jar, + WEB-INF/lib/timelinez-sources.jar, + WEB-INF/lib/timeplotz.jar, + WEB-INF/lib/xercesImpl.jar, + WEB-INF/lib/zcommon-sources.jar, + WEB-INF/lib/zcommons-el.jar, + WEB-INF/lib/zhtml-sources.jar, + WEB-INF/lib/zk-sources.jar, + WEB-INF/lib/zkex-sources.jar, + WEB-INF/lib/zkmax-sources.jar, + WEB-INF/lib/zkplus-sources.jar, + WEB-INF/lib/zml-sources.jar, + WEB-INF/lib/zml.jar, + WEB-INF/lib/zul-sources.jar, + WEB-INF/lib/zweb-sources.jar +Export-Package: com.keypoint, + javax.activation, + javax.annotation, + javax.annotation.security, + javax.ejb, + javax.ejb.spi, + javax.el, + javax.enterprise.deploy.model, + javax.enterprise.deploy.model.exceptions, + javax.enterprise.deploy.shared, + javax.enterprise.deploy.shared.factories, + javax.enterprise.deploy.spi, + javax.enterprise.deploy.spi.exceptions, + javax.enterprise.deploy.spi.factories, + javax.enterprise.deploy.spi.status, + javax.faces, + javax.faces.application, + javax.faces.component, + javax.faces.component.html, + javax.faces.context, + javax.faces.convert, + javax.faces.el, + javax.faces.event, + javax.faces.lifecycle, + javax.faces.model, + javax.faces.render, + javax.faces.validator, + javax.faces.webapp, + javax.interceptor, + javax.jms, + javax.jws, + javax.jws.soap, + javax.mail, + javax.mail.event, + javax.mail.internet, + javax.mail.search, + javax.mail.util, + javax.management.j2ee, + javax.management.j2ee.statistics, + javax.persistence, + javax.persistence.spi, + javax.resource, + javax.resource.cci, + javax.resource.spi, + javax.resource.spi.endpoint, + javax.resource.spi.security, + javax.resource.spi.work, + javax.security.jacc, + javax.transaction, + javax.transaction.xa, + javax.xml.bind, + javax.xml.bind.annotation, + javax.xml.bind.annotation.adapters, + javax.xml.bind.attachment, + javax.xml.bind.helpers, + javax.xml.bind.util, + javax.xml.registry, + javax.xml.registry.infomodel, + javax.xml.registry.samples, + javax.xml.rpc, + javax.xml.rpc.encoding, + javax.xml.rpc.handler, + javax.xml.rpc.handler.soap, + javax.xml.rpc.holders, + javax.xml.rpc.server, + javax.xml.rpc.soap, + javax.xml.soap, + javax.xml.stream, + javax.xml.stream.events, + javax.xml.stream.util, + javax.xml.ws, + javax.xml.ws.handler, + javax.xml.ws.handler.soap, + javax.xml.ws.http, + javax.xml.ws.soap, + javax.xml.ws.spi, + javax.xml.ws.wsaddressing, + junit.extensions, + junit.framework, + junit.runner, + junit.textui, + metainfo.mesg, + metainfo.org.zkoss.util.media, + metainfo.tld, + metainfo.xel, + metainfo.xml, + metainfo.zk, + net.sf.cglib.asm, + net.sf.cglib.asm.signature, + net.sf.cglib.beans, + net.sf.cglib.core, + net.sf.cglib.proxy, + net.sf.cglib.reflect, + net.sf.cglib.transform, + net.sf.cglib.transform.impl, + net.sf.cglib.util, + org.adempiere.webui, + org.adempiere.webui.acct, + org.adempiere.webui.apps, + org.adempiere.webui.apps.form, + org.adempiere.webui.apps.graph, + org.adempiere.webui.apps.wf, + org.adempiere.webui.component, + org.adempiere.webui.component.test, + org.adempiere.webui.dashboard, + org.adempiere.webui.desktop, + org.adempiere.webui.editor, + org.adempiere.webui.event, + org.adempiere.webui.exception, + org.adempiere.webui.grid, + org.adempiere.webui.install, + org.adempiere.webui.panel, + org.adempiere.webui.part, + org.adempiere.webui.process, + org.adempiere.webui.report, + org.adempiere.webui.session, + org.adempiere.webui.theme, + org.adempiere.webui.util, + org.adempiere.webui.window, + org.apache.html.dom, + org.apache.wml, + org.apache.wml.dom, + org.apache.xerces.dom, + org.apache.xerces.dom.events, + org.apache.xerces.dom3.as, + org.apache.xerces.impl, + org.apache.xerces.impl.dtd, + org.apache.xerces.impl.dtd.models, + org.apache.xerces.impl.dv, + org.apache.xerces.impl.dv.dtd, + org.apache.xerces.impl.dv.util, + org.apache.xerces.impl.dv.xs, + org.apache.xerces.impl.io, + org.apache.xerces.impl.msg, + org.apache.xerces.impl.validation, + org.apache.xerces.impl.xpath, + org.apache.xerces.impl.xpath.regex, + org.apache.xerces.impl.xs, + org.apache.xerces.impl.xs.identity, + org.apache.xerces.impl.xs.models, + org.apache.xerces.impl.xs.opti, + org.apache.xerces.impl.xs.traversers, + org.apache.xerces.impl.xs.util, + org.apache.xerces.jaxp, + org.apache.xerces.jaxp.datatype, + org.apache.xerces.jaxp.validation, + org.apache.xerces.parsers, + org.apache.xerces.util, + org.apache.xerces.xinclude, + org.apache.xerces.xni, + org.apache.xerces.xni.grammars, + org.apache.xerces.xni.parser, + org.apache.xerces.xpointer, + org.apache.xerces.xs, + org.apache.xerces.xs.datatypes, + org.apache.xml.serialize, + org.jfree, + org.jfree.base, + org.jfree.base.config, + org.jfree.base.log, + org.jfree.base.modules, + org.jfree.chart, + org.jfree.chart.annotations, + org.jfree.chart.axis, + org.jfree.chart.block, + org.jfree.chart.demo, + org.jfree.chart.editor, + org.jfree.chart.encoders, + org.jfree.chart.entity, + org.jfree.chart.event, + org.jfree.chart.imagemap, + org.jfree.chart.labels, + org.jfree.chart.needle, + org.jfree.chart.plot, + org.jfree.chart.plot.dial, + org.jfree.chart.renderer, + org.jfree.chart.renderer.category, + org.jfree.chart.renderer.xy, + org.jfree.chart.resources, + org.jfree.chart.servlet, + org.jfree.chart.title, + org.jfree.chart.urls, + org.jfree.chart.util, + org.jfree.data, + org.jfree.data.category, + org.jfree.data.contour, + org.jfree.data.function, + org.jfree.data.gantt, + org.jfree.data.general, + org.jfree.data.io, + org.jfree.data.jdbc, + org.jfree.data.resources, + org.jfree.data.statistics, + org.jfree.data.time, + org.jfree.data.time.ohlc, + org.jfree.data.xml, + org.jfree.data.xy, + org.jfree.date, + org.jfree.io, + org.jfree.layout, + org.jfree.resources, + org.jfree.text, + org.jfree.threads, + org.jfree.ui, + org.jfree.ui.about, + org.jfree.ui.about.resources, + org.jfree.ui.action, + org.jfree.ui.tabbedui, + org.jfree.util, + org.junit, + org.junit.internal, + org.junit.internal.requests, + org.junit.internal.runners, + org.junit.runner, + org.junit.runner.manipulation, + org.junit.runner.notification, + org.junit.runners, + org.w3c.dom.html, + org.zkforge.fckez, + org.zkforge.fckez.connector, + org.zkforge.fckez.uploader, + org.zkforge.json.simple, + org.zkforge.json.simple.parser, + org.zkforge.keylistener, + org.zkforge.timeline, + org.zkforge.timeline.data, + org.zkforge.timeline.decorator, + org.zkforge.timeline.event, + org.zkforge.timeline.impl, + org.zkforge.timeline.util, + org.zkoss, + org.zkoss.idom, + org.zkoss.idom.impl, + org.zkoss.idom.input, + org.zkoss.idom.transform, + org.zkoss.idom.util, + org.zkoss.image, + org.zkoss.image.encoder, + org.zkoss.io, + org.zkoss.lang, + org.zkoss.lang.reflect, + org.zkoss.math, + org.zkoss.mesg, + org.zkoss.net, + org.zkoss.sound, + org.zkoss.text, + org.zkoss.util, + org.zkoss.util.logging, + org.zkoss.util.media, + org.zkoss.util.resource, + org.zkoss.util.resource.impl, + org.zkoss.web, + org.zkoss.web.fn, + org.zkoss.web.init, + org.zkoss.web.mesg, + org.zkoss.web.portlet, + org.zkoss.web.servlet, + org.zkoss.web.servlet.dsp, + org.zkoss.web.servlet.dsp.action, + org.zkoss.web.servlet.dsp.action.html, + org.zkoss.web.servlet.dsp.impl, + org.zkoss.web.servlet.http, + org.zkoss.web.servlet.xel, + org.zkoss.web.util.resource, + org.zkoss.xel, + org.zkoss.xel.el, + org.zkoss.xel.fn, + org.zkoss.xel.taglib, + org.zkoss.xel.util, + org.zkoss.xml, + org.zkoss.zhtml, + org.zkoss.zhtml.impl, + org.zkoss.zk, + org.zkoss.zk.au, + org.zkoss.zk.au.http, + org.zkoss.zk.au.impl, + org.zkoss.zk.au.in, + org.zkoss.zk.au.out, + org.zkoss.zk.device, + org.zkoss.zk.fn, + org.zkoss.zk.mesg, + org.zkoss.zk.scripting, + org.zkoss.zk.scripting.bsh, + org.zkoss.zk.scripting.util, + org.zkoss.zk.ui, + org.zkoss.zk.ui.api, + org.zkoss.zk.ui.event, + org.zkoss.zk.ui.ext, + org.zkoss.zk.ui.ext.client, + org.zkoss.zk.ui.ext.render, + org.zkoss.zk.ui.http, + org.zkoss.zk.ui.impl, + org.zkoss.zk.ui.metainfo, + org.zkoss.zk.ui.metainfo.impl, + org.zkoss.zk.ui.render, + org.zkoss.zk.ui.sys, + org.zkoss.zk.ui.util, + org.zkoss.zk.xel, + org.zkoss.zk.xel.impl, + org.zkoss.zkex, + org.zkoss.zkex.ui.impl, + org.zkoss.zkex.zul, + org.zkoss.zkex.zul.api, + org.zkoss.zkex.zul.impl, + org.zkoss.zkmax, + org.zkoss.zkmax.au.http, + org.zkoss.zkmax.au.in, + org.zkoss.zkmax.event, + org.zkoss.zkmax.init, + org.zkoss.zkmax.scripting.groovy, + org.zkoss.zkmax.scripting.jruby, + org.zkoss.zkmax.scripting.jython, + org.zkoss.zkmax.scripting.rhino, + org.zkoss.zkmax.ui.comet, + org.zkoss.zkmax.ui.eq, + org.zkoss.zkmax.xel.el, + org.zkoss.zkmax.xel.el21, + org.zkoss.zkmax.xel.mvel, + org.zkoss.zkmax.xel.ognl, + org.zkoss.zkmax.xel.util, + org.zkoss.zkmax.zul, + org.zkoss.zkmax.zul.api, + org.zkoss.zkmax.zul.render, + org.zkoss.zkplus, + org.zkoss.zkplus.acegi, + org.zkoss.zkplus.databind, + org.zkoss.zkplus.hibernate, + org.zkoss.zkplus.jndi, + org.zkoss.zkplus.jpa, + org.zkoss.zkplus.seasar, + org.zkoss.zkplus.spring, + org.zkoss.zkplus.util, + org.zkoss.zul, + org.zkoss.zul.api, + org.zkoss.zul.au.in, + org.zkoss.zul.au.out, + org.zkoss.zul.event, + org.zkoss.zul.ext, + org.zkoss.zul.fn, + org.zkoss.zul.impl, + org.zkoss.zul.impl.api, + org.zkoss.zul.mesg, + web, + web.aud, + web.dsp.action.html, + web.fckez, + web.html, + web.img, + web.js.ext.FCKeditor, + web.js.ext.FCKeditor.editor, + web.js.ext.FCKeditor.editor.css, + web.js.ext.FCKeditor.editor.css.behaviors, + web.js.ext.FCKeditor.editor.css.images, + web.js.ext.FCKeditor.editor.dialog, + web.js.ext.FCKeditor.editor.dialog.common, + web.js.ext.FCKeditor.editor.dialog.common.images, + web.js.ext.FCKeditor.editor.dialog.fck_about, + web.js.ext.FCKeditor.editor.dialog.fck_about.sponsors, + web.js.ext.FCKeditor.editor.dialog.fck_docprops, + web.js.ext.FCKeditor.editor.dialog.fck_flash, + web.js.ext.FCKeditor.editor.dialog.fck_image, + web.js.ext.FCKeditor.editor.dialog.fck_link, + web.js.ext.FCKeditor.editor.dialog.fck_select, + web.js.ext.FCKeditor.editor.dialog.fck_spellerpages.spellerpages, + web.js.ext.FCKeditor.editor.dialog.fck_template.images, + web.js.ext.FCKeditor.editor.dtd, + web.js.ext.FCKeditor.editor.filemanager.browser, + web.js.ext.FCKeditor.editor.filemanager.connectors, + web.js.ext.FCKeditor.editor.filemanager.connectors.asp, + web.js.ext.FCKeditor.editor.filemanager.connectors.aspx, + web.js.ext.FCKeditor.editor.filemanager.connectors.cfm, + web.js.ext.FCKeditor.editor.filemanager.connectors.lasso, + web.js.ext.FCKeditor.editor.filemanager.connectors.perl, + web.js.ext.FCKeditor.editor.filemanager.connectors.php, + web.js.ext.FCKeditor.editor.filemanager.connectors.py, + web.js.ext.FCKeditor.editor.images, + web.js.ext.FCKeditor.editor.images.smiley.msn, + web.js.ext.FCKeditor.editor.js, + web.js.ext.FCKeditor.editor.lang, + web.js.ext.FCKeditor.editor.plugins.autogrow, + web.js.ext.FCKeditor.editor.plugins.bbcode, + web.js.ext.FCKeditor.editor.plugins.bbcode._sample, + web.js.ext.FCKeditor.editor.plugins.dragresizetable, + web.js.ext.FCKeditor.editor.plugins.placeholder, + web.js.ext.FCKeditor.editor.plugins.placeholder.lang, + web.js.ext.FCKeditor.editor.plugins.simplecommands, + web.js.ext.FCKeditor.editor.plugins.tablecommands, + web.js.ext.FCKeditor.editor.skins, + web.js.ext.FCKeditor.editor.skins.office2003, + web.js.ext.FCKeditor.editor.skins.office2003.images, + web.js.ext.FCKeditor.editor.skins.silver, + web.js.ext.FCKeditor.editor.skins.silver.images, + web.js.ext.aculo, + web.js.ext.prototype, + web.js.ext.timeline.api, + web.js.ext.timeline.api.ext.geochrono, + web.js.ext.timeline.api.ext.geochrono.scripts, + web.js.ext.timeline.api.ext.geochrono.scripts.l10n.en, + web.js.ext.timeline.api.ext.planning, + web.js.ext.timeline.api.ext.planning.scripts, + web.js.ext.timeline.api.ext.planning.scripts.l10n.en, + web.js.ext.timeline.api.images, + web.js.ext.timeline.api.scripts, + web.js.ext.timeline.api.scripts.ext, + web.js.ext.timeline.api.scripts.l10n.cs, + web.js.ext.timeline.api.scripts.l10n.de, + web.js.ext.timeline.api.scripts.l10n.en, + web.js.ext.timeline.api.scripts.l10n.es, + web.js.ext.timeline.api.scripts.l10n.fr, + web.js.ext.timeline.api.scripts.l10n.it, + web.js.ext.timeline.api.scripts.l10n.ru, + web.js.ext.timeline.api.scripts.l10n.se, + web.js.ext.timeline.api.scripts.l10n.vi, + web.js.ext.timeline.api.scripts.l10n.zh, + web.js.ext.timeline.api.scripts.util, + web.js.ext.timeline.api.styles, + web.js.fckez, + web.js.timelinez, + web.js.zhtml, + web.js.zk, + web.js.zk.html, + web.js.zk.html.lang, + web.js.zkex.ui, + web.js.zkex.zul, + web.js.zkmax.ui, + web.js.zkmax.zul, + web.js.zul, + web.js.zul.lang, + web.timeline, + web.zhtml, + web.zk, + web.zk.img, + web.zkex.zul.css, + web.zkex.zul.html, + web.zkex.zul.img.layout, + web.zkmax.zul.css, + web.zul.css, + web.zul.css.cmps, + web.zul.html, + web.zul.img, + web.zul.img.button, + web.zul.img.cal, + web.zul.img.common, + web.zul.img.grid, + web.zul.img.groupbox, + web.zul.img.menu, + web.zul.img.misc, + web.zul.img.msgbox, + web.zul.img.paging, + web.zul.img.popup, + web.zul.img.slider, + web.zul.img.sort, + web.zul.img.splt, + web.zul.img.tab, + web.zul.img.tree, + web.zul.img.vd, + web.zul.img.wnd +Eclipse-RegisterBuddy: org.adempiere.tools +Require-Bundle: org.eclipse.equinox.http.registry;bundle-version="1.0.0";resolution:=optional, + org.eclipse.osgi.services;bundle-version="3.1.100", + org.eclipse.core.runtime;bundle-version="3.5.0", + org.adempiere.client;bundle-version="0.0.0", + JasperReports;bundle-version="1.0.0", + org.adempiere.base;bundle-version="0.0.0", + org.adempiere.tools;bundle-version="0.0.0" +Bundle-Activator: org.adempiere.webui.Activator +Bundle-RequiredExecutionEnvironment: JavaSE-1.6 diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/Activator.java b/zkwebui/WEB-INF/src/org/adempiere/webui/Activator.java new file mode 100644 index 0000000000..3f8a208d0b --- /dev/null +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/Activator.java @@ -0,0 +1,85 @@ +package org.adempiere.webui; + +import java.util.Arrays; +import java.util.Dictionary; +import java.util.HashMap; +import java.util.Hashtable; +import java.util.List; + +import javax.servlet.ServletConfig; +import javax.servlet.ServletException; + +import org.adempiere.webui.session.WebUIServlet; +import org.eclipse.core.runtime.Plugin; +import org.osgi.framework.BundleContext; +import org.osgi.framework.ServiceReference; +import org.osgi.service.http.HttpContext; +import org.osgi.service.http.HttpService; +import org.osgi.util.tracker.ServiceTracker; +import org.zkoss.zk.au.http.DHtmlUpdateServlet; + +public class Activator extends Plugin { + + private ServiceTracker httpServiceTracker; + + public void start(BundleContext context) throws Exception { + System.out.println("Starting WebUI"); + httpServiceTracker = new HttpServiceTracker(context); + httpServiceTracker.open(); + } + + public void stop(BundleContext context) throws Exception { + System.out.println("Stopping WebUI"); + httpServiceTracker.close(); + httpServiceTracker = null; + } + + private class HttpServiceTracker extends ServiceTracker { + + public HttpServiceTracker(BundleContext context) { + super(context, HttpService.class.getName(), null); + } + + public Object addingService(ServiceReference reference) { + HttpService httpService = (HttpService) context.getService(reference); + System.out.println("Adding zkLoader: "+httpService); + try { +// MappingServlet mapping = new MappingServlet(); + + Hashtable params = new Hashtable(); + params.put("update-uri", "/zkau"); + HttpContext ctx = httpService.createDefaultHttpContext(); + httpService.registerServlet("/*.zul", new WebUIServlet(), params , ctx); //$NON-NLS-1$ + httpService.registerServlet("/*.zhtml", new WebUIServlet(), params , ctx); //$NON-NLS-1$ + + DelegatingServlet updateServlet = new DelegatingServlet(new DHtmlUpdateServlet()) { + private ServletConfig cfg; + @Override + public void init(ServletConfig config) + throws ServletException { + super.init(config); + cfg = config; + } + @Override + public ServletConfig getServletConfig() { + return cfg; + } + }; + httpService.registerServlet("/zkau", updateServlet, params , ctx); //$NON-NLS-1$ + + httpService.registerResources("/", "/", ctx); + + System.out.println("zkLoader added: " + httpService.toString()); + } catch (Exception e) { + e.printStackTrace(); + } + return httpService; + } + + public void removedService(ServiceReference reference, Object service) { + HttpService httpService = (HttpService) service; + httpService.unregister("/"); //$NON-NLS-1$ + super.removedService(reference, service); + } + } +} diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/DelegatingServlet.java b/zkwebui/WEB-INF/src/org/adempiere/webui/DelegatingServlet.java new file mode 100644 index 0000000000..5c1c3d1bbf --- /dev/null +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/DelegatingServlet.java @@ -0,0 +1,82 @@ +package org.adempiere.webui; + +import java.io.IOException; +import java.util.Enumeration; + +import javax.servlet.GenericServlet; +import javax.servlet.ServletConfig; +import javax.servlet.ServletContext; +import javax.servlet.ServletException; +import javax.servlet.ServletRequest; +import javax.servlet.ServletResponse; +import javax.servlet.http.HttpServlet; + +public class DelegatingServlet extends HttpServlet { + + private final HttpServlet delegate; + + public DelegatingServlet(HttpServlet delegate) { + this.delegate = delegate; + } + + public void destroy() { + delegate.destroy(); + } + + public boolean equals(Object obj) { + return delegate.equals(obj); + } + + public String getInitParameter(String name) { + return delegate.getInitParameter(name); + } + + public Enumeration getInitParameterNames() { + return delegate.getInitParameterNames(); + } + + public ServletConfig getServletConfig() { + return delegate.getServletConfig(); + } + + public ServletContext getServletContext() { + return delegate.getServletContext(); + } + + public String getServletInfo() { + return delegate.getServletInfo(); + } + + public String getServletName() { + return delegate.getServletName(); + } + + public int hashCode() { + return delegate.hashCode(); + } + + public void init() throws ServletException { + delegate.init(); + } + + public void init(ServletConfig config) throws ServletException { + delegate.init(config); + } + + public void log(String message, Throwable t) { + delegate.log(message, t); + } + + public void log(String msg) { + delegate.log(msg); + } + + public void service(ServletRequest arg0, ServletResponse arg1) + throws ServletException, IOException { + delegate.service(arg0, arg1); + } + + public String toString() { + return delegate.toString(); + } +} diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java index 4d8ddd494b..cba98e0308 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/panel/InfoProductPanel.java @@ -332,7 +332,7 @@ public class InfoProductPanel extends InfoPanel implements EventListener row.appendChild(statusBar); row.setSpans("6"); statusBar.setEastVisibility(false); - + // Product Attribute Instance m_PAttributeButton = confirmPanel.createButton(ConfirmPanel.A_PATTRIBUTE); confirmPanel.addComponentsLeft(m_PAttributeButton); diff --git a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java index 3cd2bec7d5..a0516938d5 100644 --- a/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java +++ b/zkwebui/WEB-INF/src/org/adempiere/webui/session/WebUIServlet.java @@ -60,10 +60,15 @@ public class WebUIServlet extends DHtmlLayoutServlet logger = CLogger.getCLogger(WebUIServlet.class); } + private ServletConfig servletConfig; + public void init(ServletConfig servletConfig) throws ServletException { super.init(servletConfig); + // HttpBrigde requires config + this.servletConfig = servletConfig; + /** Initialise context for the current thread*/ ServerContext.newInstance(); Env.setContextProvider(new ZkContextProvider()); @@ -108,7 +113,8 @@ public class WebUIServlet extends DHtmlLayoutServlet public ServletConfig getServletConfig() { - return super.getServletConfig(); + return servletConfig; +// return super.getServletConfig(); } public String getServletInfo() diff --git a/zkwebui/css/PAPanel.css b/zkwebui/WebContent/css/PAPanel.css similarity index 100% rename from zkwebui/css/PAPanel.css rename to zkwebui/WebContent/css/PAPanel.css diff --git a/zkwebui/css/report.css b/zkwebui/WebContent/css/report.css similarity index 100% rename from zkwebui/css/report.css rename to zkwebui/WebContent/css/report.css diff --git a/zkwebui/images/AD10030.png b/zkwebui/WebContent/images/AD10030.png similarity index 100% rename from zkwebui/images/AD10030.png rename to zkwebui/WebContent/images/AD10030.png diff --git a/zkwebui/images/AD10030HR.png b/zkwebui/WebContent/images/AD10030HR.png similarity index 100% rename from zkwebui/images/AD10030HR.png rename to zkwebui/WebContent/images/AD10030HR.png diff --git a/zkwebui/images/AD16.png b/zkwebui/WebContent/images/AD16.png similarity index 100% rename from zkwebui/images/AD16.png rename to zkwebui/WebContent/images/AD16.png diff --git a/zkwebui/images/AD32.png b/zkwebui/WebContent/images/AD32.png similarity index 100% rename from zkwebui/images/AD32.png rename to zkwebui/WebContent/images/AD32.png diff --git a/zkwebui/images/About16.png b/zkwebui/WebContent/images/About16.png similarity index 100% rename from zkwebui/images/About16.png rename to zkwebui/WebContent/images/About16.png diff --git a/zkwebui/images/About24.png b/zkwebui/WebContent/images/About24.png similarity index 100% rename from zkwebui/images/About24.png rename to zkwebui/WebContent/images/About24.png diff --git a/zkwebui/images/Account10.png b/zkwebui/WebContent/images/Account10.png similarity index 100% rename from zkwebui/images/Account10.png rename to zkwebui/WebContent/images/Account10.png diff --git a/zkwebui/images/Account16.png b/zkwebui/WebContent/images/Account16.png similarity index 100% rename from zkwebui/images/Account16.png rename to zkwebui/WebContent/images/Account16.png diff --git a/zkwebui/images/Account24.png b/zkwebui/WebContent/images/Account24.png similarity index 100% rename from zkwebui/images/Account24.png rename to zkwebui/WebContent/images/Account24.png diff --git a/zkwebui/images/AdemPiere150x50.png b/zkwebui/WebContent/images/AdemPiere150x50.png similarity index 100% rename from zkwebui/images/AdemPiere150x50.png rename to zkwebui/WebContent/images/AdemPiere150x50.png diff --git a/zkwebui/WebContent/images/AdemPiereCom.jpg b/zkwebui/WebContent/images/AdemPiereCom.jpg new file mode 100644 index 0000000000..02006d980a Binary files /dev/null and b/zkwebui/WebContent/images/AdemPiereCom.jpg differ diff --git a/zkwebui/images/AdemPiereCom.png b/zkwebui/WebContent/images/AdemPiereCom.png similarity index 100% rename from zkwebui/images/AdemPiereCom.png rename to zkwebui/WebContent/images/AdemPiereCom.png diff --git a/zkwebui/images/AdemPiereComHR.png b/zkwebui/WebContent/images/AdemPiereComHR.png similarity index 100% rename from zkwebui/images/AdemPiereComHR.png rename to zkwebui/WebContent/images/AdemPiereComHR.png diff --git a/zkwebui/images/AdemPiereComx.png b/zkwebui/WebContent/images/AdemPiereComx.png similarity index 100% rename from zkwebui/images/AdemPiereComx.png rename to zkwebui/WebContent/images/AdemPiereComx.png diff --git a/zkwebui/WebContent/images/Adempiere.jpg b/zkwebui/WebContent/images/Adempiere.jpg new file mode 100644 index 0000000000..3b3d7fd7d0 Binary files /dev/null and b/zkwebui/WebContent/images/Adempiere.jpg differ diff --git a/zkwebui/images/Adempiere.png b/zkwebui/WebContent/images/Adempiere.png similarity index 100% rename from zkwebui/images/Adempiere.png rename to zkwebui/WebContent/images/Adempiere.png diff --git a/zkwebui/images/Adempiere120x60.png b/zkwebui/WebContent/images/Adempiere120x60.png similarity index 100% rename from zkwebui/images/Adempiere120x60.png rename to zkwebui/WebContent/images/Adempiere120x60.png diff --git a/zkwebui/images/AdempiereHR.png b/zkwebui/WebContent/images/AdempiereHR.png similarity index 100% rename from zkwebui/images/AdempiereHR.png rename to zkwebui/WebContent/images/AdempiereHR.png diff --git a/zkwebui/images/Adempierex.png b/zkwebui/WebContent/images/Adempierex.png similarity index 100% rename from zkwebui/images/Adempierex.png rename to zkwebui/WebContent/images/Adempierex.png diff --git a/zkwebui/images/Archive16.png b/zkwebui/WebContent/images/Archive16.png similarity index 100% rename from zkwebui/images/Archive16.png rename to zkwebui/WebContent/images/Archive16.png diff --git a/zkwebui/images/Archive24.png b/zkwebui/WebContent/images/Archive24.png similarity index 100% rename from zkwebui/images/Archive24.png rename to zkwebui/WebContent/images/Archive24.png diff --git a/zkwebui/images/Assignment10.png b/zkwebui/WebContent/images/Assignment10.png similarity index 100% rename from zkwebui/images/Assignment10.png rename to zkwebui/WebContent/images/Assignment10.png diff --git a/zkwebui/images/Assignment16.png b/zkwebui/WebContent/images/Assignment16.png similarity index 100% rename from zkwebui/images/Assignment16.png rename to zkwebui/WebContent/images/Assignment16.png diff --git a/zkwebui/images/Assignment24.png b/zkwebui/WebContent/images/Assignment24.png similarity index 100% rename from zkwebui/images/Assignment24.png rename to zkwebui/WebContent/images/Assignment24.png diff --git a/zkwebui/images/Attachment16.png b/zkwebui/WebContent/images/Attachment16.png similarity index 100% rename from zkwebui/images/Attachment16.png rename to zkwebui/WebContent/images/Attachment16.png diff --git a/zkwebui/images/Attachment24.png b/zkwebui/WebContent/images/Attachment24.png similarity index 100% rename from zkwebui/images/Attachment24.png rename to zkwebui/WebContent/images/Attachment24.png diff --git a/zkwebui/images/Attachment24D.png b/zkwebui/WebContent/images/Attachment24D.png similarity index 100% rename from zkwebui/images/Attachment24D.png rename to zkwebui/WebContent/images/Attachment24D.png diff --git a/zkwebui/images/AttachmentX16.png b/zkwebui/WebContent/images/AttachmentX16.png similarity index 100% rename from zkwebui/images/AttachmentX16.png rename to zkwebui/WebContent/images/AttachmentX16.png diff --git a/zkwebui/images/AttachmentX24.png b/zkwebui/WebContent/images/AttachmentX24.png similarity index 100% rename from zkwebui/images/AttachmentX24.png rename to zkwebui/WebContent/images/AttachmentX24.png diff --git a/zkwebui/images/BPartner10.png b/zkwebui/WebContent/images/BPartner10.png similarity index 100% rename from zkwebui/images/BPartner10.png rename to zkwebui/WebContent/images/BPartner10.png diff --git a/zkwebui/images/BPartner16.png b/zkwebui/WebContent/images/BPartner16.png similarity index 100% rename from zkwebui/images/BPartner16.png rename to zkwebui/WebContent/images/BPartner16.png diff --git a/zkwebui/images/BPartner24.png b/zkwebui/WebContent/images/BPartner24.png similarity index 100% rename from zkwebui/images/BPartner24.png rename to zkwebui/WebContent/images/BPartner24.png diff --git a/zkwebui/images/Bold16.png b/zkwebui/WebContent/images/Bold16.png similarity index 100% rename from zkwebui/images/Bold16.png rename to zkwebui/WebContent/images/Bold16.png diff --git a/zkwebui/WebContent/images/C10030.jpg b/zkwebui/WebContent/images/C10030.jpg new file mode 100644 index 0000000000..e652c74b98 Binary files /dev/null and b/zkwebui/WebContent/images/C10030.jpg differ diff --git a/zkwebui/images/C10030.png b/zkwebui/WebContent/images/C10030.png similarity index 100% rename from zkwebui/images/C10030.png rename to zkwebui/WebContent/images/C10030.png diff --git a/zkwebui/images/C10030HR.png b/zkwebui/WebContent/images/C10030HR.png similarity index 100% rename from zkwebui/images/C10030HR.png rename to zkwebui/WebContent/images/C10030HR.png diff --git a/zkwebui/images/C10030x.png b/zkwebui/WebContent/images/C10030x.png similarity index 100% rename from zkwebui/images/C10030x.png rename to zkwebui/WebContent/images/C10030x.png diff --git a/zkwebui/images/C10030xHR.png b/zkwebui/WebContent/images/C10030xHR.png similarity index 100% rename from zkwebui/images/C10030xHR.png rename to zkwebui/WebContent/images/C10030xHR.png diff --git a/zkwebui/images/C16.png b/zkwebui/WebContent/images/C16.png similarity index 100% rename from zkwebui/images/C16.png rename to zkwebui/WebContent/images/C16.png diff --git a/zkwebui/images/C32.png b/zkwebui/WebContent/images/C32.png similarity index 100% rename from zkwebui/images/C32.png rename to zkwebui/WebContent/images/C32.png diff --git a/zkwebui/images/Calculator10.png b/zkwebui/WebContent/images/Calculator10.png similarity index 100% rename from zkwebui/images/Calculator10.png rename to zkwebui/WebContent/images/Calculator10.png diff --git a/zkwebui/images/Calculator16.png b/zkwebui/WebContent/images/Calculator16.png similarity index 100% rename from zkwebui/images/Calculator16.png rename to zkwebui/WebContent/images/Calculator16.png diff --git a/zkwebui/images/Calculator24.png b/zkwebui/WebContent/images/Calculator24.png similarity index 100% rename from zkwebui/images/Calculator24.png rename to zkwebui/WebContent/images/Calculator24.png diff --git a/zkwebui/images/Calendar10.png b/zkwebui/WebContent/images/Calendar10.png similarity index 100% rename from zkwebui/images/Calendar10.png rename to zkwebui/WebContent/images/Calendar10.png diff --git a/zkwebui/images/Calendar16.png b/zkwebui/WebContent/images/Calendar16.png similarity index 100% rename from zkwebui/images/Calendar16.png rename to zkwebui/WebContent/images/Calendar16.png diff --git a/zkwebui/images/Calendar24.png b/zkwebui/WebContent/images/Calendar24.png similarity index 100% rename from zkwebui/images/Calendar24.png rename to zkwebui/WebContent/images/Calendar24.png diff --git a/zkwebui/images/Cancel10.png b/zkwebui/WebContent/images/Cancel10.png similarity index 100% rename from zkwebui/images/Cancel10.png rename to zkwebui/WebContent/images/Cancel10.png diff --git a/zkwebui/images/Cancel16.png b/zkwebui/WebContent/images/Cancel16.png similarity index 100% rename from zkwebui/images/Cancel16.png rename to zkwebui/WebContent/images/Cancel16.png diff --git a/zkwebui/images/Cancel24.png b/zkwebui/WebContent/images/Cancel24.png similarity index 100% rename from zkwebui/images/Cancel24.png rename to zkwebui/WebContent/images/Cancel24.png diff --git a/zkwebui/images/ChangeLog16.png b/zkwebui/WebContent/images/ChangeLog16.png similarity index 100% rename from zkwebui/images/ChangeLog16.png rename to zkwebui/WebContent/images/ChangeLog16.png diff --git a/zkwebui/images/Chat16.png b/zkwebui/WebContent/images/Chat16.png similarity index 100% rename from zkwebui/images/Chat16.png rename to zkwebui/WebContent/images/Chat16.png diff --git a/zkwebui/images/Chat24.png b/zkwebui/WebContent/images/Chat24.png similarity index 100% rename from zkwebui/images/Chat24.png rename to zkwebui/WebContent/images/Chat24.png diff --git a/zkwebui/images/ChatX16.png b/zkwebui/WebContent/images/ChatX16.png similarity index 100% rename from zkwebui/images/ChatX16.png rename to zkwebui/WebContent/images/ChatX16.png diff --git a/zkwebui/images/ChatX24.png b/zkwebui/WebContent/images/ChatX24.png similarity index 100% rename from zkwebui/images/ChatX24.png rename to zkwebui/WebContent/images/ChatX24.png diff --git a/zkwebui/WebContent/images/ComPiereCom.jpg b/zkwebui/WebContent/images/ComPiereCom.jpg new file mode 100644 index 0000000000..02006d980a Binary files /dev/null and b/zkwebui/WebContent/images/ComPiereCom.jpg differ diff --git a/zkwebui/images/ComPiereCom.png b/zkwebui/WebContent/images/ComPiereCom.png similarity index 100% rename from zkwebui/images/ComPiereCom.png rename to zkwebui/WebContent/images/ComPiereCom.png diff --git a/zkwebui/images/ComPiereComHR.png b/zkwebui/WebContent/images/ComPiereComHR.png similarity index 100% rename from zkwebui/images/ComPiereComHR.png rename to zkwebui/WebContent/images/ComPiereComHR.png diff --git a/zkwebui/images/ComPiereComx.png b/zkwebui/WebContent/images/ComPiereComx.png similarity index 100% rename from zkwebui/images/ComPiereComx.png rename to zkwebui/WebContent/images/ComPiereComx.png diff --git a/zkwebui/WebContent/images/Compiere.jpg b/zkwebui/WebContent/images/Compiere.jpg new file mode 100644 index 0000000000..3b3d7fd7d0 Binary files /dev/null and b/zkwebui/WebContent/images/Compiere.jpg differ diff --git a/zkwebui/images/Compiere.png b/zkwebui/WebContent/images/Compiere.png similarity index 100% rename from zkwebui/images/Compiere.png rename to zkwebui/WebContent/images/Compiere.png diff --git a/zkwebui/images/CompiereHR.png b/zkwebui/WebContent/images/CompiereHR.png similarity index 100% rename from zkwebui/images/CompiereHR.png rename to zkwebui/WebContent/images/CompiereHR.png diff --git a/zkwebui/images/Compierex.png b/zkwebui/WebContent/images/Compierex.png similarity index 100% rename from zkwebui/images/Compierex.png rename to zkwebui/WebContent/images/Compierex.png diff --git a/zkwebui/images/Copy16.png b/zkwebui/WebContent/images/Copy16.png similarity index 100% rename from zkwebui/images/Copy16.png rename to zkwebui/WebContent/images/Copy16.png diff --git a/zkwebui/images/Copy24.png b/zkwebui/WebContent/images/Copy24.png similarity index 100% rename from zkwebui/images/Copy24.png rename to zkwebui/WebContent/images/Copy24.png diff --git a/zkwebui/images/Customize16.png b/zkwebui/WebContent/images/Customize16.png similarity index 100% rename from zkwebui/images/Customize16.png rename to zkwebui/WebContent/images/Customize16.png diff --git a/zkwebui/images/Customize24.png b/zkwebui/WebContent/images/Customize24.png similarity index 100% rename from zkwebui/images/Customize24.png rename to zkwebui/WebContent/images/Customize24.png diff --git a/zkwebui/images/Delete16.png b/zkwebui/WebContent/images/Delete16.png similarity index 100% rename from zkwebui/images/Delete16.png rename to zkwebui/WebContent/images/Delete16.png diff --git a/zkwebui/images/Delete24.png b/zkwebui/WebContent/images/Delete24.png similarity index 100% rename from zkwebui/images/Delete24.png rename to zkwebui/WebContent/images/Delete24.png diff --git a/zkwebui/images/DeleteSelection16.png b/zkwebui/WebContent/images/DeleteSelection16.png similarity index 100% rename from zkwebui/images/DeleteSelection16.png rename to zkwebui/WebContent/images/DeleteSelection16.png diff --git a/zkwebui/images/DeleteSelection24.png b/zkwebui/WebContent/images/DeleteSelection24.png similarity index 100% rename from zkwebui/images/DeleteSelection24.png rename to zkwebui/WebContent/images/DeleteSelection24.png diff --git a/zkwebui/images/Detail16.png b/zkwebui/WebContent/images/Detail16.png similarity index 100% rename from zkwebui/images/Detail16.png rename to zkwebui/WebContent/images/Detail16.png diff --git a/zkwebui/images/Detail24.png b/zkwebui/WebContent/images/Detail24.png similarity index 100% rename from zkwebui/images/Detail24.png rename to zkwebui/WebContent/images/Detail24.png diff --git a/zkwebui/images/EMailSupport16.png b/zkwebui/WebContent/images/EMailSupport16.png similarity index 100% rename from zkwebui/images/EMailSupport16.png rename to zkwebui/WebContent/images/EMailSupport16.png diff --git a/zkwebui/images/EMailSupport24.png b/zkwebui/WebContent/images/EMailSupport24.png similarity index 100% rename from zkwebui/images/EMailSupport24.png rename to zkwebui/WebContent/images/EMailSupport24.png diff --git a/zkwebui/images/Edit16.png b/zkwebui/WebContent/images/Edit16.png similarity index 100% rename from zkwebui/images/Edit16.png rename to zkwebui/WebContent/images/Edit16.png diff --git a/zkwebui/images/Edit24.png b/zkwebui/WebContent/images/Edit24.png similarity index 100% rename from zkwebui/images/Edit24.png rename to zkwebui/WebContent/images/Edit24.png diff --git a/zkwebui/images/Editor16.png b/zkwebui/WebContent/images/Editor16.png similarity index 100% rename from zkwebui/images/Editor16.png rename to zkwebui/WebContent/images/Editor16.png diff --git a/zkwebui/images/Editor24.png b/zkwebui/WebContent/images/Editor24.png similarity index 100% rename from zkwebui/images/Editor24.png rename to zkwebui/WebContent/images/Editor24.png diff --git a/zkwebui/images/End16.png b/zkwebui/WebContent/images/End16.png similarity index 100% rename from zkwebui/images/End16.png rename to zkwebui/WebContent/images/End16.png diff --git a/zkwebui/images/End24.png b/zkwebui/WebContent/images/End24.png similarity index 100% rename from zkwebui/images/End24.png rename to zkwebui/WebContent/images/End24.png diff --git a/zkwebui/images/Error32.png b/zkwebui/WebContent/images/Error32.png similarity index 100% rename from zkwebui/images/Error32.png rename to zkwebui/WebContent/images/Error32.png diff --git a/zkwebui/images/Exit16.png b/zkwebui/WebContent/images/Exit16.png similarity index 100% rename from zkwebui/images/Exit16.png rename to zkwebui/WebContent/images/Exit16.png diff --git a/zkwebui/images/Exit24.png b/zkwebui/WebContent/images/Exit24.png similarity index 100% rename from zkwebui/images/Exit24.png rename to zkwebui/WebContent/images/Exit24.png diff --git a/zkwebui/images/Export16.png b/zkwebui/WebContent/images/Export16.png similarity index 100% rename from zkwebui/images/Export16.png rename to zkwebui/WebContent/images/Export16.png diff --git a/zkwebui/images/Export16X.png b/zkwebui/WebContent/images/Export16X.png similarity index 100% rename from zkwebui/images/Export16X.png rename to zkwebui/WebContent/images/Export16X.png diff --git a/zkwebui/images/Export24.png b/zkwebui/WebContent/images/Export24.png similarity index 100% rename from zkwebui/images/Export24.png rename to zkwebui/WebContent/images/Export24.png diff --git a/zkwebui/images/Export24X.png b/zkwebui/WebContent/images/Export24X.png similarity index 100% rename from zkwebui/images/Export24X.png rename to zkwebui/WebContent/images/Export24X.png diff --git a/zkwebui/images/ExportX16.png b/zkwebui/WebContent/images/ExportX16.png similarity index 100% rename from zkwebui/images/ExportX16.png rename to zkwebui/WebContent/images/ExportX16.png diff --git a/zkwebui/images/ExportX24.png b/zkwebui/WebContent/images/ExportX24.png similarity index 100% rename from zkwebui/images/ExportX24.png rename to zkwebui/WebContent/images/ExportX24.png diff --git a/zkwebui/images/FastBack24.png b/zkwebui/WebContent/images/FastBack24.png similarity index 100% rename from zkwebui/images/FastBack24.png rename to zkwebui/WebContent/images/FastBack24.png diff --git a/zkwebui/images/FastForward24.png b/zkwebui/WebContent/images/FastForward24.png similarity index 100% rename from zkwebui/images/FastForward24.png rename to zkwebui/WebContent/images/FastForward24.png diff --git a/zkwebui/images/Find16.png b/zkwebui/WebContent/images/Find16.png similarity index 100% rename from zkwebui/images/Find16.png rename to zkwebui/WebContent/images/Find16.png diff --git a/zkwebui/images/Find24.png b/zkwebui/WebContent/images/Find24.png similarity index 100% rename from zkwebui/images/Find24.png rename to zkwebui/WebContent/images/Find24.png diff --git a/zkwebui/images/FindX16.png b/zkwebui/WebContent/images/FindX16.png similarity index 100% rename from zkwebui/images/FindX16.png rename to zkwebui/WebContent/images/FindX16.png diff --git a/zkwebui/images/FindX24.png b/zkwebui/WebContent/images/FindX24.png similarity index 100% rename from zkwebui/images/FindX24.png rename to zkwebui/WebContent/images/FindX24.png diff --git a/zkwebui/images/First16.png b/zkwebui/WebContent/images/First16.png similarity index 100% rename from zkwebui/images/First16.png rename to zkwebui/WebContent/images/First16.png diff --git a/zkwebui/images/First24.png b/zkwebui/WebContent/images/First24.png similarity index 100% rename from zkwebui/images/First24.png rename to zkwebui/WebContent/images/First24.png diff --git a/zkwebui/images/First24D.png b/zkwebui/WebContent/images/First24D.png similarity index 100% rename from zkwebui/images/First24D.png rename to zkwebui/WebContent/images/First24D.png diff --git a/zkwebui/images/Folder16.png b/zkwebui/WebContent/images/Folder16.png similarity index 100% rename from zkwebui/images/Folder16.png rename to zkwebui/WebContent/images/Folder16.png diff --git a/zkwebui/images/Folder24.png b/zkwebui/WebContent/images/Folder24.png similarity index 100% rename from zkwebui/images/Folder24.png rename to zkwebui/WebContent/images/Folder24.png diff --git a/zkwebui/images/GetMail16.png b/zkwebui/WebContent/images/GetMail16.png similarity index 100% rename from zkwebui/images/GetMail16.png rename to zkwebui/WebContent/images/GetMail16.png diff --git a/zkwebui/images/GetMail24.png b/zkwebui/WebContent/images/GetMail24.png similarity index 100% rename from zkwebui/images/GetMail24.png rename to zkwebui/WebContent/images/GetMail24.png diff --git a/zkwebui/images/Help16.png b/zkwebui/WebContent/images/Help16.png similarity index 100% rename from zkwebui/images/Help16.png rename to zkwebui/WebContent/images/Help16.png diff --git a/zkwebui/images/Help24.png b/zkwebui/WebContent/images/Help24.png similarity index 100% rename from zkwebui/images/Help24.png rename to zkwebui/WebContent/images/Help24.png diff --git a/zkwebui/images/History16.png b/zkwebui/WebContent/images/History16.png similarity index 100% rename from zkwebui/images/History16.png rename to zkwebui/WebContent/images/History16.png diff --git a/zkwebui/images/History24.png b/zkwebui/WebContent/images/History24.png similarity index 100% rename from zkwebui/images/History24.png rename to zkwebui/WebContent/images/History24.png diff --git a/zkwebui/images/History24D.png b/zkwebui/WebContent/images/History24D.png similarity index 100% rename from zkwebui/images/History24D.png rename to zkwebui/WebContent/images/History24D.png diff --git a/zkwebui/images/HistoryX16.png b/zkwebui/WebContent/images/HistoryX16.png similarity index 100% rename from zkwebui/images/HistoryX16.png rename to zkwebui/WebContent/images/HistoryX16.png diff --git a/zkwebui/images/HistoryX24.png b/zkwebui/WebContent/images/HistoryX24.png similarity index 100% rename from zkwebui/images/HistoryX24.png rename to zkwebui/WebContent/images/HistoryX24.png diff --git a/zkwebui/images/Home16.png b/zkwebui/WebContent/images/Home16.png similarity index 100% rename from zkwebui/images/Home16.png rename to zkwebui/WebContent/images/Home16.png diff --git a/zkwebui/images/Home24.png b/zkwebui/WebContent/images/Home24.png similarity index 100% rename from zkwebui/images/Home24.png rename to zkwebui/WebContent/images/Home24.png diff --git a/zkwebui/images/Ignore16.png b/zkwebui/WebContent/images/Ignore16.png similarity index 100% rename from zkwebui/images/Ignore16.png rename to zkwebui/WebContent/images/Ignore16.png diff --git a/zkwebui/images/Ignore24.png b/zkwebui/WebContent/images/Ignore24.png similarity index 100% rename from zkwebui/images/Ignore24.png rename to zkwebui/WebContent/images/Ignore24.png diff --git a/zkwebui/images/Import16.png b/zkwebui/WebContent/images/Import16.png similarity index 100% rename from zkwebui/images/Import16.png rename to zkwebui/WebContent/images/Import16.png diff --git a/zkwebui/images/Import24.png b/zkwebui/WebContent/images/Import24.png similarity index 100% rename from zkwebui/images/Import24.png rename to zkwebui/WebContent/images/Import24.png diff --git a/zkwebui/images/Info16.png b/zkwebui/WebContent/images/Info16.png similarity index 100% rename from zkwebui/images/Info16.png rename to zkwebui/WebContent/images/Info16.png diff --git a/zkwebui/images/Info24.png b/zkwebui/WebContent/images/Info24.png similarity index 100% rename from zkwebui/images/Info24.png rename to zkwebui/WebContent/images/Info24.png diff --git a/zkwebui/images/InfoAccount16.png b/zkwebui/WebContent/images/InfoAccount16.png similarity index 100% rename from zkwebui/images/InfoAccount16.png rename to zkwebui/WebContent/images/InfoAccount16.png diff --git a/zkwebui/images/InfoAccount24.png b/zkwebui/WebContent/images/InfoAccount24.png similarity index 100% rename from zkwebui/images/InfoAccount24.png rename to zkwebui/WebContent/images/InfoAccount24.png diff --git a/zkwebui/images/InfoBPartner16.png b/zkwebui/WebContent/images/InfoBPartner16.png similarity index 100% rename from zkwebui/images/InfoBPartner16.png rename to zkwebui/WebContent/images/InfoBPartner16.png diff --git a/zkwebui/images/InfoBPartner24.png b/zkwebui/WebContent/images/InfoBPartner24.png similarity index 100% rename from zkwebui/images/InfoBPartner24.png rename to zkwebui/WebContent/images/InfoBPartner24.png diff --git a/zkwebui/images/InfoProduct16.png b/zkwebui/WebContent/images/InfoProduct16.png similarity index 100% rename from zkwebui/images/InfoProduct16.png rename to zkwebui/WebContent/images/InfoProduct16.png diff --git a/zkwebui/images/InfoProduct24.png b/zkwebui/WebContent/images/InfoProduct24.png similarity index 100% rename from zkwebui/images/InfoProduct24.png rename to zkwebui/WebContent/images/InfoProduct24.png diff --git a/zkwebui/images/InfoSchedule16.png b/zkwebui/WebContent/images/InfoSchedule16.png similarity index 100% rename from zkwebui/images/InfoSchedule16.png rename to zkwebui/WebContent/images/InfoSchedule16.png diff --git a/zkwebui/images/InfoSchedule24.png b/zkwebui/WebContent/images/InfoSchedule24.png similarity index 100% rename from zkwebui/images/InfoSchedule24.png rename to zkwebui/WebContent/images/InfoSchedule24.png diff --git a/zkwebui/images/Inform32.png b/zkwebui/WebContent/images/Inform32.png similarity index 100% rename from zkwebui/images/Inform32.png rename to zkwebui/WebContent/images/Inform32.png diff --git a/zkwebui/images/Italic16.png b/zkwebui/WebContent/images/Italic16.png similarity index 100% rename from zkwebui/images/Italic16.png rename to zkwebui/WebContent/images/Italic16.png diff --git a/zkwebui/images/Java_logo.png b/zkwebui/WebContent/images/Java_logo.png similarity index 100% rename from zkwebui/images/Java_logo.png rename to zkwebui/WebContent/images/Java_logo.png diff --git a/zkwebui/images/Last16.png b/zkwebui/WebContent/images/Last16.png similarity index 100% rename from zkwebui/images/Last16.png rename to zkwebui/WebContent/images/Last16.png diff --git a/zkwebui/images/Last24.png b/zkwebui/WebContent/images/Last24.png similarity index 100% rename from zkwebui/images/Last24.png rename to zkwebui/WebContent/images/Last24.png diff --git a/zkwebui/images/Last24D.png b/zkwebui/WebContent/images/Last24D.png similarity index 100% rename from zkwebui/images/Last24D.png rename to zkwebui/WebContent/images/Last24D.png diff --git a/zkwebui/images/Location10.png b/zkwebui/WebContent/images/Location10.png similarity index 100% rename from zkwebui/images/Location10.png rename to zkwebui/WebContent/images/Location10.png diff --git a/zkwebui/images/Locator10.png b/zkwebui/WebContent/images/Locator10.png similarity index 100% rename from zkwebui/images/Locator10.png rename to zkwebui/WebContent/images/Locator10.png diff --git a/zkwebui/images/Lock16.png b/zkwebui/WebContent/images/Lock16.png similarity index 100% rename from zkwebui/images/Lock16.png rename to zkwebui/WebContent/images/Lock16.png diff --git a/zkwebui/images/Lock24.png b/zkwebui/WebContent/images/Lock24.png similarity index 100% rename from zkwebui/images/Lock24.png rename to zkwebui/WebContent/images/Lock24.png diff --git a/zkwebui/images/LockX16.png b/zkwebui/WebContent/images/LockX16.png similarity index 100% rename from zkwebui/images/LockX16.png rename to zkwebui/WebContent/images/LockX16.png diff --git a/zkwebui/images/LockX24.png b/zkwebui/WebContent/images/LockX24.png similarity index 100% rename from zkwebui/images/LockX24.png rename to zkwebui/WebContent/images/LockX24.png diff --git a/zkwebui/images/Logout16.png b/zkwebui/WebContent/images/Logout16.png similarity index 100% rename from zkwebui/images/Logout16.png rename to zkwebui/WebContent/images/Logout16.png diff --git a/zkwebui/images/Logout24.png b/zkwebui/WebContent/images/Logout24.png similarity index 100% rename from zkwebui/images/Logout24.png rename to zkwebui/WebContent/images/Logout24.png diff --git a/zkwebui/images/Minus16.png b/zkwebui/WebContent/images/Minus16.png similarity index 100% rename from zkwebui/images/Minus16.png rename to zkwebui/WebContent/images/Minus16.png diff --git a/zkwebui/images/Minus24.png b/zkwebui/WebContent/images/Minus24.png similarity index 100% rename from zkwebui/images/Minus24.png rename to zkwebui/WebContent/images/Minus24.png diff --git a/zkwebui/images/Multi16.png b/zkwebui/WebContent/images/Multi16.png similarity index 100% rename from zkwebui/images/Multi16.png rename to zkwebui/WebContent/images/Multi16.png diff --git a/zkwebui/images/Multi24.png b/zkwebui/WebContent/images/Multi24.png similarity index 100% rename from zkwebui/images/Multi24.png rename to zkwebui/WebContent/images/Multi24.png diff --git a/zkwebui/images/MultiX16.png b/zkwebui/WebContent/images/MultiX16.png similarity index 100% rename from zkwebui/images/MultiX16.png rename to zkwebui/WebContent/images/MultiX16.png diff --git a/zkwebui/images/MultiX24.png b/zkwebui/WebContent/images/MultiX24.png similarity index 100% rename from zkwebui/images/MultiX24.png rename to zkwebui/WebContent/images/MultiX24.png diff --git a/zkwebui/images/New16.png b/zkwebui/WebContent/images/New16.png similarity index 100% rename from zkwebui/images/New16.png rename to zkwebui/WebContent/images/New16.png diff --git a/zkwebui/images/New24.png b/zkwebui/WebContent/images/New24.png similarity index 100% rename from zkwebui/images/New24.png rename to zkwebui/WebContent/images/New24.png diff --git a/zkwebui/images/Next16.png b/zkwebui/WebContent/images/Next16.png similarity index 100% rename from zkwebui/images/Next16.png rename to zkwebui/WebContent/images/Next16.png diff --git a/zkwebui/images/Next24.png b/zkwebui/WebContent/images/Next24.png similarity index 100% rename from zkwebui/images/Next24.png rename to zkwebui/WebContent/images/Next24.png diff --git a/zkwebui/images/Next24D.png b/zkwebui/WebContent/images/Next24D.png similarity index 100% rename from zkwebui/images/Next24D.png rename to zkwebui/WebContent/images/Next24D.png diff --git a/zkwebui/images/Normal16.png b/zkwebui/WebContent/images/Normal16.png similarity index 100% rename from zkwebui/images/Normal16.png rename to zkwebui/WebContent/images/Normal16.png diff --git a/zkwebui/images/Ok16.png b/zkwebui/WebContent/images/Ok16.png similarity index 100% rename from zkwebui/images/Ok16.png rename to zkwebui/WebContent/images/Ok16.png diff --git a/zkwebui/images/Ok24.png b/zkwebui/WebContent/images/Ok24.png similarity index 100% rename from zkwebui/images/Ok24.png rename to zkwebui/WebContent/images/Ok24.png diff --git a/zkwebui/images/Online10.png b/zkwebui/WebContent/images/Online10.png similarity index 100% rename from zkwebui/images/Online10.png rename to zkwebui/WebContent/images/Online10.png diff --git a/zkwebui/images/Online16.png b/zkwebui/WebContent/images/Online16.png similarity index 100% rename from zkwebui/images/Online16.png rename to zkwebui/WebContent/images/Online16.png diff --git a/zkwebui/images/Online24.png b/zkwebui/WebContent/images/Online24.png similarity index 100% rename from zkwebui/images/Online24.png rename to zkwebui/WebContent/images/Online24.png diff --git a/zkwebui/images/Open16.png b/zkwebui/WebContent/images/Open16.png similarity index 100% rename from zkwebui/images/Open16.png rename to zkwebui/WebContent/images/Open16.png diff --git a/zkwebui/images/Open24.png b/zkwebui/WebContent/images/Open24.png similarity index 100% rename from zkwebui/images/Open24.png rename to zkwebui/WebContent/images/Open24.png diff --git a/zkwebui/images/PAttribute10.png b/zkwebui/WebContent/images/PAttribute10.png similarity index 100% rename from zkwebui/images/PAttribute10.png rename to zkwebui/WebContent/images/PAttribute10.png diff --git a/zkwebui/images/PAttribute16.png b/zkwebui/WebContent/images/PAttribute16.png similarity index 100% rename from zkwebui/images/PAttribute16.png rename to zkwebui/WebContent/images/PAttribute16.png diff --git a/zkwebui/images/PAttribute24.png b/zkwebui/WebContent/images/PAttribute24.png similarity index 100% rename from zkwebui/images/PAttribute24.png rename to zkwebui/WebContent/images/PAttribute24.png diff --git a/zkwebui/images/PageSetup16.png b/zkwebui/WebContent/images/PageSetup16.png similarity index 100% rename from zkwebui/images/PageSetup16.png rename to zkwebui/WebContent/images/PageSetup16.png diff --git a/zkwebui/images/PageSetup24.png b/zkwebui/WebContent/images/PageSetup24.png similarity index 100% rename from zkwebui/images/PageSetup24.png rename to zkwebui/WebContent/images/PageSetup24.png diff --git a/zkwebui/images/Parent16.png b/zkwebui/WebContent/images/Parent16.png similarity index 100% rename from zkwebui/images/Parent16.png rename to zkwebui/WebContent/images/Parent16.png diff --git a/zkwebui/images/Parent24.png b/zkwebui/WebContent/images/Parent24.png similarity index 100% rename from zkwebui/images/Parent24.png rename to zkwebui/WebContent/images/Parent24.png diff --git a/zkwebui/images/Payment16.png b/zkwebui/WebContent/images/Payment16.png similarity index 100% rename from zkwebui/images/Payment16.png rename to zkwebui/WebContent/images/Payment16.png diff --git a/zkwebui/images/Payment24.png b/zkwebui/WebContent/images/Payment24.png similarity index 100% rename from zkwebui/images/Payment24.png rename to zkwebui/WebContent/images/Payment24.png diff --git a/zkwebui/images/PickOpen10.png b/zkwebui/WebContent/images/PickOpen10.png similarity index 100% rename from zkwebui/images/PickOpen10.png rename to zkwebui/WebContent/images/PickOpen10.png diff --git a/zkwebui/images/Plus16.png b/zkwebui/WebContent/images/Plus16.png similarity index 100% rename from zkwebui/images/Plus16.png rename to zkwebui/WebContent/images/Plus16.png diff --git a/zkwebui/images/Plus24.png b/zkwebui/WebContent/images/Plus24.png similarity index 100% rename from zkwebui/images/Plus24.png rename to zkwebui/WebContent/images/Plus24.png diff --git a/zkwebui/images/Posterita.jpg b/zkwebui/WebContent/images/Posterita.jpg similarity index 100% rename from zkwebui/images/Posterita.jpg rename to zkwebui/WebContent/images/Posterita.jpg diff --git a/zkwebui/images/PosteritaAjaxUILogo.jpg b/zkwebui/WebContent/images/PosteritaAjaxUILogo.jpg similarity index 100% rename from zkwebui/images/PosteritaAjaxUILogo.jpg rename to zkwebui/WebContent/images/PosteritaAjaxUILogo.jpg diff --git a/zkwebui/images/Preference16.png b/zkwebui/WebContent/images/Preference16.png similarity index 100% rename from zkwebui/images/Preference16.png rename to zkwebui/WebContent/images/Preference16.png diff --git a/zkwebui/images/Preference24.png b/zkwebui/WebContent/images/Preference24.png similarity index 100% rename from zkwebui/images/Preference24.png rename to zkwebui/WebContent/images/Preference24.png diff --git a/zkwebui/images/Previous16.png b/zkwebui/WebContent/images/Previous16.png similarity index 100% rename from zkwebui/images/Previous16.png rename to zkwebui/WebContent/images/Previous16.png diff --git a/zkwebui/images/Previous24.png b/zkwebui/WebContent/images/Previous24.png similarity index 100% rename from zkwebui/images/Previous24.png rename to zkwebui/WebContent/images/Previous24.png diff --git a/zkwebui/images/Previous24D.png b/zkwebui/WebContent/images/Previous24D.png similarity index 100% rename from zkwebui/images/Previous24D.png rename to zkwebui/WebContent/images/Previous24D.png diff --git a/zkwebui/images/Print16.png b/zkwebui/WebContent/images/Print16.png similarity index 100% rename from zkwebui/images/Print16.png rename to zkwebui/WebContent/images/Print16.png diff --git a/zkwebui/images/Print24.png b/zkwebui/WebContent/images/Print24.png similarity index 100% rename from zkwebui/images/Print24.png rename to zkwebui/WebContent/images/Print24.png diff --git a/zkwebui/images/PrintScreen16.png b/zkwebui/WebContent/images/PrintScreen16.png similarity index 100% rename from zkwebui/images/PrintScreen16.png rename to zkwebui/WebContent/images/PrintScreen16.png diff --git a/zkwebui/images/PrintScreen24.png b/zkwebui/WebContent/images/PrintScreen24.png similarity index 100% rename from zkwebui/images/PrintScreen24.png rename to zkwebui/WebContent/images/PrintScreen24.png diff --git a/zkwebui/images/Process16.png b/zkwebui/WebContent/images/Process16.png similarity index 100% rename from zkwebui/images/Process16.png rename to zkwebui/WebContent/images/Process16.png diff --git a/zkwebui/images/Process24.png b/zkwebui/WebContent/images/Process24.png similarity index 100% rename from zkwebui/images/Process24.png rename to zkwebui/WebContent/images/Process24.png diff --git a/zkwebui/images/Product10.png b/zkwebui/WebContent/images/Product10.png similarity index 100% rename from zkwebui/images/Product10.png rename to zkwebui/WebContent/images/Product10.png diff --git a/zkwebui/images/Product16.png b/zkwebui/WebContent/images/Product16.png similarity index 100% rename from zkwebui/images/Product16.png rename to zkwebui/WebContent/images/Product16.png diff --git a/zkwebui/images/Product24.png b/zkwebui/WebContent/images/Product24.png similarity index 100% rename from zkwebui/images/Product24.png rename to zkwebui/WebContent/images/Product24.png diff --git a/zkwebui/images/Question32.png b/zkwebui/WebContent/images/Question32.png similarity index 100% rename from zkwebui/images/Question32.png rename to zkwebui/WebContent/images/Question32.png diff --git a/zkwebui/images/Redo16.png b/zkwebui/WebContent/images/Redo16.png similarity index 100% rename from zkwebui/images/Redo16.png rename to zkwebui/WebContent/images/Redo16.png diff --git a/zkwebui/images/Redo24.png b/zkwebui/WebContent/images/Redo24.png similarity index 100% rename from zkwebui/images/Redo24.png rename to zkwebui/WebContent/images/Redo24.png diff --git a/zkwebui/images/Refresh16.png b/zkwebui/WebContent/images/Refresh16.png similarity index 100% rename from zkwebui/images/Refresh16.png rename to zkwebui/WebContent/images/Refresh16.png diff --git a/zkwebui/images/Refresh24.png b/zkwebui/WebContent/images/Refresh24.png similarity index 100% rename from zkwebui/images/Refresh24.png rename to zkwebui/WebContent/images/Refresh24.png diff --git a/zkwebui/images/Register16.png b/zkwebui/WebContent/images/Register16.png similarity index 100% rename from zkwebui/images/Register16.png rename to zkwebui/WebContent/images/Register16.png diff --git a/zkwebui/images/Register24.png b/zkwebui/WebContent/images/Register24.png similarity index 100% rename from zkwebui/images/Register24.png rename to zkwebui/WebContent/images/Register24.png diff --git a/zkwebui/images/Report16.png b/zkwebui/WebContent/images/Report16.png similarity index 100% rename from zkwebui/images/Report16.png rename to zkwebui/WebContent/images/Report16.png diff --git a/zkwebui/images/Report24.png b/zkwebui/WebContent/images/Report24.png similarity index 100% rename from zkwebui/images/Report24.png rename to zkwebui/WebContent/images/Report24.png diff --git a/zkwebui/images/Request16.png b/zkwebui/WebContent/images/Request16.png similarity index 100% rename from zkwebui/images/Request16.png rename to zkwebui/WebContent/images/Request16.png diff --git a/zkwebui/images/Request24.png b/zkwebui/WebContent/images/Request24.png similarity index 100% rename from zkwebui/images/Request24.png rename to zkwebui/WebContent/images/Request24.png diff --git a/zkwebui/images/Reset16.png b/zkwebui/WebContent/images/Reset16.png similarity index 100% rename from zkwebui/images/Reset16.png rename to zkwebui/WebContent/images/Reset16.png diff --git a/zkwebui/images/Reset24.png b/zkwebui/WebContent/images/Reset24.png similarity index 100% rename from zkwebui/images/Reset24.png rename to zkwebui/WebContent/images/Reset24.png diff --git a/zkwebui/images/Save16.png b/zkwebui/WebContent/images/Save16.png similarity index 100% rename from zkwebui/images/Save16.png rename to zkwebui/WebContent/images/Save16.png diff --git a/zkwebui/images/Save24.png b/zkwebui/WebContent/images/Save24.png similarity index 100% rename from zkwebui/images/Save24.png rename to zkwebui/WebContent/images/Save24.png diff --git a/zkwebui/images/ScreenShot16.png b/zkwebui/WebContent/images/ScreenShot16.png similarity index 100% rename from zkwebui/images/ScreenShot16.png rename to zkwebui/WebContent/images/ScreenShot16.png diff --git a/zkwebui/images/ScreenShot24.png b/zkwebui/WebContent/images/ScreenShot24.png similarity index 100% rename from zkwebui/images/ScreenShot24.png rename to zkwebui/WebContent/images/ScreenShot24.png diff --git a/zkwebui/images/Script16.png b/zkwebui/WebContent/images/Script16.png similarity index 100% rename from zkwebui/images/Script16.png rename to zkwebui/WebContent/images/Script16.png diff --git a/zkwebui/images/Script24.png b/zkwebui/WebContent/images/Script24.png similarity index 100% rename from zkwebui/images/Script24.png rename to zkwebui/WebContent/images/Script24.png diff --git a/zkwebui/images/SelectAll16.png b/zkwebui/WebContent/images/SelectAll16.png similarity index 100% rename from zkwebui/images/SelectAll16.png rename to zkwebui/WebContent/images/SelectAll16.png diff --git a/zkwebui/images/SelectAll24.png b/zkwebui/WebContent/images/SelectAll24.png similarity index 100% rename from zkwebui/images/SelectAll24.png rename to zkwebui/WebContent/images/SelectAll24.png diff --git a/zkwebui/images/SendMail16.png b/zkwebui/WebContent/images/SendMail16.png similarity index 100% rename from zkwebui/images/SendMail16.png rename to zkwebui/WebContent/images/SendMail16.png diff --git a/zkwebui/images/SendMail24.png b/zkwebui/WebContent/images/SendMail24.png similarity index 100% rename from zkwebui/images/SendMail24.png rename to zkwebui/WebContent/images/SendMail24.png diff --git a/zkwebui/images/Server16.png b/zkwebui/WebContent/images/Server16.png similarity index 100% rename from zkwebui/images/Server16.png rename to zkwebui/WebContent/images/Server16.png diff --git a/zkwebui/images/Server24.png b/zkwebui/WebContent/images/Server24.png similarity index 100% rename from zkwebui/images/Server24.png rename to zkwebui/WebContent/images/Server24.png diff --git a/zkwebui/images/Setup16.png b/zkwebui/WebContent/images/Setup16.png similarity index 100% rename from zkwebui/images/Setup16.png rename to zkwebui/WebContent/images/Setup16.png diff --git a/zkwebui/images/Setup24.png b/zkwebui/WebContent/images/Setup24.png similarity index 100% rename from zkwebui/images/Setup24.png rename to zkwebui/WebContent/images/Setup24.png diff --git a/zkwebui/images/StepBack24.png b/zkwebui/WebContent/images/StepBack24.png similarity index 100% rename from zkwebui/images/StepBack24.png rename to zkwebui/WebContent/images/StepBack24.png diff --git a/zkwebui/images/StepForward24.png b/zkwebui/WebContent/images/StepForward24.png similarity index 100% rename from zkwebui/images/StepForward24.png rename to zkwebui/WebContent/images/StepForward24.png diff --git a/zkwebui/images/Summary16.png b/zkwebui/WebContent/images/Summary16.png similarity index 100% rename from zkwebui/images/Summary16.png rename to zkwebui/WebContent/images/Summary16.png diff --git a/zkwebui/images/Summary24.png b/zkwebui/WebContent/images/Summary24.png similarity index 100% rename from zkwebui/images/Summary24.png rename to zkwebui/WebContent/images/Summary24.png diff --git a/zkwebui/images/Translate16.png b/zkwebui/WebContent/images/Translate16.png similarity index 100% rename from zkwebui/images/Translate16.png rename to zkwebui/WebContent/images/Translate16.png diff --git a/zkwebui/images/Translate24.png b/zkwebui/WebContent/images/Translate24.png similarity index 100% rename from zkwebui/images/Translate24.png rename to zkwebui/WebContent/images/Translate24.png diff --git a/zkwebui/images/Underline16.png b/zkwebui/WebContent/images/Underline16.png similarity index 100% rename from zkwebui/images/Underline16.png rename to zkwebui/WebContent/images/Underline16.png diff --git a/zkwebui/images/Undo16.png b/zkwebui/WebContent/images/Undo16.png similarity index 100% rename from zkwebui/images/Undo16.png rename to zkwebui/WebContent/images/Undo16.png diff --git a/zkwebui/images/Undo24.png b/zkwebui/WebContent/images/Undo24.png similarity index 100% rename from zkwebui/images/Undo24.png rename to zkwebui/WebContent/images/Undo24.png diff --git a/zkwebui/images/VPreference16.png b/zkwebui/WebContent/images/VPreference16.png similarity index 100% rename from zkwebui/images/VPreference16.png rename to zkwebui/WebContent/images/VPreference16.png diff --git a/zkwebui/images/VPreference24.png b/zkwebui/WebContent/images/VPreference24.png similarity index 100% rename from zkwebui/images/VPreference24.png rename to zkwebui/WebContent/images/VPreference24.png diff --git a/zkwebui/images/Warn32.png b/zkwebui/WebContent/images/Warn32.png similarity index 100% rename from zkwebui/images/Warn32.png rename to zkwebui/WebContent/images/Warn32.png diff --git a/zkwebui/images/WinSize16.png b/zkwebui/WebContent/images/WinSize16.png similarity index 100% rename from zkwebui/images/WinSize16.png rename to zkwebui/WebContent/images/WinSize16.png diff --git a/zkwebui/images/WinSize24.png b/zkwebui/WebContent/images/WinSize24.png similarity index 100% rename from zkwebui/images/WinSize24.png rename to zkwebui/WebContent/images/WinSize24.png diff --git a/zkwebui/images/WorkFlow16.png b/zkwebui/WebContent/images/WorkFlow16.png similarity index 100% rename from zkwebui/images/WorkFlow16.png rename to zkwebui/WebContent/images/WorkFlow16.png diff --git a/zkwebui/images/WorkFlow24.png b/zkwebui/WebContent/images/WorkFlow24.png similarity index 100% rename from zkwebui/images/WorkFlow24.png rename to zkwebui/WebContent/images/WorkFlow24.png diff --git a/zkwebui/images/WorkFlow_16.png b/zkwebui/WebContent/images/WorkFlow_16.png similarity index 100% rename from zkwebui/images/WorkFlow_16.png rename to zkwebui/WebContent/images/WorkFlow_16.png diff --git a/zkwebui/images/WorkFlow_24.png b/zkwebui/WebContent/images/WorkFlow_24.png similarity index 100% rename from zkwebui/images/WorkFlow_24.png rename to zkwebui/WebContent/images/WorkFlow_24.png diff --git a/zkwebui/images/Zoom16.png b/zkwebui/WebContent/images/Zoom16.png similarity index 100% rename from zkwebui/images/Zoom16.png rename to zkwebui/WebContent/images/Zoom16.png diff --git a/zkwebui/images/Zoom24.png b/zkwebui/WebContent/images/Zoom24.png similarity index 100% rename from zkwebui/images/Zoom24.png rename to zkwebui/WebContent/images/Zoom24.png diff --git a/zkwebui/images/ZoomAcross16.png b/zkwebui/WebContent/images/ZoomAcross16.png similarity index 100% rename from zkwebui/images/ZoomAcross16.png rename to zkwebui/WebContent/images/ZoomAcross16.png diff --git a/zkwebui/images/ZoomAcross24.png b/zkwebui/WebContent/images/ZoomAcross24.png similarity index 100% rename from zkwebui/images/ZoomAcross24.png rename to zkwebui/WebContent/images/ZoomAcross24.png diff --git a/zkwebui/images/downarrow.png b/zkwebui/WebContent/images/downarrow.png similarity index 100% rename from zkwebui/images/downarrow.png rename to zkwebui/WebContent/images/downarrow.png diff --git a/zkwebui/images/gradient-bg.png b/zkwebui/WebContent/images/gradient-bg.png similarity index 100% rename from zkwebui/images/gradient-bg.png rename to zkwebui/WebContent/images/gradient-bg.png diff --git a/zkwebui/WebContent/images/loading.png b/zkwebui/WebContent/images/loading.png new file mode 100644 index 0000000000..7badfb2c78 Binary files /dev/null and b/zkwebui/WebContent/images/loading.png differ diff --git a/zkwebui/images/logo.png b/zkwebui/WebContent/images/logo.png similarity index 100% rename from zkwebui/images/logo.png rename to zkwebui/WebContent/images/logo.png diff --git a/zkwebui/images/logo_ad.png b/zkwebui/WebContent/images/logo_ad.png similarity index 100% rename from zkwebui/images/logo_ad.png rename to zkwebui/WebContent/images/logo_ad.png diff --git a/zkwebui/images/logoff.JPG b/zkwebui/WebContent/images/logoff.JPG similarity index 100% rename from zkwebui/images/logoff.JPG rename to zkwebui/WebContent/images/logoff.JPG diff --git a/zkwebui/images/mClosed.png b/zkwebui/WebContent/images/mClosed.png similarity index 100% rename from zkwebui/images/mClosed.png rename to zkwebui/WebContent/images/mClosed.png diff --git a/zkwebui/images/mDocAction.png b/zkwebui/WebContent/images/mDocAction.png similarity index 100% rename from zkwebui/images/mDocAction.png rename to zkwebui/WebContent/images/mDocAction.png diff --git a/zkwebui/images/mOpen.png b/zkwebui/WebContent/images/mOpen.png similarity index 100% rename from zkwebui/images/mOpen.png rename to zkwebui/WebContent/images/mOpen.png diff --git a/zkwebui/images/mProcess.png b/zkwebui/WebContent/images/mProcess.png similarity index 100% rename from zkwebui/images/mProcess.png rename to zkwebui/WebContent/images/mProcess.png diff --git a/zkwebui/images/mReport.png b/zkwebui/WebContent/images/mReport.png similarity index 100% rename from zkwebui/images/mReport.png rename to zkwebui/WebContent/images/mReport.png diff --git a/zkwebui/images/mSetVariable.png b/zkwebui/WebContent/images/mSetVariable.png similarity index 100% rename from zkwebui/images/mSetVariable.png rename to zkwebui/WebContent/images/mSetVariable.png diff --git a/zkwebui/images/mUserChoice.png b/zkwebui/WebContent/images/mUserChoice.png similarity index 100% rename from zkwebui/images/mUserChoice.png rename to zkwebui/WebContent/images/mUserChoice.png diff --git a/zkwebui/images/mWindow.png b/zkwebui/WebContent/images/mWindow.png similarity index 100% rename from zkwebui/images/mWindow.png rename to zkwebui/WebContent/images/mWindow.png diff --git a/zkwebui/images/mWorkFlow.png b/zkwebui/WebContent/images/mWorkFlow.png similarity index 100% rename from zkwebui/images/mWorkFlow.png rename to zkwebui/WebContent/images/mWorkFlow.png diff --git a/zkwebui/images/mWorkbench.png b/zkwebui/WebContent/images/mWorkbench.png similarity index 100% rename from zkwebui/images/mWorkbench.png rename to zkwebui/WebContent/images/mWorkbench.png diff --git a/zkwebui/images/ns-collapse.png b/zkwebui/WebContent/images/ns-collapse.png similarity index 100% rename from zkwebui/images/ns-collapse.png rename to zkwebui/WebContent/images/ns-collapse.png diff --git a/zkwebui/images/ns-expand.png b/zkwebui/WebContent/images/ns-expand.png similarity index 100% rename from zkwebui/images/ns-expand.png rename to zkwebui/WebContent/images/ns-expand.png diff --git a/zkwebui/images/top.JPG b/zkwebui/WebContent/images/top.JPG similarity index 100% rename from zkwebui/images/top.JPG rename to zkwebui/WebContent/images/top.JPG diff --git a/zkwebui/images/uparrow.png b/zkwebui/WebContent/images/uparrow.png similarity index 100% rename from zkwebui/images/uparrow.png rename to zkwebui/WebContent/images/uparrow.png diff --git a/zkwebui/images/wfBack24.png b/zkwebui/WebContent/images/wfBack24.png similarity index 100% rename from zkwebui/images/wfBack24.png rename to zkwebui/WebContent/images/wfBack24.png diff --git a/zkwebui/images/wfEnd24.png b/zkwebui/WebContent/images/wfEnd24.png similarity index 100% rename from zkwebui/images/wfEnd24.png rename to zkwebui/WebContent/images/wfEnd24.png diff --git a/zkwebui/images/wfNext24.png b/zkwebui/WebContent/images/wfNext24.png similarity index 100% rename from zkwebui/images/wfNext24.png rename to zkwebui/WebContent/images/wfNext24.png diff --git a/zkwebui/images/wfStart24.png b/zkwebui/WebContent/images/wfStart24.png similarity index 100% rename from zkwebui/images/wfStart24.png rename to zkwebui/WebContent/images/wfStart24.png diff --git a/zkwebui/images/zip.png b/zkwebui/WebContent/images/zip.png similarity index 100% rename from zkwebui/images/zip.png rename to zkwebui/WebContent/images/zip.png diff --git a/zkwebui/index.zul b/zkwebui/WebContent/index.zul similarity index 100% rename from zkwebui/index.zul rename to zkwebui/WebContent/index.zul diff --git a/zkwebui/js/calc.js b/zkwebui/WebContent/js/calc.js similarity index 100% rename from zkwebui/js/calc.js rename to zkwebui/WebContent/js/calc.js diff --git a/zkwebui/js/layout.js b/zkwebui/WebContent/js/layout.js similarity index 100% rename from zkwebui/js/layout.js rename to zkwebui/WebContent/js/layout.js diff --git a/zkwebui/js/persist-min.js b/zkwebui/WebContent/js/persist-min.js similarity index 100% rename from zkwebui/js/persist-min.js rename to zkwebui/WebContent/js/persist-min.js diff --git a/zkwebui/js/report.js b/zkwebui/WebContent/js/report.js similarity index 100% rename from zkwebui/js/report.js rename to zkwebui/WebContent/js/report.js diff --git a/zkwebui/js/token.js b/zkwebui/WebContent/js/token.js similarity index 100% rename from zkwebui/js/token.js rename to zkwebui/WebContent/js/token.js diff --git a/zkwebui/WebContent/release_notes.html b/zkwebui/WebContent/release_notes.html new file mode 100644 index 0000000000..725233ffff --- /dev/null +++ b/zkwebui/WebContent/release_notes.html @@ -0,0 +1,47 @@ +Release Notes - Open SaaS: 0.2 + + + + +
    + + +

    Release Notes - Open SaaS: 0.2

    + +

    564: Business Partner Search Info

    +

    ADD: Info Panels to search information for invoice, asset,order, in/out, payment, cashline and assignment

    + +

    567: Payment Rule

    +

    ADD: Panel for selecting a Payment Rule (e.g. for customer invoicing)

    + +

    568: Location Editor

    +

    ADD: Editor to display location info of business partner

    + +

    569: Product Search Info

    +

    ADD: Panel enabling product searching

    + +

    570: Invoice Search Info

    +

    ADD: Panel for searching invoices

    + +

    571: Order Search Info

    +

    ADD: Panel for searching orders

    + +

    536: Generate Charges Custom Form

    +

    ADD: Generate Charges Custom Form

    + +

    556: Bug in Search Editor

    +

    FIX: Search Editor displayed User Info instead of Invoices

    + + +
    Produced by FogBugz
    +
    + + \ No newline at end of file diff --git a/zkwebui/theme.zs b/zkwebui/WebContent/theme.zs similarity index 100% rename from zkwebui/theme.zs rename to zkwebui/WebContent/theme.zs diff --git a/zkwebui/theme/default/css/theme.css.dsp b/zkwebui/WebContent/theme/default/css/theme.css.dsp similarity index 100% rename from zkwebui/theme/default/css/theme.css.dsp rename to zkwebui/WebContent/theme/default/css/theme.css.dsp diff --git a/zkwebui/theme/default/css/themeie.css.dsp b/zkwebui/WebContent/theme/default/css/themeie.css.dsp similarity index 100% rename from zkwebui/theme/default/css/themeie.css.dsp rename to zkwebui/WebContent/theme/default/css/themeie.css.dsp diff --git a/zkwebui/theme/default/images/adtab-left-bg.png b/zkwebui/WebContent/theme/default/images/adtab-left-bg.png similarity index 100% rename from zkwebui/theme/default/images/adtab-left-bg.png rename to zkwebui/WebContent/theme/default/images/adtab-left-bg.png diff --git a/zkwebui/theme/default/images/adtab-right-bg.png b/zkwebui/WebContent/theme/default/images/adtab-right-bg.png similarity index 100% rename from zkwebui/theme/default/images/adtab-right-bg.png rename to zkwebui/WebContent/theme/default/images/adtab-right-bg.png diff --git a/zkwebui/theme/default/images/header-bg.png b/zkwebui/WebContent/theme/default/images/header-bg.png similarity index 100% rename from zkwebui/theme/default/images/header-bg.png rename to zkwebui/WebContent/theme/default/images/header-bg.png diff --git a/zkwebui/theme/default/images/header-logo.png b/zkwebui/WebContent/theme/default/images/header-logo.png similarity index 100% rename from zkwebui/theme/default/images/header-logo.png rename to zkwebui/WebContent/theme/default/images/header-logo.png diff --git a/zkwebui/theme/default/images/icon.png b/zkwebui/WebContent/theme/default/images/icon.png similarity index 100% rename from zkwebui/theme/default/images/icon.png rename to zkwebui/WebContent/theme/default/images/icon.png diff --git a/zkwebui/theme/default/images/login-box-bg.png b/zkwebui/WebContent/theme/default/images/login-box-bg.png similarity index 100% rename from zkwebui/theme/default/images/login-box-bg.png rename to zkwebui/WebContent/theme/default/images/login-box-bg.png diff --git a/zkwebui/theme/default/images/login-box-footer.png b/zkwebui/WebContent/theme/default/images/login-box-footer.png similarity index 100% rename from zkwebui/theme/default/images/login-box-footer.png rename to zkwebui/WebContent/theme/default/images/login-box-footer.png diff --git a/zkwebui/theme/default/images/login-box-header.png b/zkwebui/WebContent/theme/default/images/login-box-header.png similarity index 100% rename from zkwebui/theme/default/images/login-box-header.png rename to zkwebui/WebContent/theme/default/images/login-box-header.png diff --git a/zkwebui/theme/default/images/login-logo.png b/zkwebui/WebContent/theme/default/images/login-logo.png similarity index 100% rename from zkwebui/theme/default/images/login-logo.png rename to zkwebui/WebContent/theme/default/images/login-logo.png diff --git a/zkwebui/theme/default/login-info.zul b/zkwebui/WebContent/theme/default/login-info.zul similarity index 100% rename from zkwebui/theme/default/login-info.zul rename to zkwebui/WebContent/theme/default/login-info.zul diff --git a/zkwebui/theme/default/login-left.zul b/zkwebui/WebContent/theme/default/login-left.zul similarity index 100% rename from zkwebui/theme/default/login-left.zul rename to zkwebui/WebContent/theme/default/login-left.zul diff --git a/zkwebui/theme/default/login-links.zul b/zkwebui/WebContent/theme/default/login-links.zul similarity index 100% rename from zkwebui/theme/default/login-links.zul rename to zkwebui/WebContent/theme/default/login-links.zul diff --git a/zkwebui/theme/default/vendor-logo.zul b/zkwebui/WebContent/theme/default/vendor-logo.zul similarity index 100% rename from zkwebui/theme/default/vendor-logo.zul rename to zkwebui/WebContent/theme/default/vendor-logo.zul diff --git a/zkwebui/theme/default/version-info.zul b/zkwebui/WebContent/theme/default/version-info.zul similarity index 100% rename from zkwebui/theme/default/version-info.zul rename to zkwebui/WebContent/theme/default/version-info.zul diff --git a/zkwebui/zul/activities.zul b/zkwebui/WebContent/zul/activities.zul similarity index 100% rename from zkwebui/zul/activities.zul rename to zkwebui/WebContent/zul/activities.zul diff --git a/zkwebui/zul/calendar.zul b/zkwebui/WebContent/zul/calendar.zul similarity index 100% rename from zkwebui/zul/calendar.zul rename to zkwebui/WebContent/zul/calendar.zul diff --git a/zkwebui/zul/favourites.zul b/zkwebui/WebContent/zul/favourites.zul similarity index 100% rename from zkwebui/zul/favourites.zul rename to zkwebui/WebContent/zul/favourites.zul diff --git a/zkwebui/zul/menu.zul b/zkwebui/WebContent/zul/menu.zul similarity index 100% rename from zkwebui/zul/menu.zul rename to zkwebui/WebContent/zul/menu.zul diff --git a/zkwebui/zul/performance.zul b/zkwebui/WebContent/zul/performance.zul similarity index 100% rename from zkwebui/zul/performance.zul rename to zkwebui/WebContent/zul/performance.zul diff --git a/zkwebui/zul/views.zul b/zkwebui/WebContent/zul/views.zul similarity index 100% rename from zkwebui/zul/views.zul rename to zkwebui/WebContent/zul/views.zul diff --git a/zkwebui/build.properties b/zkwebui/build.properties new file mode 100644 index 0000000000..b2ab62524a --- /dev/null +++ b/zkwebui/build.properties @@ -0,0 +1,55 @@ +source.zkwebui.jar = WEB-INF/src/,\ + WebContent/ + +bin.includes = META-INF/,\ + lib/xercesImpl.jar,\ + lib/javaee.jar,\ + lib/jcommon-1.0.14.jar,\ + lib/jfreechart-1.0.11.jar,\ + zkwebui.jar,\ + plugin.xml,\ + WEB-INF/lib/asm.jar,\ + WEB-INF/lib/bsh.jar,\ + WEB-INF/lib/commons-el.jar,\ + WEB-INF/lib/commons-fileupload.jar,\ + WEB-INF/lib/commons-io.jar,\ + WEB-INF/lib/Filters.jar,\ + WEB-INF/lib/gmapsz.jar,\ + WEB-INF/lib/groovy.jar,\ + WEB-INF/lib/jruby.jar,\ + WEB-INF/lib/js.jar,\ + WEB-INF/lib/json_simple.jar,\ + WEB-INF/lib/jxl.jar,\ + WEB-INF/lib/jython.jar,\ + WEB-INF/lib/mvel.jar,\ + WEB-INF/lib/ognl.jar,\ + WEB-INF/lib/timelinez-sources.jar,\ + WEB-INF/lib/timeplotz.jar,\ + WEB-INF/lib/zcommon-sources.jar,\ + WEB-INF/lib/zcommons-el.jar,\ + WEB-INF/lib/zhtml-sources.jar,\ + WEB-INF/lib/zk-sources.jar,\ + WEB-INF/lib/zkex-sources.jar,\ + WEB-INF/lib/zkmax-sources.jar,\ + WEB-INF/lib/zkplus-sources.jar,\ + WEB-INF/lib/zml-sources.jar,\ + WEB-INF/lib/zml.jar,\ + WEB-INF/lib/zul-sources.jar,\ + WEB-INF/lib/zweb-sources.jar,\ + WEB-INF/lib/cglib.jar,\ + WEB-INF/lib/fckez.jar,\ + WEB-INF/lib/junit.jar,\ + WEB-INF/lib/keylistener.jar,\ + WEB-INF/lib/timelinez.jar,\ + WEB-INF/lib/zweb.jar,\ + WEB-INF/lib/zul.jar,\ + WEB-INF/lib/zkplus.jar,\ + WEB-INF/lib/zkmax.jar,\ + WEB-INF/lib/zkex.jar,\ + WEB-INF/lib/zk.jar,\ + WEB-INF/lib/zcommon.jar,\ + WEB-INF/lib/zhtml.jar,\ + +output.zkwebui.jar = WEB-INF/classes +jars.compile.order = zkwebui.jar + diff --git a/zkwebui/build.xml b/zkwebui/build.xml deleted file mode 100644 index e5e4ceb508..0000000000 --- a/zkwebui/build.xml +++ /dev/null @@ -1,90 +0,0 @@ - - - - - - - - This buildfile is used to build the Zk WebUI client. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/zkwebui/plugin.xml b/zkwebui/plugin.xml new file mode 100644 index 0000000000..13657a83af --- /dev/null +++ b/zkwebui/plugin.xml @@ -0,0 +1,17 @@ + + + + +