-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
-- Apr 20, 2018 1:34:27 PM UTC
INSERT INTO AD_Process (AD_Process_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,IsReport,Value,IsDirectPrint,AccessLevel,EntityType,Statistic_Count,Statistic_Seconds,IsBetaFunctionality,IsServerProcess,ShowHelp,CopyFromProcess,AD_Process_UU) VALUES (30008,0,0,'Y',TO_TIMESTAMP('2018-04-20 13:34:27','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-04-20 13:34:27','YYYY-MM-DD HH24:MI:SS'),100,'Process Inbound Move','N','PROC_INBOUND_MV','N','3','U',0,0,'N','N','Y','N','d02eb922-6c8e-4b42-b865-93333030ae3d')
;

-- Apr 20, 2018 2:04:37 PM UTC
INSERT INTO AD_Menu (AD_Menu_ID,Name,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,AD_Menu_UU) VALUES (30031,'Master Data',0,0,'Y',TO_TIMESTAMP('2018-04-20 14:04:37','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-04-20 14:04:37','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','U','N','83727755-30f1-4390-b790-795b6a915fb2')
;

-- Apr 20, 2018 2:04:37 PM UTC
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', statement_timestamp(), 100, statement_timestamp(), 100,t.AD_Tree_ID, 30031, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=30031)
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30000
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30001
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30002
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30003
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30004
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30005
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30006
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30007
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30008
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30009
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30030
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:04:42 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:04:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:04:50 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:04:55 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:05:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:05:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:05:07 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:05:07 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:05:07 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:05:07 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:05:09 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:05:09 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:05:09 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:05:09 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:05:11 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:05:11 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:05:11 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:05:11 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:05:12 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=137
;

-- Apr 20, 2018 2:05:12 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=257
;

-- Apr 20, 2018 2:05:12 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=136
;

-- Apr 20, 2018 2:05:12 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30031, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=134
;

-- Apr 20, 2018 2:05:33 PM UTC
INSERT INTO AD_Menu (AD_Menu_ID,Name,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,AD_Menu_UU) VALUES (30032,'Report',0,0,'Y',TO_TIMESTAMP('2018-04-20 14:05:33','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-04-20 14:05:33','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','U','N','eaa9d7bb-d76f-444c-af7b-1779d07e2fbb')
;

-- Apr 20, 2018 2:05:33 PM UTC
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', statement_timestamp(), 100, statement_timestamp(), 100,t.AD_Tree_ID, 30032, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=30032)
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30000
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30001
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30002
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30003
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30004
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30005
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30006
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30007
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30008
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30009
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30030
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:05:37 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30032
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30032
;

-- Apr 20, 2018 2:05:46 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30032, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:05:47 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30031
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53359
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53358
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53361
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53360
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53362
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30010, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30032
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30032, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:05:48 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30032, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:05:49 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30032, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:05:49 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30032, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:05:51 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30032, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=264
;

-- Apr 20, 2018 2:05:51 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30032, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=513
;

-- Apr 20, 2018 2:06:21 PM UTC
INSERT INTO AD_Menu (AD_Menu_ID,Name,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,AD_Menu_UU) VALUES (30033,'Master Data',0,0,'Y',TO_TIMESTAMP('2018-04-20 14:06:21','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-04-20 14:06:21','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','U','N','5e45a925-7d91-4f9a-8779-6e923fcacd53')
;

-- Apr 20, 2018 2:06:22 PM UTC
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', statement_timestamp(), 100, statement_timestamp(), 100,t.AD_Tree_ID, 30033, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=30033)
;

-- Apr 20, 2018 2:06:27 PM UTC
INSERT INTO AD_Menu (AD_Menu_ID,Name,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,AD_Menu_UU) VALUES (30034,'Report',0,0,'Y',TO_TIMESTAMP('2018-04-20 14:06:27','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2018-04-20 14:06:27','YYYY-MM-DD HH24:MI:SS'),100,'Y','Y','N','U','N','752045ba-df77-4a98-be29-52a4af210e2d')
;

-- Apr 20, 2018 2:06:27 PM UTC
INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', statement_timestamp(), 100, statement_timestamp(), 100,t.AD_Tree_ID, 30034, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=30034)
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30000
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30001
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30002
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30003
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30004
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30005
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30006
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30007
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30008
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30009
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30030
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30034
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30033
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=129
;

-- Apr 20, 2018 2:06:36 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=407
;

-- Apr 20, 2018 2:06:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:06:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30033
;

-- Apr 20, 2018 2:06:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:06:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:06:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=129
;

-- Apr 20, 2018 2:06:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=407
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30000
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30001
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30002
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30003
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30004
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30005
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30006
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30007
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30008
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30009
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30030
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30033
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=129
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=407
;

-- Apr 20, 2018 2:06:40 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30034
;

-- Apr 20, 2018 2:06:58 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30033
;

-- Apr 20, 2018 2:06:58 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:06:58 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:06:58 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=129
;

-- Apr 20, 2018 2:06:58 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=407
;

-- Apr 20, 2018 2:06:58 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30034
;

-- Apr 20, 2018 2:06:58 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:07:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30033
;

-- Apr 20, 2018 2:07:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:07:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=129
;

-- Apr 20, 2018 2:07:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=407
;

-- Apr 20, 2018 2:07:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30034
;

-- Apr 20, 2018 2:07:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:07:00 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:07:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30033
;

-- Apr 20, 2018 2:07:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=129
;

-- Apr 20, 2018 2:07:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=407
;

-- Apr 20, 2018 2:07:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30011, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30034
;

-- Apr 20, 2018 2:07:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:07:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:07:03 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:07:16 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:07:16 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:07:16 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:07:17 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:07:17 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:07:17 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:07:19 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:07:19 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:07:19 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:07:21 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53386
;

-- Apr 20, 2018 2:07:21 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30028
;

-- Apr 20, 2018 2:07:21 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30033, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=30026
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=52001
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=460
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=301
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=195
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=543
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53223
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=406
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=335
;

-- Apr 20, 2018 2:08:28 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=436
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=507
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=448
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=449
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=12, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=492
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=13, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53269
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=14, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=491
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=15, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=419
;

-- Apr 20, 2018 2:08:29 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=16, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200014
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=52001
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=460
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=301
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=195
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=543
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53223
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=406
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=335
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=436
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=507
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=448
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=449
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=12, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=492
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=13, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53269
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=14, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=491
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=15, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=419
;

-- Apr 20, 2018 2:08:31 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=16, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200014
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=52001
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=1, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=460
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=2, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=301
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=3, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=543
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=4, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53223
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=5, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=406
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=6, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=335
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=7, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=436
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=8, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=507
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=9, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=448
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=10, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=449
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=11, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=492
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=12, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=53269
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=13, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=491
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=14, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=419
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=457, SeqNo=15, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=200014
;

-- Apr 20, 2018 2:08:38 PM UTC
UPDATE AD_TreeNodeMM SET Parent_ID=30034, SeqNo=0, Updated=statement_timestamp() WHERE AD_Tree_ID=10 AND Node_ID=195
;

