diff --git a/migration/i1.0a-release/oracle/201211201820_SetupWizard.sql b/migration/i1.0a-release/oracle/201211201820_SetupWizard.sql index 98161a5173..aa5893685f 100644 --- a/migration/i1.0a-release/oracle/201211201820_SetupWizard.sql +++ b/migration/i1.0a-release/oracle/201211201820_SetupWizard.sql @@ -145,6 +145,476 @@ UPDATE AD_Field SET SeqNo=30,Updated=TO_DATE('2012-11-20 14:55:17','YYYY-MM-DD H INSERT INTO AD_TreeBar (AD_Tree_ID,AD_User_ID,Node_ID, AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy)VALUES (10,0,495,0,0,'Y',SysDate,0,SysDate,0) ; +-- Nov 27, 2012 10:58:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Tab SET IsSingleRow='Y', IsInsertRecord='N',Updated=TO_DATE('2012-11-27 22:58:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200031 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=10, IsDisplayed='Y', XPosition=1,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200841 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=20, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200844 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=30,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200842 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNo=40, IsDisplayed='Y', XPosition=5,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200839 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=50, IsDisplayed='Y', XPosition=1,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200847 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=60, IsDisplayed='Y', XPosition=4,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200845 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=5, NumLines=5, SeqNo=70, IsDisplayed='Y', XPosition=1,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200843 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNo=0, IsDisplayed='N', XPosition=1,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200840 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=0, IsDisplayed='N', XPosition=1,Updated=TO_DATE('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200846 +; + +-- Nov 27, 2012 11:02:42 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Column SET AD_Reference_Value_ID=286, AD_Reference_ID=30,Updated=TO_DATE('2012-11-27 23:02:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200913 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200840 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200841 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200844 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200846 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=200842 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=200847 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=200845 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=200843 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=200839 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200024 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=261 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53202 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=225 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200009 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200026 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=148 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=529 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=397 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=532 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53084 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=519 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=518 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200023 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53313 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=26, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53314 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=27, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53190 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=28, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=29, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200024 +; + SELECT register_migration_script('201211201820_SetupWizard.sql') FROM dual ; diff --git a/migration/i1.0a-release/postgresql/201211201820_SetupWizard.sql b/migration/i1.0a-release/postgresql/201211201820_SetupWizard.sql index 48a512b6fa..9e38bf23a7 100644 --- a/migration/i1.0a-release/postgresql/201211201820_SetupWizard.sql +++ b/migration/i1.0a-release/postgresql/201211201820_SetupWizard.sql @@ -145,6 +145,476 @@ UPDATE AD_Field SET SeqNo=30,Updated=TO_TIMESTAMP('2012-11-20 14:55:17','YYYY-MM INSERT INTO AD_TreeBar (AD_Tree_ID,AD_User_ID,Node_ID, AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy)VALUES (10,0,495,0,0,'Y',CURRENT_TIMESTAMP,0,CURRENT_TIMESTAMP,0) ; +-- Nov 27, 2012 10:58:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Tab SET IsSingleRow='Y', IsInsertRecord='N',Updated=TO_TIMESTAMP('2012-11-27 22:58:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200031 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=10, IsDisplayed='Y', XPosition=1,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200841 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=20, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200844 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=30,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200842 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNo=40, IsDisplayed='Y', XPosition=5,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200839 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=50, IsDisplayed='Y', XPosition=1,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200847 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=60, IsDisplayed='Y', XPosition=4,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200845 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=5, NumLines=5, SeqNo=70, IsDisplayed='Y', XPosition=1,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200843 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNo=0, IsDisplayed='N', XPosition=1,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200840 +; + +-- Nov 27, 2012 11:01:07 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET ColumnSpan=2, SeqNo=0, IsDisplayed='N', XPosition=1,Updated=TO_TIMESTAMP('2012-11-27 23:01:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200846 +; + +-- Nov 27, 2012 11:02:42 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Column SET AD_Reference_Value_ID=286, AD_Reference_ID=30,Updated=TO_TIMESTAMP('2012-11-27 23:02:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200913 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200840 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200841 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200844 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200846 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=200842 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=200847 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=200845 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=200843 +; + +-- Nov 27, 2012 11:04:10 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=200839 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=519 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=518 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200024 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=261 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53202 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=225 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200009 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200026 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=148 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=529 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=397 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=532 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53084 +; + +-- Nov 27, 2012 11:08:18 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=156, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53083 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=519 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=518 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=241 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=288 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=432 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=243 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=413 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=538 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=462 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=505 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200023 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=235 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=511 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=245 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=251 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=246 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=509 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=510 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=496 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=497 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=304 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=19, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=255 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=20, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=286 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=21, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=287 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=22, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=438 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=23, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=234 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=24, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=244 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=25, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53313 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=26, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53314 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=27, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53190 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=28, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53187 +; + +-- Nov 27, 2012 11:08:49 PM COT +-- IDEMPIERE-393 Setup wizards +UPDATE AD_TreeNodeMM SET Parent_ID=236, SeqNo=29, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200024 +; + SELECT register_migration_script('201211201820_SetupWizard.sql') FROM dual ; diff --git a/org.adempiere.base/src/org/compiere/model/PO.java b/org.adempiere.base/src/org/compiere/model/PO.java index 3abe129f1e..6ac559cab1 100644 --- a/org.adempiere.base/src/org/compiere/model/PO.java +++ b/org.adempiere.base/src/org/compiere/model/PO.java @@ -588,9 +588,15 @@ public abstract class PO log.log(Level.WARNING, "Index invalid - " + index); return false; } - if (m_newValues[index] == null) + Object newval = m_newValues[index]; + if (newval == null) return false; - return !m_newValues[index].equals(m_oldValues[index]); + if (newval == Null.NULL) + newval = null; + Object oldval = m_oldValues[index]; + if (newval == null && oldval == null) + return false; + return !newval.equals(oldval); } // is_ValueChanged /** diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WSetupWizard.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WSetupWizard.java index f80104d01a..ea31e3758f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WSetupWizard.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WSetupWizard.java @@ -35,8 +35,6 @@ import org.adempiere.webui.component.Rows; import org.adempiere.webui.component.Textbox; import org.adempiere.webui.editor.WSearchEditor; import org.adempiere.webui.editor.WTableDirEditor; -import org.adempiere.webui.event.ValueChangeEvent; -import org.adempiere.webui.event.ValueChangeListener; import org.adempiere.webui.panel.ADForm; import org.adempiere.webui.panel.CustomForm; import org.adempiere.webui.panel.IFormController; @@ -75,8 +73,7 @@ import org.zkoss.zul.West; * @author Carlos Ruiz * */ -@SuppressWarnings({"unchecked", "rawtypes"}) -public class WSetupWizard extends SetupWizard implements IFormController, EventListener, ValueChangeListener +public class WSetupWizard extends SetupWizard implements IFormController, EventListener { private CustomForm form = new CustomForm(); @@ -86,6 +83,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL private Label progressLabel = new Label(); // private Tree wfnodeTree; + private Treeitem prevti = null; private Label titleLabel = new Label(); private Iframe helpFrame = new Iframe(); @@ -103,9 +101,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL private Button bNext = new Button(); private Button bZoom = new Button(); private Button bExpand = new Button(); - - - + private Checkbox justmine = new Checkbox(); private Checkbox showColors = new Checkbox(); @@ -117,12 +113,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL private Vbox east = new Vbox(); private Vbox eastdown = new Vbox(); private Vbox westdown = new Vbox(); - - private Boolean [] status= null; - private boolean first = true; - private int i = 0; - - + private ArrayList openNodes = new ArrayList(); public WSetupWizard() { @@ -131,7 +122,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL preInit(); jbInit (); LayoutUtils.sendDeferLayoutEvent(mainLayout, 100); - first = false; } catch (Exception ex) { @@ -154,6 +144,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL * Load Wizard Nodes */ private void loadWizardNodes() { + nextItems.removeAll(nextItems); Treechildren treeChildren = wfnodeTree.getTreechildren(); List wfwizards = getWfWizards(); if (treeChildren == null) @@ -161,7 +152,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL treeChildren = new Treechildren(); wfnodeTree.appendChild(treeChildren); wfnodeTree.setMultiple(false); - status= new Boolean[wfwizards.size()]; } for(MWorkflow wfwizard : wfwizards) @@ -189,17 +179,16 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL Treecell treecell = new Treecell(); treerow.appendChild(treecell); treecell.appendChild(div); - - if(first) nextItems.add(treeitemwf); - - if (status[i] != null){ - treeitemwf.setOpen(status[i]); - i++; - } + if (openNodes.contains(wfwizard.getAD_Workflow_ID())) + treeitemwf.setOpen(true); addNodes(wfwizard, treeitemwf); treeitemwf.setAttribute("AD_Workflow_ID", wfwizard.getAD_Workflow_ID()); + if (prevti != null && prevti.getAttribute("AD_Workflow_ID") != null) { + if (prevti.getAttribute("AD_Workflow_ID").equals(treeitemwf.getAttribute("AD_Workflow_ID"))) + wfnodeTree.setSelectedItem(treeitemwf); + } } @@ -213,19 +202,14 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL private void addWfNode(MWFNode node, Treeitem treeitemwf) { /* TODO: Color of node according to wizard status */ Label nodeLabel = new Label(node.getName(true)); - if (node != null && showColors.isChecked()){ + if (node != null && showColors.isChecked()) { MWizardProcess wp = MWizardProcess.get(Env.getCtx(), node.getAD_WF_Node_ID(), Env.getAD_Client_ID(Env.getCtx())); - - if (MWizardProcess.WIZARDSTATUS_Pending.equals(wp.getWizardStatus()) || - MWizardProcess.WIZARDSTATUS_Delayed.equals(wp.getWizardStatus()) || - MWizardProcess.WIZARDSTATUS_In_Progress.equals(wp.getWizardStatus()) || - wp.getWizardStatus() == null){ + String status = wp.getWizardStatus(); + if ( MWizardProcess.WIZARDSTATUS_Finished.equals(status) + || MWizardProcess.WIZARDSTATUS_Skipped.equals(status)) { + nodeLabel.setStyle("background-color: #90EE90;margin-left:20px;"); + } else { nodeLabel.setStyle("background-color: #FFFF00;margin-left:20px;"); - - - }else if (MWizardProcess.WIZARDSTATUS_Finished.equals(wp.getWizardStatus()) || - MWizardProcess.WIZARDSTATUS_Skipped.equals(wp.getWizardStatus())){ - nodeLabel.setStyle("background-color: #00b300;margin-left:20px;"); } } @@ -249,7 +233,10 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL treecell.appendChild(div); childItem.setAttribute("AD_WF_Node_ID", node.getAD_WF_Node_ID()); - if(first) + if (prevti != null && prevti.getAttribute("AD_WF_Node_ID") != null) { + if (prevti.getAttribute("AD_WF_Node_ID").equals(childItem.getAttribute("AD_WF_Node_ID"))) + wfnodeTree.setSelectedItem(childItem); + } nextItems.add(childItem); } @@ -275,7 +262,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL bOK.setTooltiptext(Msg.getMsg(Env.getCtx(), "Update")); bOK.addEventListener(Events.ON_CLICK, this); - bNext.setImage("/images/Detail24.png"); + bNext.setImage("/images/Next24.png"); bNext.setTooltiptext(Msg.getMsg(Env.getCtx(), "Next")); bNext.addEventListener(Events.ON_CLICK, this); @@ -315,7 +302,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL false, "AD_Ref_List.Value IN ('D','S','I','F','P')"); statusField = new WTableDirEditor("WizardStatus", true, false, true,wizardL); statusField.setValue(MWizardProcess.WIZARDSTATUS_Pending); - statusField.addValueChangeListener(this); east.setVflex("1"); east.setHflex("1"); @@ -367,11 +353,9 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL MLookup lookup = MLookupFactory.get(Env.getCtx(), form.getWindowNo(), 0, 200913, DisplayType.Search); - userField = new WSearchEditor(lookup, Msg.translate( + userField = new WSearchEditor(lookup, Msg.translate( Env.getCtx(), "AD_User_ID"), "", false, false, true); - userField.addValueChangeListener(this); - row = new Row(); rows.appendChild(row); westdown.setOrient("horizontal"); @@ -388,7 +372,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL row.appendChild(westdown); row.setAlign("right"); - East east = new East(); mainLayout.appendChild(east); east.appendChild(gridView); @@ -432,16 +415,13 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL if (e.getTarget() == wfnodeTree) { onTreeSelection(e); } else if (e.getTarget() == bRefresh) { - refresh(); showInRightPanel(0, m_node.getAD_WF_Node_ID()); } else if (e.getTarget() == bOK) { int userid = 0; if (!userField.isNullOrEmpty()) userid = (Integer)userField.getValue(); - save(notesField.getText(), (String) statusField.getValue(), userid); - showInRightPanel(0, m_node.getAD_WF_Node_ID()); - refreshProgress(); - repaintTree(); + if (save(notesField.getText(), (String) statusField.getValue(), userid)) + repaintTree(); } else if (e.getTarget() == bNext) { navigateToNext(); } else if (e.getTarget() == bZoom) { @@ -457,36 +437,33 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL } // actionPerformed private void showColors() { - if(!showColors.isChecked()){ + if (!showColors.isChecked()) { for (Treeitem nextItem : nextItems){ Treeitem ti= nextItem; - if (ti.getLevel()!= 0){ - MWizardProcess wp = MWizardProcess.get(Env.getCtx(), (Integer) ti.getAttribute("AD_WF_Node_ID"), Env.getAD_Client_ID(Env.getCtx())); + if (ti.getLevel() != 0) { ti.setStyle("background-color: #FFFFFF;"); } } } repaintTree(); - } private void justMine() { - - if(justmine.isChecked()){ + if (justmine.isChecked()) { showChildren(false); - }else { + } else { showChildren(true); } } - private void showChildren(Boolean show) { + private void showChildren(boolean showmine) { int user = Env.getAD_User_ID(Env.getCtx()); for (Treeitem nextItem : nextItems){ Treeitem ti= nextItem; if (ti.getLevel()!= 0){ MWizardProcess wp = MWizardProcess.get(Env.getCtx(), (Integer) ti.getAttribute("AD_WF_Node_ID"), Env.getAD_Client_ID(Env.getCtx())); if (wp.getAD_User_ID() != user){ - ti.setVisible(show); + ti.setVisible(showmine); } } } @@ -515,36 +492,27 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL east.removeChild(eastdown); east.setVflex("1"); east.setHflex("1"); - for (Treeitem nextItem : nextItems){ - Treeitem ti= nextItem; - ti.getValue(); - if(ti.getLevel()==0){ - status[i]= ti.isOpen(); - i++; + openNodes.removeAll(openNodes); + for (Treeitem nextItem : nextItems) { + if (nextItem.isOpen() && nextItem.getAttribute("AD_Workflow_ID") != null) { + openNodes.add((Integer) nextItem.getAttribute("AD_Workflow_ID")); } } - i=0; + prevti = wfnodeTree.getSelectedItem(); wfnodeTree.clear(); loadWizardNodes(); - i=0; east.appendChild(wfnodeTree); east.appendChild(eastdown); refreshProgress(); } - private void refresh() { - if (m_node != null) { - MWizardProcess wp = MWizardProcess.get(Env.getCtx(), m_node.getAD_WF_Node_ID(), Env.getAD_Client_ID(Env.getCtx())); - notesField.setText(wp.getNote()); - statusField.setValue(wp.getWizardStatus()); - userField.setValue(wp.getAD_User()); - } - } - private void navigateToNext() { + boolean repaint = false; if (m_node != null) { - save(notesField.getText(), (String) statusField.getValue(), (Integer)userField.getValue()); - refreshProgress(); + int userid = 0; + if (!userField.isNullOrEmpty()) + userid = (Integer)userField.getValue(); + repaint = save(notesField.getText(), (String) statusField.getValue(), userid); } Treeitem ti = wfnodeTree.getSelectedItem(); if (ti == null || nextItems.indexOf(ti)+1 == nextItems.size()) { @@ -557,6 +525,8 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL wfnodeTree.setSelectedItem(nextti); showItem(nextti); } + if (repaint) + repaintTree(); } /** @@ -593,11 +563,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL MWizardProcess wp = MWizardProcess.get(Env.getCtx(), ad_wf_node_id, Env.getAD_Client_ID(Env.getCtx())); notesField.setText(wp.getNote()); statusField.setValue(wp.getWizardStatus()); - if (wp.getAD_User_ID()==0){ - userField.setValue(null); - }else{ - userField.setValue(wp.getAD_User_ID()); - } + userField.setValue(wp.getAD_User_ID() > 0 ? wp.getAD_User_ID() : null); setNotesPanelVisible(true); } else { MWorkflow wf = MWorkflow.get(Env.getCtx(), ad_workflow_id); @@ -634,10 +600,4 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL return form; } - @Override - public void valueChange(ValueChangeEvent e) { - log.info(e.getPropertyName() + "=" + e.getNewValue()); - /* if (e.getPropertyName().equals("WizardStatus")) */ - } - } // WSetupWizard \ No newline at end of file diff --git a/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java b/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java index 51b67c29d7..96401d2eca 100644 --- a/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java +++ b/org.adempiere.ui/src/org/compiere/apps/form/SetupWizard.java @@ -80,20 +80,21 @@ public class SetupWizard .list(); } - public void save(String note, String wizardStatus, int userField) { + public boolean save(String note, String wizardStatus, int userid) { MWizardProcess wp = MWizardProcess.get(Env.getCtx(), m_node.getAD_WF_Node_ID(), Env.getAD_Client_ID(Env.getCtx())); if (note != null && note.length() == 0) note = null; if (wizardStatus != null && wizardStatus.length() == 0) wizardStatus = null; - if ((wp.getAD_User_ID() == 0 && userField != 0) || (userField == 0 && userField != wp.getAD_User_ID())) - wp.setAD_User_ID(userField); - if ((wp.getNote() == null && note != null) || (note != null && !note.equals(wp.getNote()))) - wp.setNote(note); - if ((wp.getWizardStatus() == null && wizardStatus != null) || (wizardStatus != null && !wizardStatus.equals(wp.getWizardStatus()))) - wp.setWizardStatus(wizardStatus); - if (wp.is_Changed()) + wp.setAD_User_ID(userid); + wp.setNote(note); + wp.setWizardStatus(wizardStatus); + boolean statusChanged = wp.is_ValueChanged("WizardStatus"); + if (statusChanged + || wp.is_ValueChanged("Note") + || wp.is_ValueChanged("AD_User_ID")) wp.saveEx(); + return statusChanged; } } // SetupWizard