core-jgi/migration/i7.1z/oracle/201911211730_IDEMPIERE-4111...

130 lines
12 KiB
SQL

SET SQLBLANKLINES ON
SET DEFINE OFF
-- IDEMPIERE-4111 : Add col_21 -> col_30 to T_Report
-- 2019-11-21 05:07:49
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203380,0,0,'Y',TO_DATE('2019-11-21 17:07:48','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:07:48','YYYY-MM-DD HH24:MI:SS'),100,'Col_21','Col_21','Col_21','D','3b3c8798-61d7-4243-bb41-2993df17fc90')
;
-- 2019-11-21 05:08:02
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203381,0,0,'Y',TO_DATE('2019-11-21 17:08:01','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:08:01','YYYY-MM-DD HH24:MI:SS'),100,'Col_22','Col_22','Col_22','D','fbf51dd0-d80b-4d14-81cd-5da87ac04086')
;
-- 2019-11-21 05:08:11
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203382,0,0,'Y',TO_DATE('2019-11-21 17:08:11','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:08:11','YYYY-MM-DD HH24:MI:SS'),100,'Col_23','Col_23','Col_23','D','0fbccc79-5828-4199-b9ae-23884bb7e0a8')
;
-- 2019-11-21 05:08:21
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203383,0,0,'Y',TO_DATE('2019-11-21 17:08:20','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:08:20','YYYY-MM-DD HH24:MI:SS'),100,'Col_24','Col_24','Col_24','D','18ec816f-47b4-4f6b-adbc-49adc18220a2')
;
-- 2019-11-21 05:08:30
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203384,0,0,'Y',TO_DATE('2019-11-21 17:08:29','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:08:29','YYYY-MM-DD HH24:MI:SS'),100,'Col_25','Col_25','Col_25','D','9542a39a-bfb5-4ac4-80b6-a07bc9bcb813')
;
-- 2019-11-21 05:08:37
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203385,0,0,'Y',TO_DATE('2019-11-21 17:08:37','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:08:37','YYYY-MM-DD HH24:MI:SS'),100,'Col_26','Col_26','Col_26','D','9160d95f-2c1d-4c76-ad9d-42fc467a4cfa')
;
-- 2019-11-21 05:08:45
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203386,0,0,'Y',TO_DATE('2019-11-21 17:08:45','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:08:45','YYYY-MM-DD HH24:MI:SS'),100,'Col_27','Col_27','Col_27','D','1787b3b1-d126-48ed-9ab7-f3ae0f26777a')
;
-- 2019-11-21 05:08:52
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203387,0,0,'Y',TO_DATE('2019-11-21 17:08:52','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:08:52','YYYY-MM-DD HH24:MI:SS'),100,'Col_28','Col_28','Col_28','D','5a612347-ea12-40dd-bba0-edebe2e03d43')
;
-- 2019-11-21 05:09:00
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203388,0,0,'Y',TO_DATE('2019-11-21 17:09:00','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:09:00','YYYY-MM-DD HH24:MI:SS'),100,'Col_29','Col_29','Col_29','D','1e1b9cab-35d5-489d-a513-ebb7118481e5')
;
-- 2019-11-21 05:09:07
INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,ColumnName,Name,PrintName,EntityType,AD_Element_UU) VALUES (203389,0,0,'Y',TO_DATE('2019-11-21 17:09:06','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:09:06','YYYY-MM-DD HH24:MI:SS'),100,'Col_30','Col_30','Col_30','D','63a2bbdf-eb86-4be3-8b2b-777fb99ec3ce')
;
-- 2019-11-21 05:09:38
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,IsHtml) VALUES (214112,1,'Col_21',544,'Col_21',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:09:38','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:09:38','YYYY-MM-DD HH24:MI:SS'),100,203380,'N','N','D','N','N','N','Y','b5741fd5-84d3-41d2-9206-0c81b1a555c8','Y','N','N','N')
;
-- 2019-11-21 05:09:40
ALTER TABLE T_Report ADD Col_21 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:09:48
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214113,1,'Col_22',544,'Col_22',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:09:47','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:09:47','YYYY-MM-DD HH24:MI:SS'),100,203381,'N','N','D','N','N','N','Y','07c50155-8bc7-4b3a-98a9-3a77aaf7d69a','Y','N','N','N','N')
;
-- 2019-11-21 05:09:49
ALTER TABLE T_Report ADD Col_22 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:09:56
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214114,1,'Col_23',544,'Col_23',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:09:56','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:09:56','YYYY-MM-DD HH24:MI:SS'),100,203382,'N','N','D','N','N','N','Y','00440ee5-115c-470b-a90a-f35ff278d5ec','Y','N','N','N','N')
;
-- 2019-11-21 05:09:57
ALTER TABLE T_Report ADD Col_23 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:10:04
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214115,1,'Col_24',544,'Col_24',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:10:04','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:10:04','YYYY-MM-DD HH24:MI:SS'),100,203383,'N','N','D','N','N','N','Y','f1e64d09-111c-43a7-92f9-b6a2bb42a3a2','Y','N','N','N','N')
;
-- 2019-11-21 05:10:05
ALTER TABLE T_Report ADD Col_24 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:10:13
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214116,1,'Col_25',544,'Col_25',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:10:13','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:10:13','YYYY-MM-DD HH24:MI:SS'),100,203384,'N','N','D','N','N','N','Y','70a384a2-f52d-4e71-a31e-ede328f52491','Y','N','N','N','N')
;
-- 2019-11-21 05:10:14
ALTER TABLE T_Report ADD Col_25 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:10:21
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214117,1,'Col_26',544,'Col_26',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:10:20','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:10:20','YYYY-MM-DD HH24:MI:SS'),100,203385,'N','N','D','N','N','N','Y','2efe8af3-d11d-47f4-aeba-fc3feb53da23','Y','N','N','N','N')
;
-- 2019-11-21 05:10:22
ALTER TABLE T_Report ADD Col_26 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:10:28
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214118,1,'Col_27',544,'Col_27',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:10:28','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:10:28','YYYY-MM-DD HH24:MI:SS'),100,203386,'N','N','D','N','N','N','Y','66687e44-9415-4b87-9961-d568bd11a95f','Y','N','N','N','N')
;
-- 2019-11-21 05:10:29
ALTER TABLE T_Report ADD Col_27 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:10:35
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214119,1,'Col_28',544,'Col_28',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:10:35','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:10:35','YYYY-MM-DD HH24:MI:SS'),100,203387,'N','N','U','N','N','N','Y','409952d5-aac4-4c57-9df1-d2eb9ef519d5','Y','N','N','N','N')
;
-- 2019-11-21 05:10:36
ALTER TABLE T_Report ADD Col_28 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:10:42
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214120,1,'Col_29',544,'Col_29',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:10:42','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:10:42','YYYY-MM-DD HH24:MI:SS'),100,203388,'N','N','D','N','N','N','Y','ae06a48c-4377-4453-b044-f2adc70a9602','Y','N','N','N','N')
;
-- 2019-11-21 05:10:43
ALTER TABLE T_Report ADD Col_29 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:10:50
INSERT INTO AD_Column (AD_Column_ID,Version,Name,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Element_ID,IsUpdateable,IsSelectionColumn,EntityType,IsSyncDatabase,IsAlwaysUpdateable,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsAllowCopy,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214121,1,'Col_30',544,'Col_30',22,'N','N','N','N','N',0,'N',12,0,0,'Y',TO_DATE('2019-11-21 17:10:49','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-11-21 17:10:49','YYYY-MM-DD HH24:MI:SS'),100,203389,'N','N','D','N','N','N','Y','19554dbf-0330-4bd3-98d6-f8946cd9b1a2','Y','N','N','N','N')
;
-- 2019-11-21 05:10:51
ALTER TABLE T_Report ADD Col_30 NUMBER DEFAULT NULL
;
-- 2019-11-21 05:11:14
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-11-21 17:11:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214119
;
SELECT register_migration_script('201911211730_IDEMPIERE-4111.sql') FROM dual
;