core-jgi/migration/i7.1z/oracle/201804111700_TicketAP2-19.sql

28 lines
1.9 KiB
MySQL
Raw Normal View History

IDEMPIERE-2902 UX: Implement Radio buttons (#326) * IDEMPIERE-2902 UX: Implement Radio buttons Integrate contribution from TrekGlobal TC-188 Port RadioGroup field editor from AP2-19 added "Radio Group List" field type * IDEMPIERE-2902 UX: Implement Radio buttons Peer review * Configure correctly wrong Validation Rule * Fix wrong DisplayLogic from this ticket and also from other recently added features on fields: Attribute > Attribute > Reference Key Attribute > Attribute > Dynamic Validation Info Window > Column > Reference Key Info Window > Column > Dynamic Validation Registration Attributes > Attribute > Reference Key Table and Column > Column > Dynamic Validation Table and Column > Column > Dynamic Validation (Lookup) Table and Column > Column > Reference Key Web Service Security > Web Service Field Input > Reference Key Window Customization > Field Customization > Reference Key Window Customization > Field Customization > Dynamic Validation Window Customization > Field Customization > Dynamic Validation (Lookup) Window, Tab & Field > Field > Reference Key Window, Tab & Field > Field > Dynamic Validation Window, Tab & Field > Field > Dynamic Validation (Lookup) * For testing and UX, configure as Radio Group: Broadcast Message > Broadcast Message > Target Field Group > Field group > Field Group Type * IDEMPIERE-2902 UX: Implement Radio buttons * For testing and UX, configure as Radio Group in detail tab: Info Window > Process > LayoutType * IDEMPIERE-2902 UX: Implement Radio buttons - Fix radio group editor lost track of selectedItem after page detached and attached - Standardized the construction of editors from editor factory - Remove unnecessary refresh for list/lookup based readonly editors created by grid view (fixed editor is not readonly during init()) Co-authored-by: Carlos Ruiz <carg67@gmail.com>
2020-10-28 01:17:56 +07:00
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Apr 10, 2018 7:56:35 PM GMT+08:00
-- Radio Group List
INSERT INTO AD_Reference (AD_Client_ID,AD_Org_ID,AD_Reference_ID,AD_Reference_UU,Created,CreatedBy,EntityType,IsActive,IsOrderByValue,Name,Updated,UpdatedBy,ValidationType) VALUES (0,0,200152,'bde88a42-3601-499e-a2ee-2185eb6fc785',TO_DATE('2018-04-10 19:56:29','YYYY-MM-DD HH24:MI:SS'),100,'D','Y','N','Radio Group List',TO_DATE('2018-04-10 19:56:29','YYYY-MM-DD HH24:MI:SS'),100,'D')
;
-- Apr 10, 2018 7:57:56 PM GMT+08:00
UPDATE AD_Val_Rule SET Code='AD_Reference.ValidationType=CASE WHEN @AD_Reference_ID@ IN (17,28,200152) THEN ''L'' ELSE ''T'' END',Updated=TO_DATE('2018-04-10 19:57:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=115
;
-- Apr 10, 2018 8:00:03 PM GMT+08:00
UPDATE AD_Field SET DisplayLogic='@AD_Reference_ID@=17 | @AD_Reference_ID@=18 | @AD_Reference_ID@=30 | @AD_Reference_ID@=28 | @AD_Reference_ID@=200152', AD_Val_Rule_ID=NULL, AD_Reference_Value_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2018-04-10 20:00:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=171
;
-- Apr 10, 2018 8:01:28 PM GMT+08:00
UPDATE AD_Field SET DisplayLogic='@AD_Reference_ID@=17 | @AD_Reference_ID@=18 | @AD_Reference_ID@=30 | @AD_Reference_ID@=28 | @AD_Reference_ID@=200152', AD_Val_Rule_ID=NULL, AD_Reference_Value_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2018-04-10 20:01:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54402
;
-- Apr 10, 2018 8:02:27 PM GMT+08:00
UPDATE AD_Field SET DisplayLogic='@AD_Reference_ID@=17 | @AD_Reference_ID@=18 | @AD_Reference_ID@=30 | @AD_Reference_ID@=28 | @AD_Reference_ID@=200152', AD_Val_Rule_ID=NULL, AD_Reference_Value_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2018-04-10 20:02:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200855
;
SELECT register_migration_script('201804111700_TicketAP2-19.sql') FROM dual
;