-- Apr 13, 2013 12:59:40 PM COT
-- IDEMPIERE-794 Ticket #1001025 - Expand the views to provide more information
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2013-04-13 12:59:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=50212
;

-- Apr 13, 2013 1:00:45 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=138,Updated=TO_DATE('2013-04-13 13:00:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210163
;

-- Apr 13, 2013 1:01:00 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=356,Updated=TO_DATE('2013-04-13 13:01:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210164
;

-- Apr 13, 2013 1:01:37 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=166,Updated=TO_DATE('2013-04-13 13:01:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210162
;

-- Apr 13, 2013 1:02:22 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=259,Updated=TO_DATE('2013-04-13 13:02:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=201273
;

-- Apr 13, 2013 1:02:49 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:02:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210165
;

-- Apr 13, 2013 1:03:07 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:03:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210166
;

-- Apr 13, 2013 1:03:38 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=227,Updated=TO_DATE('2013-04-13 13:03:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210168
;

-- Apr 13, 2013 1:04:13 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=159,Updated=TO_DATE('2013-04-13 13:04:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210167
;

-- Apr 13, 2013 1:04:43 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=170,Updated=TO_DATE('2013-04-13 13:04:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210171
;

-- Apr 13, 2013 1:05:01 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:05:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210169
;

-- Apr 13, 2013 1:05:14 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200,Updated=TO_DATE('2013-04-13 13:05:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210175
;

-- Apr 13, 2013 1:05:26 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=336,Updated=TO_DATE('2013-04-13 13:05:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210176
;

-- Apr 13, 2013 1:05:39 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:05:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210174
;

-- Apr 13, 2013 1:06:19 PM COT
UPDATE AD_Column SET AD_Reference_ID=13,Updated=TO_DATE('2013-04-13 13:06:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210172
;

-- Apr 13, 2013 1:06:49 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:06:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210181
;

-- Apr 13, 2013 1:06:58 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:06:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210182
;

-- Apr 13, 2013 1:07:50 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200045, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:07:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210178
;

-- Apr 13, 2013 1:09:44 PM COT
UPDATE AD_Column SET AD_Reference_ID=13,Updated=TO_DATE('2013-04-13 13:09:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210177
;

-- Apr 13, 2013 1:10:03 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200044,Updated=TO_DATE('2013-04-13 13:10:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210179
;

-- Apr 13, 2013 1:10:17 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200046,Updated=TO_DATE('2013-04-13 13:10:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210180
;

-- Apr 13, 2013 1:11:04 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=110,Updated=TO_DATE('2013-04-13 13:11:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=203538
;

-- Apr 13, 2013 1:11:35 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:11:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205741
;

-- Apr 13, 2013 1:11:52 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276, AD_Reference_ID=18, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:11:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205912
;

-- Apr 13, 2013 1:12:18 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=138,Updated=TO_DATE('2013-04-13 13:12:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205915
;

-- Apr 13, 2013 1:12:28 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=159,Updated=TO_DATE('2013-04-13 13:12:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205916
;

-- Apr 13, 2013 1:12:40 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=356, AD_Reference_ID=18, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:12:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205917
;

-- Apr 13, 2013 1:13:44 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=110, AD_Reference_ID=30, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:13:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205928
;

-- Apr 13, 2013 1:14:29 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=138,Updated=TO_DATE('2013-04-13 13:14:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205881
;

-- Apr 13, 2013 1:14:41 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=144,Updated=TO_DATE('2013-04-13 13:14:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205884
;

-- Apr 13, 2013 1:16:07 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:16:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205820
;

-- Apr 13, 2013 1:16:17 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:16:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205821
;

-- Apr 13, 2013 1:16:23 PM COT
UPDATE AD_Column SET AD_Reference_ID=13,Updated=TO_DATE('2013-04-13 13:16:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205822
;

-- Apr 13, 2013 1:16:30 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200045,Updated=TO_DATE('2013-04-13 13:16:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205823
;

-- Apr 13, 2013 1:16:35 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200044,Updated=TO_DATE('2013-04-13 13:16:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205824
;

-- Apr 13, 2013 1:16:40 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=356,Updated=TO_DATE('2013-04-13 13:16:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205825
;

-- Apr 13, 2013 1:16:47 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=227,Updated=TO_DATE('2013-04-13 13:16:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205827
;

-- Apr 13, 2013 1:16:58 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200047, AD_Reference_ID=18,Updated=TO_DATE('2013-04-13 13:16:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205830
;

-- Apr 13, 2013 1:17:09 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200046,Updated=TO_DATE('2013-04-13 13:17:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205826
;

-- Apr 13, 2013 1:17:16 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:17:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205880
;

-- Apr 13, 2013 1:17:47 PM COT
UPDATE AD_Column SET AD_Reference_ID=32,Updated=TO_DATE('2013-04-13 13:17:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205851
;

-- Apr 13, 2013 1:18:42 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=249,Updated=TO_DATE('2013-04-13 13:18:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205852
;

-- Apr 13, 2013 1:18:50 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=166,Updated=TO_DATE('2013-04-13 13:18:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205853
;

-- Apr 13, 2013 1:19:16 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=110,Updated=TO_DATE('2013-04-13 13:19:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205863
;

-- Apr 13, 2013 1:19:29 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=170,Updated=TO_DATE('2013-04-13 13:19:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205749
;

-- Apr 13, 2013 1:19:46 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276, AD_Reference_ID=18, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:19:46','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205876
;

-- Apr 13, 2013 1:20:06 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276, AD_Reference_ID=18, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:20:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205901
;

-- Apr 13, 2013 1:20:13 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:20:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205797
;

-- Apr 13, 2013 1:20:22 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:20:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205932
;

-- Apr 13, 2013 1:20:42 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=138, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:20:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205757
;

-- Apr 13, 2013 1:21:16 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=159, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:21:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205758
;

-- Apr 13, 2013 1:21:28 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=110, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:21:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205759
;

-- Apr 13, 2013 1:22:01 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=290, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:22:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205773
;

-- Apr 13, 2013 1:22:17 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:22:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205787
;

-- Apr 13, 2013 1:22:39 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=197, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:22:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205792
;

-- Apr 13, 2013 1:23:03 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=138, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:23:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205776
;

-- Apr 13, 2013 1:23:27 PM COT
UPDATE AD_Column SET AD_Reference_ID=13, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:23:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205777
;

-- Apr 13, 2013 1:23:52 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=249,Updated=TO_DATE('2013-04-13 13:23:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205857
;

-- Apr 13, 2013 1:23:58 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=227,Updated=TO_DATE('2013-04-13 13:23:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205858
;

-- Apr 13, 2013 1:24:05 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=166,Updated=TO_DATE('2013-04-13 13:24:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205859
;

-- Apr 13, 2013 1:24:28 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=290, AD_Reference_ID=30, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:24:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205783
;

-- Apr 13, 2013 1:24:57 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=134, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205785
;

-- Apr 13, 2013 1:25:09 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=137, AD_Reference_ID=18, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:25:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=205786
;

-- Apr 13, 2013 1:26:01 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=134, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:26:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=210184
;

-- Apr 13, 2013 1:26:29 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:26:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=206959
;

-- Apr 13, 2013 1:26:41 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=138, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:26:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=206961
;

-- Apr 13, 2013 1:27:40 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=290, AD_Reference_ID=30,Updated=TO_DATE('2013-04-13 13:27:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=53914
;

-- Apr 13, 2013 1:28:02 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=276,Updated=TO_DATE('2013-04-13 13:28:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57593
;

-- Apr 13, 2013 1:28:28 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=130,Updated=TO_DATE('2013-04-13 13:28:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57593
;

-- Apr 13, 2013 1:28:55 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=133,Updated=TO_DATE('2013-04-13 13:28:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57598
;

-- Apr 13, 2013 1:29:09 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=133,Updated=TO_DATE('2013-04-13 13:29:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57597
;

-- Apr 13, 2013 1:29:34 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=133,Updated=TO_DATE('2013-04-13 13:29:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55489
;

-- Apr 13, 2013 1:29:39 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=133,Updated=TO_DATE('2013-04-13 13:29:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=55490
;

-- Apr 13, 2013 1:33:43 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=130,Updated=TO_DATE('2013-04-13 13:33:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59577
;

-- Apr 13, 2013 1:34:04 PM COT
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2013-04-13 13:34:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=58991
;

-- Apr 13, 2013 1:34:38 PM COT
UPDATE AD_Column SET AD_Reference_ID=19,Updated=TO_DATE('2013-04-13 13:34:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=58992
;

-- Apr 13, 2013 1:34:56 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=110,Updated=TO_DATE('2013-04-13 13:34:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59016
;

-- Apr 13, 2013 1:35:17 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=110,Updated=TO_DATE('2013-04-13 13:35:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=56113
;

-- Apr 13, 2013 1:35:41 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=130, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:35:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=207021
;

-- Apr 13, 2013 1:36:38 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=197, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:36:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=207205
;

-- Apr 13, 2013 1:37:17 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=337, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:37:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=207056
;

-- Apr 13, 2013 1:38:09 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=200037, AD_Reference_ID=18, IsToolbarButton='N',Updated=TO_DATE('2013-04-13 13:38:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=207335
;

-- Apr 13, 2013 1:39:00 PM COT
UPDATE AD_Column SET AD_Reference_ID=21,Updated=TO_DATE('2013-04-13 13:39:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57338
;

-- Apr 13, 2013 1:39:20 PM COT
UPDATE AD_Column SET AD_Reference_ID=21,Updated=TO_DATE('2013-04-13 13:39:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=57341
;

-- Apr 13, 2013 1:39:50 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=134, AD_Reference_ID=18,Updated=TO_DATE('2013-04-13 13:39:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59754
;

-- Apr 13, 2013 1:39:56 PM COT
UPDATE AD_Column SET AD_Reference_Value_ID=137, AD_Reference_ID=18,Updated=TO_DATE('2013-04-13 13:39:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59761
;

/* set columns createdby/updatedby */
/*
SELECT c.ad_column_id, tb.tablename,c.columnname,c.ad_reference_id,c.ad_reference_value_id
FROM   ad_column c
       JOIN ad_table tb ON tb.ad_table_id = c.ad_table_id
WHERE  c.isactive='Y' and upper(c.columnname) like '%ATEDBY'
and (coalesce(c.ad_reference_id,0)!=18 or coalesce(c.ad_reference_value_id,0)!=110)
ORDER  BY 2, 3;
*/

update ad_column set ad_reference_id=18, ad_reference_value_id=110
where ad_column_id in (
55539,   -- A_Asset_Reval_Index.UpdatedBy
50116,   -- AD_Package_Exp_Detail.CreatedBy
50118,   -- AD_Package_Exp_Detail.UpdatedBy
201408,   -- C_Dunning_Header_v.ad_orginfo_createdby
201421,   -- C_Dunning_Header_v.ad_orginfo_updatedby
201387,   -- C_Dunning_Header_v.ad_user_createdby
201398,   -- C_Dunning_Header_v.ad_user_updatedby
201295,   -- C_Dunning_Header_v.c_bpartner_createdby
201349,   -- C_Dunning_Header_v.c_bpartner_location_createdby
201362,   -- C_Dunning_Header_v.c_bpartner_location_updatedby
201341,   -- C_Dunning_Header_v.c_bpartner_updatedby
201260,   -- C_Dunning_Header_v.c_dunningrunentry_createdby
201264,   -- C_Dunning_Header_v.c_dunningrunentry_updatedby
201372,   -- C_Dunning_Header_v.c_location_createdby
201378,   -- C_Dunning_Header_v.c_location_updatedby
201453,   -- C_Dunning_Header_v.salesrep_bpartner_createdby
201499,   -- C_Dunning_Header_v.salesrep_bpartner_updatedby
201430,   -- C_Dunning_Header_v.salesrep_createdby
201440,   -- C_Dunning_Header_v.salesrep_updatedby
201520,   -- C_Dunning_Line_v.c_invoice_createdby
201544,   -- C_Dunning_Line_v.c_invoice_updatedby
201584,   -- C_Dunning_Line_v.c_payment_createdby
201618,   -- C_Dunning_Line_v.c_payment_updatedby
203613,   -- C_Invoice_Header_v.ad_orginfo_createdby
203626,   -- C_Invoice_Header_v.ad_orginfo_updatedby
203594,   -- C_Invoice_Header_v.ad_user_createdby
203604,   -- C_Invoice_Header_v.ad_user_updatedby
203661,   -- C_Invoice_Header_v.bpartner_createdby
203711,   -- C_Invoice_Header_v.bpartner_updatedby
203503,   -- C_Invoice_Header_v.bp_createdby
203557,   -- C_Invoice_Header_v.bp_location_createdby
203570,   -- C_Invoice_Header_v.bp_location_updatedby
203549,   -- C_Invoice_Header_v.bp_updatedby
203580,   -- C_Invoice_Header_v.c_location_createdby
203585,   -- C_Invoice_Header_v.c_location_updatedby
203635,   -- C_Invoice_Header_v.salesrep_createdby
203647,   -- C_Invoice_Header_v.salesrep_updatedby
205711,   -- C_Invoice_LineTax_v.c_bp_product_createdby
205720,   -- C_Invoice_LineTax_v.c_bp_product_updatedby
205587,   -- C_Invoice_LineTax_v.c_invoice_createdby
205624,   -- C_Invoice_LineTax_v.c_invoice_updatedby
205736,   -- C_Invoice_LineTax_v.M_ASI_CreatedBy
205740,   -- C_Invoice_LineTax_v.M_ASI_UpdatedBy
205651,   -- C_Invoice_LineTax_v.m_product_createdby
205694,   -- C_Invoice_LineTax_v.m_product_updatedby
205733,   -- C_Invoice_LineTax_v.s_rassignment_updatedby
206133,   -- C_Order_Header_v.ad_orginfo_createdby
206146,   -- C_Order_Header_v.ad_orginfo_updatedby
205920,   -- C_Order_Header_v.ad_user_createdby
205930,   -- C_Order_Header_v.ad_user_updatedby
206246,   -- C_Order_Header_v.bill_bp_createdby
206299,   -- C_Order_Header_v.bill_bp_location_createdby
206312,   -- C_Order_Header_v.bill_bp_location_updatedby
206294,   -- C_Order_Header_v.bill_bp_updatedby
206321,   -- C_Order_Header_v.bill_user_createdby
206331,   -- C_Order_Header_v.bill_user_updatedby
205829,   -- C_Order_Header_v.bp_createdby
205883,   -- C_Order_Header_v.bp_location_createdby
205896,   -- C_Order_Header_v.bp_location_updatedby
205874,   -- C_Order_Header_v.bp_updatedby
205906,   -- C_Order_Header_v.c_location_createdby
205911,   -- C_Order_Header_v.c_location_updatedby
206181,   -- C_Order_Header_v.salesrep_bp_createdby
206231,   -- C_Order_Header_v.salesrep_bp_updatedby
206155,   -- C_Order_Header_v.salesrep_createdby
206167,   -- C_Order_Header_v.salesrep_updatedby
204045,   -- C_Order_LineTax_v.c_bpartner_createdby
204102,   -- C_Order_LineTax_v.c_bpartner_location_createdby
204115,   -- C_Order_LineTax_v.c_bpartner_location_updatedby
204022,   -- C_Order_LineTax_v.c_bpartner_product_createdby
204031,   -- C_Order_LineTax_v.c_bpartner_product_updatedby
204096,   -- C_Order_LineTax_v.c_bpartner_updatedby
203861,   -- C_Order_LineTax_v.c_order_createdby
203912,   -- C_Order_LineTax_v.c_order_updatedby
203921,   -- C_Order_LineTax_v.m_product_createdby
203974,   -- C_Order_LineTax_v.m_product_po_createdby
203995,   -- C_Order_LineTax_v.m_product_po_updatedby
203965,   -- C_Order_LineTax_v.m_product_updatedby
204008,   -- C_Order_LineTax_v.s_resourceassignment_updatedby
206646,   -- C_PaySelection_Check_v.ad_orginfo_createdby
206659,   -- C_PaySelection_Check_v.ad_orginfo_updatedby
206592,   -- C_PaySelection_Check_v.c_bp_createdby
206636,   -- C_PaySelection_Check_v.c_bp_updatedby
206534,   -- C_PaySelection_Check_v.c_payment_createdby
206575,   -- C_PaySelection_Check_v.c_payment_updatedby
206491,   -- C_PaySelection_Check_v.c_payselectioncheck_createdby
206499,   -- C_PaySelection_Check_v.c_payselectioncheck_updatedby
206503,   -- C_PaySelection_Check_v.c_payselection_createdby
206511,   -- C_PaySelection_Check_v.c_payselection_updatedby
204264,   -- C_PaySelection_Remittance_v.c_invoice_createdby
204296,   -- C_PaySelection_Remittance_v.c_invoice_updatedby
204239,   -- C_PaySelection_Remittance_v.c_payselectionline_createdby
204246,   -- C_PaySelection_Remittance_v.c_payselectionline_updatedby
206682,   -- C_Project_Details_v.c_project_createdby
206709,   -- C_Project_Details_v.c_project_updatedby
206715,   -- C_Project_Details_v.m_product_createdby
206761,   -- C_Project_Details_v.m_product_updatedby
206839,   -- C_Project_Header_v.ad_orginfo_createdby
206852,   -- C_Project_Header_v.ad_orginfo_updatedby
206966,   -- C_Project_Header_v.ad_user_createdby
206976,   -- C_Project_Header_v.ad_user_updatedby
206788,   -- C_Project_Header_v.c_bp_createdby
206986,   -- C_Project_Header_v.c_bp_location_createdby
206999,   -- C_Project_Header_v.c_bp_location_updatedby
206833,   -- C_Project_Header_v.c_bp_updatedby
206901,   -- C_Project_Header_v.salesrep_bp_createdby
206951,   -- C_Project_Header_v.salesrep_bp_updatedby
206875,   -- C_Project_Header_v.salesrep_createdby
206887,   -- C_Project_Header_v.salesrep_updatedby
58981,   -- I_ProductPlanning.CreatedBy
58984,   -- I_ProductPlanning.UpdatedBy
207186,   -- M_InOut_Header_v.ad_orginfo_createdby
207199,   -- M_InOut_Header_v.ad_orginfo_updatedby
207166,   -- M_InOut_Header_v.ad_user_createdby
207176,   -- M_InOut_Header_v.ad_user_updatedby
207075,   -- M_InOut_Header_v.c_bp_createdby
207129,   -- M_InOut_Header_v.c_bp_location_createdby
207142,   -- M_InOut_Header_v.c_bp_location_updatedby
207120,   -- M_InOut_Header_v.c_bp_updatedby
207152,   -- M_InOut_Header_v.c_location_createdby
207157,   -- M_InOut_Header_v.c_location_updatedby
207317,   -- M_InOut_Line_v.c_orderline_createdby
207352,   -- M_InOut_Line_v.c_orderline_updatedby
207295,   -- M_InOut_Line_v.M_ASI_CreatedBy
207299,   -- M_InOut_Line_v.M_ASI_UpdatedBy
207236,   -- M_InOut_Line_v.m_product_createdby
207280,   -- M_InOut_Line_v.m_product_updatedby
57560,   -- PA_ReportCube.CreatedBy
57565,   -- PA_ReportCube.UpdatedBy
53739,   -- PP_Order_Node_Product.UpdatedBy
5420,   -- R_Request.CreatedBy
204617,   -- RV_Allocation.c_allocationline_createdby
204622,   -- RV_Allocation.c_allocationline_updatedby
207392,   -- RV_BPartner.ad_user_createdby
207395,   -- RV_BPartner.ad_user_updatedby
207374,   -- RV_BPartner.c_bp_location_createdby
207387,   -- RV_BPartner.c_bp_location_updatedby
207402,   -- RV_BPartner.c_location_createdby
207406,   -- RV_BPartner.c_location_updatedby
207447,   -- RV_C_Invoice.c_bp_createdby
207505,   -- RV_C_Invoice.c_bp_location_createdby
207518,   -- RV_C_Invoice.c_bp_location_updatedby
207498,   -- RV_C_Invoice.c_bp_updatedby
207526,   -- RV_C_Invoice.c_location_createdby
207531,   -- RV_C_Invoice.c_location_updatedby
204699,   -- RV_C_InvoiceLine.m_product_createdby
204745,   -- RV_C_InvoiceLine.m_product_updatedby
207594,   -- RV_C_InvoiceTax.c_bp_createdby
207642,   -- RV_C_InvoiceTax.c_bp_updatedby
207550,   -- RV_C_InvoiceTax.c_invoice_createdby
207579,   -- RV_C_InvoiceTax.c_invoice_updatedby
204761,   -- RV_CommissionRunDetail.c_commission_createdby
204781,   -- RV_CommissionRunDetail.c_commissiondetail_createdby
204784,   -- RV_CommissionRunDetail.c_commissiondetail_updatedby
204771,   -- RV_CommissionRunDetail.c_commission_updatedby
204775,   -- RV_CommissionRunDetail.c_commmissionamt_createdby
204778,   -- RV_CommissionRunDetail.c_commssionamt_updatedby
204968,   -- RV_CommissionRunDetail.c_invoice_createdby
204848,   -- RV_CommissionRunDetail.c_invoiceline_createdby
204874,   -- RV_CommissionRunDetail.c_invoiceline_updatedby
205002,   -- RV_CommissionRunDetail.c_invoice_updatedby
204901,   -- RV_CommissionRunDetail.c_order_createdby
204798,   -- RV_CommissionRunDetail.c_orderline_createdby
204833,   -- RV_CommissionRunDetail.c_orderline_updatedby
205014,   -- RV_Cost.m_product_createdby
205059,   -- RV_Cost.m_product_updatedby
207718,   -- RV_CostDetail.M_ASI_CreatedBy
207724,   -- RV_CostDetail.M_ASI_UpdatedBy
207664,   -- RV_CostDetail.m_product_createdby
207709,   -- RV_CostDetail.m_product_updatedby
207753,   -- RV_Fact_Acct.c_bp_createdby
207803,   -- RV_Fact_Acct.c_bp_updatedby
207809,   -- RV_Fact_Acct.m_product_createdby
207855,   -- RV_Fact_Acct.m_product_updatedby
207907,   -- RV_InOutDetails.M_ASI_CreatedBy
207911,   -- RV_InOutDetails.M_ASI_UpdatedBy
207864,   -- RV_InOutDetails.m_inout_createdby
207882,   -- RV_InOutDetails.m_inout_updatedby
207927,   -- RV_M_Transaction.m_product_createdby
207983,   -- RV_M_Transaction.m_product_po_createdby
208001,   -- RV_M_Transaction.m_product_po_updatedby
207975,   -- RV_M_Transaction.m_product_updatedby
207914,   -- RV_M_Transaction.m_transaction_createdby
207922,   -- RV_M_Transaction.m_transation_updatedby
208024,   -- RV_OrderDetail.c_order_createdby
208068,   -- RV_OrderDetail.c_order_updatedby
208100,   -- RV_OrderDetail.M_ASI_CreatedBy
208104,   -- RV_OrderDetail.M_ASI_UpdatedBy
208161,   -- RV_Storage.M_ASI_CreatedBy
208165,   -- RV_Storage.M_ASI_UpdatedBy
208116,   -- RV_Storage.m_product_createdby
208158,   -- RV_Storage.m_product_updatedby
208107,   -- RV_Storage.m_storage_updatedby
208324,   -- RV_Transaction.c_prjctissue_createdby
208339,   -- RV_Transaction.c_prjctissue_updatedby
208273,   -- RV_Transaction.m_inoutline_createdby
208293,   -- RV_Transaction.m_inoutline_updatedby
208228,   -- RV_Transaction.m_inventoryline_createdby
208242,   -- RV_Transaction.m_inventoryline_updatedby
208246,   -- RV_Transaction.m_movementline_createdby
208261,   -- RV_Transaction.m_movementline_updatedby
208180,   -- RV_Transaction.m_product_createdby
208298,   -- RV_Transaction.m_productionline_createdby
208308,   -- RV_Transaction.m_productionline_updatedby
208311,   -- RV_Transaction.m_productionplan_createdby
208320,   -- RV_Transaction.m_productionplan_updatedby
208224,   -- RV_Transaction.m_product_updatedby
208167,   -- RV_Transaction.m_transaction_createdby
208171,   -- RV_Transaction.m_transction_updatedby
205524,   -- T_InvoiceGL_v.fact_acct_updatedby
205473,   -- T_InvoiceGL_v.t_invoicegl_createdby
205477    -- T_InvoiceGL_v.t_invoicegl_updatedby
)
;

SELECT register_migration_script('201304131343_IDEMPIERE-794.sql') FROM dual
;