merge development into experimental
This commit is contained in:
commit
79c77159c7
28
.hgignore
28
.hgignore
|
@ -7,8 +7,11 @@ syntax: regexp
|
||||||
^org\.adempiere\.install/bin/.*\.*$
|
^org\.adempiere\.install/bin/.*\.*$
|
||||||
^org\.adempiere\.ui\.zk/dist$
|
^org\.adempiere\.ui\.zk/dist$
|
||||||
^org\.adempiere\.ui\.zk/bin/.*\.*$
|
^org\.adempiere\.ui\.zk/bin/.*\.*$
|
||||||
|
^[^/]+/lib/.*\.jar$
|
||||||
|
^[^/]+/.*\.jar$
|
||||||
|
^[^/]+/WEB-INF/lib/.*\.jar$
|
||||||
|
^db/ddlutils/lib/.*\.jar$
|
||||||
|
|
||||||
syntax: regexp
|
|
||||||
^lib/plugins$
|
^lib/plugins$
|
||||||
^plugins/.*\.class$
|
^plugins/.*\.class$
|
||||||
^adempiere-local\.properties$
|
^adempiere-local\.properties$
|
||||||
|
@ -24,8 +27,6 @@ syntax: regexp
|
||||||
^org\.adempiere\.ui\.swing/bin/.*\.*$
|
^org\.adempiere\.ui\.swing/bin/.*\.*$
|
||||||
^org\.adempiere\.report\.jasper\.fonts/bin/.*\.*$
|
^org\.adempiere\.report\.jasper\.fonts/bin/.*\.*$
|
||||||
|
|
||||||
|
|
||||||
syntax: regexp
|
|
||||||
^org.adempiere.tomcat.config/META-INF/tomcat/server\.xml$
|
^org.adempiere.tomcat.config/META-INF/tomcat/server\.xml$
|
||||||
^org\.apache\.ecs/bin/.*\.class$
|
^org\.apache\.ecs/bin/.*\.class$
|
||||||
^org\.adempiere\.replication/bin/.*\.class$
|
^org\.adempiere\.replication/bin/.*\.class$
|
||||||
|
@ -62,25 +63,19 @@ syntax: regexp
|
||||||
^work/.*$
|
^work/.*$
|
||||||
^hazelcast\.xml$
|
^hazelcast\.xml$
|
||||||
|
|
||||||
syntax: regexp
|
|
||||||
swingclient.product.*
|
swingclient.product.*
|
||||||
server.product.*
|
server.product.*
|
||||||
|
|
||||||
syntax: regexp
|
|
||||||
^org\.zkoss\.zk\.library/bin$
|
^org\.zkoss\.zk\.library/bin$
|
||||||
syntax: regexp
|
|
||||||
\.class$
|
|
||||||
syntax: regexp
|
|
||||||
\.class$
|
\.class$
|
||||||
|
|
||||||
syntax: regexp
|
^org\.zkoss\.zk\.library/.*/calendar.*\.jar$
|
||||||
^org\.zkoss\.zk\.library/.*/calendar[-].*\.jar$
|
^org\.zkoss\.zk\.library/.*/ckez.*\.jar$
|
||||||
^org\.zkoss\.zk\.library/.*/ckez[-].*\.jar$
|
^org\.zkoss\.zk\.library/.*/gmapsz.*\.jar$
|
||||||
^org\.zkoss\.zk\.library/.*/gmapsz[-].*\.jar$
|
^org\.zkoss\.zk\.library/.*/jruby.*\.jar$
|
||||||
^org\.zkoss\.zk\.library/.*/jruby[-].*\.jar$
|
^org\.zkoss\.zk\.library/.*/jython.*\.jar$
|
||||||
^org\.zkoss\.zk\.library/.*/jython[-].*\.jar$
|
^org\.zkoss\.zk\.library/.*/timelinez.*\.jar$
|
||||||
^org\.zkoss\.zk\.library/.*/timelinez[-].*\.jar$
|
^org\.zkoss\.zk\.library/.*/timeplotz.*\.jar$
|
||||||
^org\.zkoss\.zk\.library/.*/timeplotz[-].*\.jar$
|
|
||||||
^org\.zkoss\.zk\.library/.*/z.*\.jar$
|
^org\.zkoss\.zk\.library/.*/z.*\.jar$
|
||||||
.buckminster/
|
.buckminster/
|
||||||
^jettyhome/
|
^jettyhome/
|
||||||
|
@ -89,3 +84,4 @@ syntax: regexp
|
||||||
^packout
|
^packout
|
||||||
^RemoteSystemsTempFiles
|
^RemoteSystemsTempFiles
|
||||||
|
|
||||||
|
^fitnesse/FitNesseRoot/FitLibraryWeb/[^/]+\.zip$
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<classpath>
|
<classpath>
|
||||||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
|
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
|
||||||
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
|
||||||
<classpathentry kind="src" path="src"/>
|
<classpathentry kind="src" path="src"/>
|
||||||
<classpathentry kind="output" path="bin"/>
|
<classpathentry kind="output" path="bin"/>
|
||||||
|
|
|
@ -2,11 +2,11 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: Test
|
Bundle-Name: Test
|
||||||
Bundle-SymbolicName: event.test
|
Bundle-SymbolicName: event.test
|
||||||
Bundle-Version: 1.0.0.qualifier
|
Bundle-Version: 3.1.0.qualifier
|
||||||
Bundle-Activator: event.test.Activator
|
Bundle-Activator: event.test.Activator
|
||||||
Require-Bundle: org.adempiere.base;bundle-version="1.0.0"
|
Require-Bundle: org.adempiere.base;bundle-version="3.1.0"
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.6
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||||
Import-Package: org.eclipse.equinox.events;version="1.0.0",
|
Import-Package: org.eclipse.equinox.events;version="1.0.0",
|
||||||
org.osgi.framework,
|
org.osgi.framework,
|
||||||
org.osgi.service.event;version="1.2.0"
|
org.osgi.service.event;version="1.2.0"
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
<cspecExtension xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns="http://www.eclipse.org/buckminster/CSpec-1.0"
|
||||||
|
xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0">
|
||||||
|
<actions>
|
||||||
|
<!-- public action with ant actor to do the actual copying -->
|
||||||
|
<cs:public name="fetch.dependency.jars" actor="ant">
|
||||||
|
<cs:actorProperties>
|
||||||
|
<cs:property key="buildFile" value="copyjars.xml" />
|
||||||
|
<cs:property key="targets" value="copy" />
|
||||||
|
</cs:actorProperties>
|
||||||
|
</cs:public>
|
||||||
|
</actions>
|
||||||
|
<groups>
|
||||||
|
<!-- buckminster.prebind the prebind group will be executed during materialization -->
|
||||||
|
<cs:private name="buckminster.postbind">
|
||||||
|
<cs:attribute name="fetch.dependency.jars" alias="action.requirements" />
|
||||||
|
</cs:private>
|
||||||
|
</groups>
|
||||||
|
</cspecExtension>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<project name="zklibrary" basedir="." default="copy">
|
||||||
|
<target name="copy">
|
||||||
|
<!-- maybe it's same file in org.idempiere.fitnesse.server, just diference version-->
|
||||||
|
<get src="http://downloads.sourceforge.net/project/idempiere/binary.file/jarfile/3.1/fitnesse2.jar" dest="fitnesse2.jar" usetimestamp="true" verbose="true" retries="5"/>
|
||||||
|
</target>
|
||||||
|
</project>
|
|
@ -1,22 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<?artifactRepository version='1.1.0'?>
|
|
||||||
<repository name='idempiere local repository - artifacts' type='org.eclipse.equinox.p2.artifact.repository.simpleRepository' version='1'>
|
|
||||||
<properties size='2'>
|
|
||||||
<property name='p2.timestamp' value='1410940772016'/>
|
|
||||||
<property name='p2.compressed' value='false'/>
|
|
||||||
</properties>
|
|
||||||
<mappings size='3'>
|
|
||||||
<rule filter='(& (classifier=osgi.bundle))' output='${repoUrl}/plugins/${id}_${version}.jar'/>
|
|
||||||
<rule filter='(& (classifier=binary))' output='${repoUrl}/binary/${id}_${version}'/>
|
|
||||||
<rule filter='(& (classifier=org.eclipse.update.feature))' output='${repoUrl}/features/${id}_${version}.jar'/>
|
|
||||||
</mappings>
|
|
||||||
<artifacts size='1'>
|
|
||||||
<artifact classifier='osgi.bundle' id='org.apache.felix.webconsole.plugins.packageadmin' version='1.0.0.1'>
|
|
||||||
<properties size='3'>
|
|
||||||
<property name='artifact.size' value='27244'/>
|
|
||||||
<property name='download.size' value='27244'/>
|
|
||||||
<property name='download.md5' value='12db1250ba0e1ee705771d8ce293ce52'/>
|
|
||||||
</properties>
|
|
||||||
</artifact>
|
|
||||||
</artifacts>
|
|
||||||
</repository>
|
|
|
@ -1,45 +0,0 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
|
||||||
<?metadataRepository version='1.1.0'?>
|
|
||||||
<repository name='idempiere local repository - metadata' type='org.eclipse.equinox.internal.p2.metadata.repository.LocalMetadataRepository' version='1'>
|
|
||||||
<properties size='2'>
|
|
||||||
<property name='p2.timestamp' value='1410940772018'/>
|
|
||||||
<property name='p2.compressed' value='false'/>
|
|
||||||
</properties>
|
|
||||||
<units size='1'>
|
|
||||||
<unit id='org.apache.felix.webconsole.plugins.packageadmin' version='1.0.0.1' singleton='false'>
|
|
||||||
<update id='org.apache.felix.webconsole.plugins.packageadmin' range='[0.0.0,1.0.0.1)' severity='0'/>
|
|
||||||
<properties size='4'>
|
|
||||||
<property name='org.eclipse.equinox.p2.name' value='Apache Felix Web Console Package Admin Service Plugin'/>
|
|
||||||
<property name='org.eclipse.equinox.p2.description' value='Plugin providing support to query the Package Admin service for various details; e.g. finding duplicate package exports or finding bundles exporting given packages'/>
|
|
||||||
<property name='org.eclipse.equinox.p2.provider' value='The Apache Software Foundation'/>
|
|
||||||
<property name='org.eclipse.equinox.p2.doc.url' value='http://www.apache.org/'/>
|
|
||||||
</properties>
|
|
||||||
<provides size='3'>
|
|
||||||
<provided namespace='org.eclipse.equinox.p2.iu' name='org.apache.felix.webconsole.plugins.packageadmin' version='1.0.0.1'/>
|
|
||||||
<provided namespace='osgi.bundle' name='org.apache.felix.webconsole.plugins.packageadmin' version='1.0.0.1'/>
|
|
||||||
<provided namespace='org.eclipse.equinox.p2.eclipse.type' name='bundle' version='1.0.0'/>
|
|
||||||
</provides>
|
|
||||||
<requires size='8'>
|
|
||||||
<required namespace='java.package' name='javax.servlet' range='0.0.0'/>
|
|
||||||
<required namespace='java.package' name='javax.servlet.http' range='0.0.0'/>
|
|
||||||
<required namespace='java.package' name='org.apache.commons.io' range='[1.4.0,3.0.0)'/>
|
|
||||||
<required namespace='java.package' name='org.apache.felix.webconsole' range='[3.1.0,4.0.0)'/>
|
|
||||||
<required namespace='java.package' name='org.json' range='0.0.0'/>
|
|
||||||
<required namespace='java.package' name='org.osgi.framework' range='[1.3.0,2.0.0)'/>
|
|
||||||
<required namespace='java.package' name='org.osgi.service.packageadmin' range='[1.2.0,2.0.0)'/>
|
|
||||||
<required namespace='java.package' name='org.osgi.util.tracker' range='[1.3.0,2.0.0)'/>
|
|
||||||
</requires>
|
|
||||||
<artifacts size='1'>
|
|
||||||
<artifact classifier='osgi.bundle' id='org.apache.felix.webconsole.plugins.packageadmin' version='1.0.0.1'/>
|
|
||||||
</artifacts>
|
|
||||||
<touchpoint id='org.eclipse.equinox.p2.osgi' version='1.0.0'/>
|
|
||||||
<touchpointData size='1'>
|
|
||||||
<instructions size='1'>
|
|
||||||
<instruction key='manifest'>
|
|
||||||
Bundle-SymbolicName: org.apache.felix.webconsole.plugins.packageadmin
Bundle-Version: 1.0.0.1

