IDEMPIERE-393 Setup wizards / Peer review

This commit is contained in:
Carlos Ruiz 2012-11-28 01:05:41 -05:00
parent 7fa15475a8
commit 5c4de4a93a
5 changed files with 1001 additions and 94 deletions

View File

@ -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) 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 SELECT register_migration_script('201211201820_SetupWizard.sql') FROM dual
; ;

View File

@ -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) 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 SELECT register_migration_script('201211201820_SetupWizard.sql') FROM dual
; ;

View File

@ -588,9 +588,15 @@ public abstract class PO
log.log(Level.WARNING, "Index invalid - " + index); log.log(Level.WARNING, "Index invalid - " + index);
return false; return false;
} }
if (m_newValues[index] == null) Object newval = m_newValues[index];
if (newval == null)
return false; 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 } // is_ValueChanged
/** /**

View File

@ -35,8 +35,6 @@ import org.adempiere.webui.component.Rows;
import org.adempiere.webui.component.Textbox; import org.adempiere.webui.component.Textbox;
import org.adempiere.webui.editor.WSearchEditor; import org.adempiere.webui.editor.WSearchEditor;
import org.adempiere.webui.editor.WTableDirEditor; 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.ADForm;
import org.adempiere.webui.panel.CustomForm; import org.adempiere.webui.panel.CustomForm;
import org.adempiere.webui.panel.IFormController; import org.adempiere.webui.panel.IFormController;
@ -75,8 +73,7 @@ import org.zkoss.zul.West;
* @author Carlos Ruiz * @author Carlos Ruiz
* *
*/ */
@SuppressWarnings({"unchecked", "rawtypes"}) public class WSetupWizard extends SetupWizard implements IFormController, EventListener
public class WSetupWizard extends SetupWizard implements IFormController, EventListener, ValueChangeListener
{ {
private CustomForm form = new CustomForm(); private CustomForm form = new CustomForm();
@ -86,6 +83,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
private Label progressLabel = new Label(); private Label progressLabel = new Label();
// //
private Tree wfnodeTree; private Tree wfnodeTree;
private Treeitem prevti = null;
private Label titleLabel = new Label(); private Label titleLabel = new Label();
private Iframe helpFrame = new Iframe(); private Iframe helpFrame = new Iframe();
@ -104,8 +102,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
private Button bZoom = new Button(); private Button bZoom = new Button();
private Button bExpand = new Button(); private Button bExpand = new Button();
private Checkbox justmine = new Checkbox(); private Checkbox justmine = new Checkbox();
private Checkbox showColors = 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 east = new Vbox();
private Vbox eastdown = new Vbox(); private Vbox eastdown = new Vbox();
private Vbox westdown = new Vbox(); private Vbox westdown = new Vbox();
private ArrayList<Integer> openNodes = new ArrayList<Integer>();
private Boolean [] status= null;
private boolean first = true;
private int i = 0;
public WSetupWizard() public WSetupWizard()
{ {
@ -131,7 +122,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
preInit(); preInit();
jbInit (); jbInit ();
LayoutUtils.sendDeferLayoutEvent(mainLayout, 100); LayoutUtils.sendDeferLayoutEvent(mainLayout, 100);
first = false;
} }
catch (Exception ex) catch (Exception ex)
{ {
@ -154,6 +144,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
* Load Wizard Nodes * Load Wizard Nodes
*/ */
private void loadWizardNodes() { private void loadWizardNodes() {
nextItems.removeAll(nextItems);
Treechildren treeChildren = wfnodeTree.getTreechildren(); Treechildren treeChildren = wfnodeTree.getTreechildren();
List<MWorkflow> wfwizards = getWfWizards(); List<MWorkflow> wfwizards = getWfWizards();
if (treeChildren == null) if (treeChildren == null)
@ -161,7 +152,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
treeChildren = new Treechildren(); treeChildren = new Treechildren();
wfnodeTree.appendChild(treeChildren); wfnodeTree.appendChild(treeChildren);
wfnodeTree.setMultiple(false); wfnodeTree.setMultiple(false);
status= new Boolean[wfwizards.size()];
} }
for(MWorkflow wfwizard : wfwizards) for(MWorkflow wfwizard : wfwizards)
@ -189,17 +179,16 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
Treecell treecell = new Treecell(); Treecell treecell = new Treecell();
treerow.appendChild(treecell); treerow.appendChild(treecell);
treecell.appendChild(div); treecell.appendChild(div);
if(first)
nextItems.add(treeitemwf); nextItems.add(treeitemwf);
if (openNodes.contains(wfwizard.getAD_Workflow_ID()))
if (status[i] != null){ treeitemwf.setOpen(true);
treeitemwf.setOpen(status[i]);
i++;
}
addNodes(wfwizard, treeitemwf); addNodes(wfwizard, treeitemwf);
treeitemwf.setAttribute("AD_Workflow_ID", wfwizard.getAD_Workflow_ID()); 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) { private void addWfNode(MWFNode node, Treeitem treeitemwf) {
/* TODO: Color of node according to wizard status */ /* TODO: Color of node according to wizard status */
Label nodeLabel = new Label(node.getName(true)); 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())); MWizardProcess wp = MWizardProcess.get(Env.getCtx(), node.getAD_WF_Node_ID(), Env.getAD_Client_ID(Env.getCtx()));
String status = wp.getWizardStatus();
if (MWizardProcess.WIZARDSTATUS_Pending.equals(wp.getWizardStatus()) || if ( MWizardProcess.WIZARDSTATUS_Finished.equals(status)
MWizardProcess.WIZARDSTATUS_Delayed.equals(wp.getWizardStatus()) || || MWizardProcess.WIZARDSTATUS_Skipped.equals(status)) {
MWizardProcess.WIZARDSTATUS_In_Progress.equals(wp.getWizardStatus()) || nodeLabel.setStyle("background-color: #90EE90;margin-left:20px;");
wp.getWizardStatus() == null){ } else {
nodeLabel.setStyle("background-color: #FFFF00;margin-left:20px;"); 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); treecell.appendChild(div);
childItem.setAttribute("AD_WF_Node_ID", node.getAD_WF_Node_ID()); 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); nextItems.add(childItem);
} }
@ -275,7 +262,7 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
bOK.setTooltiptext(Msg.getMsg(Env.getCtx(), "Update")); bOK.setTooltiptext(Msg.getMsg(Env.getCtx(), "Update"));
bOK.addEventListener(Events.ON_CLICK, this); bOK.addEventListener(Events.ON_CLICK, this);
bNext.setImage("/images/Detail24.png"); bNext.setImage("/images/Next24.png");
bNext.setTooltiptext(Msg.getMsg(Env.getCtx(), "Next")); bNext.setTooltiptext(Msg.getMsg(Env.getCtx(), "Next"));
bNext.addEventListener(Events.ON_CLICK, this); 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')"); false, "AD_Ref_List.Value IN ('D','S','I','F','P')");
statusField = new WTableDirEditor("WizardStatus", true, false, true,wizardL); statusField = new WTableDirEditor("WizardStatus", true, false, true,wizardL);
statusField.setValue(MWizardProcess.WIZARDSTATUS_Pending); statusField.setValue(MWizardProcess.WIZARDSTATUS_Pending);
statusField.addValueChangeListener(this);
east.setVflex("1"); east.setVflex("1");
east.setHflex("1"); east.setHflex("1");
@ -367,10 +353,8 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
MLookup lookup = MLookupFactory.get(Env.getCtx(), form.getWindowNo(), MLookup lookup = MLookupFactory.get(Env.getCtx(), form.getWindowNo(),
0, 200913, DisplayType.Search); 0, 200913, DisplayType.Search);
userField = new WSearchEditor(lookup, Msg.translate( userField = new WSearchEditor(lookup, Msg.translate(
Env.getCtx(), "AD_User_ID"), "", false, false, true); Env.getCtx(), "AD_User_ID"), "", false, false, true);
userField.addValueChangeListener(this);
row = new Row(); row = new Row();
rows.appendChild(row); rows.appendChild(row);
@ -388,7 +372,6 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
row.appendChild(westdown); row.appendChild(westdown);
row.setAlign("right"); row.setAlign("right");
East east = new East(); East east = new East();
mainLayout.appendChild(east); mainLayout.appendChild(east);
east.appendChild(gridView); east.appendChild(gridView);
@ -432,16 +415,13 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
if (e.getTarget() == wfnodeTree) { if (e.getTarget() == wfnodeTree) {
onTreeSelection(e); onTreeSelection(e);
} else if (e.getTarget() == bRefresh) { } else if (e.getTarget() == bRefresh) {
refresh();
showInRightPanel(0, m_node.getAD_WF_Node_ID()); showInRightPanel(0, m_node.getAD_WF_Node_ID());
} else if (e.getTarget() == bOK) { } else if (e.getTarget() == bOK) {
int userid = 0; int userid = 0;
if (!userField.isNullOrEmpty()) if (!userField.isNullOrEmpty())
userid = (Integer)userField.getValue(); userid = (Integer)userField.getValue();
save(notesField.getText(), (String) statusField.getValue(), userid); if (save(notesField.getText(), (String) statusField.getValue(), userid))
showInRightPanel(0, m_node.getAD_WF_Node_ID()); repaintTree();
refreshProgress();
repaintTree();
} else if (e.getTarget() == bNext) { } else if (e.getTarget() == bNext) {
navigateToNext(); navigateToNext();
} else if (e.getTarget() == bZoom) { } else if (e.getTarget() == bZoom) {
@ -457,36 +437,33 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
} // actionPerformed } // actionPerformed
private void showColors() { private void showColors() {
if(!showColors.isChecked()){ if (!showColors.isChecked()) {
for (Treeitem nextItem : nextItems){ for (Treeitem nextItem : nextItems){
Treeitem ti= nextItem; Treeitem ti= nextItem;
if (ti.getLevel()!= 0){ if (ti.getLevel() != 0) {
MWizardProcess wp = MWizardProcess.get(Env.getCtx(), (Integer) ti.getAttribute("AD_WF_Node_ID"), Env.getAD_Client_ID(Env.getCtx()));
ti.setStyle("background-color: #FFFFFF;"); ti.setStyle("background-color: #FFFFFF;");
} }
} }
} }
repaintTree(); repaintTree();
} }
private void justMine() { private void justMine() {
if (justmine.isChecked()) {
if(justmine.isChecked()){
showChildren(false); showChildren(false);
}else { } else {
showChildren(true); showChildren(true);
} }
} }
private void showChildren(Boolean show) { private void showChildren(boolean showmine) {
int user = Env.getAD_User_ID(Env.getCtx()); int user = Env.getAD_User_ID(Env.getCtx());
for (Treeitem nextItem : nextItems){ for (Treeitem nextItem : nextItems){
Treeitem ti= nextItem; Treeitem ti= nextItem;
if (ti.getLevel()!= 0){ if (ti.getLevel()!= 0){
MWizardProcess wp = MWizardProcess.get(Env.getCtx(), (Integer) ti.getAttribute("AD_WF_Node_ID"), Env.getAD_Client_ID(Env.getCtx())); 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){ 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.removeChild(eastdown);
east.setVflex("1"); east.setVflex("1");
east.setHflex("1"); east.setHflex("1");
for (Treeitem nextItem : nextItems){ openNodes.removeAll(openNodes);
Treeitem ti= nextItem; for (Treeitem nextItem : nextItems) {
ti.getValue(); if (nextItem.isOpen() && nextItem.getAttribute("AD_Workflow_ID") != null) {
if(ti.getLevel()==0){ openNodes.add((Integer) nextItem.getAttribute("AD_Workflow_ID"));
status[i]= ti.isOpen();
i++;
} }
} }
i=0; prevti = wfnodeTree.getSelectedItem();
wfnodeTree.clear(); wfnodeTree.clear();
loadWizardNodes(); loadWizardNodes();
i=0;
east.appendChild(wfnodeTree); east.appendChild(wfnodeTree);
east.appendChild(eastdown); east.appendChild(eastdown);
refreshProgress(); 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() { private void navigateToNext() {
boolean repaint = false;
if (m_node != null) { if (m_node != null) {
save(notesField.getText(), (String) statusField.getValue(), (Integer)userField.getValue()); int userid = 0;
refreshProgress(); if (!userField.isNullOrEmpty())
userid = (Integer)userField.getValue();
repaint = save(notesField.getText(), (String) statusField.getValue(), userid);
} }
Treeitem ti = wfnodeTree.getSelectedItem(); Treeitem ti = wfnodeTree.getSelectedItem();
if (ti == null || nextItems.indexOf(ti)+1 == nextItems.size()) { if (ti == null || nextItems.indexOf(ti)+1 == nextItems.size()) {
@ -557,6 +525,8 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
wfnodeTree.setSelectedItem(nextti); wfnodeTree.setSelectedItem(nextti);
showItem(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())); MWizardProcess wp = MWizardProcess.get(Env.getCtx(), ad_wf_node_id, Env.getAD_Client_ID(Env.getCtx()));
notesField.setText(wp.getNote()); notesField.setText(wp.getNote());
statusField.setValue(wp.getWizardStatus()); statusField.setValue(wp.getWizardStatus());
if (wp.getAD_User_ID()==0){ userField.setValue(wp.getAD_User_ID() > 0 ? wp.getAD_User_ID() : null);
userField.setValue(null);
}else{
userField.setValue(wp.getAD_User_ID());
}
setNotesPanelVisible(true); setNotesPanelVisible(true);
} else { } else {
MWorkflow wf = MWorkflow.get(Env.getCtx(), ad_workflow_id); MWorkflow wf = MWorkflow.get(Env.getCtx(), ad_workflow_id);
@ -634,10 +600,4 @@ public class WSetupWizard extends SetupWizard implements IFormController, EventL
return form; return form;
} }
@Override
public void valueChange(ValueChangeEvent e) {
log.info(e.getPropertyName() + "=" + e.getNewValue());
/* if (e.getPropertyName().equals("WizardStatus")) */
}
} // WSetupWizard } // WSetupWizard

View File

@ -80,20 +80,21 @@ public class SetupWizard
.list(); .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())); MWizardProcess wp = MWizardProcess.get(Env.getCtx(), m_node.getAD_WF_Node_ID(), Env.getAD_Client_ID(Env.getCtx()));
if (note != null && note.length() == 0) if (note != null && note.length() == 0)
note = null; note = null;
if (wizardStatus != null && wizardStatus.length() == 0) if (wizardStatus != null && wizardStatus.length() == 0)
wizardStatus = null; wizardStatus = null;
if ((wp.getAD_User_ID() == 0 && userField != 0) || (userField == 0 && userField != wp.getAD_User_ID())) wp.setAD_User_ID(userid);
wp.setAD_User_ID(userField); wp.setNote(note);
if ((wp.getNote() == null && note != null) || (note != null && !note.equals(wp.getNote()))) wp.setWizardStatus(wizardStatus);
wp.setNote(note); boolean statusChanged = wp.is_ValueChanged("WizardStatus");
if ((wp.getWizardStatus() == null && wizardStatus != null) || (wizardStatus != null && !wizardStatus.equals(wp.getWizardStatus()))) if (statusChanged
wp.setWizardStatus(wizardStatus); || wp.is_ValueChanged("Note")
if (wp.is_Changed()) || wp.is_ValueChanged("AD_User_ID"))
wp.saveEx(); wp.saveEx();
return statusChanged;
} }
} // SetupWizard } // SetupWizard