From a448838b8c4e0cb1e107aa72e63db917ce45881e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Tak=C3=A1cs?= <93127072+PeterTakacs300@users.noreply.github.com> Date: Tue, 14 Mar 2023 16:34:40 +0100 Subject: [PATCH] IDEMPIERE-5238 - new reference for Table (#1723) * IDEMPIERE-5238 - new reference for Table - creating new reference: AD_Table Name for the Record ID editor to be able to type in the Table field by Name instead of TableName * IDEMPIERE-5238 - move scripts to iD10 --- .../iD10/oracle/202303130828_IDEMPIERE-5238.sql | 14 ++++++++++++++ .../postgresql/202303130828_IDEMPIERE-5238.sql | 11 +++++++++++ 2 files changed, 25 insertions(+) create mode 100644 migration/iD10/oracle/202303130828_IDEMPIERE-5238.sql create mode 100644 migration/iD10/postgresql/202303130828_IDEMPIERE-5238.sql diff --git a/migration/iD10/oracle/202303130828_IDEMPIERE-5238.sql b/migration/iD10/oracle/202303130828_IDEMPIERE-5238.sql new file mode 100644 index 0000000000..735da0f654 --- /dev/null +++ b/migration/iD10/oracle/202303130828_IDEMPIERE-5238.sql @@ -0,0 +1,14 @@ +-- IDEMPIERE-5238 +SELECT register_migration_script('202303130828_IDEMPIERE-5238.sql') FROM dual; + +SET SQLBLANKLINES ON +SET DEFINE OFF + +-- Mar 13, 2023, 8:28:48 AM CET +INSERT INTO AD_Reference (AD_Reference_ID,Name,ValidationType,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,IsOrderByValue,AD_Reference_UU,ShowInactive) VALUES (200232,'AD_Table Name','T',0,0,'Y',TO_TIMESTAMP('2023-03-13 08:28:47','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-13 08:28:47','YYYY-MM-DD HH24:MI:SS'),100,'D','N','c8dfa020-36ce-47c8-b273-6c9ad5053def','N') +; + +-- Mar 13, 2023, 8:30:01 AM CET +INSERT INTO AD_Ref_Table (AD_Reference_ID,AD_Table_ID,AD_Key,AD_Display,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsValueDisplayed,EntityType,AD_Ref_Table_UU) VALUES (200232,100,100,102,0,0,'Y',TO_TIMESTAMP('2023-03-13 08:30:01','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-13 08:30:01','YYYY-MM-DD HH24:MI:SS'),100,'N','D','5d66cd09-46f0-4085-9460-7e79b270100b') +; + diff --git a/migration/iD10/postgresql/202303130828_IDEMPIERE-5238.sql b/migration/iD10/postgresql/202303130828_IDEMPIERE-5238.sql new file mode 100644 index 0000000000..eec863f530 --- /dev/null +++ b/migration/iD10/postgresql/202303130828_IDEMPIERE-5238.sql @@ -0,0 +1,11 @@ +-- IDEMPIERE-5238 +SELECT register_migration_script('202303130828_IDEMPIERE-5238.sql') FROM dual; + +-- Mar 13, 2023, 8:28:48 AM CET +INSERT INTO AD_Reference (AD_Reference_ID,Name,ValidationType,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,EntityType,IsOrderByValue,AD_Reference_UU,ShowInactive) VALUES (200232,'AD_Table Name','T',0,0,'Y',TO_TIMESTAMP('2023-03-13 08:28:47','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-13 08:28:47','YYYY-MM-DD HH24:MI:SS'),100,'D','N','c8dfa020-36ce-47c8-b273-6c9ad5053def','N') +; + +-- Mar 13, 2023, 8:30:01 AM CET +INSERT INTO AD_Ref_Table (AD_Reference_ID,AD_Table_ID,AD_Key,AD_Display,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsValueDisplayed,EntityType,AD_Ref_Table_UU) VALUES (200232,100,100,102,0,0,'Y',TO_TIMESTAMP('2023-03-13 08:30:01','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2023-03-13 08:30:01','YYYY-MM-DD HH24:MI:SS'),100,'N','D','5d66cd09-46f0-4085-9460-7e79b270100b') +; +