|
|
||||||
</instruction>
|
|
||||||
</instructions>
|
|
||||||
</touchpointData>
|
|
||||||
</unit>
|
|
||||||
</units>
|
|
||||||
</repository>
|
|
|
@ -0,0 +1,79 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2757 Key for M_Storage wrongly defined on dictionary
|
||||||
|
-- Aug 13, 2015 5:54:15 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203834,'M_Warehouse_UU',177,60958,'N',36,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 17:54:15','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 17:54:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f8ba8ff7-14a1-4eb4-a68d-708095cfc0e9','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:55:21 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203835,'M_Storage_UU',179,60954,'N',36,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 17:55:20','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 17:55:20','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','89dd5676-731e-4d60-868a-8c710e9e280d','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:55:21 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203836,'Date Material Policy','Time used for LIFO and FIFO Material Policy','This field is used to record time used for LIFO and FIFO material policy',179,210887,'Y',7,110,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 17:55:21','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 17:55:21','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','b93cc4d5-e6a6-4a15-acc4-393d54520736','Y',110,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=4,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203836
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=50,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1011
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6529
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1013
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=4,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3078
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1014
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=110, XPosition=4,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3282
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_DATE('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203835
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=4,Updated=TO_DATE('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202534
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=1,Updated=TO_DATE('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57394
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=4,Updated=TO_DATE('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57391
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=70, XPosition=2,Updated=TO_DATE('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57390
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_DATE('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57395
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=4,Updated=TO_DATE('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57393
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508131800_IDEMPIERE-2757.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-1132 Improve AD_Index; AD_View; foreign keys management
|
||||||
|
-- Aug 17, 2015 7:18:22 PM COT
|
||||||
|
UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_DATE('2015-08-17 19:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=200069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- IDEMPIERE-2745 2Pack is not creating foreign keys
|
||||||
|
update ad_column set fkconstrainttype='D' where fkconstrainttype is null and columnname in ('AD_Client_ID','AD_Org_ID','CreatedBy','UpdatedBy') and ad_reference_id in (18,19,30)
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508171408_IDEMPIERE-2745.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,545 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2771 Improve 2pack tracing for errors
|
||||||
|
-- Aug 13, 2015 7:42:06 PM COT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (212222,0,'Package Imp. Proc.',50003,'AD_Package_Imp_Proc_ID',10,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_DATE('2015-08-13 19:42:05','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:42:05','YYYY-MM-DD HH24:MI:SS'),100,50034,'Y','N','D','N','N','N','Y','1b15ffd2-2148-4337-9e59-652b0e91b73f','Y',0,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:42:13 PM COT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADPackageImpProc_ADPackageImp', FKConstraintType='N',Updated=TO_DATE('2015-08-13 19:42:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212222
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:42:13 PM COT
|
||||||
|
ALTER TABLE AD_Package_Imp ADD AD_Package_Imp_Proc_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:42:13 PM COT
|
||||||
|
ALTER TABLE AD_Package_Imp ADD CONSTRAINT ADPackageImpProc_ADPackageImp FOREIGN KEY (AD_Package_Imp_Proc_ID) REFERENCES ad_package_imp_proc(ad_package_imp_proc_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:44 PM COT
|
||||||
|
INSERT INTO AD_Tab (AD_Tab_ID,Name,AD_Window_ID,SeqNo,IsSingleRow,AD_Table_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,HasTree,IsInfoTab,IsTranslationTab,IsReadOnly,AD_Column_ID,OrderByClause,Processing,ImportFields,TabLevel,IsSortTab,EntityType,IsInsertRecord,IsAdvancedTab,AD_Tab_UU,TreeDisplayedOn) VALUES (200191,'Package Installation',50005,20,'Y',50003,0,0,'Y',TO_DATE('2015-08-13 19:45:44','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:44','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','Y',212222,'AD_Package_Imp_Proc.Created DESC','N','N',0,'N','D','N','N','9290ca4f-1650-4c88-9507-7a843f45384d','B')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203837,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',200191,50041,'Y',22,10,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','d8078cb4-d8cb-4fa3-a97b-d8e8fba93fc9','Y',10,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsAllowCopy,IsDisplayedGrid,XPosition,ColumnSpan) VALUES (203838,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',200191,50061,'Y',22,20,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f4c81ec0-cbf4-4119-b8f7-89999cc8998f','Y','N',4,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203839,'Name','Alphanumeric identifier of the entity','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',200191,50046,'Y',60,30,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','9fd4405f-28a3-4ac8-ae71-8794275c63b5','Y',20,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan,NumLines) VALUES (203840,'Description','Optional short description of the record','A description is limited to 255 characters.',200191,50058,'Y',1000,40,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ca832890-27e6-48e0-9686-33c6ad75acda','Y',30,5,8)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203841,'Package Imp.',200191,50040,'N',22,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','bf3180bc-3adf-4b46-8f36-418374f1b8e6','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203842,'CreatorContact',200191,50044,'Y',255,50,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','aebd79e4-0933-4f5b-aed1-726879e31c65','Y',40,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203843,'EMail Address','Electronic Mail Address','The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.',200191,50045,'Y',60,60,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','5d64032c-a33d-409d-b758-5e95d6a7f19a','Y',50,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203844,'Package Version',200191,50047,'Y',20,70,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','2bb66736-4f30-4d79-9a6e-2f0a35d16fe5','Y',60,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203845,'Process Now',200191,50048,'Y',1,80,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','0ee8bac8-b589-4f66-b57f-cad79cf4828b','Y',70,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203846,'Version','Version of the table definition','The Version indicates the version of this table definition.',200191,50049,'Y',20,90,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f70e7a70-cf2e-43b3-a5a4-c3996d872359','Y',80,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203847,'Uninstall',200191,50053,'Y',1,100,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','037e4eaa-fefa-449b-bf9b-b8c1f4ffb1f8','Y',90,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203848,'Release No','Internal Release Number',200191,50054,'Y',20,110,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f5f66967-57b0-4d39-896f-e06bdab02e80','Y',100,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203849,'Processed','The document has been processed','The Processed checkbox indicates that a document has been processed.',200191,50055,'Y',1,120,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','8ef4b72f-c9ed-49ab-bccb-2023d48c7913','Y',110,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:56 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203850,'Package Status',200191,50056,'Y',22,130,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c630875b-162c-4058-b9da-cb6f82fa5ca1','Y',120,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:57 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203851,'Creator',200191,50059,'Y',60,140,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','e830521e-be76-4627-8a35-c7ac09bfd596','Y',130,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:57 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203852,'AD_Package_Imp_UU',200191,60446,'N',36,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','32204dd9-2efa-4a55-89df-4f4a505381d6','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:57 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203853,'Package Imp. Proc.',200191,212222,'Y',10,150,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ffd6eb2b-4af3-4954-98dc-848cb85d867f','Y',140,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:58 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203854,'Active','The record is active in the system','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.',200191,50057,'Y',1,160,'N','N','N','N',0,0,'Y',TO_DATE('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','82331802-b0f8-47b5-a860-1879b135d071','Y',150,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=30, XPosition=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203853
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=40, ColumnSpan=3,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=5, ColumnSpan=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=1, ColumnSpan=3,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=5, ColumnSpan=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, XPosition=6, ColumnSpan=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203852
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203851
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203842
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203843
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203848
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203847
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1, ColumnSpan=1,Updated=TO_DATE('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203846
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203853
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203851
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203845
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203843
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203842
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203848
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203847
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203846
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203837
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:07 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:07 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=4,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=50,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203845
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110,Updated=TO_DATE('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:42:44 AM COT
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2015-08-14 10:42:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:45:01 AM COT
|
||||||
|
UPDATE AD_Tab SET OrderByClause='AD_Package_Imp.Created DESC',Updated=TO_DATE('2015-08-14 10:45:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:45:18 AM COT
|
||||||
|
UPDATE AD_Tab SET OrderByClause='AD_Package_Imp_Proc.Created DESC',Updated=TO_DATE('2015-08-14 10:45:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:49:45 AM COT
|
||||||
|
UPDATE AD_Field SET AD_Reference_ID=19,Updated=TO_DATE('2015-08-14 10:49:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:23:06 AM COT
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30, IsUpdateable='N',Updated=TO_DATE('2015-08-18 11:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50066
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:23:13 AM COT
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2015-08-18 11:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:25:05 AM COT
|
||||||
|
UPDATE AD_Column SET Name='Record ID', Description='Direct internal record ID', Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.', ColumnName='Record_ID', AD_Reference_ID=28, AD_Element_ID=538, IsAlwaysUpdateable='Y', IsToolbarButton='B',Updated=TO_DATE('2015-08-18 11:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50064
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE AD_PACKAGE_IMP_DETAIL RENAME COLUMN AD_ORIGINAL_ID TO RECORD_ID
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:27:08 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110,Updated=TO_DATE('2015-08-18 11:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50045
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:27:08 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=120,Updated=TO_DATE('2015-08-18 11:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50050
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:27:08 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-18 11:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50051
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=20, XPosition=4,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=30, ColumnSpan=2,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=1,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=4, ColumnSpan=1,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=6, ColumnSpan=1,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=80, XPosition=1, ColumnSpan=2,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=4,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, XPosition=1,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50057
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50053
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=50062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=50059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=50060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=50064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=50058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=50061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=50057
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=20, XPosition=4,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50021
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=30,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50023
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=40,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=4,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50026
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50027
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50028
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90,Updated=TO_DATE('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:43 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-18 11:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50024
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:43 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-18 11:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50022
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:43 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_DATE('2015-08-18 11:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50029
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50029
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50024
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50023
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50022
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50021
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50020
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=50025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=50026
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=50027
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=50028
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=50030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=50031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:24 PM COT
|
||||||
|
UPDATE AD_Tab SET IsReadOnly='N',Updated=TO_DATE('2015-08-18 20:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:39 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203837
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:41 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203838
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:42 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203853
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:44 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:51 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:57 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:59 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:16:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203845
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:17:04 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:17:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:17:09 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2015-08-18 20:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:17:45 PM COT
|
||||||
|
UPDATE AD_Field SET IsUpdateable='Y', IsAlwaysUpdateable='Y',Updated=TO_DATE('2015-08-18 20:17:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508181021_IDEMPIERE-2771.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2771 Improve 2pack tracing for errors
|
||||||
|
-- Aug 19, 2015 9:55:02 PM COT
|
||||||
|
INSERT INTO AD_SysConfig (AD_SysConfig_ID,AD_Client_ID,AD_Org_ID,Created,Updated,CreatedBy,UpdatedBy,IsActive,Name,Value,Description,EntityType,ConfigurationLevel,AD_SysConfig_UU) VALUES (200067,0,0,TO_DATE('2015-08-19 21:55:02','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2015-08-19 21:55:02','YYYY-MM-DD HH24:MI:SS'),100,100,'Y','EMAIL_NOTIFY_2PACK',' ','EMail to get 2Pack Notifications','D','C','12ab33a5-4129-4d5b-9066-dbdbc20df816')
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508192155_IDEMPIERE-2771.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2778 2pack: column size for SQL statement shall be extended
|
||||||
|
-- Aug 20, 2015 3:37:36 PM CEST
|
||||||
|
UPDATE AD_Column SET FieldLength=4000,Updated=TO_DATE('2015-08-20 15:37:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50122
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Column is NVARCHAR so we must drop it before changing its type to VARCHAR
|
||||||
|
ALTER TABLE AD_Package_Exp_Detail ADD Tmp_SQLStatement VARCHAR2(4000) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
UPDATE AD_Package_Exp_Detail SET Tmp_SQLStatement = TO_CHAR(SQLStatement)
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE AD_Package_Exp_Detail DROP COLUMN SQLStatement
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE AD_Package_Exp_Detail RENAME COLUMN Tmp_SQLStatement TO SQLStatement
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508201340_IDEMPIERE-2778.sql') FROM dual
|
||||||
|
;
|
|
@ -0,0 +1,76 @@
|
||||||
|
-- IDEMPIERE-2757 Key for M_Storage wrongly defined on dictionary
|
||||||
|
-- Aug 13, 2015 5:54:15 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203834,'M_Warehouse_UU',177,60958,'N',36,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 17:54:15','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 17:54:15','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f8ba8ff7-14a1-4eb4-a68d-708095cfc0e9','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:55:21 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203835,'M_Storage_UU',179,60954,'N',36,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 17:55:20','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 17:55:20','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','89dd5676-731e-4d60-868a-8c710e9e280d','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:55:21 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203836,'Date Material Policy','Time used for LIFO and FIFO Material Policy','This field is used to record time used for LIFO and FIFO material policy',179,210887,'Y',7,110,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 17:55:21','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 17:55:21','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','b93cc4d5-e6a6-4a15-acc4-393d54520736','Y',110,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=4,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203836
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=50,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1011
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=6529
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1013
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=4,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3078
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1014
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=110, XPosition=4,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=3282
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:58:03 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_TIMESTAMP('2015-08-13 17:58:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203835
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=4,Updated=TO_TIMESTAMP('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=202534
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=1,Updated=TO_TIMESTAMP('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57394
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=4,Updated=TO_TIMESTAMP('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57391
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=70, XPosition=2,Updated=TO_TIMESTAMP('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57390
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_TIMESTAMP('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57395
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 5:59:19 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=4,Updated=TO_TIMESTAMP('2015-08-13 17:59:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=57393
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508131800_IDEMPIERE-2757.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
-- IDEMPIERE-1132 Improve AD_Index; AD_View; foreign keys management
|
||||||
|
-- Aug 17, 2015 7:18:22 PM COT
|
||||||
|
UPDATE AD_Process_Para SET IsMandatory='N',Updated=TO_TIMESTAMP('2015-08-17 19:18:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=200069
|
||||||
|
;
|
||||||
|
|
||||||
|
-- IDEMPIERE-2745 2Pack is not creating foreign keys
|
||||||
|
update ad_column set fkconstrainttype='D' where fkconstrainttype is null and columnname in ('AD_Client_ID','AD_Org_ID','CreatedBy','UpdatedBy') and ad_reference_id in (18,19,30)
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508171408_IDEMPIERE-2745.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,542 @@
|
||||||
|
-- IDEMPIERE-2771 Improve 2pack tracing for errors
|
||||||
|
-- Aug 13, 2015 7:42:06 PM COT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (212222,0,'Package Imp. Proc.',50003,'AD_Package_Imp_Proc_ID',10,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2015-08-13 19:42:05','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:42:05','YYYY-MM-DD HH24:MI:SS'),100,50034,'Y','N','D','N','N','N','Y','1b15ffd2-2148-4337-9e59-652b0e91b73f','Y',0,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:42:13 PM COT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADPackageImpProc_ADPackageImp', FKConstraintType='N',Updated=TO_TIMESTAMP('2015-08-13 19:42:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212222
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:42:13 PM COT
|
||||||
|
ALTER TABLE AD_Package_Imp ADD COLUMN AD_Package_Imp_Proc_ID NUMERIC(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:42:13 PM COT
|
||||||
|
ALTER TABLE AD_Package_Imp ADD CONSTRAINT ADPackageImpProc_ADPackageImp FOREIGN KEY (AD_Package_Imp_Proc_ID) REFERENCES ad_package_imp_proc(ad_package_imp_proc_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:44 PM COT
|
||||||
|
INSERT INTO AD_Tab (AD_Tab_ID,Name,AD_Window_ID,SeqNo,IsSingleRow,AD_Table_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,HasTree,IsInfoTab,IsTranslationTab,IsReadOnly,AD_Column_ID,OrderByClause,Processing,ImportFields,TabLevel,IsSortTab,EntityType,IsInsertRecord,IsAdvancedTab,AD_Tab_UU,TreeDisplayedOn) VALUES (200191,'Package Installation',50005,20,'Y',50003,0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:44','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:44','YYYY-MM-DD HH24:MI:SS'),100,'N','N','N','Y',212222,'AD_Package_Imp_Proc.Created DESC','N','N',0,'N','D','N','N','9290ca4f-1650-4c88-9507-7a843f45384d','B')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203837,'Client','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.',200191,50041,'Y',22,10,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','d8078cb4-d8cb-4fa3-a97b-d8e8fba93fc9','Y',10,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsAllowCopy,IsDisplayedGrid,XPosition,ColumnSpan) VALUES (203838,'Organization','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.',200191,50061,'Y',22,20,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f4c81ec0-cbf4-4119-b8f7-89999cc8998f','Y','N',4,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203839,'Name','Alphanumeric identifier of the entity','The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.',200191,50046,'Y',60,30,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','9fd4405f-28a3-4ac8-ae71-8794275c63b5','Y',20,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:53 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan,NumLines) VALUES (203840,'Description','Optional short description of the record','A description is limited to 255 characters.',200191,50058,'Y',1000,40,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ca832890-27e6-48e0-9686-33c6ad75acda','Y',30,5,8)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203841,'Package Imp.',200191,50040,'N',22,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:53','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','bf3180bc-3adf-4b46-8f36-418374f1b8e6','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203842,'CreatorContact',200191,50044,'Y',255,50,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','aebd79e4-0933-4f5b-aed1-726879e31c65','Y',40,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203843,'EMail Address','Electronic Mail Address','The Email Address is the Electronic Mail ID for this User and should be fully qualified (e.g. joe.smith@company.com). The Email Address is used to access the self service application functionality from the web.',200191,50045,'Y',60,60,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','5d64032c-a33d-409d-b758-5e95d6a7f19a','Y',50,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:54 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203844,'Package Version',200191,50047,'Y',20,70,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','2bb66736-4f30-4d79-9a6e-2f0a35d16fe5','Y',60,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203845,'Process Now',200191,50048,'Y',1,80,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:54','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','0ee8bac8-b589-4f66-b57f-cad79cf4828b','Y',70,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203846,'Version','Version of the table definition','The Version indicates the version of this table definition.',200191,50049,'Y',20,90,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f70e7a70-cf2e-43b3-a5a4-c3996d872359','Y',80,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203847,'Uninstall',200191,50053,'Y',1,100,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','037e4eaa-fefa-449b-bf9b-b8c1f4ffb1f8','Y',90,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203848,'Release No','Internal Release Number',200191,50054,'Y',20,110,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','f5f66967-57b0-4d39-896f-e06bdab02e80','Y',100,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:55 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203849,'Processed','The document has been processed','The Processed checkbox indicates that a document has been processed.',200191,50055,'Y',1,120,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','8ef4b72f-c9ed-49ab-bccb-2023d48c7913','Y',110,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:56 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203850,'Package Status',200191,50056,'Y',22,130,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:55','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c630875b-162c-4058-b9da-cb6f82fa5ca1','Y',120,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:57 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203851,'Creator',200191,50059,'Y',60,140,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:56','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:56','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','e830521e-be76-4627-8a35-c7ac09bfd596','Y',130,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:57 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203852,'AD_Package_Imp_UU',200191,60446,'N',36,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','32204dd9-2efa-4a55-89df-4f4a505381d6','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:57 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (203853,'Package Imp. Proc.',200191,212222,'Y',10,150,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','ffd6eb2b-4af3-4954-98dc-848cb85d867f','Y',140,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:45:58 PM COT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203854,'Active','The record is active in the system','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.',200191,50057,'Y',1,160,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-13 19:45:57','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','82331802-b0f8-47b5-a860-1879b135d071','Y',150,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=30, XPosition=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203853
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=40, ColumnSpan=3,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=5, ColumnSpan=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=1, ColumnSpan=3,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=5, ColumnSpan=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, XPosition=6, ColumnSpan=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203852
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203851
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203842
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203843
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203848
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203847
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:54:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1, ColumnSpan=1,Updated=TO_TIMESTAMP('2015-08-13 19:54:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203846
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203853
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203851
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203845
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203843
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203842
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203848
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203847
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203846
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=203837
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:57:10 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:07 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:07 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=4,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=50,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203845
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=100,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 13, 2015 7:58:26 PM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110,Updated=TO_TIMESTAMP('2015-08-13 19:58:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:42:44 AM COT
|
||||||
|
UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2015-08-14 10:42:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:45:01 AM COT
|
||||||
|
UPDATE AD_Tab SET OrderByClause='AD_Package_Imp.Created DESC',Updated=TO_TIMESTAMP('2015-08-14 10:45:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:45:18 AM COT
|
||||||
|
UPDATE AD_Tab SET OrderByClause='AD_Package_Imp_Proc.Created DESC',Updated=TO_TIMESTAMP('2015-08-14 10:45:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 14, 2015 10:49:45 AM COT
|
||||||
|
UPDATE AD_Field SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2015-08-14 10:49:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:23:06 AM COT
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=30, IsUpdateable='N',Updated=TO_TIMESTAMP('2015-08-18 11:23:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50066
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:23:13 AM COT
|
||||||
|
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_TIMESTAMP('2015-08-18 11:23:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50067
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:25:05 AM COT
|
||||||
|
UPDATE AD_Column SET Name='Record ID', Description='Direct internal record ID', Help='The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.', ColumnName='Record_ID', AD_Reference_ID=28, AD_Element_ID=538, IsAlwaysUpdateable='Y', IsToolbarButton='B',Updated=TO_TIMESTAMP('2015-08-18 11:25:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50064
|
||||||
|
;
|
||||||
|
|
||||||
|
ALTER TABLE ad_package_imp_detail RENAME ad_original_id TO record_id
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:27:08 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=110,Updated=TO_TIMESTAMP('2015-08-18 11:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50045
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:27:08 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=120,Updated=TO_TIMESTAMP('2015-08-18 11:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50050
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:27:08 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:27:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50051
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=20, XPosition=4,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=30, ColumnSpan=2,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=40, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=4, ColumnSpan=1,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=6, ColumnSpan=1,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=80, XPosition=1, ColumnSpan=2,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, XPosition=4,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50057
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:04 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:29:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50056
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50055
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50054
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50053
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=50062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=50059
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=50060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=50064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=50058
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=50061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:29:38 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=50057
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=20, XPosition=4,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50021
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=30,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50023
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=40,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=50, XPosition=4,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50026
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=60,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50027
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50028
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:42 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNo=90,Updated=TO_TIMESTAMP('2015-08-18 11:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:43 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50024
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:43 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50022
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:45:43 AM COT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='N', SeqNo=0, XPosition=1,Updated=TO_TIMESTAMP('2015-08-18 11:45:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=50029
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50029
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50024
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50023
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50022
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50021
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=50020
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=50025
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=50026
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=50027
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=50028
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=50030
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 11:47:17 AM COT
|
||||||
|
UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=50031
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:24 PM COT
|
||||||
|
UPDATE AD_Tab SET IsReadOnly='N',Updated=TO_TIMESTAMP('2015-08-18 20:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:39 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203837
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:41 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203838
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:42 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203853
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:44 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203841
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:51 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203839
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:55 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203850
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:57 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203840
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:16:59 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:16:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203845
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:17:04 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:17:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203849
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:17:09 PM COT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2015-08-18 20:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203854
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 18, 2015 8:17:45 PM COT
|
||||||
|
UPDATE AD_Field SET IsUpdateable='Y', IsAlwaysUpdateable='Y',Updated=TO_TIMESTAMP('2015-08-18 20:17:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203844
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508181021_IDEMPIERE-2771.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- IDEMPIERE-2771 Improve 2pack tracing for errors
|
||||||
|
-- Aug 19, 2015 9:55:02 PM COT
|
||||||
|
INSERT INTO AD_SysConfig (AD_SysConfig_ID,AD_Client_ID,AD_Org_ID,Created,Updated,CreatedBy,UpdatedBy,IsActive,Name,Value,Description,EntityType,ConfigurationLevel,AD_SysConfig_UU) VALUES (200067,0,0,TO_TIMESTAMP('2015-08-19 21:55:02','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2015-08-19 21:55:02','YYYY-MM-DD HH24:MI:SS'),100,100,'Y','EMAIL_NOTIFY_2PACK',' ','EMail to get 2Pack Notifications','D','C','12ab33a5-4129-4d5b-9066-dbdbc20df816')
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508192155_IDEMPIERE-2771.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
-- IDEMPIERE-2778 2pack: column size for SQL statement shall be extended
|
||||||
|
-- Aug 20, 2015 3:37:36 PM CEST
|
||||||
|
UPDATE AD_Column SET FieldLength=4000,Updated=TO_TIMESTAMP('2015-08-20 15:37:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50122
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Aug 20, 2015 3:37:48 PM CEST
|
||||||
|
INSERT INTO t_alter_column values('ad_package_exp_detail','SQLStatement','VARCHAR(4000)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201508201340_IDEMPIERE-2778.sql') FROM dual
|
||||||
|
;
|
|
@ -0,0 +1,14 @@
|
||||||
|
update ad_migrationscript set name='201507141982-IDEMPIERE-1846.sql' where name='201514071982-IDEMPIERE-1846.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
update ad_migrationscript set name='201508141982-IDEMPIERE-2230.sql' where name='201514081982-IDEMPIERE-2230.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
update ad_migrationscript set name='201509280947_IDEMPIERE-1820.sql' where name='210509280947_IDEMPIERE-1820.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
update ad_system set lastmigrationscriptapplied='201509280947_IDEMPIERE-1820.sql' where lastmigrationscriptapplied='210509280947_IDEMPIERE-1820.sql'
|
||||||
|
;
|
||||||
|
SELECT register_migration_script('201507140000_FixWrongNameScripts.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
SET SQLBLANKLINES ON
|
SET SQLBLANKLINES ON
|
||||||
SET DEFINE OFF
|
SET DEFINE OFF
|
||||||
|
|
||||||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
|
-- IDEMPIERE-1846 Extend Scheduler by SchedulerSubject and SchedulerMessage
|
||||||
-- Jul 14, 2015 12:25:14 AM ICT
|
-- Jul 14, 2015 12:25:14 AM ICT
|
||||||
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (1000000,0,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (212393,0,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
||||||
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
||||||
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',688,'R_MailText_ID',10,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_DATE('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,1515,'N','N','D','N','N','N','Y','69fd9dea-4a77-4270-82db-70b78db81d7b','Y',0,'N','N')
|
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',688,'R_MailText_ID',10,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_DATE('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,1515,'N','N','D','N','N','N','Y','69fd9dea-4a77-4270-82db-70b78db81d7b','Y',0,'N','N')
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:25:25 AM ICT
|
-- Jul 14, 2015 12:25:25 AM ICT
|
||||||
UPDATE AD_Column SET FKConstraintName='RMailText_ADScheduler', FKConstraintType='N',Updated=TO_DATE('2015-07-14 00:25:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=1000000
|
UPDATE AD_Column SET FKConstraintName='RMailText_ADScheduler', FKConstraintType='N',Updated=TO_DATE('2015-07-14 00:25:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212393
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:25:25 AM ICT
|
-- Jul 14, 2015 12:25:25 AM ICT
|
||||||
|
@ -20,13 +20,13 @@ ALTER TABLE AD_Scheduler ADD R_MailText_ID NUMBER(10) DEFAULT NULL
|
||||||
ALTER TABLE AD_Scheduler ADD CONSTRAINT RMailText_ADScheduler FOREIGN KEY (R_MailText_ID) REFERENCES r_mailtext(r_mailtext_id) DEFERRABLE INITIALLY DEFERRED
|
ALTER TABLE AD_Scheduler ADD CONSTRAINT RMailText_ADScheduler FOREIGN KEY (R_MailText_ID) REFERENCES r_mailtext(r_mailtext_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
;
|
;
|
||||||
-- Jul 14, 2015 12:58:50 AM ICT
|
-- Jul 14, 2015 12:58:50 AM ICT
|
||||||
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,SortNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField) VALUES (1000000,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,SortNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField) VALUES (203924,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
||||||
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
||||||
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',589,1000000,'Y',0,160,0,'N','N','N','N',0,0,'Y',TO_DATE('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','279a9bda-15f1-4f41-b52d-7d0818c21d90','Y',150,1,1,1,'N','N','N')
|
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',589,212393,'Y',0,160,0,'N','N','N','N',0,0,'Y',TO_DATE('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','279a9bda-15f1-4f41-b52d-7d0818c21d90','Y',150,1,1,1,'N','N','N')
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:59:33 AM ICT
|
-- Jul 14, 2015 12:59:33 AM ICT
|
||||||
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=70, XPosition=4, ColumnSpan=2,Updated=TO_DATE('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1000000
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=70, XPosition=4, ColumnSpan=2,Updated=TO_DATE('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203924
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:59:33 AM ICT
|
-- Jul 14, 2015 12:59:33 AM ICT
|
||||||
|
@ -37,7 +37,7 @@ UPDATE AD_Field SET SeqNo=80,Updated=TO_DATE('2015-07-14 00:59:33','YYYY-MM-DD H
|
||||||
UPDATE AD_Field SET SeqNo=0,Updated=TO_DATE('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9434
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_DATE('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9434
|
||||||
;
|
;
|
||||||
-- Jul 14, 2015 2:07:07 AM ICT
|
-- Jul 14, 2015 2:07:07 AM ICT
|
||||||
UPDATE AD_Field SET IsUpdateable='Y',Updated=TO_DATE('2015-07-14 02:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1000000
|
UPDATE AD_Field SET IsUpdateable='Y',Updated=TO_DATE('2015-07-14 02:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203924
|
||||||
;
|
;
|
||||||
SELECT register_migration_script('201514071982-IDEMPIERE-1846.sql') FROM dual
|
SELECT register_migration_script('201507141982-IDEMPIERE-1846.sql') FROM dual
|
||||||
;
|
;
|
|
@ -1,10 +1,10 @@
|
||||||
SET SQLBLANKLINES ON
|
SET SQLBLANKLINES ON
|
||||||
SET DEFINE OFF
|
SET DEFINE OFF
|
||||||
|
|
||||||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
|
-- IDEMPIERE-2230 Info Window - remember selection during pagination
|
||||||
-- Aug 14, 2015 6:52:36 AM WITA
|
-- Aug 14, 2015 6:52:36 AM WITA
|
||||||
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Selected {0} rows',0,0,'Y',TO_DATE('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,1000000,'IWStatusSelected','D','316251b1-093c-4f33-bf37-4d5af0f000d5')
|
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Selected {0} rows',0,0,'Y',TO_DATE('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,200355,'IWStatusSelected','D','316251b1-093c-4f33-bf37-4d5af0f000d5')
|
||||||
;
|
;
|
||||||
SELECT register_migration_script('201514081982-IDEMPIERE-2230.sql') FROM dual
|
SELECT register_migration_script('201508141982-IDEMPIERE-2230.sql') FROM dual
|
||||||
;
|
;
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- Mar 16, 2014 1:47:55 PM ICT
|
||||||
|
-- IDEMPIERE-1820 node parameter tab (in workfow window) should hidden when not need
|
||||||
|
UPDATE AD_Tab SET DisplayLogic='@Action@=P|@Action@=R',Updated=TO_DATE('2015-09-28 09:48:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=577
|
||||||
|
;
|
||||||
|
SELECT register_migration_script('201509280947_IDEMPIERE-1820.sql') FROM dual
|
||||||
|
;
|
|
@ -0,0 +1,168 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2811 Each Record should have a primary key
|
||||||
|
-- Oct 8, 2015 2:03:10 PM CDT
|
||||||
|
UPDATE AD_Table SET IsChangeLog='Y',Updated=TO_DATE('2015-10-08 14:03:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=251
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:05:05 PM CDT
|
||||||
|
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,Description,PrintName,EntityType,AD_Element_UU) VALUES (202909,0,0,'Y',TO_DATE('2015-10-08 14:04:59','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-10-08 14:04:59','YYYY-MM-DD HH24:MI:SS'),100,'M_ProductPrice_ID','Product Price','Intersection between a Product and a Price List Version','Product Price','D','b731d80c-41bb-49c7-a7e7-607b0282f589')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:06:58 PM CDT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (212276,0,'Product Price','Intersection between a Product and a Price List Version',251,'M_ProductPrice_ID',22,'Y','N','N','N','N',0,'N',13,0,0,'Y',TO_DATE('2015-10-08 14:06:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-10-08 14:06:53','YYYY-MM-DD HH24:MI:SS'),100,202909,'N','N','D','N','N','N','Y','1360b74a-aa47-40a1-a882-63d7de49b337','N',0,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:07:06 PM CDT
|
||||||
|
ALTER TABLE M_ProductPrice ADD M_ProductPrice_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
--CHUCK added here
|
||||||
|
--oracle
|
||||||
|
ALTER TABLE m_productprice DROP CONSTRAINT m_productpice_key CASCADE;
|
||||||
|
|
||||||
|
-- set values for current records on seed:
|
||||||
|
update m_productprice set m_productprice_id=200000 where m_productprice_uu='ca85b76d-4013-4882-860b-078762e9f694';
|
||||||
|
update m_productprice set m_productprice_id=200001 where m_productprice_uu='a68cf750-b1b6-4e25-9789-d94cda4d2102';
|
||||||
|
update m_productprice set m_productprice_id=200002 where m_productprice_uu='db2efe29-dc4c-4eb8-ac9a-49d74849b354';
|
||||||
|
update m_productprice set m_productprice_id=200003 where m_productprice_uu='0fe45807-c302-426f-bfc8-825eb670f320';
|
||||||
|
update m_productprice set m_productprice_id=200004 where m_productprice_uu='3799d51e-78ad-4d6b-b0bf-55c13513c483';
|
||||||
|
update m_productprice set m_productprice_id=200005 where m_productprice_uu='d855d37b-761d-400f-9e3b-14338ffe1f8c';
|
||||||
|
update m_productprice set m_productprice_id=200006 where m_productprice_uu='85663b7f-8bcd-47cc-8a0d-caadacc586bf';
|
||||||
|
update m_productprice set m_productprice_id=200007 where m_productprice_uu='49ae2aa7-cc07-4277-abbb-5e6d016b1cdd';
|
||||||
|
update m_productprice set m_productprice_id=200008 where m_productprice_uu='6a1dbdcb-c320-4f4f-9382-519674d04fdf';
|
||||||
|
update m_productprice set m_productprice_id=200009 where m_productprice_uu='2c8250ff-7c09-4f4c-a22d-c0d970296eda';
|
||||||
|
update m_productprice set m_productprice_id=200010 where m_productprice_uu='6400d5a2-dca5-44f1-8b37-a2b64bb1589d';
|
||||||
|
update m_productprice set m_productprice_id=200011 where m_productprice_uu='f36fac70-79bb-419d-88d8-3877322a52df';
|
||||||
|
update m_productprice set m_productprice_id=200012 where m_productprice_uu='bac01842-6931-48c1-a3d7-afce388d57de';
|
||||||
|
update m_productprice set m_productprice_id=200013 where m_productprice_uu='d916eee5-7621-4e26-b67d-d151cccca411';
|
||||||
|
update m_productprice set m_productprice_id=200014 where m_productprice_uu='5ce04b5e-edcc-407d-bfda-58fb4d6c4312';
|
||||||
|
update m_productprice set m_productprice_id=200015 where m_productprice_uu='95876f92-39b0-417d-b1c0-4f74c45d694e';
|
||||||
|
update m_productprice set m_productprice_id=200016 where m_productprice_uu='ab7d9fab-d4c2-4549-b20a-20a67a877948';
|
||||||
|
update m_productprice set m_productprice_id=200017 where m_productprice_uu='53b69545-8ffc-4be5-b09c-2c4cc39a2fbd';
|
||||||
|
update m_productprice set m_productprice_id=200018 where m_productprice_uu='3b704ef3-9382-4e58-8300-5153ce8cceaf';
|
||||||
|
update m_productprice set m_productprice_id=200019 where m_productprice_uu='d68cfe48-8b4d-4c18-84fa-9fc089e455b6';
|
||||||
|
update m_productprice set m_productprice_id=200020 where m_productprice_uu='cf0e6cfe-e32f-4911-aa50-595699d2dda5';
|
||||||
|
update m_productprice set m_productprice_id=200021 where m_productprice_uu='dd565dcf-cbaf-48db-ad67-edc1bfa332e3';
|
||||||
|
update m_productprice set m_productprice_id=200022 where m_productprice_uu='e8337bd6-1ea4-45c1-8fa0-b361b6c182ff';
|
||||||
|
update m_productprice set m_productprice_id=200023 where m_productprice_uu='41834a2b-81d6-4792-ab49-217b3da5a618';
|
||||||
|
update m_productprice set m_productprice_id=200024 where m_productprice_uu='5dd707c4-e509-43a6-893f-9c17735bab2c';
|
||||||
|
update m_productprice set m_productprice_id=200025 where m_productprice_uu='85477327-f224-4942-906c-dffdc978284f';
|
||||||
|
update m_productprice set m_productprice_id=200026 where m_productprice_uu='4fc08721-c835-49ba-8929-88528a795df3';
|
||||||
|
update m_productprice set m_productprice_id=200027 where m_productprice_uu='b1c811a0-930a-4f43-9e48-99e29e762a4c';
|
||||||
|
update m_productprice set m_productprice_id=200028 where m_productprice_uu='a3bec380-a322-4076-a202-6739e7cda68a';
|
||||||
|
update m_productprice set m_productprice_id=200029 where m_productprice_uu='50bc2ec9-9df1-4c67-b54a-f5c54b615761';
|
||||||
|
update m_productprice set m_productprice_id=200030 where m_productprice_uu='b5e874fd-0d20-4cdf-a804-ca93e0ab15b5';
|
||||||
|
update m_productprice set m_productprice_id=200031 where m_productprice_uu='f6c1af47-dcc2-431f-9f28-f8d97407352d';
|
||||||
|
update m_productprice set m_productprice_id=200032 where m_productprice_uu='4676f1bf-b4cd-4270-b4f4-be93935ac692';
|
||||||
|
update m_productprice set m_productprice_id=200033 where m_productprice_uu='f309a3ca-45c2-411f-9d3e-cd7393563da3';
|
||||||
|
update m_productprice set m_productprice_id=200034 where m_productprice_uu='7dabe715-bb09-4aa7-8b12-eb55d9187fce';
|
||||||
|
update m_productprice set m_productprice_id=200035 where m_productprice_uu='28d2c8a6-31c7-473b-b1f6-169a293e0ed4';
|
||||||
|
update m_productprice set m_productprice_id=200036 where m_productprice_uu='f2bce1f3-eabc-4ee4-9843-81308e3166b7';
|
||||||
|
update m_productprice set m_productprice_id=200037 where m_productprice_uu='661c60d4-4682-45ea-85a7-d92f30b375fd';
|
||||||
|
update m_productprice set m_productprice_id=200038 where m_productprice_uu='b54e03bf-7dae-4e32-b36c-a54979a7ebbd';
|
||||||
|
update m_productprice set m_productprice_id=200039 where m_productprice_uu='c1d4d374-c02a-4c7d-b62c-5ac811f4da65';
|
||||||
|
update m_productprice set m_productprice_id=200040 where m_productprice_uu='459ebe02-850a-4978-97dc-7167bd984db1';
|
||||||
|
update m_productprice set m_productprice_id=200041 where m_productprice_uu='d18436c9-6ad6-4241-9003-61361b209830';
|
||||||
|
update m_productprice set m_productprice_id=200042 where m_productprice_uu='1ccd8970-0ee5-41ec-b148-32f416c91358';
|
||||||
|
update m_productprice set m_productprice_id=200043 where m_productprice_uu='1667419f-9a22-4c99-aef3-652342d1f2ba';
|
||||||
|
update m_productprice set m_productprice_id=200044 where m_productprice_uu='6eeef018-4bd9-4afc-81e0-50b904c745a1';
|
||||||
|
update m_productprice set m_productprice_id=200045 where m_productprice_uu='9ff167db-9afd-4ee3-bfde-3c2f86195f07';
|
||||||
|
update m_productprice set m_productprice_id=200046 where m_productprice_uu='6eb86169-7162-459d-b4d1-efd3c5d79f43';
|
||||||
|
update m_productprice set m_productprice_id=200047 where m_productprice_uu='02594b07-9001-4215-95ae-54aa1546013d';
|
||||||
|
update m_productprice set m_productprice_id=200048 where m_productprice_uu='db9b7dd6-cb32-4c72-958d-bfa1eb25d170';
|
||||||
|
update m_productprice set m_productprice_id=200049 where m_productprice_uu='d745376f-a9c4-4a84-85ef-c9ed29770e8f';
|
||||||
|
update m_productprice set m_productprice_id=200050 where m_productprice_uu='410aa0f2-7e6b-4b95-a59a-d8596757bba1';
|
||||||
|
update m_productprice set m_productprice_id=200051 where m_productprice_uu='5f1738cf-fe56-45ae-afdd-8118c9b99c2f';
|
||||||
|
update m_productprice set m_productprice_id=200052 where m_productprice_uu='65e29aa5-0bde-4fed-967e-e24c3aed54b5';
|
||||||
|
update m_productprice set m_productprice_id=200053 where m_productprice_uu='1064ade5-e4dc-4990-8ca1-bdcfab780c38';
|
||||||
|
update m_productprice set m_productprice_id=200054 where m_productprice_uu='c21ba71d-2af8-4ed5-8e68-88f221f760f1';
|
||||||
|
update m_productprice set m_productprice_id=200055 where m_productprice_uu='5deacdbc-75aa-412f-abf8-ee8fde7c711b';
|
||||||
|
update m_productprice set m_productprice_id=200056 where m_productprice_uu='05d61d84-8d12-40c9-bcf2-6d3a47af330b';
|
||||||
|
update m_productprice set m_productprice_id=200057 where m_productprice_uu='1d85767d-a689-4391-874a-4595db5f29e4';
|
||||||
|
update m_productprice set m_productprice_id=200058 where m_productprice_uu='5133d210-b8ba-4bc8-b32c-3d8b6fcba09e';
|
||||||
|
update m_productprice set m_productprice_id=200059 where m_productprice_uu='9c14e2e4-7466-43c7-9c1d-29c0dfbb2304';
|
||||||
|
update m_productprice set m_productprice_id=200060 where m_productprice_uu='7cf9318b-b81e-4829-9f08-75af1901169e';
|
||||||
|
update m_productprice set m_productprice_id=200061 where m_productprice_uu='471b007a-68e2-446c-9ad6-e31f34c8d499';
|
||||||
|
update m_productprice set m_productprice_id=200062 where m_productprice_uu='e0e8e5c0-9d04-4357-a551-5388b40faa9c';
|
||||||
|
update m_productprice set m_productprice_id=200063 where m_productprice_uu='3830a325-6c61-46b6-8e2f-ef34209420de';
|
||||||
|
update m_productprice set m_productprice_id=200064 where m_productprice_uu='b0f4cc83-2c67-4137-a654-5e2db60abac1';
|
||||||
|
update m_productprice set m_productprice_id=200065 where m_productprice_uu='9a8b097b-8094-443b-a190-e5316276481f';
|
||||||
|
update m_productprice set m_productprice_id=200066 where m_productprice_uu='515d300f-487d-4016-b639-4ea606b3fddf';
|
||||||
|
update m_productprice set m_productprice_id=200067 where m_productprice_uu='2d99e2be-82ca-4ac9-84ff-8b00d9d96e69';
|
||||||
|
update m_productprice set m_productprice_id=200068 where m_productprice_uu='63b54d84-8216-4b88-9d30-c4361a0dab1c';
|
||||||
|
update m_productprice set m_productprice_id=200069 where m_productprice_uu='773e544a-a274-43b2-a911-436619eb2438';
|
||||||
|
update m_productprice set m_productprice_id=200070 where m_productprice_uu='18013200-0b98-4156-94a3-9d0775dff675';
|
||||||
|
update m_productprice set m_productprice_id=200071 where m_productprice_uu='9757a398-0a80-401a-8d16-1cfe66df9274';
|
||||||
|
update m_productprice set m_productprice_id=200072 where m_productprice_uu='b443759d-1a74-433a-8224-37911bd647f1';
|
||||||
|
update m_productprice set m_productprice_id=200073 where m_productprice_uu='22bd20b3-e605-4a6b-b65f-04f8e821840e';
|
||||||
|
update m_productprice set m_productprice_id=200074 where m_productprice_uu='10af5c34-36e6-4d63-af2a-346e22496d31';
|
||||||
|
update m_productprice set m_productprice_id=200075 where m_productprice_uu='dba93922-b587-4b3b-bab2-648c1665d6fd';
|
||||||
|
update m_productprice set m_productprice_id=200076 where m_productprice_uu='50757485-d5f2-490f-b25b-a4376fcc8283';
|
||||||
|
update m_productprice set m_productprice_id=200077 where m_productprice_uu='b39ee3c8-4d2d-4bf4-a33d-1eef243dbc55';
|
||||||
|
update m_productprice set m_productprice_id=200078 where m_productprice_uu='4bc87139-1019-47b1-b1a0-269f5987b0f7';
|
||||||
|
update m_productprice set m_productprice_id=200079 where m_productprice_uu='4a6fe9f3-f915-42ba-b239-dd8a67e30c6c';
|
||||||
|
update m_productprice set m_productprice_id=200080 where m_productprice_uu='6cd4fc6d-a668-4edb-a28f-a43c93ef4009';
|
||||||
|
update m_productprice set m_productprice_id=200081 where m_productprice_uu='8d07f8a1-c668-4f60-9c26-51ca94ba5179';
|
||||||
|
update m_productprice set m_productprice_id=200082 where m_productprice_uu='0a9d69fa-7f4f-4561-a462-639a0cbed724';
|
||||||
|
update m_productprice set m_productprice_id=200083 where m_productprice_uu='b362fd8f-0e3d-4fd6-9647-6179ba9bd721';
|
||||||
|
update m_productprice set m_productprice_id=200084 where m_productprice_uu='8b41a05a-37bf-47a0-957c-23f5eb6e2e53';
|
||||||
|
update m_productprice set m_productprice_id=200085 where m_productprice_uu='ecefead2-aea3-48ff-b358-b7663304e429';
|
||||||
|
|
||||||
|
--CHUCK added here
|
||||||
|
--set the values for the keys
|
||||||
|
-- !! too slow without native sequences !! -- update m_productprice set m_productprice_id = nextIdFunc(165,'N') where m_productprice_id is null;
|
||||||
|
--165 = select ad_sequence_id from ad_sequence where name = 'M_ProductPrice' and istableID='Y'
|
||||||
|
update m_productprice set
|
||||||
|
m_productprice_id=rownum+999999
|
||||||
|
where m_productprice_id is null
|
||||||
|
;
|
||||||
|
|
||||||
|
-- for native sequences is also updated using processes_post_migration/oracle/03_update_sequences.sql
|
||||||
|
update ad_sequence set currentnext=(select max(m_productprice_id) from m_productprice) where ad_sequence_id=165
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:07:06 PM CDT
|
||||||
|
ALTER TABLE M_ProductPrice ADD CONSTRAINT M_ProductPrice_Key PRIMARY KEY (M_ProductPrice_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:14:47 PM CDT
|
||||||
|
INSERT INTO AD_TableIndex (AD_Client_ID,AD_Org_ID,AD_TableIndex_ID,AD_TableIndex_UU,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Table_ID,IsCreateConstraint,IsUnique,Processing,TableIndexDrop,IsKey) VALUES (0,0,201038,'d3ad099b-7d97-4d27-b915-45d1f455b225',TO_DATE('2015-10-08 14:14:47','YYYY-MM-DD HH24:MI:SS'),100,'Create a unique index between a Product and a Price List Version','D','Y','m_productprice_unique_idx',TO_DATE('2015-10-08 14:14:47','YYYY-MM-DD HH24:MI:SS'),100,251,'Y','Y','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:15:48 PM CDT
|
||||||
|
INSERT INTO AD_IndexColumn (AD_Client_ID,AD_Org_ID,AD_IndexColumn_ID,AD_IndexColumn_UU,Created,CreatedBy,EntityType,IsActive,Updated,UpdatedBy,AD_Column_ID,AD_TableIndex_ID,SeqNo) VALUES (0,0,201270,'66d9bca2-0d32-4766-8ef5-6c7bf2eb8802',TO_DATE('2015-10-08 14:15:43','YYYY-MM-DD HH24:MI:SS'),100,'D','Y',TO_DATE('2015-10-08 14:15:43','YYYY-MM-DD HH24:MI:SS'),100,2760,201038,10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:16:05 PM CDT
|
||||||
|
INSERT INTO AD_IndexColumn (AD_Client_ID,AD_Org_ID,AD_IndexColumn_ID,AD_IndexColumn_UU,Created,CreatedBy,EntityType,IsActive,Updated,UpdatedBy,AD_Column_ID,AD_TableIndex_ID,SeqNo) VALUES (0,0,201271,'001e971a-88e7-4230-aca3-a3d8e4c59b12',TO_DATE('2015-10-08 14:16:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y',TO_DATE('2015-10-08 14:16:05','YYYY-MM-DD HH24:MI:SS'),100,2064,201038,20)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:16:13 PM CDT
|
||||||
|
ALTER TABLE M_ProductPrice ADD CONSTRAINT m_productprice_unique_idx UNIQUE (M_PriceList_Version_ID,M_Product_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Carlos - rename old unique key index
|
||||||
|
ALTER INDEX M_PRODUCTPICE_KEY RENAME TO M_PRODUCTPRICE_UNIQUE_IDX
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:23:10 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203893,'Product Price','Intersection between a Product and a Price List Version',183,212276,'N',22,'N','N','N','N',0,0,'Y',TO_DATE('2015-10-08 14:23:05','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-10-08 14:23:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','eb261ad2-c016-4281-adc9-c16742b0c125','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:23:52 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203894,'Product Price','Intersection between a Product and a Price List Version',192,212276,'N',22,'N','N','N','N',0,0,'Y',TO_DATE('2015-10-08 14:23:47','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-10-08 14:23:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','1b98cc19-95b3-4f55-8b68-d9d4cea960ee','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:24:12 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203895,'Product Price','Intersection between a Product and a Price List Version',420,212276,'N',22,'N','N','N','N',0,0,'Y',TO_DATE('2015-10-08 14:24:11','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-10-08 14:24:11','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c4997db2-b72c-45bd-812a-1869a7c0d090','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:24:45 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203896,'Product Price','Intersection between a Product and a Price List Version',421,212276,'N',22,'N','N','N','N',0,0,'Y',TO_DATE('2015-10-08 14:24:40','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2015-10-08 14:24:40','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','be6c8292-76b4-46f4-af5e-c991463c85d8','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510160847_IDEMPIERE-2811.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,44 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2895 UX: Save changes in Detail Tab of a Master-Detail window
|
||||||
|
-- Oct 21, 2015 2:37:45 PM CEST
|
||||||
|
INSERT INTO AD_Ref_List (AD_Ref_List_ID,Name,AD_Reference_ID,Value,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Ref_List_UU) VALUES (200318,'Detail',104,'D',0,0,'Y',TO_DATE('2015-10-21 14:37:45','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2015-10-21 14:37:45','YYYY-MM-DD HH24:MI:SS'),0,'D','c08370ea-385c-4569-bc28-1b6a869f700a')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:38:16 PM CEST
|
||||||
|
UPDATE AD_Val_Rule SET Name='AD_ToolBarButton Action - Window/Report/Detail', Code='AD_Ref_List.Value IN (''W'',''R'',''D'')',Updated=TO_DATE('2015-10-22 10:25:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=200002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:45:15 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,Action,SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_DATE('2015-10-21 14:45:15','YYYY-MM-DD HH24:MI:SS'),0,'New','Y',200082,'Detail - New',TO_DATE('2015-10-21 14:45:15','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'6851393a-1f9b-4dae-8562-3d206a87ae62','D',10,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:46:04 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,Action,SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_DATE('2015-10-21 14:46:04','YYYY-MM-DD HH24:MI:SS'),0,'Delete','Y',200083,'Detail - Delete',TO_DATE('2015-10-21 14:46:04','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'dd8ab071-0a60-42bc-948b-cd0a09d90fa3','D',30,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:46:28 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,Action,SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_DATE('2015-10-21 14:46:28','YYYY-MM-DD HH24:MI:SS'),0,'Save','Y',200084,'Detail - Save',TO_DATE('2015-10-21 14:46:28','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'fb6ffe6d-3e54-43ba-8fac-d7e6145af116','D',40,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:47:21 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,Action,SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_DATE('2015-10-21 14:47:21','YYYY-MM-DD HH24:MI:SS'),0,'Process','Y',200085,'Detail - Process',TO_DATE('2015-10-21 14:47:21','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'29608027-c79c-4a28-a8cb-89749077e0cd','D',50,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:47:35 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,Action,SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_DATE('2015-10-21 14:47:34','YYYY-MM-DD HH24:MI:SS'),0,'Edit','Y',200086,'Detail - Edit',TO_DATE('2015-10-21 14:47:34','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'11b7e9ee-5f06-4595-96ca-a14321b93c38','D',20,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 11:42:03 AM CEST
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@Action@=W | @Action@=D',Updated=TO_DATE('2015-10-22 11:42:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200070
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 11:42:13 AM CEST
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@Action@=W | @Action@=D',Updated=TO_DATE('2015-10-22 11:42:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200732
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510221142_IDEMPIERE-2895.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2896 UX: Doubleclick in text fields
|
||||||
|
-- Oct 22, 2015 3:21:25 PM CEST
|
||||||
|
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,Description,Help,PrintName,EntityType,AD_Element_UU) VALUES (202920,0,0,'Y',TO_DATE('2015-10-22 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2015-10-22 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,'ToggleOnDoubleClick','Toggle on Double Click','Defines if double click in a field on grid mode switch to form view','Defines if double click in a field on grid mode switch to form view','Toggle on Double Click','D','f4bda10b-d0d4-4763-9c2a-6d57c38d8c43')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:21:43 PM CEST
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType) VALUES (212330,0,'Toggle on Double Click','Defines if double click in a field on grid mode switch to form view','Defines if double click in a field on grid mode switch to form view',200174,'ToggleOnDoubleClick','N',1,'N','N','N','N','N',0,'N',20,0,0,'Y',TO_DATE('2015-10-22 15:21:43','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2015-10-22 15:21:43','YYYY-MM-DD HH24:MI:SS'),0,202920,'Y','N','D','N','N','N','Y','82ce8855-972f-4673-bfe4-b2f74219a50b','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:21:49 PM CEST
|
||||||
|
ALTER TABLE AD_UserPreference ADD ToggleOnDoubleClick CHAR(1) DEFAULT 'N' CHECK (ToggleOnDoubleClick IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:22 PM CEST
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203913,'Toggle on Double Click','Defines if double click in a field on grid mode switch to form view','Defines if double click in a field on grid mode switch to form view',200189,212330,'Y',1,80,'N','N','N','N',0,0,'Y',TO_DATE('2015-10-22 15:22:22','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2015-10-22 15:22:22','YYYY-MM-DD HH24:MI:SS'),0,'N','Y','D','606eb6b0-a10e-4807-af1b-a2f7c8519115','Y',80,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:42 PM CEST
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=2,Updated=TO_DATE('2015-10-22 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=203913
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:42 PM CEST
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_DATE('2015-10-22 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=203800
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:42 PM CEST
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_DATE('2015-10-22 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=203798
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510221522_IDEMPIERE-2896.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,11 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- IDEMPIERE-2296 Value Preference should have precedence over Default Value of field
|
||||||
|
-- Oct 25, 2015 12:10:37 PM COT
|
||||||
|
UPDATE AD_SysConfig SET Value='623',Updated=TO_DATE('2015-10-25 12:10:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=200065
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510251210_IDEMPIERE-2296.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
update ad_field set entitytype='D' where ad_field_id in (
|
||||||
|
203480,
|
||||||
|
203482,
|
||||||
|
203483,
|
||||||
|
203484,
|
||||||
|
203486,
|
||||||
|
203485,
|
||||||
|
203487,
|
||||||
|
203488);
|
||||||
|
|
||||||
|
update ad_column set entitytype='D' where ad_column_id in (
|
||||||
|
211812,
|
||||||
|
211814,
|
||||||
|
211815,
|
||||||
|
211816,
|
||||||
|
211817,
|
||||||
|
211818);
|
||||||
|
|
||||||
|
update ad_indexcolumn set entitytype='D' where ad_indexcolumn_id in (
|
||||||
|
201254,
|
||||||
|
201255,
|
||||||
|
201269);
|
||||||
|
SELECT register_migration_script('201510251408_FixEntityTypes.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,119 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- Fill official missing UUIDs
|
||||||
|
-- Oct 25, 2015 2:21:36 PM COT
|
||||||
|
UPDATE AD_TreeNodeMM SET AD_TreeNodeMM_UU='b828af91-67ed-483b-b644-4e35aeb091d3',Updated=TO_DATE('2015-10-25 14:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tree_ID=10 AND Node_ID=200098
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='dc19c2a1-1b5d-430f-9aef-958698516135',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='f0721ad7-6b58-4fc0-adc2-ea3bef4a83e5',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='d3ab38f7-c0e6-46b7-b47e-cdb57b3c4c94',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='855ce54c-981e-4c29-b664-15fb647776db',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='668e04e0-69e8-43e0-8b73-28dbebd375df',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='9f3e51cf-cbe4-4fe9-8c80-cad5bfd71b85',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='98349a56-2d89-4a39-9d71-89895927f28c',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='dd9ddd86-8299-4299-bc28-2d8428fd826c',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='cb405831-4abb-4b65-87d3-f6d44a8139db',Updated=TO_DATE('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='e7ede7ad-eacb-4b13-9dab-3b127da04fc0' WHERE AD_Scheduler_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='45dd2bb5-6a8d-4b2d-a333-630613568103' WHERE AD_Scheduler_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='fc137429-87f4-4767-938c-f650aa608fa9' WHERE AD_Scheduler_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='19e071bf-b073-4869-9863-8bc9098bdfd2' WHERE AD_Scheduler_ID=50007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='c6c5d429-d8eb-47ec-bf47-a001224a1c75' WHERE AD_Scheduler_ID=50003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='963626fa-9ddd-44bc-9548-2e2bd12795d0' WHERE AD_Scheduler_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='33dafc90-7eac-4852-aa80-f6c7984f09ec' WHERE AD_Scheduler_ID=50004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='f84c72cc-ac1d-4944-8a2b-597393c613b3' WHERE AD_Scheduler_ID=50006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='e228864e-5dc2-4e86-bf52-ca3467eac5dd' WHERE AD_Scheduler_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='91dd46e8-133c-41a0-9efb-f2757b91f1a2' WHERE AD_HouseKeeping_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='2e1bdf83-10bd-4bed-9aee-eddadef1eada' WHERE AD_HouseKeeping_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='fd52500d-3d33-494a-8f43-7bbceb72898b' WHERE AD_HouseKeeping_ID=50007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='2ca38f3d-a0c9-43a6-8139-8cd16c240f00' WHERE AD_HouseKeeping_ID=50006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='687af443-27ea-4a1e-b459-712eaa587193' WHERE AD_HouseKeeping_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='23bbc6ff-ffac-4141-9f65-25ad32440bba' WHERE AD_HouseKeeping_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='7482a4c3-a470-44e7-9f40-0d78184cb824' WHERE AD_HouseKeeping_ID=50003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='897f58de-a83d-4dd4-9f9b-9df0f0fa22ae' WHERE AD_HouseKeeping_ID=50004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='e7e4321a-a9ee-4d9b-bd43-c3812b899872' WHERE AD_HouseKeeping_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510251422_FillMissingUUID.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,12 @@
|
||||||
|
UPDATE AD_SYSTEM
|
||||||
|
SET releaseno = '3.1',
|
||||||
|
VERSION = '2015-10-31'
|
||||||
|
WHERE ad_system_id = 0 AND ad_client_id = 0
|
||||||
|
;
|
||||||
|
|
||||||
|
COMMIT
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510310000_Version.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
update ad_migrationscript set name='201507141982-IDEMPIERE-1846.sql' where name='201514071982-IDEMPIERE-1846.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
update ad_migrationscript set name='201508141982-IDEMPIERE-2230.sql' where name='201514081982-IDEMPIERE-2230.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
update ad_migrationscript set name='201509280947_IDEMPIERE-1820.sql' where name='210509280947_IDEMPIERE-1820.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
update ad_system set lastmigrationscriptapplied='201509280947_IDEMPIERE-1820.sql' where lastmigrationscriptapplied='210509280947_IDEMPIERE-1820.sql'
|
||||||
|
;
|
||||||
|
SELECT register_migration_script('201507140000_FixWrongNameScripts.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
|
-- IDEMPIERE-1846 Extend Scheduler by SchedulerSubject and SchedulerMessage
|
||||||
-- Jul 14, 2015 12:25:14 AM ICT
|
-- Jul 14, 2015 12:25:14 AM ICT
|
||||||
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (1000000,0,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (212393,0,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
||||||
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
||||||
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',688,'R_MailText_ID',10,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,1515,'N','N','D','N','N','N','Y','69fd9dea-4a77-4270-82db-70b78db81d7b','Y',0,'N','N')
|
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',688,'R_MailText_ID',10,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-07-14 00:25:14','YYYY-MM-DD HH24:MI:SS'),100,1515,'N','N','D','N','N','N','Y','69fd9dea-4a77-4270-82db-70b78db81d7b','Y',0,'N','N')
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:25:25 AM ICT
|
-- Jul 14, 2015 12:25:25 AM ICT
|
||||||
UPDATE AD_Column SET FKConstraintName='RMailText_ADScheduler', FKConstraintType='N',Updated=TO_TIMESTAMP('2015-07-14 00:25:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=1000000
|
UPDATE AD_Column SET FKConstraintName='RMailText_ADScheduler', FKConstraintType='N',Updated=TO_TIMESTAMP('2015-07-14 00:25:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=212393
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:25:25 AM ICT
|
-- Jul 14, 2015 12:25:25 AM ICT
|
||||||
|
@ -17,13 +17,13 @@ ALTER TABLE AD_Scheduler ADD COLUMN R_MailText_ID NUMERIC(10) DEFAULT NULL
|
||||||
ALTER TABLE AD_Scheduler ADD CONSTRAINT RMailText_ADScheduler FOREIGN KEY (R_MailText_ID) REFERENCES r_mailtext(r_mailtext_id) DEFERRABLE INITIALLY DEFERRED
|
ALTER TABLE AD_Scheduler ADD CONSTRAINT RMailText_ADScheduler FOREIGN KEY (R_MailText_ID) REFERENCES r_mailtext(r_mailtext_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
;
|
;
|
||||||
-- Jul 14, 2015 12:58:50 AM ICT
|
-- Jul 14, 2015 12:58:50 AM ICT
|
||||||
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,SortNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField) VALUES (1000000,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,SortNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan,NumLines,IsQuickEntry,IsDefaultFocus,IsAdvancedField) VALUES (203924,'Mail Template','Text templates for mailings','The Mail Template indicates the mail template for return messages. Mail text can include variables. The priority of parsing is User/Contact, Business Partner and then the underlying business object (like Request, Dunning, Workflow object).<br>
|
||||||
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
So, @Name@ would resolve into the User name (if user is defined defined), then Business Partner name (if business partner is defined) and then the Name of the business object if it has a Name.<br>
|
||||||
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',589,1000000,'Y',0,160,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','279a9bda-15f1-4f41-b52d-7d0818c21d90','Y',150,1,1,1,'N','N','N')
|
For Multi-Lingual systems, the template is translated based on the Business Partner''s language selection.',589,212393,'Y',0,160,0,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-07-14 00:58:50','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','279a9bda-15f1-4f41-b52d-7d0818c21d90','Y',150,1,1,1,'N','N','N')
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:59:33 AM ICT
|
-- Jul 14, 2015 12:59:33 AM ICT
|
||||||
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=70, XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1000000
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=70, XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203924
|
||||||
;
|
;
|
||||||
|
|
||||||
-- Jul 14, 2015 12:59:33 AM ICT
|
-- Jul 14, 2015 12:59:33 AM ICT
|
||||||
|
@ -34,7 +34,7 @@ UPDATE AD_Field SET SeqNo=80,Updated=TO_TIMESTAMP('2015-07-14 00:59:33','YYYY-MM
|
||||||
UPDATE AD_Field SET SeqNo=0,Updated=TO_TIMESTAMP('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9434
|
UPDATE AD_Field SET SeqNo=0,Updated=TO_TIMESTAMP('2015-07-14 00:59:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=9434
|
||||||
;
|
;
|
||||||
-- Jul 14, 2015 2:07:07 AM ICT
|
-- Jul 14, 2015 2:07:07 AM ICT
|
||||||
UPDATE AD_Field SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2015-07-14 02:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=1000000
|
UPDATE AD_Field SET IsUpdateable='Y',Updated=TO_TIMESTAMP('2015-07-14 02:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=203924
|
||||||
;
|
;
|
||||||
SELECT register_migration_script('201514071982-IDEMPIERE-1846.sql') FROM dual
|
SELECT register_migration_script('201507141982-IDEMPIERE-1846.sql') FROM dual
|
||||||
;
|
;
|
|
@ -1,7 +1,7 @@
|
||||||
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
|
-- IDEMPIERE-2230 Info Window - remember selection during pagination
|
||||||
-- Aug 14, 2015 6:52:36 AM WITA
|
-- Aug 14, 2015 6:52:36 AM WITA
|
||||||
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Selected {0} rows',0,0,'Y',TO_TIMESTAMP('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,1000000,'IWStatusSelected','D','316251b1-093c-4f33-bf37-4d5af0f000d5')
|
INSERT INTO AD_Message (MsgType,MsgText,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Message_ID,Value,EntityType,AD_Message_UU) VALUES ('I','Selected {0} rows',0,0,'Y',TO_TIMESTAMP('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-08-14 06:52:36','YYYY-MM-DD HH24:MI:SS'),100,200355,'IWStatusSelected','D','316251b1-093c-4f33-bf37-4d5af0f000d5')
|
||||||
;
|
;
|
||||||
SELECT register_migration_script('201514081982-IDEMPIERE-2230.sql') FROM dual
|
SELECT register_migration_script('201508141982-IDEMPIERE-2230.sql') FROM dual
|
||||||
;
|
;
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
-- Mar 16, 2014 1:47:55 PM ICT
|
||||||
|
-- IDEMPIERE-1820 node parameter tab (in workfow window) should hidden when not need
|
||||||
|
UPDATE AD_Tab SET DisplayLogic='@Action@=P|@Action@=R',Updated=TO_TIMESTAMP('2015-09-28 09:48:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=577
|
||||||
|
;
|
||||||
|
SELECT register_migration_script('201509280947_IDEMPIERE-1820.sql') FROM dual
|
||||||
|
;
|
|
@ -0,0 +1,169 @@
|
||||||
|
-- IDEMPIERE-2811 Each Record should have a primary key
|
||||||
|
-- Oct 8, 2015 2:03:10 PM CDT
|
||||||
|
UPDATE AD_Table SET IsChangeLog='Y',Updated=TO_TIMESTAMP('2015-10-08 14:03:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=251
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:05:05 PM CDT
|
||||||
|
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,Description,PrintName,EntityType,AD_Element_UU) VALUES (202909,0,0,'Y',TO_TIMESTAMP('2015-10-08 14:04:59','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-10-08 14:04:59','YYYY-MM-DD HH24:MI:SS'),100,'M_ProductPrice_ID','Product Price','Intersection between a Product and a Price List Version','Product Price','D','b731d80c-41bb-49c7-a7e7-607b0282f589')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:06:58 PM CDT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure) VALUES (212276,0,'Product Price','Intersection between a Product and a Price List Version',251,'M_ProductPrice_ID',22,'Y','N','N','N','N',0,'N',13,0,0,'Y',TO_TIMESTAMP('2015-10-08 14:06:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-10-08 14:06:53','YYYY-MM-DD HH24:MI:SS'),100,202909,'N','N','D','N','N','N','Y','1360b74a-aa47-40a1-a882-63d7de49b337','N',0,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:07:06 PM CDT
|
||||||
|
ALTER TABLE M_ProductPrice ADD COLUMN M_ProductPrice_ID NUMERIC(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
--Chuck added here
|
||||||
|
--drop current primary key
|
||||||
|
alter table m_productprice drop constraint m_productprice_pkey;
|
||||||
|
|
||||||
|
-- set values for current records on seed:
|
||||||
|
update m_productprice set m_productprice_id=200000 where m_productprice_uu='ca85b76d-4013-4882-860b-078762e9f694';
|
||||||
|
update m_productprice set m_productprice_id=200001 where m_productprice_uu='a68cf750-b1b6-4e25-9789-d94cda4d2102';
|
||||||
|
update m_productprice set m_productprice_id=200002 where m_productprice_uu='db2efe29-dc4c-4eb8-ac9a-49d74849b354';
|
||||||
|
update m_productprice set m_productprice_id=200003 where m_productprice_uu='0fe45807-c302-426f-bfc8-825eb670f320';
|
||||||
|
update m_productprice set m_productprice_id=200004 where m_productprice_uu='3799d51e-78ad-4d6b-b0bf-55c13513c483';
|
||||||
|
update m_productprice set m_productprice_id=200005 where m_productprice_uu='d855d37b-761d-400f-9e3b-14338ffe1f8c';
|
||||||
|
update m_productprice set m_productprice_id=200006 where m_productprice_uu='85663b7f-8bcd-47cc-8a0d-caadacc586bf';
|
||||||
|
update m_productprice set m_productprice_id=200007 where m_productprice_uu='49ae2aa7-cc07-4277-abbb-5e6d016b1cdd';
|
||||||
|
update m_productprice set m_productprice_id=200008 where m_productprice_uu='6a1dbdcb-c320-4f4f-9382-519674d04fdf';
|
||||||
|
update m_productprice set m_productprice_id=200009 where m_productprice_uu='2c8250ff-7c09-4f4c-a22d-c0d970296eda';
|
||||||
|
update m_productprice set m_productprice_id=200010 where m_productprice_uu='6400d5a2-dca5-44f1-8b37-a2b64bb1589d';
|
||||||
|
update m_productprice set m_productprice_id=200011 where m_productprice_uu='f36fac70-79bb-419d-88d8-3877322a52df';
|
||||||
|
update m_productprice set m_productprice_id=200012 where m_productprice_uu='bac01842-6931-48c1-a3d7-afce388d57de';
|
||||||
|
update m_productprice set m_productprice_id=200013 where m_productprice_uu='d916eee5-7621-4e26-b67d-d151cccca411';
|
||||||
|
update m_productprice set m_productprice_id=200014 where m_productprice_uu='5ce04b5e-edcc-407d-bfda-58fb4d6c4312';
|
||||||
|
update m_productprice set m_productprice_id=200015 where m_productprice_uu='95876f92-39b0-417d-b1c0-4f74c45d694e';
|
||||||
|
update m_productprice set m_productprice_id=200016 where m_productprice_uu='ab7d9fab-d4c2-4549-b20a-20a67a877948';
|
||||||
|
update m_productprice set m_productprice_id=200017 where m_productprice_uu='53b69545-8ffc-4be5-b09c-2c4cc39a2fbd';
|
||||||
|
update m_productprice set m_productprice_id=200018 where m_productprice_uu='3b704ef3-9382-4e58-8300-5153ce8cceaf';
|
||||||
|
update m_productprice set m_productprice_id=200019 where m_productprice_uu='d68cfe48-8b4d-4c18-84fa-9fc089e455b6';
|
||||||
|
update m_productprice set m_productprice_id=200020 where m_productprice_uu='cf0e6cfe-e32f-4911-aa50-595699d2dda5';
|
||||||
|
update m_productprice set m_productprice_id=200021 where m_productprice_uu='dd565dcf-cbaf-48db-ad67-edc1bfa332e3';
|
||||||
|
update m_productprice set m_productprice_id=200022 where m_productprice_uu='e8337bd6-1ea4-45c1-8fa0-b361b6c182ff';
|
||||||
|
update m_productprice set m_productprice_id=200023 where m_productprice_uu='41834a2b-81d6-4792-ab49-217b3da5a618';
|
||||||
|
update m_productprice set m_productprice_id=200024 where m_productprice_uu='5dd707c4-e509-43a6-893f-9c17735bab2c';
|
||||||
|
update m_productprice set m_productprice_id=200025 where m_productprice_uu='85477327-f224-4942-906c-dffdc978284f';
|
||||||
|
update m_productprice set m_productprice_id=200026 where m_productprice_uu='4fc08721-c835-49ba-8929-88528a795df3';
|
||||||
|
update m_productprice set m_productprice_id=200027 where m_productprice_uu='b1c811a0-930a-4f43-9e48-99e29e762a4c';
|
||||||
|
update m_productprice set m_productprice_id=200028 where m_productprice_uu='a3bec380-a322-4076-a202-6739e7cda68a';
|
||||||
|
update m_productprice set m_productprice_id=200029 where m_productprice_uu='50bc2ec9-9df1-4c67-b54a-f5c54b615761';
|
||||||
|
update m_productprice set m_productprice_id=200030 where m_productprice_uu='b5e874fd-0d20-4cdf-a804-ca93e0ab15b5';
|
||||||
|
update m_productprice set m_productprice_id=200031 where m_productprice_uu='f6c1af47-dcc2-431f-9f28-f8d97407352d';
|
||||||
|
update m_productprice set m_productprice_id=200032 where m_productprice_uu='4676f1bf-b4cd-4270-b4f4-be93935ac692';
|
||||||
|
update m_productprice set m_productprice_id=200033 where m_productprice_uu='f309a3ca-45c2-411f-9d3e-cd7393563da3';
|
||||||
|
update m_productprice set m_productprice_id=200034 where m_productprice_uu='7dabe715-bb09-4aa7-8b12-eb55d9187fce';
|
||||||
|
update m_productprice set m_productprice_id=200035 where m_productprice_uu='28d2c8a6-31c7-473b-b1f6-169a293e0ed4';
|
||||||
|
update m_productprice set m_productprice_id=200036 where m_productprice_uu='f2bce1f3-eabc-4ee4-9843-81308e3166b7';
|
||||||
|
update m_productprice set m_productprice_id=200037 where m_productprice_uu='661c60d4-4682-45ea-85a7-d92f30b375fd';
|
||||||
|
update m_productprice set m_productprice_id=200038 where m_productprice_uu='b54e03bf-7dae-4e32-b36c-a54979a7ebbd';
|
||||||
|
update m_productprice set m_productprice_id=200039 where m_productprice_uu='c1d4d374-c02a-4c7d-b62c-5ac811f4da65';
|
||||||
|
update m_productprice set m_productprice_id=200040 where m_productprice_uu='459ebe02-850a-4978-97dc-7167bd984db1';
|
||||||
|
update m_productprice set m_productprice_id=200041 where m_productprice_uu='d18436c9-6ad6-4241-9003-61361b209830';
|
||||||
|
update m_productprice set m_productprice_id=200042 where m_productprice_uu='1ccd8970-0ee5-41ec-b148-32f416c91358';
|
||||||
|
update m_productprice set m_productprice_id=200043 where m_productprice_uu='1667419f-9a22-4c99-aef3-652342d1f2ba';
|
||||||
|
update m_productprice set m_productprice_id=200044 where m_productprice_uu='6eeef018-4bd9-4afc-81e0-50b904c745a1';
|
||||||
|
update m_productprice set m_productprice_id=200045 where m_productprice_uu='9ff167db-9afd-4ee3-bfde-3c2f86195f07';
|
||||||
|
update m_productprice set m_productprice_id=200046 where m_productprice_uu='6eb86169-7162-459d-b4d1-efd3c5d79f43';
|
||||||
|
update m_productprice set m_productprice_id=200047 where m_productprice_uu='02594b07-9001-4215-95ae-54aa1546013d';
|
||||||
|
update m_productprice set m_productprice_id=200048 where m_productprice_uu='db9b7dd6-cb32-4c72-958d-bfa1eb25d170';
|
||||||
|
update m_productprice set m_productprice_id=200049 where m_productprice_uu='d745376f-a9c4-4a84-85ef-c9ed29770e8f';
|
||||||
|
update m_productprice set m_productprice_id=200050 where m_productprice_uu='410aa0f2-7e6b-4b95-a59a-d8596757bba1';
|
||||||
|
update m_productprice set m_productprice_id=200051 where m_productprice_uu='5f1738cf-fe56-45ae-afdd-8118c9b99c2f';
|
||||||
|
update m_productprice set m_productprice_id=200052 where m_productprice_uu='65e29aa5-0bde-4fed-967e-e24c3aed54b5';
|
||||||
|
update m_productprice set m_productprice_id=200053 where m_productprice_uu='1064ade5-e4dc-4990-8ca1-bdcfab780c38';
|
||||||
|
update m_productprice set m_productprice_id=200054 where m_productprice_uu='c21ba71d-2af8-4ed5-8e68-88f221f760f1';
|
||||||
|
update m_productprice set m_productprice_id=200055 where m_productprice_uu='5deacdbc-75aa-412f-abf8-ee8fde7c711b';
|
||||||
|
update m_productprice set m_productprice_id=200056 where m_productprice_uu='05d61d84-8d12-40c9-bcf2-6d3a47af330b';
|
||||||
|
update m_productprice set m_productprice_id=200057 where m_productprice_uu='1d85767d-a689-4391-874a-4595db5f29e4';
|
||||||
|
update m_productprice set m_productprice_id=200058 where m_productprice_uu='5133d210-b8ba-4bc8-b32c-3d8b6fcba09e';
|
||||||
|
update m_productprice set m_productprice_id=200059 where m_productprice_uu='9c14e2e4-7466-43c7-9c1d-29c0dfbb2304';
|
||||||
|
update m_productprice set m_productprice_id=200060 where m_productprice_uu='7cf9318b-b81e-4829-9f08-75af1901169e';
|
||||||
|
update m_productprice set m_productprice_id=200061 where m_productprice_uu='471b007a-68e2-446c-9ad6-e31f34c8d499';
|
||||||
|
update m_productprice set m_productprice_id=200062 where m_productprice_uu='e0e8e5c0-9d04-4357-a551-5388b40faa9c';
|
||||||
|
update m_productprice set m_productprice_id=200063 where m_productprice_uu='3830a325-6c61-46b6-8e2f-ef34209420de';
|
||||||
|
update m_productprice set m_productprice_id=200064 where m_productprice_uu='b0f4cc83-2c67-4137-a654-5e2db60abac1';
|
||||||
|
update m_productprice set m_productprice_id=200065 where m_productprice_uu='9a8b097b-8094-443b-a190-e5316276481f';
|
||||||
|
update m_productprice set m_productprice_id=200066 where m_productprice_uu='515d300f-487d-4016-b639-4ea606b3fddf';
|
||||||
|
update m_productprice set m_productprice_id=200067 where m_productprice_uu='2d99e2be-82ca-4ac9-84ff-8b00d9d96e69';
|
||||||
|
update m_productprice set m_productprice_id=200068 where m_productprice_uu='63b54d84-8216-4b88-9d30-c4361a0dab1c';
|
||||||
|
update m_productprice set m_productprice_id=200069 where m_productprice_uu='773e544a-a274-43b2-a911-436619eb2438';
|
||||||
|
update m_productprice set m_productprice_id=200070 where m_productprice_uu='18013200-0b98-4156-94a3-9d0775dff675';
|
||||||
|
update m_productprice set m_productprice_id=200071 where m_productprice_uu='9757a398-0a80-401a-8d16-1cfe66df9274';
|
||||||
|
update m_productprice set m_productprice_id=200072 where m_productprice_uu='b443759d-1a74-433a-8224-37911bd647f1';
|
||||||
|
update m_productprice set m_productprice_id=200073 where m_productprice_uu='22bd20b3-e605-4a6b-b65f-04f8e821840e';
|
||||||
|
update m_productprice set m_productprice_id=200074 where m_productprice_uu='10af5c34-36e6-4d63-af2a-346e22496d31';
|
||||||
|
update m_productprice set m_productprice_id=200075 where m_productprice_uu='dba93922-b587-4b3b-bab2-648c1665d6fd';
|
||||||
|
update m_productprice set m_productprice_id=200076 where m_productprice_uu='50757485-d5f2-490f-b25b-a4376fcc8283';
|
||||||
|
update m_productprice set m_productprice_id=200077 where m_productprice_uu='b39ee3c8-4d2d-4bf4-a33d-1eef243dbc55';
|
||||||
|
update m_productprice set m_productprice_id=200078 where m_productprice_uu='4bc87139-1019-47b1-b1a0-269f5987b0f7';
|
||||||
|
update m_productprice set m_productprice_id=200079 where m_productprice_uu='4a6fe9f3-f915-42ba-b239-dd8a67e30c6c';
|
||||||
|
update m_productprice set m_productprice_id=200080 where m_productprice_uu='6cd4fc6d-a668-4edb-a28f-a43c93ef4009';
|
||||||
|
update m_productprice set m_productprice_id=200081 where m_productprice_uu='8d07f8a1-c668-4f60-9c26-51ca94ba5179';
|
||||||
|
update m_productprice set m_productprice_id=200082 where m_productprice_uu='0a9d69fa-7f4f-4561-a462-639a0cbed724';
|
||||||
|
update m_productprice set m_productprice_id=200083 where m_productprice_uu='b362fd8f-0e3d-4fd6-9647-6179ba9bd721';
|
||||||
|
update m_productprice set m_productprice_id=200084 where m_productprice_uu='8b41a05a-37bf-47a0-957c-23f5eb6e2e53';
|
||||||
|
update m_productprice set m_productprice_id=200085 where m_productprice_uu='ecefead2-aea3-48ff-b358-b7663304e429';
|
||||||
|
|
||||||
|
--Chuck added here
|
||||||
|
--set the values for the keys
|
||||||
|
-- !! too slow without native sequences !! -- update m_productprice set m_productprice_id = nextIdFunc(165,'N') where m_productprice_id is null;
|
||||||
|
--165 = select ad_sequence_id from ad_sequence where name = 'M_ProductPrice' and istableID='Y'
|
||||||
|
update m_productprice
|
||||||
|
set m_productprice_id=rownum
|
||||||
|
from (
|
||||||
|
SELECT m_pricelist_version_id, m_product_id
|
||||||
|
, 999999+ROW_NUMBER() OVER (ORDER BY m_pricelist_version_id, m_product_id) AS rownum
|
||||||
|
FROM
|
||||||
|
m_productprice
|
||||||
|
where m_productprice_id is null
|
||||||
|
) as numbered
|
||||||
|
WHERE numbered.m_pricelist_version_id=m_productprice.m_pricelist_version_id
|
||||||
|
and numbered.m_product_id=m_productprice.m_product_id
|
||||||
|
;
|
||||||
|
|
||||||
|
-- for native sequences is also updated using processes_post_migration/postgresql/03_update_sequences.sql
|
||||||
|
update ad_sequence set currentnext=(select max(m_productprice_id) from m_productprice) where ad_sequence_id=165
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:07:06 PM CDT
|
||||||
|
ALTER TABLE M_ProductPrice ADD CONSTRAINT M_ProductPrice_Key PRIMARY KEY (M_ProductPrice_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:14:47 PM CDT
|
||||||
|
INSERT INTO AD_TableIndex (AD_Client_ID,AD_Org_ID,AD_TableIndex_ID,AD_TableIndex_UU,Created,CreatedBy,Description,EntityType,IsActive,Name,Updated,UpdatedBy,AD_Table_ID,IsCreateConstraint,IsUnique,Processing,TableIndexDrop,IsKey) VALUES (0,0,201038,'d3ad099b-7d97-4d27-b915-45d1f455b225',TO_TIMESTAMP('2015-10-08 14:14:47','YYYY-MM-DD HH24:MI:SS'),100,'Create a unique index between a Product and a Price List Version','D','Y','m_productprice_unique_idx',TO_TIMESTAMP('2015-10-08 14:14:47','YYYY-MM-DD HH24:MI:SS'),100,251,'Y','Y','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:15:48 PM CDT
|
||||||
|
INSERT INTO AD_IndexColumn (AD_Client_ID,AD_Org_ID,AD_IndexColumn_ID,AD_IndexColumn_UU,Created,CreatedBy,EntityType,IsActive,Updated,UpdatedBy,AD_Column_ID,AD_TableIndex_ID,SeqNo) VALUES (0,0,201270,'66d9bca2-0d32-4766-8ef5-6c7bf2eb8802',TO_TIMESTAMP('2015-10-08 14:15:43','YYYY-MM-DD HH24:MI:SS'),100,'D','Y',TO_TIMESTAMP('2015-10-08 14:15:43','YYYY-MM-DD HH24:MI:SS'),100,2760,201038,10)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:16:05 PM CDT
|
||||||
|
INSERT INTO AD_IndexColumn (AD_Client_ID,AD_Org_ID,AD_IndexColumn_ID,AD_IndexColumn_UU,Created,CreatedBy,EntityType,IsActive,Updated,UpdatedBy,AD_Column_ID,AD_TableIndex_ID,SeqNo) VALUES (0,0,201271,'001e971a-88e7-4230-aca3-a3d8e4c59b12',TO_TIMESTAMP('2015-10-08 14:16:05','YYYY-MM-DD HH24:MI:SS'),100,'D','Y',TO_TIMESTAMP('2015-10-08 14:16:05','YYYY-MM-DD HH24:MI:SS'),100,2064,201038,20)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:16:13 PM CDT
|
||||||
|
ALTER TABLE M_ProductPrice ADD CONSTRAINT m_productprice_unique_idx UNIQUE (M_PriceList_Version_ID,M_Product_ID)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:23:10 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203893,'Product Price','Intersection between a Product and a Price List Version',183,212276,'N',22,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-10-08 14:23:05','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-10-08 14:23:05','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','eb261ad2-c016-4281-adc9-c16742b0c125','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:23:52 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203894,'Product Price','Intersection between a Product and a Price List Version',192,212276,'N',22,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-10-08 14:23:47','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-10-08 14:23:47','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','1b98cc19-95b3-4f55-8b68-d9d4cea960ee','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:24:12 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203895,'Product Price','Intersection between a Product and a Price List Version',420,212276,'N',22,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-10-08 14:24:11','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-10-08 14:24:11','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c4997db2-b72c-45bd-812a-1869a7c0d090','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 8, 2015 2:24:45 PM CDT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,ColumnSpan) VALUES (203896,'Product Price','Intersection between a Product and a Price List Version',421,212276,'N',22,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-10-08 14:24:40','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2015-10-08 14:24:40','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','be6c8292-76b4-46f4-af5e-c991463c85d8','N',2)
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510160847_IDEMPIERE-2811.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,41 @@
|
||||||
|
-- IDEMPIERE-2895 UX: Save changes in Detail Tab of a Master-Detail window
|
||||||
|
-- Oct 21, 2015 2:37:45 PM CEST
|
||||||
|
INSERT INTO AD_Ref_List (AD_Ref_List_ID,Name,AD_Reference_ID,Value,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,AD_Ref_List_UU) VALUES (200318,'Detail',104,'D',0,0,'Y',TO_TIMESTAMP('2015-10-21 14:37:45','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2015-10-21 14:37:45','YYYY-MM-DD HH24:MI:SS'),0,'D','c08370ea-385c-4569-bc28-1b6a869f700a')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:38:16 PM CEST
|
||||||
|
UPDATE AD_Val_Rule SET Name='AD_ToolBarButton Action - Window/Report/Detail', Code='AD_Ref_List.Value IN (''W'',''R'',''D'')',Updated=TO_TIMESTAMP('2015-10-22 10:25:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Val_Rule_ID=200002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:45:15 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,"action",SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_TIMESTAMP('2015-10-21 14:45:15','YYYY-MM-DD HH24:MI:SS'),0,'New','Y',200082,'Detail - New',TO_TIMESTAMP('2015-10-21 14:45:15','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'6851393a-1f9b-4dae-8562-3d206a87ae62','D',10,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:46:04 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,"action",SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_TIMESTAMP('2015-10-21 14:46:04','YYYY-MM-DD HH24:MI:SS'),0,'Delete','Y',200083,'Detail - Delete',TO_TIMESTAMP('2015-10-21 14:46:04','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'dd8ab071-0a60-42bc-948b-cd0a09d90fa3','D',30,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:46:28 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,"action",SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_TIMESTAMP('2015-10-21 14:46:28','YYYY-MM-DD HH24:MI:SS'),0,'Save','Y',200084,'Detail - Save',TO_TIMESTAMP('2015-10-21 14:46:28','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'fb6ffe6d-3e54-43ba-8fac-d7e6145af116','D',40,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:47:21 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,"action",SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_TIMESTAMP('2015-10-21 14:47:21','YYYY-MM-DD HH24:MI:SS'),0,'Process','Y',200085,'Detail - Process',TO_TIMESTAMP('2015-10-21 14:47:21','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'29608027-c79c-4a28-a8cb-89749077e0cd','D',50,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 21, 2015 2:47:35 PM CEST
|
||||||
|
INSERT INTO AD_ToolBarButton (AD_Client_ID,AD_Org_ID,Created,CreatedBy,ComponentName,IsActive,AD_ToolBarButton_ID,Name,Updated,UpdatedBy,IsCustomization,KeyStroke_KeyCode,KeyStroke_Modifiers,AD_ToolBarButton_UU,"action",SeqNo,IsAdvancedButton,IsAddSeparator) VALUES (0,0,TO_TIMESTAMP('2015-10-21 14:47:34','YYYY-MM-DD HH24:MI:SS'),0,'Edit','Y',200086,'Detail - Edit',TO_TIMESTAMP('2015-10-21 14:47:34','YYYY-MM-DD HH24:MI:SS'),0,'N',0,0,'11b7e9ee-5f06-4595-96ca-a14321b93c38','D',20,'N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 11:42:03 AM CEST
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@Action@=W | @Action@=D',Updated=TO_TIMESTAMP('2015-10-22 11:42:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200070
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 11:42:13 AM CEST
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@Action@=W | @Action@=D',Updated=TO_TIMESTAMP('2015-10-22 11:42:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200732
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510221142_IDEMPIERE-2895.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,32 @@
|
||||||
|
-- IDEMPIERE-2896 UX: Doubleclick in text fields
|
||||||
|
-- Oct 22, 2015 3:21:25 PM CEST
|
||||||
|
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,Description,Help,PrintName,EntityType,AD_Element_UU) VALUES (202920,0,0,'Y',TO_TIMESTAMP('2015-10-22 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2015-10-22 15:21:25','YYYY-MM-DD HH24:MI:SS'),0,'ToggleOnDoubleClick','Toggle on Double Click','Defines if double click in a field on grid mode switch to form view','Defines if double click in a field on grid mode switch to form view','Toggle on Double Click','D','f4bda10b-d0d4-4763-9c2a-6d57c38d8c43')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:21:43 PM CEST
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,DefaultValue,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType) VALUES (212330,0,'Toggle on Double Click','Defines if double click in a field on grid mode switch to form view','Defines if double click in a field on grid mode switch to form view',200174,'ToggleOnDoubleClick','N',1,'N','N','N','N','N',0,'N',20,0,0,'Y',TO_TIMESTAMP('2015-10-22 15:21:43','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2015-10-22 15:21:43','YYYY-MM-DD HH24:MI:SS'),0,202920,'Y','N','D','N','N','N','Y','82ce8855-972f-4673-bfe4-b2f74219a50b','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:21:49 PM CEST
|
||||||
|
ALTER TABLE AD_UserPreference ADD COLUMN ToggleOnDoubleClick CHAR(1) DEFAULT 'N' CHECK (ToggleOnDoubleClick IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:22 PM CEST
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (203913,'Toggle on Double Click','Defines if double click in a field on grid mode switch to form view','Defines if double click in a field on grid mode switch to form view',200189,212330,'Y',1,80,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2015-10-22 15:22:22','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2015-10-22 15:22:22','YYYY-MM-DD HH24:MI:SS'),0,'N','Y','D','606eb6b0-a10e-4807-af1b-a2f7c8519115','Y',80,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:42 PM CEST
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, XPosition=2,Updated=TO_TIMESTAMP('2015-10-22 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=203913
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:42 PM CEST
|
||||||
|
UPDATE AD_Field SET SeqNo=70,Updated=TO_TIMESTAMP('2015-10-22 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=203800
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 22, 2015 3:22:42 PM CEST
|
||||||
|
UPDATE AD_Field SET SeqNo=80,Updated=TO_TIMESTAMP('2015-10-22 15:22:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=203798
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510221522_IDEMPIERE-2896.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
-- IDEMPIERE-2296 Value Preference should have precedence over Default Value of field
|
||||||
|
-- Oct 25, 2015 12:10:37 PM COT
|
||||||
|
UPDATE AD_SysConfig SET Value='623',Updated=TO_TIMESTAMP('2015-10-25 12:10:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_SysConfig_ID=200065
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510251210_IDEMPIERE-2296.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
update ad_field set entitytype='D' where ad_field_id in (
|
||||||
|
203480,
|
||||||
|
203482,
|
||||||
|
203483,
|
||||||
|
203484,
|
||||||
|
203486,
|
||||||
|
203485,
|
||||||
|
203487,
|
||||||
|
203488);
|
||||||
|
|
||||||
|
update ad_column set entitytype='D' where ad_column_id in (
|
||||||
|
211812,
|
||||||
|
211814,
|
||||||
|
211815,
|
||||||
|
211816,
|
||||||
|
211817,
|
||||||
|
211818);
|
||||||
|
|
||||||
|
update ad_indexcolumn set entitytype='D' where ad_indexcolumn_id in (
|
||||||
|
201254,
|
||||||
|
201255,
|
||||||
|
201269);
|
||||||
|
SELECT register_migration_script('201510251408_FixEntityTypes.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,116 @@
|
||||||
|
-- Fill official missing UUIDs
|
||||||
|
-- Oct 25, 2015 2:21:36 PM COT
|
||||||
|
UPDATE AD_TreeNodeMM SET AD_TreeNodeMM_UU='b828af91-67ed-483b-b644-4e35aeb091d3',Updated=TO_TIMESTAMP('2015-10-25 14:21:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tree_ID=10 AND Node_ID=200098
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='dc19c2a1-1b5d-430f-9aef-958698516135',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='f0721ad7-6b58-4fc0-adc2-ea3bef4a83e5',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='d3ab38f7-c0e6-46b7-b47e-cdb57b3c4c94',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='855ce54c-981e-4c29-b664-15fb647776db',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='668e04e0-69e8-43e0-8b73-28dbebd375df',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='9f3e51cf-cbe4-4fe9-8c80-cad5bfd71b85',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='98349a56-2d89-4a39-9d71-89895927f28c',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='dd9ddd86-8299-4299-bc28-2d8428fd826c',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:21:52 PM COT
|
||||||
|
UPDATE AD_Scheduler_Para SET AD_Scheduler_Para_UU='cb405831-4abb-4b65-87d3-f6d44a8139db',Updated=TO_TIMESTAMP('2015-10-25 14:21:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=53257 AND AD_Scheduler_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='e7ede7ad-eacb-4b13-9dab-3b127da04fc0' WHERE AD_Scheduler_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='45dd2bb5-6a8d-4b2d-a333-630613568103' WHERE AD_Scheduler_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='fc137429-87f4-4767-938c-f650aa608fa9' WHERE AD_Scheduler_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='19e071bf-b073-4869-9863-8bc9098bdfd2' WHERE AD_Scheduler_ID=50007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='c6c5d429-d8eb-47ec-bf47-a001224a1c75' WHERE AD_Scheduler_ID=50003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='963626fa-9ddd-44bc-9548-2e2bd12795d0' WHERE AD_Scheduler_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='33dafc90-7eac-4852-aa80-f6c7984f09ec' WHERE AD_Scheduler_ID=50004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='f84c72cc-ac1d-4944-8a2b-597393c613b3' WHERE AD_Scheduler_ID=50006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:12 PM COT
|
||||||
|
UPDATE AD_Scheduler SET AD_Scheduler_UU='e228864e-5dc2-4e86-bf52-ca3467eac5dd' WHERE AD_Scheduler_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='91dd46e8-133c-41a0-9efb-f2757b91f1a2' WHERE AD_HouseKeeping_ID=50005
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='2e1bdf83-10bd-4bed-9aee-eddadef1eada' WHERE AD_HouseKeeping_ID=50000
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='fd52500d-3d33-494a-8f43-7bbceb72898b' WHERE AD_HouseKeeping_ID=50007
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='2ca38f3d-a0c9-43a6-8139-8cd16c240f00' WHERE AD_HouseKeeping_ID=50006
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='687af443-27ea-4a1e-b459-712eaa587193' WHERE AD_HouseKeeping_ID=50009
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='23bbc6ff-ffac-4141-9f65-25ad32440bba' WHERE AD_HouseKeeping_ID=50008
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='7482a4c3-a470-44e7-9f40-0d78184cb824' WHERE AD_HouseKeeping_ID=50003
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='897f58de-a83d-4dd4-9f9b-9df0f0fa22ae' WHERE AD_HouseKeeping_ID=50004
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 25, 2015 2:22:34 PM COT
|
||||||
|
UPDATE AD_HouseKeeping SET AD_HouseKeeping_UU='e7e4321a-a9ee-4d9b-bd43-c3812b899872' WHERE AD_HouseKeeping_ID=50002
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510251422_FillMissingUUID.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,9 @@
|
||||||
|
UPDATE AD_SYSTEM
|
||||||
|
SET releaseno = '3.1',
|
||||||
|
VERSION = '2015-10-31'
|
||||||
|
WHERE ad_system_id = 0 AND ad_client_id = 0
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201510310000_Version.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
update ad_migrationscript set name='201507140000_FixWrongNameScripts.sql' where name='201510161110_FixWrongNameScripts.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201511181041_FixWrongRegister.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
update ad_migrationscript set name='201507140000_FixWrongNameScripts.sql' where name='201510161110_FixWrongNameScripts.sql'
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201511181041_FixWrongRegister.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,50 @@
|
||||||
|
<project name="migrate-db-oracle" default="run-scripts" basedir=".">
|
||||||
|
<property file="../../oracle.properties" />
|
||||||
|
<path id="lib.path">
|
||||||
|
<fileset dir="../../../db/ddlutils/lib">
|
||||||
|
<include name="**/*.jar" />
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
||||||
|
<classpath>
|
||||||
|
<fileset dir="../../../db/ddlutils/lib">
|
||||||
|
<include name="**/*.jar" />
|
||||||
|
</fileset>
|
||||||
|
</classpath>
|
||||||
|
</taskdef>
|
||||||
|
|
||||||
|
<target name="init">
|
||||||
|
<echo message="============================================================" />
|
||||||
|
<echo message=" Oracle database migration tool for Adempiere ERP" />
|
||||||
|
<echo message=" Adempiere License is GNU GPL License" />
|
||||||
|
<echo message="============================================================" />
|
||||||
|
<echo message="" file="sqlplus.log" append="false" />
|
||||||
|
<echo append="false" file="build.log" message="#Build log:${line.separator}${line.separator}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="run-scripts" depends="init">
|
||||||
|
<echo message="----- Running migration SQL scripts -----" />
|
||||||
|
<echo file="sqlplus.log" append="true" message="${line.separator}#Run Scripts:${line.separator}${line.separator}" />
|
||||||
|
<foreach param="file.name" target="load">
|
||||||
|
<path>
|
||||||
|
<fileset dir=".">
|
||||||
|
<include name="*.sql" />
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
</foreach>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="load">
|
||||||
|
<echo message="Loading file ${file.name}" />
|
||||||
|
<exec dir="${oracle.home}/bin" executable="${oracle.home}/bin/sqlplus" resultproperty="sqlplus.result" output="sqlplus.log" append="true">
|
||||||
|
<arg line="${oracle.connect.param}" />
|
||||||
|
<arg line='@"${file.name}"'/>
|
||||||
|
</exec>
|
||||||
|
<echo message="File ${file.name} status ${sqlplus.result}" />
|
||||||
|
<echo append="true" file="build.log">File ${file.name} status ${sqlplus.result}</echo>
|
||||||
|
<echo append="true" file="build.log" message="${line.separator}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
</project>
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,51 @@
|
||||||
|
<project name="migrate-db-postgre" default="run-scripts" basedir=".">
|
||||||
|
<property file="../../postgresql.properties" />
|
||||||
|
<path id="lib.path">
|
||||||
|
<fileset dir="../../../db/ddlutils/lib">
|
||||||
|
<include name="**/*.jar" />
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
<taskdef resource="net/sf/antcontrib/antlib.xml">
|
||||||
|
<classpath>
|
||||||
|
<fileset dir="../../../db/ddlutils/lib">
|
||||||
|
<include name="**/*.jar" />
|
||||||
|
</fileset>
|
||||||
|
</classpath>
|
||||||
|
</taskdef>
|
||||||
|
|
||||||
|
<target name="init">
|
||||||
|
<echo message="============================================================" />
|
||||||
|
<echo message=" PostgreSQL database update tool for Adempiere ERP" />
|
||||||
|
<echo message=" Adempiere License is GNU GPL License" />
|
||||||
|
<echo message="============================================================" />
|
||||||
|
<echo message="" file="psql.log" append="false" />
|
||||||
|
<echo append="false" file="build.log" message="#Build log:${line.separator}${line.separator}" />
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="run-scripts" depends="init">
|
||||||
|
<echo message="----- Running migration SQL scripts -----" />
|
||||||
|
<echo file="psql.log" append="true" message="${line.separator}#Run Scripts:${line.separator}${line.separator}" />
|
||||||
|
<foreach param="file.name" target="load">
|
||||||
|
<path>
|
||||||
|
<fileset dir=".">
|
||||||
|
<include name="*.sql" />
|
||||||
|
</fileset>
|
||||||
|
</path>
|
||||||
|
</foreach>
|
||||||
|
</target>
|
||||||
|
|
||||||
|
<target name="load">
|
||||||
|
<echo message="Loading file ${file.name}" />
|
||||||
|
<exec dir="${postgresql.home}/bin" executable="${postgresql.home}/bin/psql" resultproperty="psql.result" output="psql.log" append="true">
|
||||||
|
<arg line="-h ${postgresql.host}" />
|
||||||
|
<arg line="-d ${postgresql.database} -q" />
|
||||||
|
<arg line="-U ${postgresql.user}" />
|
||||||
|
<arg line="-p ${postgresql.port}"/>
|
||||||
|
<arg line='-f "${file.name}"' />
|
||||||
|
<env key="PGPASSWORD" value="${postgresql.password}" />
|
||||||
|
</exec>
|
||||||
|
<echo message="File ${file.name} status ${psql.result}" />
|
||||||
|
<echo append="true" file="build.log">File ${file.name} status ${psql.result}</echo>
|
||||||
|
<echo append="true" file="build.log" message="${line.separator}" />
|
||||||
|
</target>
|
||||||
|
</project>
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,26 @@
|
||||||
|
reference: https://idempiere.atlassian.net/browse/IDEMPIERE-2940
|
||||||
|
|
||||||
|
1. asume folder contain your idempiere repository is /mnt/data/dev/bitbucket/main-sync/idempiere-experimental
|
||||||
|
|
||||||
|
2. asume folder contain new repository is /mnt/data/dev/bitbucket/main-sync/idempiere-reduce
|
||||||
|
|
||||||
|
3. active convert extension in your mercurial
|
||||||
|
https://www.mercurial-scm.org/wiki/ConvertExtension#Configuration
|
||||||
|
|
||||||
|
Add the following lines to your .hgrc or to enable the extension :
|
||||||
|
[extensions]
|
||||||
|
hgext.convert=
|
||||||
|
|
||||||
|
4. run shell command:
|
||||||
|
IDEMPIERE_ROOT=/mnt/data/dev/bitbucket/main-sync/idempiere-experimental
|
||||||
|
IDEMPIERE_REDUCE=/mnt/data/dev/bitbucket/main-sync/idempiere-reduce
|
||||||
|
|
||||||
|
hg convert --filemap $IDEMPIERE_ROOT/migration/reduce_repository/exclude_file_map.txt $IDEMPIERE_ROOT $IDEMPIERE_REDUCE
|
||||||
|
|
||||||
|
5. wait (about 30 miutes) for process finish
|
||||||
|
|
||||||
|
6. in new repository do below command to delete latest commit of convert extension
|
||||||
|
|
||||||
|
7. hg rollback --verbose -f
|
||||||
|
|
||||||
|
8. upload your new repository to your server or bitbucket
|
|
@ -2,7 +2,7 @@
|
||||||
<feature
|
<feature
|
||||||
id="org.adempiere.base"
|
id="org.adempiere.base"
|
||||||
label="Adempiere Base"
|
label="Adempiere Base"
|
||||||
version="3.0.0.qualifier">
|
version="3.1.0.qualifier">
|
||||||
|
|
||||||
<description url="http://www.example.com/description">
|
<description url="http://www.example.com/description">
|
||||||
[Enter Feature Description here.]
|
[Enter Feature Description here.]
|
||||||
|
@ -18,50 +18,50 @@
|
||||||
|
|
||||||
<includes
|
<includes
|
||||||
id="org.compiere.db.provider"
|
id="org.compiere.db.provider"
|
||||||
version="3.0.0.qualifier"/>
|
version="3.1.0.qualifier"/>
|
||||||
|
|
||||||
<includes
|
<includes
|
||||||
id="org.adempiere.payment.processor"
|
id="org.adempiere.payment.processor"
|
||||||
version="3.0.0.qualifier"/>
|
version="3.1.0.qualifier"/>
|
||||||
|
|
||||||
<includes
|
<includes
|
||||||
id="org.adempiere.pipo"
|
id="org.adempiere.pipo"
|
||||||
version="3.0.0.qualifier"/>
|
version="3.1.0.qualifier"/>
|
||||||
|
|
||||||
<includes
|
<includes
|
||||||
id="org.adempiere.replication"
|
id="org.adempiere.replication"
|
||||||
version="3.0.0.qualifier"/>
|
version="3.1.0.qualifier"/>
|
||||||
|
|
||||||
<includes
|
<includes
|
||||||
id="org.adempiere.report.jasper"
|
id="org.adempiere.report.jasper"
|
||||||
version="3.0.0.qualifier"/>
|
version="3.1.0.qualifier"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="org.adempiere.base"
|
id="org.adempiere.base"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.0.0.qualifier"
|
version="3.1.0.qualifier"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="org.adempiere.base.callout"
|
id="org.adempiere.base.callout"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.0.0.qualifier"
|
version="3.1.0.qualifier"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="org.adempiere.base.process"
|
id="org.adempiere.base.process"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.0.0.qualifier"
|
version="3.1.0.qualifier"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="org.adempiere.extend"
|
id="org.adempiere.extend"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.0.0.qualifier"
|
version="3.1.0.qualifier"
|
||||||
fragment="true"
|
fragment="true"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
|
@ -69,14 +69,14 @@
|
||||||
id="org.adempiere.ui"
|
id="org.adempiere.ui"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.0.0.qualifier"
|
version="3.1.0.qualifier"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="org.apache.ecs"
|
id="org.apache.ecs"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.0.0.qualifier"
|
version="3.1.0.qualifier"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
|
@ -117,7 +117,7 @@
|
||||||
id="org.eclipse.jetty.osgi-servlet-api"
|
id="org.eclipse.jetty.osgi-servlet-api"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.1.0.M0"
|
version="0.0.0"
|
||||||
unpack="false"/>
|
unpack="false"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
|
@ -250,7 +250,7 @@
|
||||||
id="org.adempiere.install"
|
id="org.adempiere.install"
|
||||||
download-size="0"
|
download-size="0"
|
||||||
install-size="0"
|
install-size="0"
|
||||||
version="3.0.0.qualifier"/>
|
version="3.1.0.qualifier"/>
|
||||||
|
|
||||||
<plugin
|
<plugin
|
||||||
id="org.eclipse.osgi.services"
|
id="org.eclipse.osgi.services"
|
||||||
|
|
|
@ -20,8 +20,8 @@
|
||||||
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc}"/>
|
<stringAttribute key="org.eclipse.jdt.launching.WORKING_DIRECTORY" value="${workspace_loc}"/>
|
||||||
<stringAttribute key="pde.version" value="3.3"/>
|
<stringAttribute key="pde.version" value="3.3"/>
|
||||||
<stringAttribute key="product" value="org.adempiere.server.server_product"/>
|
<stringAttribute key="product" value="org.adempiere.server.server_product"/>
|
||||||
<stringAttribute key="selected_target_plugins" value="com.sun.mail.javax.mail@default:default,javax.activation@default:default,javax.annotation-api@default:default,javax.annotation@default:default,javax.ejb@default:default,javax.inject@default:default,javax.jms@default:default,javax.management.j2ee-api@default:default,javax.transaction@default:false,javax.xml.rpc@default:default,javax.xml.soap@default:default,javax.xml@default:default,org.apache.activemq.activemq-core@default:default,org.apache.activemq.kahadb@default:default,org.apache.ant@default:default,org.apache.batik.bridge@default:default,org.apache.batik.css@default:default,org.apache.batik.dom.svg@default:default,org.apache.batik.dom@default:default,org.apache.batik.ext.awt@default:default,org.apache.batik.extension@default:default,org.apache.batik.parser@default:default,org.apache.batik.util.gui@default:default,org.apache.batik.util@default:default,org.apache.batik.xml@default:default,org.apache.commons.codec@default:default,org.apache.commons.collections@default:default,org.apache.commons.logging@default:default,org.apache.commons.net@default:default,org.apache.poi@default:default,org.apache.servicemix.bundles.cglib@default:default,org.apache.xerces@default:default,org.apache.xml.resolver@default:default,org.apache.xml.serializer@default:default,org.eclipse.ant.core@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.runtime@default:true,org.eclipse.core.variables@default:default,org.eclipse.equinox.app@default:default,org.eclipse.equinox.common@2:true,org.eclipse.equinox.ds@1:true,org.eclipse.equinox.http.registry@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.util@default:default,org.eclipse.jdt.core.compiler.batch@default:default,org.eclipse.jetty.osgi-servlet-api@default:default,org.eclipse.osgi.compatibility.plugins@default:default,org.eclipse.osgi.compatibility.state@default:default,org.eclipse.osgi.services@default:default,org.eclipse.osgi@-1:true,org.hamcrest.core@default:default,org.junit@default:default,org.restlet.ext.net@default:default,org.restlet.ext.ssl@default:default,org.restlet@default:default,org.slf4j.api@default:default,org.slf4j.jcl@default:default,org.w3c.css.sac@default:default,org.w3c.dom.smil@default:default,org.w3c.dom.svg@default:default"/>
|
<stringAttribute key="selected_target_plugins" value="com.sun.mail.javax.mail@default:default,javax.activation@default:default,javax.annotation-api@default:default,javax.annotation@default:default,javax.ejb@default:default,javax.inject@default:default,javax.jms@default:default,javax.management.j2ee-api@default:default,javax.transaction@default:false,javax.xml.rpc@default:default,javax.xml.soap@default:default,javax.xml@default:default,org.apache.activemq.activemq-core@default:default,org.apache.activemq.kahadb@default:default,org.apache.ant@default:default,org.apache.batik.bridge@default:default,org.apache.batik.css@default:default,org.apache.batik.dom.svg@default:default,org.apache.batik.dom@default:default,org.apache.batik.ext.awt@default:default,org.apache.batik.extension@default:default,org.apache.batik.parser@default:default,org.apache.batik.util.gui@default:default,org.apache.batik.util@default:default,org.apache.batik.xml@default:default,org.apache.commons.codec@default:default,org.apache.commons.collections@default:default,org.apache.commons.logging@default:default,org.apache.commons.net@default:default,org.apache.poi@default:default,org.apache.servicemix.bundles.cglib@default:default,org.apache.xerces@default:default,org.apache.xml.resolver@default:default,org.apache.xml.serializer@default:default,org.eclipse.ant.core@default:default,org.eclipse.core.contenttype@default:default,org.eclipse.core.jobs@default:default,org.eclipse.core.runtime@default:true,org.eclipse.core.variables@default:default,org.eclipse.equinox.app@default:default,org.eclipse.equinox.common@2:true,org.eclipse.equinox.ds@1:true,org.eclipse.equinox.http.registry@default:default,org.eclipse.equinox.preferences@default:default,org.eclipse.equinox.registry@default:default,org.eclipse.equinox.util@default:default,org.eclipse.jdt.core.compiler.batch@default:default,org.eclipse.jetty.osgi-servlet-api@default:default,org.eclipse.osgi.compatibility.plugins@default:false,org.eclipse.osgi.compatibility.state@default:false,org.eclipse.osgi.services@default:default,org.eclipse.osgi@-1:true,org.hamcrest.core@default:default,org.junit@default:default,org.restlet.ext.net@default:default,org.restlet.ext.ssl@default:default,org.restlet@default:default,org.slf4j.api@default:default,org.slf4j.jcl@default:default,org.w3c.css.sac@default:default,org.w3c.dom.smil@default:default,org.w3c.dom.svg@default:default"/>
|
||||||
<stringAttribute key="selected_workspace_plugins" value="org.adempiere.base@default:default,org.adempiere.eclipse.equinox.http.servlet@default:default,org.adempiere.eclipse.equinox.http.servletbridge@default:default,org.adempiere.eclipse.equinox.servletbridge@default:default,org.adempiere.extend@default:false,org.adempiere.install@default:default,org.adempiere.plugin.utils@default:default,org.adempiere.report.jasper.library@default:default,org.adempiere.ui@default:default,org.apache.ecs@default:default,org.compiere.db.oracle.provider@default:default,org.compiere.db.postgresql.provider@default:default,org.idempiere.fitrecorder@default:default,org.idempiere.webservices@default:default,org.slf4j.jdk14@default:default,org.w3c.dom.fragment@default:false"/>
|
<stringAttribute key="selected_workspace_plugins" value="org.adempiere.base@default:default,org.adempiere.eclipse.equinox.http.servlet@default:default,org.adempiere.eclipse.equinox.http.servletbridge@default:default,org.adempiere.eclipse.equinox.servletbridge@default:default,org.adempiere.extend@default:false,org.adempiere.install@default:default,org.adempiere.plugin.utils@default:default,org.adempiere.report.jasper.library@default:default,org.adempiere.ui@default:default,org.apache.ecs@default:default,org.compiere.db.oracle.provider@default:default,org.compiere.db.postgresql.provider@default:default,org.idempiere.fitrecorder@default:default,org.idempiere.webservices@default:default,org.slf4j.jdk14@default:false,org.w3c.dom.fragment@default:false"/>
|
||||||
<booleanAttribute key="show_selected_only" value="false"/>
|
<booleanAttribute key="show_selected_only" value="false"/>
|
||||||
<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
|
<stringAttribute key="templateConfig" value="${target_home}/configuration/config.ini"/>
|
||||||
<booleanAttribute key="tracing" value="false"/>
|
<booleanAttribute key="tracing" value="false"/>
|
||||||
|
|
|
@ -2,9 +2,9 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: iDempiere Callout
|
Bundle-Name: iDempiere Callout
|
||||||
Bundle-SymbolicName: org.adempiere.base.callout
|
Bundle-SymbolicName: org.adempiere.base.callout
|
||||||
Bundle-Version: 3.0.0.qualifier
|
Bundle-Version: 3.1.0.qualifier
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||||
Require-Bundle: org.adempiere.base;bundle-version="3.0.0"
|
Require-Bundle: org.adempiere.base;bundle-version="3.1.0"
|
||||||
Eclipse-RegisterBuddy: org.adempiere.base
|
Eclipse-RegisterBuddy: org.adempiere.base
|
||||||
Service-Component: OSGI-INF/costadjustmentcalloutfactory.xml
|
Service-Component: OSGI-INF/costadjustmentcalloutfactory.xml
|
||||||
Bundle-ActivationPolicy: lazy
|
Bundle-ActivationPolicy: lazy
|
||||||
|
|
|
@ -624,7 +624,7 @@ public class CalloutInvoice extends CalloutEngine
|
||||||
// calculate Discount
|
// calculate Discount
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (PriceList.intValue() == 0)
|
if (PriceList.compareTo(Env.ZERO) == 0)
|
||||||
Discount = Env.ZERO;
|
Discount = Env.ZERO;
|
||||||
else
|
else
|
||||||
Discount = new BigDecimal ((PriceList.doubleValue() - PriceActual.doubleValue()) / PriceList.doubleValue() * 100.0);
|
Discount = new BigDecimal ((PriceList.doubleValue() - PriceActual.doubleValue()) / PriceList.doubleValue() * 100.0);
|
||||||
|
@ -654,7 +654,7 @@ public class CalloutInvoice extends CalloutEngine
|
||||||
mTab.setValue ("PriceEntered", PriceEntered);
|
mTab.setValue ("PriceEntered", PriceEntered);
|
||||||
mTab.fireDataStatusEEvent ("UnderLimitPrice", "", false);
|
mTab.fireDataStatusEEvent ("UnderLimitPrice", "", false);
|
||||||
// Repeat Discount calc
|
// Repeat Discount calc
|
||||||
if (PriceList.intValue() != 0)
|
if (PriceList.compareTo(Env.ZERO) != 0)
|
||||||
{
|
{
|
||||||
Discount = BigDecimal.valueOf((PriceList.doubleValue () - PriceActual.doubleValue ()) / PriceList.doubleValue () * 100.0);
|
Discount = BigDecimal.valueOf((PriceList.doubleValue () - PriceActual.doubleValue ()) / PriceList.doubleValue () * 100.0);
|
||||||
if (Discount.scale () > 2)
|
if (Discount.scale () > 2)
|
||||||
|
|
|
@ -1148,7 +1148,7 @@ public class CalloutOrder extends CalloutEngine
|
||||||
// calculate Discount
|
// calculate Discount
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (PriceList.intValue() == 0)
|
if (PriceList.compareTo(Env.ZERO) == 0)
|
||||||
Discount = Env.ZERO;
|
Discount = Env.ZERO;
|
||||||
else
|
else
|
||||||
Discount = BigDecimal.valueOf((PriceList.doubleValue() - PriceActual.doubleValue()) / PriceList.doubleValue() * 100.0);
|
Discount = BigDecimal.valueOf((PriceList.doubleValue() - PriceActual.doubleValue()) / PriceList.doubleValue() * 100.0);
|
||||||
|
@ -1177,7 +1177,7 @@ public class CalloutOrder extends CalloutEngine
|
||||||
mTab.setValue ("PriceEntered", PriceEntered);
|
mTab.setValue ("PriceEntered", PriceEntered);
|
||||||
mTab.fireDataStatusEEvent ("UnderLimitPrice", "", false);
|
mTab.fireDataStatusEEvent ("UnderLimitPrice", "", false);
|
||||||
// Repeat Discount calc
|
// Repeat Discount calc
|
||||||
if (PriceList.intValue() != 0)
|
if (PriceList.compareTo(Env.ZERO) != 0)
|
||||||
{
|
{
|
||||||
Discount = BigDecimal.valueOf((PriceList.doubleValue () - PriceActual.doubleValue ()) / PriceList.doubleValue () * 100.0);
|
Discount = BigDecimal.valueOf((PriceList.doubleValue () - PriceActual.doubleValue ()) / PriceList.doubleValue () * 100.0);
|
||||||
if (Discount.scale () > 2)
|
if (Discount.scale () > 2)
|
||||||
|
|
|
@ -2,9 +2,9 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: iDempiere Processes
|
Bundle-Name: iDempiere Processes
|
||||||
Bundle-SymbolicName: org.adempiere.base.process
|
Bundle-SymbolicName: org.adempiere.base.process
|
||||||
Bundle-Version: 3.0.0.qualifier
|
Bundle-Version: 3.1.0.qualifier
|
||||||
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
Bundle-RequiredExecutionEnvironment: JavaSE-1.7
|
||||||
Require-Bundle: org.adempiere.base;bundle-version="3.0.0"
|
Require-Bundle: org.adempiere.base;bundle-version="3.1.0"
|
||||||
Export-Package: org.adempiere.process,
|
Export-Package: org.adempiere.process,
|
||||||
org.compiere.process,
|
org.compiere.process,
|
||||||
org.idempiere.process
|
org.idempiere.process
|
||||||
|
|
|
@ -196,12 +196,12 @@ public class BankStatementPayment extends SvrProcess
|
||||||
payment.setPayAmt(PayAmt);
|
payment.setPayAmt(PayAmt);
|
||||||
else // payment is likely to be negative
|
else // payment is likely to be negative
|
||||||
payment.setPayAmt(PayAmt.negate());
|
payment.setPayAmt(PayAmt.negate());
|
||||||
payment.setOverUnderAmt(invoice.getGrandTotal(true).subtract(payment.getPayAmt()));
|
payment.setOverUnderAmt(invoice.getOpenAmt().subtract(payment.getPayAmt()));
|
||||||
}
|
}
|
||||||
else // set Pay Amout from Invoice
|
else // set Pay Amout from Invoice
|
||||||
{
|
{
|
||||||
payment.setC_Currency_ID(invoice.getC_Currency_ID());
|
payment.setC_Currency_ID(invoice.getC_Currency_ID());
|
||||||
payment.setPayAmt(invoice.getGrandTotal(true));
|
payment.setPayAmt(invoice.getOpenAmt());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (C_BPartner_ID != 0)
|
else if (C_BPartner_ID != 0)
|
||||||
|
|
|
@ -128,14 +128,14 @@ public class ColumnSync extends SvrProcess
|
||||||
MColumn[] cols = table.getColumns(false);
|
MColumn[] cols = table.getColumns(false);
|
||||||
for (MColumn col : cols)
|
for (MColumn col : cols)
|
||||||
{
|
{
|
||||||
String fkConstraintSql = MColumn.getForeignKeyConstraintSql(md, catalog, schema, tableName, table, col);
|
String fkConstraintSql = MColumn.getForeignKeyConstraintSql(md, catalog, schema, tableName, table, col, false);
|
||||||
if (fkConstraintSql != null && fkConstraintSql.length() > 0)
|
if (fkConstraintSql != null && fkConstraintSql.length() > 0)
|
||||||
sql += fkConstraintSql;
|
sql += fkConstraintSql;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
String fkConstraintSql = MColumn.getForeignKeyConstraintSql(md, catalog, schema, tableName, table, column);
|
String fkConstraintSql = MColumn.getForeignKeyConstraintSql(md, catalog, schema, tableName, table, column, false);
|
||||||
if (fkConstraintSql != null && fkConstraintSql.length() > 0)
|
if (fkConstraintSql != null && fkConstraintSql.length() > 0)
|
||||||
sql += fkConstraintSql;
|
sql += fkConstraintSql;
|
||||||
}
|
}
|
||||||
|
|
|
@ -79,6 +79,9 @@ public class CopyRole extends SvrProcess
|
||||||
throw new AdempiereException(Msg.getMsg(getCtx(), "CannotAccessProcess", new Object[] {getProcessInfo().getAD_Process_ID(), MRole.getDefault().getName()}));
|
throw new AdempiereException(Msg.getMsg(getCtx(), "CannotAccessProcess", new Object[] {getProcessInfo().getAD_Process_ID(), MRole.getDefault().getName()}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (m_AD_Role_ID_From == m_AD_Role_ID_To)
|
||||||
|
throw new AdempiereException("Roles must be different");
|
||||||
|
|
||||||
String[] tables = new String[] {"AD_Window_Access", "AD_Process_Access", "AD_Form_Access",
|
String[] tables = new String[] {"AD_Window_Access", "AD_Process_Access", "AD_Form_Access",
|
||||||
"AD_Workflow_Access", "AD_Task_Access", "AD_Document_Action_Access", "AD_InfoWindow_Access",
|
"AD_Workflow_Access", "AD_Task_Access", "AD_Document_Action_Access", "AD_InfoWindow_Access",
|
||||||
I_AD_Role_Included.Table_Name
|
I_AD_Role_Included.Table_Name
|
||||||
|
|
|
@ -303,7 +303,7 @@ public class InvoiceGenerate extends SvrProcess
|
||||||
.divide(oLine.getQtyOrdered(), 12, BigDecimal.ROUND_HALF_UP);
|
.divide(oLine.getQtyOrdered(), 12, BigDecimal.ROUND_HALF_UP);
|
||||||
createLine (order, oLine, toInvoice, qtyEntered);
|
createLine (order, oLine, toInvoice, qtyEntered);
|
||||||
}
|
}
|
||||||
else
|
else if (!completeOrder)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("Failed: " + order.getInvoiceRule()
|
if (log.isLoggable(Level.FINE)) log.fine("Failed: " + order.getInvoiceRule()
|
||||||
+ " - ToInvoice=" + toInvoice + " - " + oLine);
|
+ " - ToInvoice=" + toInvoice + " - " + oLine);
|
||||||
|
|
|
@ -33,6 +33,7 @@ import org.compiere.model.MClientInfo;
|
||||||
import org.compiere.model.MDiscountSchemaLine;
|
import org.compiere.model.MDiscountSchemaLine;
|
||||||
import org.compiere.model.MProduct;
|
import org.compiere.model.MProduct;
|
||||||
import org.compiere.model.MProductPrice;
|
import org.compiere.model.MProductPrice;
|
||||||
|
import org.compiere.model.MSequence;
|
||||||
import org.compiere.model.MUOMConversion;
|
import org.compiere.model.MUOMConversion;
|
||||||
import org.compiere.model.ProductCost;
|
import org.compiere.model.ProductCost;
|
||||||
import org.compiere.util.AdempiereSystemError;
|
import org.compiere.util.AdempiereSystemError;
|
||||||
|
@ -413,6 +414,8 @@ public class M_PriceList_Create extends SvrProcess {
|
||||||
// Copy (Insert) Prices
|
// Copy (Insert) Prices
|
||||||
//
|
//
|
||||||
v_temp = rsCurgen.getInt("M_PriceList_Version_Base_ID");
|
v_temp = rsCurgen.getInt("M_PriceList_Version_Base_ID");
|
||||||
|
int seqproductpriceid = MSequence.get(getCtx(), "M_ProductPrice").get_ID();
|
||||||
|
int currentUserID = Env.getAD_User_ID(getCtx());
|
||||||
if (v_temp == p_PriceList_Version_ID)
|
if (v_temp == p_PriceList_Version_ID)
|
||||||
//
|
//
|
||||||
// We have Prices already
|
// We have Prices already
|
||||||
|
@ -424,7 +427,9 @@ public class M_PriceList_Create extends SvrProcess {
|
||||||
//
|
//
|
||||||
{
|
{
|
||||||
sqlins = new StringBuilder("INSERT INTO M_ProductPrice ");
|
sqlins = new StringBuilder("INSERT INTO M_ProductPrice ");
|
||||||
sqlins.append("(M_PriceList_Version_ID");
|
sqlins.append("(M_ProductPrice_ID");
|
||||||
|
sqlins.append(" ,M_ProductPrice_UU");
|
||||||
|
sqlins.append(" ,M_PriceList_Version_ID");
|
||||||
sqlins.append(" ,M_Product_ID ");
|
sqlins.append(" ,M_Product_ID ");
|
||||||
sqlins.append(" ,AD_Client_ID");
|
sqlins.append(" ,AD_Client_ID");
|
||||||
sqlins.append(" , AD_Org_ID");
|
sqlins.append(" , AD_Org_ID");
|
||||||
|
@ -437,6 +442,8 @@ public class M_PriceList_Create extends SvrProcess {
|
||||||
sqlins.append(" , PriceStd");
|
sqlins.append(" , PriceStd");
|
||||||
sqlins.append(" , PriceLimit) ");
|
sqlins.append(" , PriceLimit) ");
|
||||||
sqlins.append("SELECT ");
|
sqlins.append("SELECT ");
|
||||||
|
sqlins.append(" nextIdFunc(").append(seqproductpriceid).append(",'N')");
|
||||||
|
sqlins.append(" , generate_uuid(),");
|
||||||
sqlins.append(p_PriceList_Version_ID);
|
sqlins.append(p_PriceList_Version_ID);
|
||||||
sqlins.append(" ,po.M_Product_ID ");
|
sqlins.append(" ,po.M_Product_ID ");
|
||||||
sqlins.append(" ,");
|
sqlins.append(" ,");
|
||||||
|
@ -445,9 +452,9 @@ public class M_PriceList_Create extends SvrProcess {
|
||||||
sqlins.append(rsCurgen.getInt("AD_Org_ID"));
|
sqlins.append(rsCurgen.getInt("AD_Org_ID"));
|
||||||
sqlins.append(" ,'Y'");
|
sqlins.append(" ,'Y'");
|
||||||
sqlins.append(" ,SysDate,");
|
sqlins.append(" ,SysDate,");
|
||||||
sqlins.append(rsCurgen.getInt("UpdatedBy"));
|
sqlins.append(currentUserID);
|
||||||
sqlins.append(" ,SysDate,");
|
sqlins.append(" ,SysDate,");
|
||||||
sqlins.append(rsCurgen.getInt("UpdatedBy"));
|
sqlins.append(currentUserID);
|
||||||
//
|
//
|
||||||
//Price List
|
//Price List
|
||||||
//
|
//
|
||||||
|
@ -558,19 +565,21 @@ public class M_PriceList_Create extends SvrProcess {
|
||||||
//Copy and Convert from other PriceList_Version
|
//Copy and Convert from other PriceList_Version
|
||||||
//
|
//
|
||||||
sqlins = new StringBuilder("INSERT INTO M_ProductPrice ");
|
sqlins = new StringBuilder("INSERT INTO M_ProductPrice ");
|
||||||
sqlins.append(" (M_PriceList_Version_ID, M_Product_ID,");
|
sqlins.append(" (M_ProductPrice_ID, M_ProductPrice_UU, M_PriceList_Version_ID, M_Product_ID,");
|
||||||
sqlins.append(" AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,");
|
sqlins.append(" AD_Client_ID, AD_Org_ID, IsActive, Created, CreatedBy, Updated, UpdatedBy,");
|
||||||
sqlins.append(" PriceList, PriceStd, PriceLimit)");
|
sqlins.append(" PriceList, PriceStd, PriceLimit)");
|
||||||
sqlins.append(" SELECT ");
|
sqlins.append(" SELECT ");
|
||||||
|
sqlins.append("nextIdFunc(").append(seqproductpriceid).append(",'N')");
|
||||||
|
sqlins.append(", generate_uuid(),");
|
||||||
sqlins.append(p_PriceList_Version_ID);
|
sqlins.append(p_PriceList_Version_ID);
|
||||||
sqlins.append(", pp.M_Product_ID,");
|
sqlins.append(", pp.M_Product_ID,");
|
||||||
sqlins.append(rsCurgen.getInt("AD_Client_ID"));
|
sqlins.append(rsCurgen.getInt("AD_Client_ID"));
|
||||||
sqlins.append(", ");
|
sqlins.append(", ");
|
||||||
sqlins.append(rsCurgen.getInt("AD_Org_ID"));
|
sqlins.append(rsCurgen.getInt("AD_Org_ID"));
|
||||||
sqlins.append(", 'Y', SysDate, ");
|
sqlins.append(", 'Y', SysDate, ");
|
||||||
sqlins.append(rsCurgen.getInt("UpdatedBy"));
|
sqlins.append(currentUserID);
|
||||||
sqlins.append(", SysDate, ");
|
sqlins.append(", SysDate, ");
|
||||||
sqlins.append(rsCurgen.getInt("UpdatedBy"));
|
sqlins.append(currentUserID);
|
||||||
sqlins.append(" ,");
|
sqlins.append(" ,");
|
||||||
// Price List
|
// Price List
|
||||||
sqlins.append("COALESCE(currencyConvert(pp.PriceList, pl.C_Currency_ID, ");
|
sqlins.append("COALESCE(currencyConvert(pp.PriceList, pl.C_Currency_ID, ");
|
||||||
|
@ -609,7 +618,7 @@ public class M_PriceList_Create extends SvrProcess {
|
||||||
sqlins.append(rsCurgen.getInt("M_PriceList_Version_Base_ID"));
|
sqlins.append(rsCurgen.getInt("M_PriceList_Version_Base_ID"));
|
||||||
sqlins.append(" AND EXISTS (SELECT * FROM T_Selection s WHERE pp.M_Product_ID=s.T_Selection_ID");
|
sqlins.append(" AND EXISTS (SELECT * FROM T_Selection s WHERE pp.M_Product_ID=s.T_Selection_ID");
|
||||||
sqlins.append(" AND s.AD_PInstance_ID=").append(m_AD_PInstance_ID).append(")");
|
sqlins.append(" AND s.AD_PInstance_ID=").append(m_AD_PInstance_ID).append(")");
|
||||||
sqlins.append("AND pp.IsActive='Y'");
|
sqlins.append(" AND pp.IsActive='Y'");
|
||||||
|
|
||||||
pstmt = DB.prepareStatement(sqlins.toString(),
|
pstmt = DB.prepareStatement(sqlins.toString(),
|
||||||
ResultSet.TYPE_SCROLL_INSENSITIVE,
|
ResultSet.TYPE_SCROLL_INSENSITIVE,
|
||||||
|
|
|
@ -97,7 +97,7 @@ public class RollUpCosts extends SvrProcess {
|
||||||
{
|
{
|
||||||
StringBuilder sql = new StringBuilder("SELECT M_ProductBOM_ID FROM M_Product_BOM WHERE M_Product_ID = ? ")
|
StringBuilder sql = new StringBuilder("SELECT M_ProductBOM_ID FROM M_Product_BOM WHERE M_Product_ID = ? ")
|
||||||
.append(" AND AD_Client_ID = ").append(client_id);
|
.append(" AND AD_Client_ID = ").append(client_id);
|
||||||
int[] prodbomids = DB.getIDsEx(get_TrxName(), sql.toString(), client_id);
|
int[] prodbomids = DB.getIDsEx(get_TrxName(), sql.toString(), p_id);
|
||||||
|
|
||||||
for (int prodbomid : prodbomids) {
|
for (int prodbomid : prodbomids) {
|
||||||
if ( !processed.contains(p_id)) {
|
if ( !processed.contains(p_id)) {
|
||||||
|
|
|
@ -212,13 +212,7 @@ public class TableCreateColumns extends SvrProcess
|
||||||
*/
|
*/
|
||||||
private void addTableColumn (ResultSet rs, MTable table) throws Exception
|
private void addTableColumn (ResultSet rs, MTable table) throws Exception
|
||||||
{
|
{
|
||||||
String tableName = table.getTableName ();
|
String tableName = table.getTableName();
|
||||||
if (DB.isOracle ())
|
|
||||||
tableName = tableName.toUpperCase ();
|
|
||||||
// globalqss 2005-10-24
|
|
||||||
if (DB.isPostgreSQL())
|
|
||||||
tableName = tableName.toLowerCase();
|
|
||||||
// end globalqss 2005-10-24
|
|
||||||
while (rs.next ())
|
while (rs.next ())
|
||||||
{
|
{
|
||||||
String tn = rs.getString ("TABLE_NAME");
|
String tn = rs.getString ("TABLE_NAME");
|
||||||
|
|
|
@ -35,17 +35,23 @@ import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
import org.adempiere.base.Core;
|
||||||
import org.adempiere.base.IGridTabImporter;
|
import org.adempiere.base.IGridTabImporter;
|
||||||
import org.adempiere.base.equinox.EquinoxExtensionLocator;
|
import org.adempiere.base.equinox.EquinoxExtensionLocator;
|
||||||
import org.adempiere.exceptions.AdempiereException;
|
import org.adempiere.exceptions.AdempiereException;
|
||||||
|
import org.compiere.model.DataStatusEvent;
|
||||||
|
import org.compiere.model.DataStatusListener;
|
||||||
|
import org.compiere.model.GridField;
|
||||||
import org.compiere.model.GridTab;
|
import org.compiere.model.GridTab;
|
||||||
import org.compiere.model.GridWindow;
|
import org.compiere.model.GridWindow;
|
||||||
import org.compiere.model.MImportTemplate;
|
import org.compiere.model.MImportTemplate;
|
||||||
|
import org.compiere.model.MLookup;
|
||||||
|
import org.compiere.process.ProcessInfo;
|
||||||
import org.compiere.process.ProcessInfoParameter;
|
import org.compiere.process.ProcessInfoParameter;
|
||||||
import org.compiere.process.SvrProcess;
|
import org.compiere.process.SvrProcess;
|
||||||
import org.compiere.util.Env;
|
import org.compiere.util.Env;
|
||||||
|
|
||||||
public class ImportCSVProcess extends SvrProcess {
|
public class ImportCSVProcess extends SvrProcess implements DataStatusListener {
|
||||||
|
|
||||||
private InputStream m_file_istream = null;
|
private InputStream m_file_istream = null;
|
||||||
private int p_AD_ImportTemplate_ID = 0;
|
private int p_AD_ImportTemplate_ID = 0;
|
||||||
|
@ -112,6 +118,7 @@ public class ImportCSVProcess extends SvrProcess {
|
||||||
|
|
||||||
if (m_gridTab == null)
|
if (m_gridTab == null)
|
||||||
throw new Exception("No Active Tab");
|
throw new Exception("No Active Tab");
|
||||||
|
m_gridTab.addDataStatusListener(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected IGridTabImporter initImporter() throws Exception {
|
protected IGridTabImporter initImporter() throws Exception {
|
||||||
|
@ -138,8 +145,53 @@ public class ImportCSVProcess extends SvrProcess {
|
||||||
|
|
||||||
if (processUI != null)
|
if (processUI != null)
|
||||||
processUI.download(outFile);
|
processUI.download(outFile);
|
||||||
|
else if( getProcessInfo() != null ){
|
||||||
|
ProcessInfo m_pi = getProcessInfo();
|
||||||
|
m_pi.setExportFile(outFile);
|
||||||
|
m_pi.setExportFileExtension("csv");
|
||||||
|
}
|
||||||
|
|
||||||
m_file_istream.close();
|
m_file_istream.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param e
|
||||||
|
* @see DataStatusListener#dataStatusChanged(DataStatusEvent)
|
||||||
|
*/
|
||||||
|
public void dataStatusChanged(DataStatusEvent e)
|
||||||
|
{
|
||||||
|
int col = e.getChangedColumn();
|
||||||
|
if (log.isLoggable(Level.CONFIG)) log.config("(" + m_gridTab + ") Col=" + col + ": " + e.toString());
|
||||||
|
|
||||||
|
// Process Callout
|
||||||
|
GridField mField = m_gridTab.getField(col);
|
||||||
|
if (mField != null
|
||||||
|
&& (mField.getCallout().length() > 0
|
||||||
|
|| (Core.findCallout(m_gridTab.getTableName(), mField.getColumnName())).size()>0
|
||||||
|
|| m_gridTab.hasDependants(mField.getColumnName())))
|
||||||
|
{
|
||||||
|
String msg = m_gridTab.processFieldChange(mField); // Dependencies & Callout
|
||||||
|
if (msg.length() > 0)
|
||||||
|
{
|
||||||
|
log.warning(msg);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Refresh the list on dependant fields
|
||||||
|
for (GridField dependentField : m_gridTab.getDependantFields(mField.getColumnName()))
|
||||||
|
{
|
||||||
|
// if the field has a lookup
|
||||||
|
if (dependentField != null && dependentField.getLookup() instanceof MLookup)
|
||||||
|
{
|
||||||
|
MLookup mLookup = (MLookup)dependentField.getLookup();
|
||||||
|
// if the lookup is dynamic (i.e. contains this columnName as variable)
|
||||||
|
if (mLookup.getValidation().indexOf("@"+mField.getColumnName()+"@") != -1)
|
||||||
|
{
|
||||||
|
mLookup.refresh();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
} // for all dependent fields
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@ Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: iDempiere Core
|
Bundle-Name: iDempiere Core
|
||||||
Bundle-SymbolicName: org.adempiere.base;singleton:=true
|
Bundle-SymbolicName: org.adempiere.base;singleton:=true
|
||||||
Bundle-Version: 3.0.0.qualifier
|
Bundle-Version: 3.1.0.qualifier
|
||||||
Bundle-ClassPath: base.jar,
|
Bundle-ClassPath: base.jar,
|
||||||
bsh-2.0b5.jar,
|
bsh-2.0b5.jar,
|
||||||
bsh-engine.jar,
|
bsh-engine.jar,
|
||||||
|
@ -280,7 +280,6 @@ Export-Package: bsh,
|
||||||
org.jfree.chart.annotations,
|
org.jfree.chart.annotations,
|
||||||
org.jfree.chart.axis,
|
org.jfree.chart.axis,
|
||||||
org.jfree.chart.block,
|
org.jfree.chart.block,
|
||||||
org.jfree.chart.demo,
|
|
||||||
org.jfree.chart.editor,
|
org.jfree.chart.editor,
|
||||||
org.jfree.chart.encoders,
|
org.jfree.chart.encoders,
|
||||||
org.jfree.chart.entity,
|
org.jfree.chart.entity,
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
<cspecExtension xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns="http://www.eclipse.org/buckminster/CSpec-1.0"
|
||||||
|
xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0">
|
||||||
|
<actions>
|
||||||
|
<!-- public action with ant actor to do the actual copying -->
|
||||||
|
<cs:public name="fetch.dependency.jars" actor="ant">
|
||||||
|
<cs:actorProperties>
|
||||||
|
<cs:property key="buildFile" value="copyjars.xml" />
|
||||||
|
<cs:property key="targets" value="copy" />
|
||||||
|
</cs:actorProperties>
|
||||||
|
</cs:public>
|
||||||
|
</actions>
|
||||||
|
<groups>
|
||||||
|
<!-- buckminster.prebind the prebind group will be executed during materialization -->
|
||||||
|
<cs:private name="buckminster.postbind">
|
||||||
|
<cs:attribute name="fetch.dependency.jars" alias="action.requirements" />
|
||||||
|
</cs:private>
|
||||||
|
</groups>
|
||||||
|
</cspecExtension>
|
|
@ -0,0 +1,25 @@
|
||||||
|
<project name="zklibrary" basedir="." default="copy">
|
||||||
|
<target name="copy">
|
||||||
|
<get src="http://central.maven.org/maven2/org/beanshell/bsh/2.0b5/bsh-2.0b5.jar" dest="bsh-2.0b5.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<!-- bsf-all-3.0-beta3.jar replace for grovy-engine, jyyhon-enjine, bsh-engine
|
||||||
|
http://mvnrepository.com/artifact/org.apache.bsf/bsf-all/3.0-beta3
|
||||||
|
<get src="http://central.maven.org/maven2/org/apache/bsf/bsf-all/3.0-beta3/bsf-all-3.0-beta3.jar" dest="bsf-all-3.0-beta3.jar" usetimestamp="true" verbose="true" retries="5"/>
|
||||||
|
-->
|
||||||
|
<get src="http://downloads.sourceforge.net/project/idempiere/binary.file/jarfile/3.1/jython-engine.jar" dest="jython-engine.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://downloads.sourceforge.net/project/idempiere/binary.file/jarfile/3.1/groovy-engine.jar" dest="groovy-engine.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://downloads.sourceforge.net/project/idempiere/binary.file/jarfile/3.1/bsh-engine.jar" dest="bsh-engine.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/org/python/jython/2.2.1/jython-2.2.1.jar" dest="jython.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/it/sauronsoftware/cron4j/cron4j/2.2.5/cron4j-2.2.5.jar" dest="cron4j-2.2.5.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/net/sourceforge/barbecue/barbecue/1.5-beta1/barbecue-1.5-beta1.jar" dest="barbecue-1.5-beta1.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/com/lowagie/itext/2.1.7/itext-2.1.7.jar" dest="iText-2.1.7.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/org/jfree/jcommon/1.0.23/jcommon-1.0.23.jar" dest="jcommon-1.0.23.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/org/jfree/jfreechart/1.0.19/jfreechart-1.0.19.jar" dest="jfreechart-1.0.19.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<!-- jnlp is not used in idempiere? -->
|
||||||
|
<get src="http://central.maven.org/maven2/org/codehaus/groovy/groovy-all/1.7.5/groovy-all-1.7.5.jar" dest="groovy-all-1.7.5.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/net/sf/supercsv/super-csv/2.2.0/super-csv-2.2.0.jar" dest="super-csv-2.2.0.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/net/sf/barcode4j/barcode4j/2.1/barcode4j-2.1.jar" dest="barcode4j-2.1.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/org/bouncycastle/bcprov-jdk15on/1.46/bcprov-jdk15on-1.46.jar" dest="bcprov-jdk15on-1.46.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://central.maven.org/maven2/org/passay/passay/1.0/passay-1.0.jar" dest="passay-1.0.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
<get src="http://downloads.sourceforge.net/project/idempiere/binary.file/jarfile/3.1/jnlp.jar" dest="jnlp.jar" usetimestamp="true" verbose="true" retries="5" />
|
||||||
|
</target>
|
||||||
|
</project>
|
|
@ -99,13 +99,14 @@ public class Core {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param className
|
* @param className
|
||||||
|
* @param method
|
||||||
* @return callout for className
|
* @return callout for className
|
||||||
*/
|
*/
|
||||||
public static Callout getCallout(String className) {
|
public static Callout getCallout(String className, String methodName) {
|
||||||
List<ICalloutFactory> factories = Service.locator().list(ICalloutFactory.class).getServices();
|
List<ICalloutFactory> factories = Service.locator().list(ICalloutFactory.class).getServices();
|
||||||
if (factories != null) {
|
if (factories != null) {
|
||||||
for(ICalloutFactory factory : factories) {
|
for(ICalloutFactory factory : factories) {
|
||||||
Callout callout = factory.getCallout(className);
|
Callout callout = factory.getCallout(className, methodName);
|
||||||
if (callout != null) {
|
if (callout != null) {
|
||||||
return callout;
|
return callout;
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
package org.adempiere.base;
|
package org.adempiere.base;
|
||||||
|
|
||||||
|
import java.lang.reflect.Method;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
import org.adempiere.base.equinox.EquinoxExtensionLocator;
|
import org.adempiere.base.equinox.EquinoxExtensionLocator;
|
||||||
|
@ -39,7 +40,7 @@ public class DefaultCalloutFactory implements ICalloutFactory {
|
||||||
* @see org.adempiere.base.ICalloutFactory#getCallout(java.lang.String)
|
* @see org.adempiere.base.ICalloutFactory#getCallout(java.lang.String)
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Callout getCallout(String className) {
|
public Callout getCallout(String className, String methodName) {
|
||||||
Callout callout = null;
|
Callout callout = null;
|
||||||
callout = EquinoxExtensionLocator.instance().locate(Callout.class, Callout.class.getName(), className, (ServiceQuery)null).getExtension();
|
callout = EquinoxExtensionLocator.instance().locate(Callout.class, Callout.class.getName(), className, (ServiceQuery)null).getExtension();
|
||||||
if (callout == null) {
|
if (callout == null) {
|
||||||
|
@ -86,8 +87,17 @@ public class DefaultCalloutFactory implements ICalloutFactory {
|
||||||
log.log(Level.WARNING, "Instance for " + className, ex);
|
log.log(Level.WARNING, "Instance for " + className, ex);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
//Check if callout method does really exist
|
||||||
|
Method[] methods = calloutClass.getDeclaredMethods();
|
||||||
|
for (int i = 0; i < methods.length; i++) {
|
||||||
|
if (methods[i].getName().equals(methodName)) {
|
||||||
return callout;
|
return callout;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
log.log(Level.FINE, "Required method " + methodName + " not found in class " + className);
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,8 +25,9 @@ public interface ICalloutFactory {
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* @param className
|
* @param className
|
||||||
|
* @param methodName
|
||||||
* @return matching Callout
|
* @return matching Callout
|
||||||
*/
|
*/
|
||||||
public Callout getCallout(String className);
|
public Callout getCallout(String className, String methodName);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -202,7 +202,6 @@ public class RequestEventHandler extends AbstractEventHandler implements Managed
|
||||||
// Update
|
// Update
|
||||||
r.setDateLastAction(r.getUpdated());
|
r.setDateLastAction(r.getUpdated());
|
||||||
r.setLastResult(r.getResult());
|
r.setLastResult(r.getResult());
|
||||||
r.setDueType();
|
|
||||||
// Reset
|
// Reset
|
||||||
r.setConfidentialTypeEntry (r.getConfidentialType());
|
r.setConfidentialTypeEntry (r.getConfidentialType());
|
||||||
// r.setStartDate(null); //red1 - bug [ 1743159 ] Requests - Start Date is not retained.
|
// r.setStartDate(null); //red1 - bug [ 1743159 ] Requests - Start Date is not retained.
|
||||||
|
@ -239,10 +238,17 @@ public class RequestEventHandler extends AbstractEventHandler implements Managed
|
||||||
if (r.is_ValueChanged(columnName))
|
if (r.is_ValueChanged(columnName))
|
||||||
{
|
{
|
||||||
Object value = r.get_ValueOld(columnName);
|
Object value = r.get_ValueOld(columnName);
|
||||||
if (value == null)
|
if (value == null) {
|
||||||
ra.addNullColumn(columnName);
|
ra.addNullColumn(columnName);
|
||||||
else
|
} else {
|
||||||
|
if (value instanceof Boolean
|
||||||
|
&& ( MRequestAction.COLUMNNAME_IsEscalated.equals(columnName)
|
||||||
|
|| MRequestAction.COLUMNNAME_IsSelfService.equals(columnName))) {
|
||||||
|
ra.set_ValueNoCheck(columnName, ((Boolean)value).booleanValue() ? "Y" : "N");
|
||||||
|
} else {
|
||||||
ra.set_ValueNoCheck(columnName, value);
|
ra.set_ValueNoCheck(columnName, value);
|
||||||
|
}
|
||||||
|
}
|
||||||
r.setIsChanged(true);
|
r.setIsChanged(true);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -114,7 +114,7 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
} else if (DisplayType.DateTime == field.getDisplayType()) {
|
} else if (DisplayType.DateTime == field.getDisplayType()) {
|
||||||
procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT)));
|
procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT)));
|
||||||
} else if (DisplayType.Time == field.getDisplayType()) {
|
} else if (DisplayType.Time == field.getDisplayType()) {
|
||||||
procArray.add(new Optional(new FmtDate("DisplayType.DEFAULT_TIME_FORMAT")));
|
procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIME_FORMAT)));
|
||||||
} else if (DisplayType.Integer == field.getDisplayType() || DisplayType.isNumeric(field.getDisplayType())) {
|
} else if (DisplayType.Integer == field.getDisplayType() || DisplayType.isNumeric(field.getDisplayType())) {
|
||||||
DecimalFormat nf = DisplayType.getNumberFormat(field.getDisplayType());
|
DecimalFormat nf = DisplayType.getNumberFormat(field.getDisplayType());
|
||||||
nf.setGroupingUsed(false);
|
nf.setGroupingUsed(false);
|
||||||
|
@ -178,7 +178,7 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
} else if (DisplayType.DateTime == field.getDisplayType()) {
|
} else if (DisplayType.DateTime == field.getDisplayType()) {
|
||||||
procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT)));
|
procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT)));
|
||||||
} else if (DisplayType.Time == field.getDisplayType()) {
|
} else if (DisplayType.Time == field.getDisplayType()) {
|
||||||
procArray.add(new Optional(new FmtDate("DisplayType.DEFAULT_TIME_FORMAT")));
|
procArray.add(new Optional(new FmtDate(DisplayType.DEFAULT_TIME_FORMAT)));
|
||||||
} else if (DisplayType.Integer == field.getDisplayType() || DisplayType.isNumeric(field.getDisplayType())) {
|
} else if (DisplayType.Integer == field.getDisplayType() || DisplayType.isNumeric(field.getDisplayType())) {
|
||||||
DecimalFormat nf = DisplayType.getNumberFormat(field.getDisplayType());
|
DecimalFormat nf = DisplayType.getNumberFormat(field.getDisplayType());
|
||||||
nf.setGroupingUsed(false);
|
nf.setGroupingUsed(false);
|
||||||
|
@ -223,7 +223,7 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
int rowDetail=0;
|
int rowDetail=0;
|
||||||
int record_Id = 0;
|
int record_Id = 0;
|
||||||
boolean isActiveRow = true;
|
boolean isActiveRow = true;
|
||||||
|
gridTab.setCurrentRow(idxrow);
|
||||||
for(GridField field : getFields(gridTab)){
|
for(GridField field : getFields(gridTab)){
|
||||||
MColumn column = MColumn.get(Env.getCtx(), field.getAD_Column_ID());
|
MColumn column = MColumn.get(Env.getCtx(), field.getAD_Column_ID());
|
||||||
Object value = null;
|
Object value = null;
|
||||||
|
@ -282,9 +282,17 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
while(true){
|
|
||||||
if(childs.size()>0){
|
if(childs.size()>0){
|
||||||
Map<String, Object> tmpRow = resolveMasterDetailRow(rowDetail,tabMapDetails,headArray,index,gridTab.getKeyID(idxrow), gridTab.getKeyColumnName());
|
for (GridTab childTab:childs){
|
||||||
|
if (!childTab.isLoadComplete()){
|
||||||
|
childTab.initTab(false);
|
||||||
|
}
|
||||||
|
|
||||||
|
childTab.query(false, 0, 0);
|
||||||
|
}
|
||||||
|
|
||||||
|
while(true){
|
||||||
|
Map<String, Object> tmpRow = resolveMasterDetailRow(rowDetail,tabMapDetails,headArray,index);
|
||||||
if(tmpRow!= null){
|
if(tmpRow!= null){
|
||||||
for(Map.Entry<String, Object> details : tmpRow.entrySet()) {
|
for(Map.Entry<String, Object> details : tmpRow.entrySet()) {
|
||||||
String detailColumn = details.getKey();
|
String detailColumn = details.getKey();
|
||||||
|
@ -296,8 +304,7 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
}else{
|
}else{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}else{
|
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -334,7 +341,7 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
private Map<String, Object> resolveMasterDetailRow(int currentDetRow,Map<GridTab,GridField[]> tabMapDetails,List<String>headArray,int idxfld,int record_Id,String keyColumnParent){
|
private Map<String, Object> resolveMasterDetailRow(int currentDetRow,Map<GridTab,GridField[]> tabMapDetails,List<String>headArray,int idxfld){
|
||||||
Map<String,Object> activeRow = new HashMap<String,Object>();
|
Map<String,Object> activeRow = new HashMap<String,Object>();
|
||||||
Object value = null;
|
Object value = null;
|
||||||
boolean hasDetails = false;
|
boolean hasDetails = false;
|
||||||
|
@ -346,8 +353,8 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
|
|
||||||
for(Map.Entry<GridTab, GridField[]> childTabDetail : tabMapDetails.entrySet()) {
|
for(Map.Entry<GridTab, GridField[]> childTabDetail : tabMapDetails.entrySet()) {
|
||||||
GridTab childTab = childTabDetail.getKey();
|
GridTab childTab = childTabDetail.getKey();
|
||||||
String whereCla = getWhereClause (childTab ,record_Id ,keyColumnParent);
|
//String whereCla = getWhereClause (childTab, parentGrid, currentParentIndex);
|
||||||
childTab.getTableModel().dataRequery(whereCla, false, 0);
|
//childTab.getTableModel().dataRequery(whereCla, false, 0);
|
||||||
Map<String,Object> row = new HashMap<String,Object>();
|
Map<String,Object> row = new HashMap<String,Object>();
|
||||||
boolean isActiveRow = true;
|
boolean isActiveRow = true;
|
||||||
if (childTab.getRowCount() > 0) {
|
if (childTab.getRowCount() > 0) {
|
||||||
|
@ -412,11 +419,20 @@ public class GridTabCSVExporter implements IGridTabExporter
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getWhereClause (GridTab childTab, int record_Id , String keyColumnParent){
|
/**
|
||||||
|
* @param childTab
|
||||||
|
* @param parentGrid
|
||||||
|
* @param currentParentIndex
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
@Deprecated // don't use any where, relate IDEMPIERE-2788
|
||||||
|
public String getWhereClause (GridTab childTab, GridTab parentGrid, int currentParentIndex){
|
||||||
String whereClau = null;
|
String whereClau = null;
|
||||||
String linkColumn = childTab.getLinkColumnName();
|
String linkColumn = childTab.getLinkColumnName();
|
||||||
if (keyColumnParent.equals(linkColumn)){
|
if (parentGrid.getKeyColumnName().equals(linkColumn)){
|
||||||
whereClau= linkColumn+MQuery.EQUAL+record_Id;
|
whereClau= linkColumn+MQuery.EQUAL + parentGrid.getKeyID(currentParentIndex);
|
||||||
|
}else{
|
||||||
|
whereClau= parentGrid.getKeyColumnName() + MQuery.EQUAL + parentGrid.getValue(currentParentIndex, parentGrid.getKeyColumnName());
|
||||||
}
|
}
|
||||||
return whereClau;
|
return whereClau;
|
||||||
}
|
}
|
||||||
|
|
|
@ -85,47 +85,244 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
{
|
{
|
||||||
private static final String ERROR_HEADER = "_ERROR_";
|
private static final String ERROR_HEADER = "_ERROR_";
|
||||||
private static final String LOG_HEADER = "_LOG_";
|
private static final String LOG_HEADER = "_LOG_";
|
||||||
private boolean m_isError = false;
|
|
||||||
private String m_import_mode = null;
|
|
||||||
private static final String IMPORT_MODE_MERGE = "M";
|
private static final String IMPORT_MODE_MERGE = "M";
|
||||||
private static final String IMPORT_MODE_UPDATE = "U";
|
private static final String IMPORT_MODE_UPDATE = "U";
|
||||||
private static final String IMPORT_MODE_INSERT = "I";
|
private static final String IMPORT_MODE_INSERT = "I";
|
||||||
|
|
||||||
|
private boolean m_isError = false;
|
||||||
|
private String m_import_mode = null;
|
||||||
|
private List<String> header;
|
||||||
|
private List<CellProcessor> readProcArray;
|
||||||
|
private List<GridField> locationFields;
|
||||||
|
private boolean isThereKey;
|
||||||
|
private boolean isThereDocAction;
|
||||||
|
private Map<GridTab,Integer> tabMapIndexes;
|
||||||
|
private List<Map<String, Object>> data;
|
||||||
|
private ICsvMapReader mapReader;
|
||||||
|
private TreeMap<GridTab,Integer> sortedtTabMapIndexes;
|
||||||
|
private List<String> rawData;
|
||||||
|
private boolean isMasterok = true;
|
||||||
|
private boolean isDetailok = true;
|
||||||
|
private boolean error = false;
|
||||||
|
private List<String> rowsTmpResult;
|
||||||
|
private PO masterRecord;
|
||||||
|
|
||||||
|
//Files management
|
||||||
|
private File errFile;
|
||||||
|
private File logFile;
|
||||||
|
private PrintWriter errFileW;
|
||||||
|
private PrintWriter logFileW;
|
||||||
|
|
||||||
|
private CsvPreference csvpref = CsvPreference.STANDARD_PREFERENCE;
|
||||||
|
private String delimiter = String.valueOf((char) csvpref.getDelimiterChar());
|
||||||
|
private String quoteChar = String.valueOf((char) csvpref.getQuoteChar());
|
||||||
|
|
||||||
|
//Trx
|
||||||
|
private Trx trx;
|
||||||
|
private String trxName;
|
||||||
|
private boolean isSingleTrx = false;
|
||||||
|
|
||||||
/** Logger */
|
/** Logger */
|
||||||
private static CLogger log = CLogger.getCLogger(GridTabCSVImporter.class);
|
private static CLogger log = CLogger.getCLogger(GridTabCSVImporter.class);
|
||||||
|
|
||||||
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset , String importMode) {
|
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset , String importMode) {
|
||||||
return fileImport(gridTab, childs, filestream, charset, importMode, null);
|
return fileImport(gridTab, childs, filestream, charset, importMode, null);
|
||||||
}
|
}//fileImport
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, IProcessUI processUI) {
|
public File fileImport(GridTab gridTab, List<GridTab> childs, InputStream filestream, Charset charset, String importMode, IProcessUI processUI) {
|
||||||
ICsvMapReader mapReader = null;
|
|
||||||
File errFile = null;
|
|
||||||
File logFile = null;
|
|
||||||
PrintWriter errFileW = null;
|
|
||||||
PrintWriter logFileW = null;
|
|
||||||
CsvPreference csvpref = CsvPreference.STANDARD_PREFERENCE;
|
|
||||||
String delimiter = String.valueOf((char) csvpref.getDelimiterChar());
|
|
||||||
String quoteChar = String.valueOf((char) csvpref.getQuoteChar());
|
|
||||||
m_import_mode = importMode;
|
|
||||||
PO masterRecord = null;
|
|
||||||
|
|
||||||
if(!gridTab.isInsertRecord() && isInsertMode())
|
if(!gridTab.isInsertRecord() && isInsertMode())
|
||||||
throwAdempiereException("Insert record disabled for Tab");
|
throwAdempiereException("Insert record disabled for Tab");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
String errFileName = FileUtil.getTempMailName("Import_" + gridTab.getTableName(), "_err.csv");
|
String errFileName = FileUtil.getTempMailName("Import_" + gridTab.getTableName(), "_err.csv");
|
||||||
|
initValues();
|
||||||
|
m_import_mode = importMode;
|
||||||
errFile = new File(errFileName);
|
errFile = new File(errFileName);
|
||||||
errFileW = new PrintWriter(errFile, charset.name());
|
errFileW = new PrintWriter(errFile, charset.name());
|
||||||
mapReader = new CsvMapReader(new InputStreamReader(filestream, charset), csvpref);
|
mapReader = new CsvMapReader(new InputStreamReader(filestream, charset), csvpref);
|
||||||
List<String> header = Arrays.asList(mapReader.getHeader(true));
|
header = Arrays.asList(mapReader.getHeader(true));
|
||||||
List<CellProcessor> readProcArray = new ArrayList<CellProcessor>();
|
|
||||||
Map<GridTab,Integer> tabMapIndexes = new HashMap<GridTab,Integer>();
|
|
||||||
int indxDetail=0;
|
|
||||||
List<GridField> locationFields = null;
|
|
||||||
boolean isThereKey = false;
|
|
||||||
boolean isThereDocAction = false;
|
|
||||||
//Mapping header
|
//Mapping header
|
||||||
|
int indxDetail = mapCSVHeader(gridTab);
|
||||||
|
|
||||||
|
if(isUpdateOrMergeMode() && !isThereKey)
|
||||||
|
throwAdempiereException(gridTab.getTableName()+": "+Msg.getMsg(Env.getCtx(), "NoKeyFound"));
|
||||||
|
|
||||||
|
tabMapIndexes.put(gridTab,indxDetail-1);
|
||||||
|
isThereKey = false;
|
||||||
|
locationFields = null;
|
||||||
|
|
||||||
|
//Mapping details
|
||||||
|
mapCSVDetail(indxDetail, childs);
|
||||||
|
|
||||||
|
sortedtTabMapIndexes = null;
|
||||||
|
if (childs.size()>0 && !tabMapIndexes.isEmpty()){
|
||||||
|
ValueComparator bvc = new ValueComparator(tabMapIndexes);
|
||||||
|
sortedtTabMapIndexes = new TreeMap<GridTab,Integer>(bvc);
|
||||||
|
sortedtTabMapIndexes.putAll(tabMapIndexes);
|
||||||
|
}else{
|
||||||
|
Map<GridTab,Integer> localMapIndexes = new HashMap<GridTab,Integer>();
|
||||||
|
localMapIndexes.put(gridTab, header.size()-1);
|
||||||
|
ValueComparator bvc = new ValueComparator(localMapIndexes);
|
||||||
|
sortedtTabMapIndexes = new TreeMap<GridTab,Integer>(bvc);
|
||||||
|
sortedtTabMapIndexes.putAll(localMapIndexes);
|
||||||
|
}
|
||||||
|
|
||||||
|
m_isError = false;
|
||||||
|
// write the header
|
||||||
|
String rawHeader = mapReader.getUntokenizedRow();
|
||||||
|
errFileW.write(rawHeader + delimiter + ERROR_HEADER + "\n");
|
||||||
|
data = new ArrayList<Map<String, Object>>();
|
||||||
|
rawData = new ArrayList<String>();
|
||||||
|
|
||||||
|
// pre-process to check for errors
|
||||||
|
preProcess(processUI, gridTab, indxDetail);
|
||||||
|
|
||||||
|
if ( !m_isError ) {
|
||||||
|
|
||||||
|
String logFileName = FileUtil.getTempMailName("Import_" + gridTab.getTableName(), "_log.csv");
|
||||||
|
logFile = new File(logFileName);
|
||||||
|
logFileW = new PrintWriter(logFile, charset.name());
|
||||||
|
// write the header
|
||||||
|
logFileW.write(rawHeader + delimiter + LOG_HEADER + "\n");
|
||||||
|
// no errors found - process header and then details
|
||||||
|
isMasterok = true;
|
||||||
|
isDetailok = true;
|
||||||
|
error = false;
|
||||||
|
trx = null;
|
||||||
|
trxName = null;
|
||||||
|
rowsTmpResult = new ArrayList<String>();
|
||||||
|
|
||||||
|
long lastOutput = new Date().getTime();
|
||||||
|
|
||||||
|
for (int idx = 0; idx < data.size(); idx++) {
|
||||||
|
|
||||||
|
if( processUI != null && new Date().getTime()-lastOutput > 1000 /* one second */){
|
||||||
|
processUI.statusUpdate(refreshImportStatus(idx + 1, data.size() + 1));
|
||||||
|
lastOutput = new Date().getTime();
|
||||||
|
}
|
||||||
|
|
||||||
|
String rawLine = rawData.get(idx);
|
||||||
|
StringBuilder rowResult = new StringBuilder();
|
||||||
|
boolean isDetail = false;
|
||||||
|
|
||||||
|
if (rawLine.charAt(0)==','){
|
||||||
|
isDetail=true;
|
||||||
|
//check out if master row comes empty
|
||||||
|
Map<String, Object> rowMap = data.get(idx);
|
||||||
|
for(int i=0; i < indxDetail-1; i++){
|
||||||
|
if(rowMap.get(header.get(i))!=null){
|
||||||
|
isDetail=false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!isMasterok && isDetail){
|
||||||
|
rawLine = rawLine + delimiter + quoteChar + Msg.getMsg(Env.getCtx(),"NotProcessed") + quoteChar + "\n";
|
||||||
|
rowsTmpResult.add(rawLine);
|
||||||
|
continue;
|
||||||
|
}else if(isMasterok && isDetail && !isDetailok){
|
||||||
|
rawLine = rawLine + delimiter + quoteChar + "Record not proccesed due to detail record failure" + quoteChar + "\n";
|
||||||
|
rowsTmpResult.add(rawLine);
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if( isSingleTrx() && trx == null )
|
||||||
|
createTrx(gridTab);
|
||||||
|
|
||||||
|
if( !isDetail && !isSingleTrx() ){
|
||||||
|
manageMasterTrx(gridTab, null);
|
||||||
|
createTrx(gridTab);
|
||||||
|
}
|
||||||
|
|
||||||
|
String recordResult = processRecord(importMode, gridTab, indxDetail, isDetail, idx, rowResult);
|
||||||
|
rowResult.append(recordResult);
|
||||||
|
|
||||||
|
// write
|
||||||
|
rawLine = rawLine + delimiter + quoteChar + rowResult.toString().replaceAll(delimiter, "") + quoteChar + "\n";
|
||||||
|
rowsTmpResult.add(rawLine);
|
||||||
|
|
||||||
|
if( isSingleTrx() && isError() )
|
||||||
|
break;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
manageMasterTrx(gridTab,childs);
|
||||||
|
|
||||||
|
}
|
||||||
|
} catch (IOException e) {
|
||||||
|
throw new AdempiereException(e);
|
||||||
|
} catch (Exception ex) {
|
||||||
|
throw new AdempiereException(ex);
|
||||||
|
} finally {
|
||||||
|
try {
|
||||||
|
if (mapReader != null)
|
||||||
|
mapReader.close();
|
||||||
|
if (errFileW != null) {
|
||||||
|
errFileW.flush();
|
||||||
|
errFileW.close();
|
||||||
|
}
|
||||||
|
if (logFileW != null) {
|
||||||
|
logFileW.flush();
|
||||||
|
logFileW.close();
|
||||||
|
}
|
||||||
|
} catch (IOException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (logFile != null)
|
||||||
|
return logFile;
|
||||||
|
else
|
||||||
|
return errFile;
|
||||||
|
}//fileImport
|
||||||
|
|
||||||
|
private void initValues(){
|
||||||
|
mapReader = null;
|
||||||
|
errFile = null;
|
||||||
|
logFile = null;
|
||||||
|
errFileW = null;
|
||||||
|
logFileW = null;
|
||||||
|
masterRecord = null;
|
||||||
|
readProcArray = new ArrayList<CellProcessor>();
|
||||||
|
tabMapIndexes = new HashMap<GridTab,Integer>();
|
||||||
|
locationFields = null;
|
||||||
|
isThereKey = false;
|
||||||
|
isThereDocAction = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Rollsback the trx and update the text in the file
|
||||||
|
*/
|
||||||
|
private void rollbackTrx(){
|
||||||
|
trx.rollback();
|
||||||
|
for( String row : rowsTmpResult ){
|
||||||
|
row = row.replaceAll("Updated","RolledBack");
|
||||||
|
row = row.replaceAll("Inserted","RolledBack");
|
||||||
|
logFileW.write(row);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Commit the trx and writes in the file
|
||||||
|
*/
|
||||||
|
private void commitTrx(){
|
||||||
|
trx.commit();
|
||||||
|
for( String row : rowsTmpResult )
|
||||||
|
logFileW.write(row);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Map the header and returns the index where the detail starts
|
||||||
|
* @param gridTab
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private int mapCSVHeader(GridTab gridTab){
|
||||||
|
|
||||||
|
int indxDetail = 0;
|
||||||
|
|
||||||
for(int idx = 0; idx < header.size(); idx++) {
|
for(int idx = 0; idx < header.size(); idx++) {
|
||||||
String headName = header.get(idx);
|
String headName = header.get(idx);
|
||||||
|
|
||||||
|
@ -170,15 +367,18 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isUpdateOrMergeMode() && !isThereKey)
|
return indxDetail;
|
||||||
throwAdempiereException(gridTab.getTableName()+": "+Msg.getMsg(Env.getCtx(), "NoKeyFound"));
|
}//mapFileHeader
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Map details fields in the csv file
|
||||||
|
* @param indxDetail
|
||||||
|
*/
|
||||||
|
private void mapCSVDetail(int indxDetail, List<GridTab> childs){
|
||||||
|
|
||||||
tabMapIndexes.put(gridTab,indxDetail-1);
|
|
||||||
String childTableName = null;
|
String childTableName = null;
|
||||||
isThereKey = false;
|
|
||||||
locationFields = null;
|
|
||||||
GridTab currentDetailTab = null;
|
GridTab currentDetailTab = null;
|
||||||
//Mapping details
|
|
||||||
for(int idx = indxDetail; idx < header.size(); idx++) {
|
for(int idx = indxDetail; idx < header.size(); idx++) {
|
||||||
String detailName = header.get(idx);
|
String detailName = header.get(idx);
|
||||||
if(detailName!=null && detailName.indexOf(">") > 0){
|
if(detailName!=null && detailName.indexOf(">") > 0){
|
||||||
|
@ -232,7 +432,6 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
throwAdempiereException(Msg.getMsg(Env.getCtx(),"WrongDetailName",new Object[] {" col("+idx+") ",detailName}));
|
throwAdempiereException(Msg.getMsg(Env.getCtx(),"WrongDetailName",new Object[] {" col("+idx+") ",detailName}));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(currentDetailTab!=null){
|
if(currentDetailTab!=null){
|
||||||
if(isUpdateOrMergeMode() && !isThereKey)
|
if(isUpdateOrMergeMode() && !isThereKey)
|
||||||
throwAdempiereException(currentDetailTab.getTableName()+": "+Msg.getMsg(Env.getCtx(), "NoKeyFound"));
|
throwAdempiereException(currentDetailTab.getTableName()+": "+Msg.getMsg(Env.getCtx(), "NoKeyFound"));
|
||||||
|
@ -240,43 +439,39 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
tabMapIndexes.put(currentDetailTab,header.size()-1);
|
tabMapIndexes.put(currentDetailTab,header.size()-1);
|
||||||
}
|
}
|
||||||
|
|
||||||
TreeMap<GridTab,Integer> sortedtTabMapIndexes= null;
|
}//mapFileDetail
|
||||||
if (childs.size()>0 && !tabMapIndexes.isEmpty()){
|
|
||||||
ValueComparator bvc = new ValueComparator(tabMapIndexes);
|
/**
|
||||||
sortedtTabMapIndexes = new TreeMap<GridTab,Integer>(bvc);
|
* Pre process te file lookign for errors
|
||||||
sortedtTabMapIndexes.putAll(tabMapIndexes);
|
* @param processUI
|
||||||
}else{
|
* @param gridTab
|
||||||
Map<GridTab,Integer> localMapIndexes = new HashMap<GridTab,Integer>();
|
* @param indxDetail
|
||||||
localMapIndexes.put(gridTab, header.size()-1);
|
*/
|
||||||
ValueComparator bvc = new ValueComparator(localMapIndexes);
|
private void preProcess(IProcessUI processUI, GridTab gridTab, int indxDetail){
|
||||||
sortedtTabMapIndexes = new TreeMap<GridTab,Integer>(bvc);
|
|
||||||
sortedtTabMapIndexes.putAll(localMapIndexes);
|
|
||||||
}
|
|
||||||
|
|
||||||
CellProcessor[] processors = readProcArray.toArray(new CellProcessor[readProcArray.size()]);
|
CellProcessor[] processors = readProcArray.toArray(new CellProcessor[readProcArray.size()]);
|
||||||
m_isError = false;
|
|
||||||
// write the header
|
|
||||||
String rawHeader = mapReader.getUntokenizedRow();
|
|
||||||
errFileW.write(rawHeader + delimiter + ERROR_HEADER + "\n");
|
|
||||||
List<Map<String, Object>> data = new ArrayList<Map<String, Object>>();
|
|
||||||
List<String> rawData = new ArrayList<String>();
|
|
||||||
// pre-process to check for errors
|
|
||||||
long lastOutput = new Date().getTime();
|
long lastOutput = new Date().getTime();
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
if( processUI != null && new Date().getTime()-lastOutput > 1000 /* one second */){
|
if( processUI != null && new Date().getTime()-lastOutput > 1000 /* one second */){
|
||||||
processUI.statusUpdate(refreshImportStatus(data.size(), 0));
|
processUI.statusUpdate(refreshImportStatus(data.size(), 0));
|
||||||
lastOutput = new Date().getTime();
|
lastOutput = new Date().getTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, Object> map = null;
|
Map<String, Object> map = null;
|
||||||
boolean isLineError = false;
|
boolean isLineError = false;
|
||||||
StringBuilder errMsg = new StringBuilder();
|
StringBuilder errMsg = new StringBuilder();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
map = mapReader.read((String [])header.toArray(), processors);
|
map = mapReader.read( (String []) header.toArray(), processors);
|
||||||
} catch (SuperCsvCellProcessorException e) {
|
} catch (SuperCsvCellProcessorException e) {
|
||||||
int idx = e.getCsvContext().getColumnNumber() - 1;
|
int idx = e.getCsvContext().getColumnNumber() - 1;
|
||||||
errMsg.append(header.get(idx)).append(": ").append(e.getMessage());
|
errMsg.append(header.get(idx)).append(": ").append(e.getMessage());
|
||||||
isLineError = true;
|
isLineError = true;
|
||||||
|
} catch (IOException e) {
|
||||||
|
throw new AdempiereException(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
String rawLine = mapReader.getUntokenizedRow();
|
String rawLine = mapReader.getUntokenizedRow();
|
||||||
if (! isLineError) {
|
if (! isLineError) {
|
||||||
if(map == null)
|
if(map == null)
|
||||||
|
@ -313,76 +508,30 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
rawLine = rawLine + delimiter + quoteChar + errMsg.toString().replaceAll(quoteChar, "") + quoteChar + "\n";
|
rawLine = rawLine + delimiter + quoteChar + errMsg.toString().replaceAll(quoteChar, "") + quoteChar + "\n";
|
||||||
errFileW.write(rawLine);
|
errFileW.write(rawLine);
|
||||||
}
|
}
|
||||||
|
}//preProcess
|
||||||
|
|
||||||
if (!m_isError) {
|
/**
|
||||||
String logFileName = FileUtil.getTempMailName("Import_" + gridTab.getTableName(), "_log.csv");
|
* Manage the trx
|
||||||
logFile = new File(logFileName);
|
* if the trx exists - commits when no errors, rollback when errors.
|
||||||
logFileW = new PrintWriter(logFile, charset.name());
|
* @param gridTab
|
||||||
// write the header
|
* @param childs
|
||||||
logFileW.write(rawHeader + delimiter + LOG_HEADER + "\n");
|
*/
|
||||||
// no errors found - process header and then details
|
private void manageMasterTrx(GridTab gridTab, List<GridTab> childs){
|
||||||
boolean isMasterok = true;
|
|
||||||
boolean isDetailok = true;
|
|
||||||
boolean error=false;
|
|
||||||
Trx trx = null;
|
|
||||||
String trxName= null;
|
|
||||||
List<String> rowsTmpResult = new ArrayList<String>();
|
|
||||||
lastOutput = new Date().getTime();
|
|
||||||
|
|
||||||
for (int idx = 0; idx < data.size(); idx++) {
|
if( trx != null ){
|
||||||
if( processUI != null && new Date().getTime()-lastOutput > 1000 /* one second */){
|
|
||||||
processUI.statusUpdate(refreshImportStatus(idx + 1, data.size() + 1));
|
|
||||||
lastOutput = new Date().getTime();
|
|
||||||
}
|
|
||||||
String rawLine = rawData.get(idx);
|
|
||||||
String logMsg = null;
|
|
||||||
StringBuilder rowResult = new StringBuilder();
|
|
||||||
GridTab currentGridTab=null;
|
|
||||||
boolean isDetail=false;
|
|
||||||
int currentColumn=0;
|
|
||||||
|
|
||||||
if (rawLine.charAt(0)==','){
|
if( isError() ) {
|
||||||
isDetail=true;
|
rollbackTrx();
|
||||||
//check out if master row comes empty
|
setError(false);
|
||||||
Map<String, Object> rowMap = data.get(idx);
|
|
||||||
for(int i=0; i < indxDetail-1; i++){
|
|
||||||
if(rowMap.get(header.get(i))!=null){
|
|
||||||
isDetail=false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isMasterok && isDetail){
|
|
||||||
rawLine = rawLine + delimiter + quoteChar + Msg.getMsg(Env.getCtx(),"NotProcessed") + quoteChar + "\n";
|
|
||||||
rowsTmpResult.add(rawLine);
|
|
||||||
continue;
|
|
||||||
}else if(isMasterok && isDetail && !isDetailok){
|
|
||||||
rawLine = rawLine + delimiter + quoteChar + "Record not proccesed due to detail record failure" + quoteChar + "\n";
|
|
||||||
rowsTmpResult.add(rawLine);
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
try {
|
|
||||||
|
|
||||||
if(!isDetail){
|
|
||||||
if(trx!=null){
|
|
||||||
if(error){
|
|
||||||
trx.rollback();
|
|
||||||
for(String row:rowsTmpResult){
|
|
||||||
row =row.replaceAll("Updated","RolledBack");
|
|
||||||
row =row.replaceAll("Inserted","RolledBack");
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
|
||||||
error =false;
|
|
||||||
}else {
|
}else {
|
||||||
|
|
||||||
if(isThereDocAction){
|
if( isThereDocAction ){
|
||||||
|
|
||||||
boolean isError = false;
|
boolean isError = false;
|
||||||
int AD_Process_ID = MColumn.get(Env.getCtx(),gridTab.getField("DocAction").getAD_Column_ID()).getAD_Process_ID();
|
int AD_Process_ID = MColumn.get(Env.getCtx(), gridTab.getField("DocAction").getAD_Column_ID()).getAD_Process_ID();
|
||||||
|
|
||||||
if( AD_Process_ID > 0 ){
|
if( AD_Process_ID > 0 ){
|
||||||
String docResult = processDocAction(masterRecord,AD_Process_ID);
|
String docResult = processDocAction(masterRecord, AD_Process_ID);
|
||||||
|
|
||||||
if(docResult.contains("error"))
|
if(docResult.contains("error"))
|
||||||
isError = true;
|
isError = true;
|
||||||
|
@ -392,46 +541,81 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
throwAdempiereException("No Process found for document action.");
|
throwAdempiereException("No Process found for document action.");
|
||||||
}
|
}
|
||||||
|
|
||||||
if(isError){
|
if( isError ){
|
||||||
trx.rollback();
|
rollbackTrx();
|
||||||
for(String row:rowsTmpResult){
|
}else{
|
||||||
row = row.replaceAll("Updated","RolledBack");
|
commitTrx();
|
||||||
row = row.replaceAll("Inserted","RolledBack");
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
}
|
||||||
}else{
|
}else{
|
||||||
trx.commit();
|
commitTrx();
|
||||||
for(String row:rowsTmpResult)
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
|
||||||
}else{
|
|
||||||
trx.commit();
|
|
||||||
for(String row:rowsTmpResult)
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if( childs != null ){
|
||||||
|
if( masterRecord != null ){
|
||||||
|
gridTab.query(false);
|
||||||
|
gridTab.getTableModel().setImportingMode(false,null);
|
||||||
|
for( GridTab detail : childs )
|
||||||
|
if( detail.getTableModel().isOpen() ){
|
||||||
|
detail.query(true);
|
||||||
|
detail.getTableModel().setImportingMode(false,null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
trx.close();
|
trx.close();
|
||||||
trx=null;
|
trx=null;
|
||||||
}
|
}
|
||||||
trxName = "Import_" + gridTab.getTableName() + "_" + UUID.randomUUID();
|
|
||||||
|
}//manageMasterTrx
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create a new Trx with a random Name
|
||||||
|
* @param gridTab
|
||||||
|
*/
|
||||||
|
private void createTrx(GridTab gridTab){
|
||||||
|
|
||||||
|
trxName = getTrxName(gridTab.getTableName());
|
||||||
gridTab.getTableModel().setImportingMode(true,trxName);
|
gridTab.getTableModel().setImportingMode(true,trxName);
|
||||||
trx = Trx.get(trxName,true);
|
trx = Trx.get(trxName,true);
|
||||||
masterRecord = null;
|
masterRecord = null;
|
||||||
rowsTmpResult.clear();
|
rowsTmpResult.clear();
|
||||||
isMasterok = true;
|
isMasterok = true;
|
||||||
isDetailok = true;
|
isDetailok = true;
|
||||||
}
|
|
||||||
|
|
||||||
for(Map.Entry<GridTab, Integer> tabIndex : sortedtTabMapIndexes.entrySet()) {
|
} //createTrx
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Process the record for each row
|
||||||
|
* First insert the master tab - if no errors found proceeds with the details tabs when existing
|
||||||
|
* Stops at the first error found in the row
|
||||||
|
* @param importMode
|
||||||
|
* @param gridTab
|
||||||
|
* @param indxDetail
|
||||||
|
* @param isDetail
|
||||||
|
* @param idx
|
||||||
|
* @param rowResult
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private String processRecord(String importMode, GridTab gridTab, int indxDetail, boolean isDetail, int idx, StringBuilder rowResult){
|
||||||
|
|
||||||
|
String logMsg = null;
|
||||||
|
GridTab currentGridTab = null;
|
||||||
|
int currentColumn = 0;
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
|
for( Map.Entry<GridTab, Integer> tabIndex : sortedtTabMapIndexes.entrySet() ) {
|
||||||
|
|
||||||
currentGridTab = tabIndex.getKey();
|
currentGridTab = tabIndex.getKey();
|
||||||
|
|
||||||
if(isDetail && gridTab.equals(currentGridTab)){
|
if( isDetail && gridTab.equals(currentGridTab) ){
|
||||||
currentColumn=indxDetail;
|
currentColumn = indxDetail;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
//Assign master trx to its children
|
//Assign master trx to its children
|
||||||
if(!gridTab.equals(currentGridTab)){
|
if( !gridTab.equals(currentGridTab) ){
|
||||||
currentGridTab.getTableModel().setImportingMode(true,trxName);
|
currentGridTab.getTableModel().setImportingMode(true,trxName);
|
||||||
isDetail=true;
|
isDetail=true;
|
||||||
}
|
}
|
||||||
|
@ -440,46 +624,49 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
logMsg = areValidKeysAndColumns(currentGridTab,data.get(idx),header,currentColumn,j,masterRecord,trx);
|
logMsg = areValidKeysAndColumns(currentGridTab,data.get(idx),header,currentColumn,j,masterRecord,trx);
|
||||||
|
|
||||||
if (logMsg == null){
|
if (logMsg == null){
|
||||||
if (isInsertMode()){
|
|
||||||
if(!currentGridTab.getTableModel().isOpen())
|
if ( isInsertMode() ){
|
||||||
|
if( !currentGridTab.getTableModel().isOpen() )
|
||||||
currentGridTab.getTableModel().open(0);
|
currentGridTab.getTableModel().open(0);
|
||||||
//how to read from status since the warning is coming empty ?
|
//how to read from status since the warning is coming empty ?
|
||||||
if (!currentGridTab.dataNew(false)){
|
if ( !currentGridTab.dataNew(false) ){
|
||||||
logMsg = "["+currentGridTab.getName()+"]"+"- Was not able to create a new record!";
|
logMsg = "["+currentGridTab.getName()+"]"+"- Was not able to create a new record!";
|
||||||
}else{
|
}else{
|
||||||
currentGridTab.navigateCurrent();
|
currentGridTab.navigateCurrent();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(logMsg==null)
|
if( logMsg==null )
|
||||||
logMsg = proccessRow(currentGridTab,header,data.get(idx),currentColumn,j,masterRecord,trx);
|
logMsg = proccessRow(currentGridTab,header,data.get(idx),currentColumn,j,masterRecord,trx);
|
||||||
|
|
||||||
currentColumn = j + 1;
|
currentColumn = j + 1;
|
||||||
if(!(logMsg == null)){
|
if( !(logMsg == null) ){
|
||||||
m_import_mode =importMode;
|
m_import_mode = importMode;
|
||||||
//Ignore row since there is no data
|
//Ignore row since there is no data
|
||||||
if("NO_DATA_TO_IMPORT".equals(logMsg)){
|
if("NO_DATA_TO_IMPORT".equals(logMsg)){
|
||||||
logMsg ="";
|
logMsg = "";
|
||||||
continue;
|
continue;
|
||||||
}else
|
}else
|
||||||
error =true;
|
setError(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
}else {
|
}else {
|
||||||
error =true;
|
setError(true);
|
||||||
currentColumn = j + 1;
|
currentColumn = j + 1;
|
||||||
}
|
}
|
||||||
if (! error) {
|
|
||||||
if (currentGridTab.dataSave(false)){
|
if ( !isError() ) {
|
||||||
|
if ( currentGridTab.dataSave(false) ){
|
||||||
PO po = currentGridTab.getTableModel().getPO(currentGridTab.getCurrentRow());
|
PO po = currentGridTab.getTableModel().getPO(currentGridTab.getCurrentRow());
|
||||||
//Keep master record for details validation
|
//Keep master record for details validation
|
||||||
if(currentGridTab.equals(gridTab))
|
if(currentGridTab.equals(gridTab))
|
||||||
masterRecord = po;
|
masterRecord = po;
|
||||||
|
|
||||||
if(isInsertMode())
|
if( isInsertMode() )
|
||||||
logMsg = Msg.getMsg(Env.getCtx(), "Inserted")+" "+ po.toString();
|
logMsg = Msg.getMsg(Env.getCtx(), "Inserted") + " " + po.toString();
|
||||||
else{
|
else{
|
||||||
logMsg = Msg.getMsg(Env.getCtx(), "Updated")+" "+ po.toString();
|
logMsg = Msg.getMsg(Env.getCtx(), "Updated") + " " + po.toString();
|
||||||
if(currentGridTab.equals(gridTab) && sortedtTabMapIndexes.size()>1)
|
if( currentGridTab.equals(gridTab) && sortedtTabMapIndexes.size()>1 )
|
||||||
currentGridTab.dataRefresh(true);
|
currentGridTab.dataRefresh(true);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
@ -489,47 +676,52 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
|
|
||||||
String info = null;
|
String info = null;
|
||||||
|
|
||||||
if (ppE != null)
|
if ( ppE != null )
|
||||||
info = ppE.getName();
|
info = ppE.getName();
|
||||||
if (info == null)
|
if ( info == null )
|
||||||
info = "";
|
info = "";
|
||||||
|
|
||||||
logMsg = Msg.getMsg(Env.getCtx(), "Error") + " " + Msg.getMsg(Env.getCtx(), "SaveError") + " (" + info + ")";
|
logMsg = Msg.getMsg(Env.getCtx(), "Error") + " " + Msg.getMsg(Env.getCtx(), "SaveError") + " (" + info + ")";
|
||||||
currentGridTab.dataIgnore();
|
currentGridTab.dataIgnore();
|
||||||
|
|
||||||
if(currentGridTab.equals(gridTab) && masterRecord==null){
|
//Problem in the master record
|
||||||
|
if( currentGridTab.equals(gridTab) && masterRecord == null ){
|
||||||
isMasterok = false;
|
isMasterok = false;
|
||||||
rowResult.append("<"+currentGridTab.getTableName()+">: ");
|
rowResult.append( "<" + currentGridTab.getTableName() + ">: " );
|
||||||
rowResult.append(logMsg);
|
rowResult.append(logMsg);
|
||||||
rowResult.append(" / ");
|
rowResult.append(" / ");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!currentGridTab.equals(gridTab) && masterRecord!=null){
|
//Problem in the detail record
|
||||||
|
if( !currentGridTab.equals(gridTab) && masterRecord != null ){
|
||||||
isDetailok = false;
|
isDetailok = false;
|
||||||
rowResult.append("<"+currentGridTab.getTableName()+">: ");
|
rowResult.append( "<" + currentGridTab.getTableName() + ">: " );
|
||||||
rowResult.append(logMsg);
|
rowResult.append(logMsg);
|
||||||
rowResult.append(" / ");
|
rowResult.append(" / ");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
rowResult.append("<"+currentGridTab.getTableName()+">: ");
|
|
||||||
|
rowResult.append( "<" + currentGridTab.getTableName() + ">: " );
|
||||||
rowResult.append(logMsg);
|
rowResult.append(logMsg);
|
||||||
rowResult.append(" / ");
|
rowResult.append(" / ");
|
||||||
} else {
|
|
||||||
|
} else { //if error true
|
||||||
currentGridTab.dataIgnore();
|
currentGridTab.dataIgnore();
|
||||||
|
|
||||||
rowResult.append("<"+currentGridTab.getTableName()+">: ");
|
rowResult.append( "<" + currentGridTab.getTableName() + ">: " );
|
||||||
rowResult.append(logMsg);
|
rowResult.append(logMsg);
|
||||||
rowResult.append(" / ");
|
rowResult.append(" / ");
|
||||||
|
|
||||||
//Master Failed, thus details cannot be imported
|
//Master Failed, thus details cannot be imported
|
||||||
if(currentGridTab.equals(gridTab) && masterRecord==null){
|
if( currentGridTab.equals(gridTab) && masterRecord == null ){
|
||||||
isMasterok = false;
|
isMasterok = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!currentGridTab.equals(gridTab) && masterRecord!=null){
|
//Detail failed
|
||||||
|
if( !currentGridTab.equals(gridTab) && masterRecord != null ){
|
||||||
isDetailok = false;
|
isDetailok = false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -537,108 +729,31 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
m_import_mode = importMode;
|
m_import_mode = importMode;
|
||||||
}
|
}
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
rowResult.append("<"+currentGridTab.getTableName()+">: ");
|
|
||||||
|
rowResult.append( "<" + currentGridTab.getTableName() + ">: " );
|
||||||
rowResult.append(Msg.getMsg(Env.getCtx(), "Error") + " " + e);
|
rowResult.append(Msg.getMsg(Env.getCtx(), "Error") + " " + e);
|
||||||
rowResult.append(" / ");
|
rowResult.append(" / ");
|
||||||
currentGridTab.dataIgnore();
|
currentGridTab.dataIgnore();
|
||||||
|
|
||||||
error = true;
|
setError(true);
|
||||||
|
|
||||||
//Master Failed, thus details cannot be imported
|
//Master Failed, thus details cannot be imported
|
||||||
if(currentGridTab.equals(gridTab) && masterRecord==null)
|
if( currentGridTab.equals(gridTab) && masterRecord == null )
|
||||||
isMasterok = false;
|
isMasterok = false;
|
||||||
|
|
||||||
if(!currentGridTab.equals(gridTab) && masterRecord!=null)
|
if( !currentGridTab.equals(gridTab) && masterRecord != null )
|
||||||
isDetailok = false;
|
isDetailok = false;
|
||||||
|
|
||||||
} finally {
|
} finally {
|
||||||
m_import_mode =importMode;
|
m_import_mode = importMode;
|
||||||
}
|
|
||||||
// write
|
|
||||||
rawLine = rawLine + delimiter + quoteChar + rowResult.toString().replaceAll(delimiter, "") + quoteChar + "\n";
|
|
||||||
rowsTmpResult.add(rawLine);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if(trx!=null){
|
return rowResult.toString();
|
||||||
if(error){
|
|
||||||
trx.rollback();
|
|
||||||
for(String row:rowsTmpResult){
|
|
||||||
row =row.replaceAll("Updated","RolledBack");
|
|
||||||
row =row.replaceAll("Inserted","RolledBack");
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
|
||||||
}else{
|
|
||||||
if(isThereDocAction){
|
|
||||||
|
|
||||||
boolean isError = false;
|
}//processRecord
|
||||||
int AD_Process_ID = MColumn.get(Env.getCtx(),gridTab.getField("DocAction").getAD_Column_ID()).getAD_Process_ID();
|
|
||||||
|
|
||||||
if( AD_Process_ID > 0 ){
|
private String getTrxName(String gritTabName){
|
||||||
String docResult = processDocAction(masterRecord,AD_Process_ID);
|
return "Import_" + gritTabName + "_" + UUID.randomUUID();
|
||||||
|
|
||||||
if(docResult.contains("error"))
|
|
||||||
isError = true;
|
|
||||||
|
|
||||||
rowsTmpResult.set(0,rowsTmpResult.get(0).replace(quoteChar + "\n",docResult + quoteChar + "\n"));
|
|
||||||
}else {
|
|
||||||
throwAdempiereException("No Process found for document action.");
|
|
||||||
}
|
|
||||||
|
|
||||||
if(isError){
|
|
||||||
trx.rollback();
|
|
||||||
for(String row:rowsTmpResult){
|
|
||||||
row = row.replaceAll("Updated","RolledBack");
|
|
||||||
row = row.replaceAll("Inserted","RolledBack");
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
|
||||||
}else{
|
|
||||||
trx.commit();
|
|
||||||
for(String row:rowsTmpResult)
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
|
||||||
}else {
|
|
||||||
trx.commit();
|
|
||||||
for(String row:rowsTmpResult)
|
|
||||||
logFileW.write(row);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
if(masterRecord!=null){
|
|
||||||
gridTab.query(false);
|
|
||||||
gridTab.getTableModel().setImportingMode(false,null);
|
|
||||||
for(GridTab detail: childs)
|
|
||||||
if(detail.getTableModel().isOpen()){
|
|
||||||
detail.query(true);
|
|
||||||
detail.getTableModel().setImportingMode(false,null);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
trx.close();
|
|
||||||
trx=null;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
} catch (IOException e) {
|
|
||||||
throw new AdempiereException(e);
|
|
||||||
} catch (Exception ex) {
|
|
||||||
throw new AdempiereException(ex);
|
|
||||||
} finally {
|
|
||||||
try {
|
|
||||||
if (mapReader != null)
|
|
||||||
mapReader.close();
|
|
||||||
if (errFileW != null) {
|
|
||||||
errFileW.flush();
|
|
||||||
errFileW.close();
|
|
||||||
}
|
|
||||||
if (logFileW != null) {
|
|
||||||
logFileW.flush();
|
|
||||||
logFileW.close();
|
|
||||||
}
|
|
||||||
} catch (IOException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (logFile != null)
|
|
||||||
return logFile;
|
|
||||||
else
|
|
||||||
return errFile;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private void throwAdempiereException(String msg){
|
private void throwAdempiereException(String msg){
|
||||||
|
@ -701,6 +816,10 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
if(headName.indexOf("/") > 0){
|
if(headName.indexOf("/") > 0){
|
||||||
if(headName.endsWith("K"))
|
if(headName.endsWith("K"))
|
||||||
headName = headName.substring(0,headName.length()-2);
|
headName = headName.substring(0,headName.length()-2);
|
||||||
|
else if (headName.endsWith("KT")){
|
||||||
|
setSingleTrx(true);
|
||||||
|
headName = headName.substring(0,headName.length()-3);
|
||||||
|
}
|
||||||
else
|
else
|
||||||
throw new AdempiereException(Msg.getMsg(Env.getCtx(), "ColumnKey")+" "+headName);
|
throw new AdempiereException(Msg.getMsg(Env.getCtx(), "ColumnKey")+" "+headName);
|
||||||
}
|
}
|
||||||
|
@ -1172,7 +1291,7 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
} else if (DisplayType.DateTime == field.getDisplayType()) {
|
} else if (DisplayType.DateTime == field.getDisplayType()) {
|
||||||
return (new Optional(new ParseDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT)));
|
return (new Optional(new ParseDate(DisplayType.DEFAULT_TIMESTAMP_FORMAT)));
|
||||||
} else if (DisplayType.Time == field.getDisplayType()) {
|
} else if (DisplayType.Time == field.getDisplayType()) {
|
||||||
return (new Optional(new ParseDate("DisplayType.DEFAULT_TIME_FORMAT")));
|
return (new Optional(new ParseDate(DisplayType.DEFAULT_TIME_FORMAT)));
|
||||||
} else if (DisplayType.Integer == field.getDisplayType()) {
|
} else if (DisplayType.Integer == field.getDisplayType()) {
|
||||||
return (new Optional(new ParseInt()));
|
return (new Optional(new ParseInt()));
|
||||||
} else if (DisplayType.isNumeric(field.getDisplayType())) {
|
} else if (DisplayType.isNumeric(field.getDisplayType())) {
|
||||||
|
@ -1195,7 +1314,7 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
List<String> parentColumns = new ArrayList<String>();
|
List<String> parentColumns = new ArrayList<String>();
|
||||||
//Process columnKeys + Foreign to add restrictions.
|
//Process columnKeys + Foreign to add restrictions.
|
||||||
for (int i = startindx ; i < endindx + 1 ; i++){
|
for (int i = startindx ; i < endindx + 1 ; i++){
|
||||||
boolean isKeyColumn = header.get(i).indexOf("/") > 0 && header.get(i).endsWith("K");
|
boolean isKeyColumn = header.get(i).indexOf("/") > 0 && ( header.get(i).endsWith("K") || header.get(i).endsWith("KT"));
|
||||||
if(isKeyColumn && !header.get(i).contains(MTable.getTableName(Env.getCtx(),MLocation.Table_ID))){
|
if(isKeyColumn && !header.get(i).contains(MTable.getTableName(Env.getCtx(),MLocation.Table_ID))){
|
||||||
boolean isForeing = header.get(i).indexOf("[") > 0 && header.get(i).indexOf("]")>0;
|
boolean isForeing = header.get(i).indexOf("[") > 0 && header.get(i).indexOf("]")>0;
|
||||||
boolean isDetail = header.get(i).indexOf(">") > 0;
|
boolean isDetail = header.get(i).indexOf(">") > 0;
|
||||||
|
@ -1410,6 +1529,22 @@ public class GridTabCSVImporter implements IGridTabImporter
|
||||||
return localFile;
|
return localFile;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean isError() {
|
||||||
|
return error;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isSingleTrx() {
|
||||||
|
return isSingleTrx;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSingleTrx(boolean isSingleTrx) {
|
||||||
|
this.isSingleTrx = isSingleTrx;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setError(boolean error) {
|
||||||
|
this.error = error;
|
||||||
|
}
|
||||||
|
|
||||||
static class ValueComparator implements Comparator<GridTab> {
|
static class ValueComparator implements Comparator<GridTab> {
|
||||||
Map<GridTab,Integer> base;
|
Map<GridTab,Integer> base;
|
||||||
public ValueComparator(Map<GridTab,Integer> base) {
|
public ValueComparator(Map<GridTab,Integer> base) {
|
||||||
|
|
|
@ -296,6 +296,7 @@ public class PromotionRule {
|
||||||
nol.setQty(qty);
|
nol.setQty(qty);
|
||||||
if (discount.scale() > 2)
|
if (discount.scale() > 2)
|
||||||
discount = discount.setScale(2, BigDecimal.ROUND_HALF_UP);
|
discount = discount.setScale(2, BigDecimal.ROUND_HALF_UP);
|
||||||
|
nol.setPriceEntered(discount.negate());
|
||||||
nol.setPriceActual(discount.negate());
|
nol.setPriceActual(discount.negate());
|
||||||
if (ol != null && Integer.toString(ol.getLine()).endsWith("0")) {
|
if (ol != null && Integer.toString(ol.getLine()).endsWith("0")) {
|
||||||
for(int i = 0; i < 9; i++) {
|
for(int i = 0; i < 9; i++) {
|
||||||
|
|
|
@ -67,13 +67,11 @@ public final class Adempiere
|
||||||
/** Timestamp */
|
/** Timestamp */
|
||||||
static public final String ID = "$Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $";
|
static public final String ID = "$Id: Adempiere.java,v 1.8 2006/08/11 02:58:14 jjanke Exp $";
|
||||||
/** Main Version String */
|
/** Main Version String */
|
||||||
// Conventions for naming second number is even for stable, and odd for unstable
|
static public String MAIN_VERSION = "Release 3.1";
|
||||||
// the releases will have a suffix (a) for alpha - (b) for beta - (t) for trunk - (s) for stable - and (LTS) for long term support
|
|
||||||
static public String MAIN_VERSION = "Release 2.1";
|
|
||||||
/** Detail Version as date Used for Client/Server */
|
/** Detail Version as date Used for Client/Server */
|
||||||
static public String DATE_VERSION = "2014-10-31";
|
static public String DATE_VERSION = "2015-10-31";
|
||||||
/** Database Version as date Compared with AD_System */
|
/** Database Version as date Compared with AD_System */
|
||||||
static public String DB_VERSION = "2014-10-31";
|
static public String DB_VERSION = "2015-10-31";
|
||||||
|
|
||||||
/** Product Name */
|
/** Product Name */
|
||||||
static public final String NAME = "iDempiere\u00AE";
|
static public final String NAME = "iDempiere\u00AE";
|
||||||
|
|
|
@ -549,6 +549,9 @@ public abstract class Convert
|
||||||
return true;
|
return true;
|
||||||
if (uppStmt.matches("INSERT INTO .*_TRL .*"))
|
if (uppStmt.matches("INSERT INTO .*_TRL .*"))
|
||||||
return true;
|
return true;
|
||||||
|
// Don't log tree custom table statements (not present in core)
|
||||||
|
if (uppStmt.startsWith("INSERT INTO AD_TREENODE ") && uppStmt.contains(" AND T.TREETYPE='TL' AND T.AD_TABLE_ID="))
|
||||||
|
return true;
|
||||||
for (int i = 0; i < dontLogTables.length; i++) {
|
for (int i = 0; i < dontLogTables.length; i++) {
|
||||||
if (uppStmt.startsWith("INSERT INTO " + dontLogTables[i] + " "))
|
if (uppStmt.startsWith("INSERT INTO " + dontLogTables[i] + " "))
|
||||||
return true;
|
return true;
|
||||||
|
|
|
@ -93,11 +93,12 @@ public class AttachmentFileSystem implements IAttachmentStore {
|
||||||
in.transferTo(0, in.size(), out);
|
in.transferTo(0, in.size(), out);
|
||||||
in.close();
|
in.close();
|
||||||
out.close();
|
out.close();
|
||||||
|
/* IDEMPIERE-2864
|
||||||
if(entryFile.exists()){
|
if(entryFile.exists()){
|
||||||
if(!entryFile.delete()){
|
if(!entryFile.delete()){
|
||||||
entryFile.deleteOnExit();
|
entryFile.deleteOnExit();
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
entryFile = destFile;
|
entryFile = destFile;
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
|
@ -281,8 +281,11 @@ public class GridField
|
||||||
*/
|
*/
|
||||||
public boolean refreshLookup()
|
public boolean refreshLookup()
|
||||||
{
|
{
|
||||||
// if there is a validation string, the lookup is unstable
|
if (m_lookup == null)
|
||||||
if (m_lookup == null || m_lookup.getValidation().length() == 0)
|
return true;
|
||||||
|
|
||||||
|
// if there is a validation string, the lookup is unstable - read-only fields are not loaded initially
|
||||||
|
if (m_lookup.getValidation().length() == 0 && m_lookup.isLoaded())
|
||||||
return true;
|
return true;
|
||||||
//
|
//
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("(" + m_vo.ColumnName + ")");
|
if (log.isLoggable(Level.FINE)) log.fine("(" + m_vo.ColumnName + ")");
|
||||||
|
@ -576,7 +579,7 @@ public class GridField
|
||||||
*/
|
*/
|
||||||
public Object getDefaultForPanel (){
|
public Object getDefaultForPanel (){
|
||||||
//default is preference for field > special case > default logic > sql default > data-type default
|
//default is preference for field > special case > default logic > sql default > data-type default
|
||||||
String defaultSeq = "63";
|
String defaultSeq = "623";
|
||||||
return getDefault (MSysConfig.getValue(MSysConfig.ZK_SEQ_DEFAULT_VALUE_PANEL, defaultSeq, Env.getAD_Client_ID(m_vo.ctx)));
|
return getDefault (MSysConfig.getValue(MSysConfig.ZK_SEQ_DEFAULT_VALUE_PANEL, defaultSeq, Env.getAD_Client_ID(m_vo.ctx)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1046,7 +1049,7 @@ public class GridField
|
||||||
// need to re-set invalid values - OK BPartner in PO Line - not OK SalesRep in Invoice
|
// need to re-set invalid values - OK BPartner in PO Line - not OK SalesRep in Invoice
|
||||||
if (m_lookup.getDirect(m_value, false, true) == null)
|
if (m_lookup.getDirect(m_value, false, true) == null)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINEST)) log.finest(m_vo.ColumnName + " Serach not valid - set to null");
|
if (log.isLoggable(Level.FINEST)) log.finest(m_vo.ColumnName + " Search not valid - set to null");
|
||||||
setValue(null, m_inserting);
|
setValue(null, m_inserting);
|
||||||
m_error = true;
|
m_error = true;
|
||||||
return false;
|
return false;
|
||||||
|
@ -1055,14 +1058,24 @@ public class GridField
|
||||||
}
|
}
|
||||||
|
|
||||||
// cannot be validated
|
// cannot be validated
|
||||||
if (!isLookup()
|
if (!isLookup() || m_lookup == null)
|
||||||
|| m_lookup == null
|
|
||||||
|| m_lookup.containsKeyNoDirect(m_value))
|
|
||||||
return true;
|
return true;
|
||||||
|
if (m_lookup.containsKeyNoDirect(m_value)) {
|
||||||
|
String name = m_lookup.get(m_value).getName();
|
||||||
|
if (! ( name.startsWith(MLookup.INACTIVE_S) && name.endsWith(MLookup.INACTIVE_E) ) ) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
// it's not null, a lookup and does not have the key
|
// it's not null, a lookup and does not have the key
|
||||||
if (isKey() || isParentValue()) // parents/ket are not validated
|
if (isKey() || isParentValue()) // parents/ket are not validated
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
// special case for IDEMPIERE-2781
|
||||||
|
if ( "AD_Client_ID".equals(m_vo.ColumnName)
|
||||||
|
&& "0".equals(m_value.toString())
|
||||||
|
&& Env.getAD_Client_ID(Env.getCtx()) == 0)
|
||||||
|
return true;
|
||||||
|
|
||||||
if (log.isLoggable(Level.FINEST)) log.finest(m_vo.ColumnName + " - set to null");
|
if (log.isLoggable(Level.FINEST)) log.finest(m_vo.ColumnName + " - set to null");
|
||||||
setValue(null, m_inserting);
|
setValue(null, m_inserting);
|
||||||
m_error = true;
|
m_error = true;
|
||||||
|
@ -1094,7 +1107,7 @@ public class GridField
|
||||||
// need to re-set invalid values - OK BPartner in PO Line - not OK SalesRep in Invoice
|
// need to re-set invalid values - OK BPartner in PO Line - not OK SalesRep in Invoice
|
||||||
if (m_lookup.getDirect(m_value, false, true) == null)
|
if (m_lookup.getDirect(m_value, false, true) == null)
|
||||||
{
|
{
|
||||||
if (log.isLoggable(Level.FINEST)) log.finest(m_vo.ColumnName + " Serach not valid - set to null");
|
if (log.isLoggable(Level.FINEST)) log.finest(m_vo.ColumnName + " Search not valid - set to null");
|
||||||
setValue(null, m_inserting);
|
setValue(null, m_inserting);
|
||||||
m_error = true;
|
m_error = true;
|
||||||
return false;
|
return false;
|
||||||
|
@ -1858,9 +1871,11 @@ public class GridField
|
||||||
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.ColumnName,
|
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.ColumnName,
|
||||||
((Boolean)m_value).booleanValue());
|
((Boolean)m_value).booleanValue());
|
||||||
}
|
}
|
||||||
|
if (m_gridTab != null) {
|
||||||
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName,
|
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName,
|
||||||
m_value==null ? null : (((Boolean)m_value) ? "Y" : "N"));
|
m_value==null ? null : (((Boolean)m_value) ? "Y" : "N"));
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if (m_value instanceof Timestamp)
|
else if (m_value instanceof Timestamp)
|
||||||
{
|
{
|
||||||
backupValue(); // teo_sarca [ 1699826 ]
|
backupValue(); // teo_sarca [ 1699826 ]
|
||||||
|
@ -1869,8 +1884,6 @@ public class GridField
|
||||||
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.ColumnName, (Timestamp)m_value);
|
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.ColumnName, (Timestamp)m_value);
|
||||||
}
|
}
|
||||||
// BUG:3075946 KTU - Fix Thai Date
|
// BUG:3075946 KTU - Fix Thai Date
|
||||||
//Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName,
|
|
||||||
// m_value==null ? null : m_value.toString().substring(0, m_value.toString().indexOf(".")));
|
|
||||||
String stringValue = null;
|
String stringValue = null;
|
||||||
if (m_value != null && !m_value.toString().equals("")) {
|
if (m_value != null && !m_value.toString().equals("")) {
|
||||||
Calendar c1 = Calendar.getInstance();
|
Calendar c1 = Calendar.getInstance();
|
||||||
|
@ -1878,7 +1891,9 @@ public class GridField
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
|
||||||
stringValue = sdf.format(c1.getTime());
|
stringValue = sdf.format(c1.getTime());
|
||||||
}
|
}
|
||||||
|
if (m_gridTab != null) {
|
||||||
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName, stringValue);
|
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName, stringValue);
|
||||||
|
}
|
||||||
// KTU - Fix Thai Date
|
// KTU - Fix Thai Date
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1889,10 +1904,12 @@ public class GridField
|
||||||
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.ColumnName,
|
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.ColumnName,
|
||||||
m_value==null ? null : m_value.toString());
|
m_value==null ? null : m_value.toString());
|
||||||
}
|
}
|
||||||
|
if (m_gridTab != null) {
|
||||||
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName,
|
Env.setContext(m_vo.ctx, m_vo.WindowNo, m_vo.TabNo, m_vo.ColumnName,
|
||||||
m_value==null ? null : m_value.toString());
|
m_value==null ? null : m_value.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Value and Validate
|
* Set Value and Validate
|
||||||
|
|
|
@ -41,8 +41,6 @@ import javax.swing.event.EventListenerList;
|
||||||
|
|
||||||
import org.adempiere.base.Core;
|
import org.adempiere.base.Core;
|
||||||
import org.adempiere.base.IColumnCallout;
|
import org.adempiere.base.IColumnCallout;
|
||||||
import org.adempiere.base.ServiceQuery;
|
|
||||||
import org.adempiere.base.equinox.EquinoxExtensionLocator;
|
|
||||||
import org.adempiere.model.MTabCustomization;
|
import org.adempiere.model.MTabCustomization;
|
||||||
import org.adempiere.util.ContextRunnable;
|
import org.adempiere.util.ContextRunnable;
|
||||||
import org.compiere.Adempiere;
|
import org.compiere.Adempiere;
|
||||||
|
@ -1145,7 +1143,7 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("#" + m_vo.TabNo);
|
if (log.isLoggable(Level.FINE)) log.fine("#" + m_vo.TabNo);
|
||||||
if (!isInsertRecord())
|
if (!isInsertRecord())
|
||||||
{
|
{
|
||||||
log.warning ("Inset Not allowed in TabNo=" + m_vo.TabNo);
|
log.warning ("Insert Not allowed in TabNo=" + m_vo.TabNo);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
// Prevent New Where Main Record is processed
|
// Prevent New Where Main Record is processed
|
||||||
|
@ -1186,10 +1184,9 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
setCurrentRow(m_currentRow + 1, true);
|
setCurrentRow(m_currentRow + 1, true);
|
||||||
|
|
||||||
// check validity of defaults
|
// check validity of defaults
|
||||||
for (int i = 0; i < getFieldCount(); i++)
|
for (GridField field : getFields()) {
|
||||||
{
|
field.refreshLookup();
|
||||||
getField(i).refreshLookup();
|
field.validateValueNoDirect();
|
||||||
getField(i).validateValueNoDirect();
|
|
||||||
}
|
}
|
||||||
// process all Callouts (no dependency check - assumed that settings are valid)
|
// process all Callouts (no dependency check - assumed that settings are valid)
|
||||||
for (int i = 0; i < getFieldCount(); i++)
|
for (int i = 0; i < getFieldCount(); i++)
|
||||||
|
@ -2911,15 +2908,15 @@ public class GridTab implements DataStatusListener, Evaluatee, Serializable
|
||||||
{
|
{
|
||||||
String className = cmd.substring(0,methodStart);
|
String className = cmd.substring(0,methodStart);
|
||||||
// IDEMPIERE-2732
|
// IDEMPIERE-2732
|
||||||
|
method = cmd.substring(methodStart+1);
|
||||||
// get corresponding callout
|
// get corresponding callout
|
||||||
call = Core.getCallout(className);
|
call = Core.getCallout(className, method);
|
||||||
// end IDEMPIERE-2732
|
// end IDEMPIERE-2732
|
||||||
if (call == null) {
|
if (call == null) {
|
||||||
//no match from factory, check java classpath
|
//no match from factory, check java classpath
|
||||||
Class<?> cClass = Class.forName(className);
|
Class<?> cClass = Class.forName(className);
|
||||||
call = (Callout)cClass.newInstance();
|
call = (Callout)cClass.newInstance();
|
||||||
}
|
}
|
||||||
method = cmd.substring(methodStart+1);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
|
@ -102,9 +102,11 @@ public class GridTable extends AbstractTableModel
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = -4440415447489133947L;
|
private static final long serialVersionUID = -3993077765244392901L;
|
||||||
|
|
||||||
public static final String DATA_REFRESH_MESSAGE = "Refreshed";
|
public static final String DATA_REFRESH_MESSAGE = "Refreshed";
|
||||||
|
public static final String DATA_UPDATE_COPIED_MESSAGE = "UpdateCopied";
|
||||||
|
public static final String DATA_INSERTED_MESSAGE = "Inserted";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* JDBC Based Buffered Table
|
* JDBC Based Buffered Table
|
||||||
|
@ -2621,7 +2623,7 @@ public class GridTable extends AbstractTableModel
|
||||||
// inform
|
// inform
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("Current=" + currentRow + ", New=" + m_newRow);
|
if (log.isLoggable(Level.FINE)) log.fine("Current=" + currentRow + ", New=" + m_newRow);
|
||||||
fireTableRowsInserted(m_newRow, m_newRow);
|
fireTableRowsInserted(m_newRow, m_newRow);
|
||||||
fireDataStatusIEvent(copyCurrent ? "UpdateCopied" : "Inserted", "");
|
fireDataStatusIEvent(copyCurrent ? DATA_UPDATE_COPIED_MESSAGE : DATA_INSERTED_MESSAGE, "");
|
||||||
if (log.isLoggable(Level.FINE)) log.fine("Current=" + currentRow + ", New=" + m_newRow + " - complete");
|
if (log.isLoggable(Level.FINE)) log.fine("Current=" + currentRow + ", New=" + m_newRow + " - complete");
|
||||||
return true;
|
return true;
|
||||||
} // dataNew
|
} // dataNew
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_AccessLog
|
/** Generated Interface for AD_AccessLog
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_AccessLog
|
public interface I_AD_AccessLog
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Alert
|
/** Generated Interface for AD_Alert
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Alert
|
public interface I_AD_Alert
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_AlertProcessor
|
/** Generated Interface for AD_AlertProcessor
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_AlertProcessor
|
public interface I_AD_AlertProcessor
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_AlertProcessorLog
|
/** Generated Interface for AD_AlertProcessorLog
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_AlertProcessorLog
|
public interface I_AD_AlertProcessorLog
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_AlertRecipient
|
/** Generated Interface for AD_AlertRecipient
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_AlertRecipient
|
public interface I_AD_AlertRecipient
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_AlertRule
|
/** Generated Interface for AD_AlertRule
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_AlertRule
|
public interface I_AD_AlertRule
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Archive
|
/** Generated Interface for AD_Archive
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Archive
|
public interface I_AD_Archive
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Attachment
|
/** Generated Interface for AD_Attachment
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Attachment
|
public interface I_AD_Attachment
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_AttachmentNote
|
/** Generated Interface for AD_AttachmentNote
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_AttachmentNote
|
public interface I_AD_AttachmentNote
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Attribute
|
/** Generated Interface for AD_Attribute
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Attribute
|
public interface I_AD_Attribute
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Attribute_Value
|
/** Generated Interface for AD_Attribute_Value
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Attribute_Value
|
public interface I_AD_Attribute_Value
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_BroadcastMessage
|
/** Generated Interface for AD_BroadcastMessage
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_BroadcastMessage
|
public interface I_AD_BroadcastMessage
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_ChangeLog
|
/** Generated Interface for AD_ChangeLog
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_ChangeLog
|
public interface I_AD_ChangeLog
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Chart
|
/** Generated Interface for AD_Chart
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Chart
|
public interface I_AD_Chart
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_ChartDatasource
|
/** Generated Interface for AD_ChartDatasource
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_ChartDatasource
|
public interface I_AD_ChartDatasource
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Client
|
/** Generated Interface for AD_Client
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Client
|
public interface I_AD_Client
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_ClientInfo
|
/** Generated Interface for AD_ClientInfo
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_ClientInfo
|
public interface I_AD_ClientInfo
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_ClientShare
|
/** Generated Interface for AD_ClientShare
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_ClientShare
|
public interface I_AD_ClientShare
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Color
|
/** Generated Interface for AD_Color
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Color
|
public interface I_AD_Color
|
||||||
{
|
{
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Column
|
/** Generated Interface for AD_Column
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Column
|
public interface I_AD_Column
|
||||||
{
|
{
|
||||||
|
@ -513,12 +513,12 @@ public interface I_AD_Column
|
||||||
public static final String COLUMNNAME_IsToolbarButton = "IsToolbarButton";
|
public static final String COLUMNNAME_IsToolbarButton = "IsToolbarButton";
|
||||||
|
|
||||||
/** Set Toolbar Button.
|
/** Set Toolbar Button.
|
||||||
* Add the column button to the toolbar
|
* Show the button on the toolbar, the window, or both
|
||||||
*/
|
*/
|
||||||
public void setIsToolbarButton (String IsToolbarButton);
|
public void setIsToolbarButton (String IsToolbarButton);
|
||||||
|
|
||||||
/** Get Toolbar Button.
|
/** Get Toolbar Button.
|
||||||
* Add the column button to the toolbar
|
* Show the button on the toolbar, the window, or both
|
||||||
*/
|
*/
|
||||||
public String getIsToolbarButton();
|
public String getIsToolbarButton();
|
||||||
|
|
||||||
|
|
|
@ -22,7 +22,7 @@ import org.compiere.util.KeyNamePair;
|
||||||
|
|
||||||
/** Generated Interface for AD_Column_Access
|
/** Generated Interface for AD_Column_Access
|
||||||
* @author iDempiere (generated)
|
* @author iDempiere (generated)
|
||||||
* @version Release 2.1
|
* @version Release 3.1
|
||||||
*/
|
*/
|
||||||
public interface I_AD_Column_Access
|
public interface I_AD_Column_Access
|
||||||
{
|
{
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue