IDEMPIERE-3971 - implement new options (carlos suggestions)
This commit is contained in:
parent
dce1355998
commit
69cc3237c9
|
@ -0,0 +1,471 @@
|
||||||
|
SET SQLBLANKLINES ON
|
||||||
|
SET DEFINE OFF
|
||||||
|
|
||||||
|
-- https://idempiere.atlassian.net/browse/IDEMPIERE-3971
|
||||||
|
-- Oct 9, 2019, 8:45:23 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214060,0,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200233,'AD_Reference_ID',22,'N','N','N','N','N',0,'N',18,1,0,0,'Y',TO_DATE('2019-10-09 08:45:23','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:45:23','YYYY-MM-DD HH24:MI:SS'),100,120,'Y','N','U','N','N','N','Y','e0a1bcc3-8130-4271-8f92-5f392759b70c','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:25 AM BRT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADReference_ADUserDefProcParam', FKConstraintType='N',Updated=TO_DATE('2019-10-09 08:45:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:25 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD AD_Reference_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:25 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD CONSTRAINT ADReference_ADUserDefProcParam FOREIGN KEY (AD_Reference_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:40 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214061,0,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200233,115,'AD_Reference_Value_ID',22,'N','N','N','N','N',0,'N',18,4,0,0,'Y',TO_DATE('2019-10-09 08:45:40','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:45:40','YYYY-MM-DD HH24:MI:SS'),100,121,'Y','N','U','N','N','N','Y','8c733922-36ff-4df7-99ba-2ee5028ecdcd','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:42 AM BRT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADReferenceValue_ADUserDefProc', FKConstraintType='N',Updated=TO_DATE('2019-10-09 08:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:42 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD AD_Reference_Value_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:42 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD CONSTRAINT ADReferenceValue_ADUserDefProc FOREIGN KEY (AD_Reference_Value_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:00 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214062,0,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200233,'AD_Val_Rule_ID',22,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_DATE('2019-10-09 08:46:00','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:46:00','YYYY-MM-DD HH24:MI:SS'),100,139,'Y','N','U','N','N','N','Y','ff72629a-f1be-4012-9617-99b6a980af35','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:02 AM BRT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADValRule_ADUserDefProcParamet', FKConstraintType='N',Updated=TO_DATE('2019-10-09 08:46:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:02 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD AD_Val_Rule_ID NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:02 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD CONSTRAINT ADValRule_ADUserDefProcParamet FOREIGN KEY (AD_Val_Rule_ID) REFERENCES ad_val_rule(ad_val_rule_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:36 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214063,0,'Default Logic 2','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200233,'DefaultValue2',2000,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_DATE('2019-10-09 08:46:35','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:46:35','YYYY-MM-DD HH24:MI:SS'),100,1529,'Y','N','U','N','N','N','Y','da8ee557-d9d1-4ed7-b129-3e83efe39e70','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:37 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD DefaultValue2 VARCHAR2(2000) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:54 AM BRT
|
||||||
|
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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214064,0,'Placeholder',200233,'Placeholder',255,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_DATE('2019-10-09 08:46:54','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:46:54','YYYY-MM-DD HH24:MI:SS'),100,203163,'Y','N','U','N','N','N','Y','c4a41150-cd3f-4faf-893b-f2ad62a055ae','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:55 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD Placeholder VARCHAR2(255) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:47:23 AM BRT
|
||||||
|
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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214065,0,'Placeholder2',200233,'Placeholder2',255,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_DATE('2019-10-09 08:47:23','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:47:23','YYYY-MM-DD HH24:MI:SS'),100,203164,'Y','N','U','N','N','N','Y','3c28e134-1b0b-458f-8076-eb96b678cd3b','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:47:25 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD Placeholder2 VARCHAR2(255) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:48:40 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-10-09 08:48:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:48:53 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-10-09 08:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:13 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-10-09 08:49:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:28 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-10-09 08:49:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:42 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-10-09 08:49:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:58 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-10-09 08:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206186,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200235,214060,'Y',22,140,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 08:50:16','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:50:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','b7bde4d7-9288-4090-b73e-6ec8908126a9','Y',140,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206187,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200235,214061,'Y',22,150,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','5ab7818d-48e0-4e82-a984-aae926e18df6','Y',150,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206188,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200235,214062,'Y',22,160,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4405f6ec-f63f-4d68-a046-4672e33c933c','Y',160,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206189,'Default Logic 2','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200235,214063,'Y',2000,170,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','57b7dbbd-6845-42d6-8f54-ba0961b77dba','Y',170,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206190,'Placeholder',200235,214064,'Y',255,180,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','0d271d9d-7e9b-48c6-9aec-e3133f89f66a','Y',180,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206191,'Placeholder2',200235,214065,'Y',255,190,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4dba44e7-e226-44fe-86a3-0516fc249f92','Y',190,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:13 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_DATE('2019-10-09 08:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:23 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_DATE('2019-10-09 08:51:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:29 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_DATE('2019-10-09 08:51:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:34 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_DATE('2019-10-09 08:51:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:08 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, ColumnSpan=2, NumLines=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:12 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, ColumnSpan=2, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:16 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:20 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:24 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:28 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:32 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:36 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 08:53:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:16 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206190
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:20 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:24 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:28 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:32 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:36 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:40 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:44 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:48 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:53 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:57 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:00:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:01 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214066,0,'Range','The parameter is a range of values','The Range checkbox indicates that this parameter is a range of values.',200233,'IsRange',1,'N','N','N','N','N',0,'N',20,0,0,'Y',TO_DATE('2019-10-09 09:02:01','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:02:01','YYYY-MM-DD HH24:MI:SS'),100,404,'Y','N','U','N','N','N','Y','a0ee1368-ee8c-44f6-93b4-1fbfca01817e','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:02 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD IsRange CHAR(1) DEFAULT NULL CHECK (IsRange IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:42 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214067,0,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200233,'IsMandatory',1,'N','N','N','N','N',0,'N',17,319,0,0,'Y',TO_DATE('2019-10-09 09:02:42','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:02:42','YYYY-MM-DD HH24:MI:SS'),100,392,'Y','N','D','N','N','N','Y','b7641677-94c3-49d4-921a-396923f042a7','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:43 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD IsMandatory CHAR(1) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:03:17 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2019-10-09 09:03:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214066
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:04:20 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214068,0,'Min. Value','Minimum Value for a field','The Minimum Value indicates the lowest allowable value for a field.',200233,'ValueMin',20,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_DATE('2019-10-09 09:04:20','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:04:20','YYYY-MM-DD HH24:MI:SS'),100,1060,'Y','N','D','N','N','N','Y','2adee1cc-6b16-4b4c-a43b-c91c9c9d2065','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:04:22 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD ValueMin VARCHAR2(20) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:06:05 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214069,0,'Max. Value','Maximum Value for a field','The Maximum Value indicates the highest allowable value for a field',200233,'ValueMax',20,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_DATE('2019-10-09 09:06:05','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:06:05','YYYY-MM-DD HH24:MI:SS'),100,1059,'Y','N','D','N','N','N','Y','3ebf7eef-10f4-4f97-87a7-abe92946f204','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:06:07 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD ValueMax VARCHAR2(20) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (206192,'Range','The parameter is a range of values','The Range checkbox indicates that this parameter is a range of values.',200235,214066,'Y',1,200,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','97f5d5ca-dd53-4487-93e2-6d2692382581','Y',200,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206193,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200235,214067,'Y',1,210,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','aeded41f-a3a8-4fdf-9913-be99f60e1f73','Y',210,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206194,'Min. Value','Minimum Value for a field','The Minimum Value indicates the lowest allowable value for a field.',200235,214068,'Y',20,220,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','2af2f9db-258b-459a-8217-4fba77dfa250','Y',220,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206195,'Max. Value','Maximum Value for a field','The Maximum Value indicates the highest allowable value for a field',200235,214069,'Y',20,230,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','810550ab-4cfe-4d86-8911-ce9595b1201e','Y',230,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:19 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206192
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:23 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=70, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205261
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:27 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205262
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:32 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:36 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206190
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:40 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:44 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:48 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:52 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:56 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:08:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:00 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:04 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:08 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206195
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:12 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:16 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=200, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206193
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:20 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=210, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:24 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=220, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:28 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=230, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:54 AM BRT
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsRange@=''Y''', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:09:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:10:11 AM BRT
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsRange@=''Y''', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:10:20 AM BRT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:10:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206192
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:11:48 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_DATE('2019-10-09 09:11:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:11:54 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='N',Updated=TO_DATE('2019-10-09 09:11:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:13:49 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214070,0,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200233,'SeqNo',22,'N','N','N','N','N',0,'N',11,0,0,'Y',TO_DATE('2019-10-09 09:13:49','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:13:49','YYYY-MM-DD HH24:MI:SS'),100,566,'Y','N','D','N','N','N','Y','907d7178-28fd-4d85-aa89-49dd714e7fe3','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:13:51 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD SeqNo NUMBER(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:26 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214071,0,'Value Format','Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"','<B>Validation elements:</B>
|
||||||
|
(Space) any character
|
||||||
|
_ Space (fixed character)
|
||||||
|
l any Letter a..Z NO space
|
||||||
|
L any Letter a..Z NO space converted to upper case
|
||||||
|
o any Letter a..Z or space
|
||||||
|
O any Letter a..Z or space converted to upper case
|
||||||
|
a any Letters & Digits NO space
|
||||||
|
A any Letters & Digits NO space converted to upper case
|
||||||
|
c any Letters & Digits or space
|
||||||
|
C any Letters & Digits or space converted to upper case
|
||||||
|
0 Digits 0..9 NO space
|
||||||
|
9 Digits 0..9 or space
|
||||||
|
|
||||||
|
Example of format "(000)_000-0000"',200233,'VFormat',40,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_DATE('2019-10-09 09:14:26','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:14:26','YYYY-MM-DD HH24:MI:SS'),100,616,'Y','N','D','N','N','N','Y','bb90e98c-7d60-4274-888c-cd00c37347c1','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:28 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD VFormat VARCHAR2(40) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:46 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206196,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200235,214070,'Y',22,240,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a64fe786-50b3-452e-a204-de0d2317ce04','Y',240,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:46 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206197,'Value Format','Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"','<B>Validation elements:</B>
|
||||||
|
(Space) any character
|
||||||
|
_ Space (fixed character)
|
||||||
|
l any Letter a..Z NO space
|
||||||
|
L any Letter a..Z NO space converted to upper case
|
||||||
|
o any Letter a..Z or space
|
||||||
|
O any Letter a..Z or space converted to upper case
|
||||||
|
a any Letters & Digits NO space
|
||||||
|
A any Letters & Digits NO space converted to upper case
|
||||||
|
c any Letters & Digits or space
|
||||||
|
C any Letters & Digits or space converted to upper case
|
||||||
|
0 Digits 0..9 NO space
|
||||||
|
9 Digits 0..9 or space
|
||||||
|
|
||||||
|
Example of format "(000)_000-0000"',200235,214071,'Y',40,250,'N','N','N','N',0,0,'Y',TO_DATE('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c5765891-c41f-4a9b-bc02-d5ac965cb1ee','Y',250,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:04 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206196
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:08 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:12 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:16 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206197
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:20 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:24 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:28 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:32 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:36 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=200, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206195
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:40 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=210, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206193
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:44 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=220, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:48 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=230, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:52 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=240, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:56 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=250, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_DATE('2019-10-09 09:16:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
SELECT register_migration_script('201910091045_IDEMPIERE-3971.sql') FROM dual
|
||||||
|
;
|
|
@ -0,0 +1,469 @@
|
||||||
|
-- https://idempiere.atlassian.net/browse/IDEMPIERE-3971
|
||||||
|
-- Oct 9, 2019, 8:45:23 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214060,0,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200233,'AD_Reference_ID',22,'N','N','N','N','N',0,'N',18,1,0,0,'Y',TO_TIMESTAMP('2019-10-09 08:45:23','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:45:23','YYYY-MM-DD HH24:MI:SS'),100,120,'Y','N','U','N','N','N','Y','e0a1bcc3-8130-4271-8f92-5f392759b70c','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:25 AM BRT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADReference_ADUserDefProcParam', FKConstraintType='N',Updated=TO_TIMESTAMP('2019-10-09 08:45:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:25 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN AD_Reference_ID NUMERIC(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:25 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD CONSTRAINT ADReference_ADUserDefProcParam FOREIGN KEY (AD_Reference_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:40 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,AD_Val_Rule_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214061,0,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200233,115,'AD_Reference_Value_ID',22,'N','N','N','N','N',0,'N',18,4,0,0,'Y',TO_TIMESTAMP('2019-10-09 08:45:40','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:45:40','YYYY-MM-DD HH24:MI:SS'),100,121,'Y','N','U','N','N','N','Y','8c733922-36ff-4df7-99ba-2ee5028ecdcd','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:42 AM BRT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADReferenceValue_ADUserDefProc', FKConstraintType='N',Updated=TO_TIMESTAMP('2019-10-09 08:45:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:42 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN AD_Reference_Value_ID NUMERIC(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:45:42 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD CONSTRAINT ADReferenceValue_ADUserDefProc FOREIGN KEY (AD_Reference_Value_ID) REFERENCES ad_reference(ad_reference_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:00 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214062,0,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200233,'AD_Val_Rule_ID',22,'N','N','N','N','N',0,'N',19,0,0,'Y',TO_TIMESTAMP('2019-10-09 08:46:00','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:46:00','YYYY-MM-DD HH24:MI:SS'),100,139,'Y','N','U','N','N','N','Y','ff72629a-f1be-4012-9617-99b6a980af35','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:02 AM BRT
|
||||||
|
UPDATE AD_Column SET FKConstraintName='ADValRule_ADUserDefProcParamet', FKConstraintType='N',Updated=TO_TIMESTAMP('2019-10-09 08:46:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:02 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN AD_Val_Rule_ID NUMERIC(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:02 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD CONSTRAINT ADValRule_ADUserDefProcParamet FOREIGN KEY (AD_Val_Rule_ID) REFERENCES ad_val_rule(ad_val_rule_id) DEFERRABLE INITIALLY DEFERRED
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:36 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214063,0,'Default Logic 2','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200233,'DefaultValue2',2000,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2019-10-09 08:46:35','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:46:35','YYYY-MM-DD HH24:MI:SS'),100,1529,'Y','N','U','N','N','N','Y','da8ee557-d9d1-4ed7-b129-3e83efe39e70','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:37 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN DefaultValue2 VARCHAR(2000) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:54 AM BRT
|
||||||
|
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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214064,0,'Placeholder',200233,'Placeholder',255,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2019-10-09 08:46:54','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:46:54','YYYY-MM-DD HH24:MI:SS'),100,203163,'Y','N','U','N','N','N','Y','c4a41150-cd3f-4faf-893b-f2ad62a055ae','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:46:55 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN Placeholder VARCHAR(255) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:47:23 AM BRT
|
||||||
|
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,SeqNoSelection,IsToolbarButton,IsSecure,FKConstraintType,IsHtml) VALUES (214065,0,'Placeholder2',200233,'Placeholder2',255,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2019-10-09 08:47:23','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:47:23','YYYY-MM-DD HH24:MI:SS'),100,203164,'Y','N','U','N','N','N','Y','3c28e134-1b0b-458f-8076-eb96b678cd3b','Y',0,'N','N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:47:25 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN Placeholder2 VARCHAR(255) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:48:40 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2019-10-09 08:48:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214060
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:48:53 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2019-10-09 08:48:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214061
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:13 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2019-10-09 08:49:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214062
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:28 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2019-10-09 08:49:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214063
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:42 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2019-10-09 08:49:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214064
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:49:58 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2019-10-09 08:49:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214065
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206186,'Reference','System Reference and Validation','The Reference could be a display type, list or table validation.',200235,214060,'Y',22,140,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 08:50:16','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:50:16','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','b7bde4d7-9288-4090-b73e-6ec8908126a9','Y',140,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206187,'Reference Key','Required to specify, if data type is Table or List','The Reference Value indicates where the reference values are stored. It must be specified if the data type is Table or List. ',200235,214061,'Y',22,150,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','5ab7818d-48e0-4e82-a984-aae926e18df6','Y',150,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206188,'Dynamic Validation','Dynamic Validation Rule','These rules define how an entry is determined to valid. You can use variables for dynamic (context sensitive) validation.',200235,214062,'Y',22,160,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4405f6ec-f63f-4d68-a046-4672e33c933c','Y',160,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206189,'Default Logic 2','Default value hierarchy, separated by ;','The defaults are evaluated in the order of definition, the first not null value becomes the default value of the column. The values are separated by comma or semicolon. a) Literals:. ''Text'' or 123 b) Variables - in format @Variable@ - Login e.g. #Date, #AD_Org_ID, #AD_Client_ID - Accounting Schema: e.g. $C_AcctSchema_ID, $C_Calendar_ID - Global defaults: e.g. DateFormat - Window values (all Picks, CheckBoxes, RadioButtons, and DateDoc/DateAcct) c) SQL code with the tag: @SQL=SELECT something AS DefaultValue FROM ... The SQL statement can contain variables. There can be no other value other than the SQL statement. The default is only evaluated, if no user preference is defined. Default definitions are ignored for record columns as Key, Parent, Client as well as Buttons.',200235,214063,'Y',2000,170,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','57b7dbbd-6845-42d6-8f54-ba0961b77dba','Y',170,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206190,'Placeholder',200235,214064,'Y',255,180,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','0d271d9d-7e9b-48c6-9aec-e3133f89f66a','Y',180,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:50:17 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206191,'Placeholder2',200235,214065,'Y',255,190,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 08:50:17','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','4dba44e7-e226-44fe-86a3-0516fc249f92','Y',190,5)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:13 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_TIMESTAMP('2019-10-09 08:51:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:23 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_TIMESTAMP('2019-10-09 08:51:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:29 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_TIMESTAMP('2019-10-09 08:51:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:51:34 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_TIMESTAMP('2019-10-09 08:51:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:08 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, ColumnSpan=2, NumLines=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:12 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, ColumnSpan=2, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:16 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:20 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:24 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:28 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:32 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 8:53:36 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 08:53:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:16 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206190
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:20 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:24 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:28 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:32 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:36 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:40 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:44 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:48 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:53 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:00:57 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:00:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:01 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214066,0,'Range','The parameter is a range of values','The Range checkbox indicates that this parameter is a range of values.',200233,'IsRange',1,'N','N','N','N','N',0,'N',20,0,0,'Y',TO_TIMESTAMP('2019-10-09 09:02:01','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:02:01','YYYY-MM-DD HH24:MI:SS'),100,404,'Y','N','U','N','N','N','Y','a0ee1368-ee8c-44f6-93b4-1fbfca01817e','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:02 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN IsRange CHAR(1) DEFAULT NULL CHECK (IsRange IN ('Y','N'))
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:42 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,AD_Table_ID,ColumnName,FieldLength,IsKey,IsParent,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsEncrypted,AD_Reference_ID,AD_Reference_Value_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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214067,0,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200233,'IsMandatory',1,'N','N','N','N','N',0,'N',17,319,0,0,'Y',TO_TIMESTAMP('2019-10-09 09:02:42','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:02:42','YYYY-MM-DD HH24:MI:SS'),100,392,'Y','N','D','N','N','N','Y','b7641677-94c3-49d4-921a-396923f042a7','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:02:43 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN IsMandatory CHAR(1) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:03:17 AM BRT
|
||||||
|
UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2019-10-09 09:03:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=214066
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:04:20 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214068,0,'Min. Value','Minimum Value for a field','The Minimum Value indicates the lowest allowable value for a field.',200233,'ValueMin',20,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2019-10-09 09:04:20','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:04:20','YYYY-MM-DD HH24:MI:SS'),100,1060,'Y','N','D','N','N','N','Y','2adee1cc-6b16-4b4c-a43b-c91c9c9d2065','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:04:22 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN ValueMin VARCHAR(20) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:06:05 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214069,0,'Max. Value','Maximum Value for a field','The Maximum Value indicates the highest allowable value for a field',200233,'ValueMax',20,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2019-10-09 09:06:05','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:06:05','YYYY-MM-DD HH24:MI:SS'),100,1059,'Y','N','D','N','N','N','Y','3ebf7eef-10f4-4f97-87a7-abe92946f204','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:06:07 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN ValueMax VARCHAR(20) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,XPosition,ColumnSpan) VALUES (206192,'Range','The parameter is a range of values','The Range checkbox indicates that this parameter is a range of values.',200235,214066,'Y',1,200,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','97f5d5ca-dd53-4487-93e2-6d2692382581','Y',200,2,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206193,'Mandatory','Data entry is required in this column','The field must have a value for the record to be saved to the database.',200235,214067,'Y',1,210,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','aeded41f-a3a8-4fdf-9913-be99f60e1f73','Y',210,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206194,'Min. Value','Minimum Value for a field','The Minimum Value indicates the lowest allowable value for a field.',200235,214068,'Y',20,220,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','2af2f9db-258b-459a-8217-4fba77dfa250','Y',220,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:07:09 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206195,'Max. Value','Maximum Value for a field','The Maximum Value indicates the highest allowable value for a field',200235,214069,'Y',20,230,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:07:09','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','810550ab-4cfe-4d86-8911-ce9595b1201e','Y',230,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:19 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=60, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=5, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206192
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:23 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=70, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205261
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:27 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=80, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205262
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:32 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=90, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205263
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:36 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=100, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206190
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:40 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=110, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:44 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:48 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:52 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:08:56 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:08:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:00 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:04 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:08 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206195
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:12 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:16 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=200, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206193
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:20 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=210, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:24 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=220, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:28 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=230, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:09:54 AM BRT
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsRange@=''Y''', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:09:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206191
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:10:11 AM BRT
|
||||||
|
UPDATE AD_Field SET DisplayLogic='@IsRange@=''Y''', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:10:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:10:20 AM BRT
|
||||||
|
UPDATE AD_Field SET IsReadOnly='Y', AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:10:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206192
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:11:48 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='Y',Updated=TO_TIMESTAMP('2019-10-09 09:11:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:11:54 AM BRT
|
||||||
|
UPDATE AD_Field SET AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL, IsAdvancedField='N',Updated=TO_TIMESTAMP('2019-10-09 09:11:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:13:49 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214070,0,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200233,'SeqNo',22,'N','N','N','N','N',0,'N',11,0,0,'Y',TO_TIMESTAMP('2019-10-09 09:13:49','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:13:49','YYYY-MM-DD HH24:MI:SS'),100,566,'Y','N','D','N','N','N','Y','907d7178-28fd-4d85-aa89-49dd714e7fe3','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:13:51 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN SeqNo NUMERIC(10) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:26 AM BRT
|
||||||
|
INSERT INTO AD_Column (AD_Column_ID,Version,Name,Description,Help,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,SeqNoSelection,IsToolbarButton,IsSecure,IsHtml) VALUES (214071,0,'Value Format','Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"','<B>Validation elements:</B>
|
||||||
|
(Space) any character
|
||||||
|
_ Space (fixed character)
|
||||||
|
l any Letter a..Z NO space
|
||||||
|
L any Letter a..Z NO space converted to upper case
|
||||||
|
o any Letter a..Z or space
|
||||||
|
O any Letter a..Z or space converted to upper case
|
||||||
|
a any Letters & Digits NO space
|
||||||
|
A any Letters & Digits NO space converted to upper case
|
||||||
|
c any Letters & Digits or space
|
||||||
|
C any Letters & Digits or space converted to upper case
|
||||||
|
0 Digits 0..9 NO space
|
||||||
|
9 Digits 0..9 or space
|
||||||
|
|
||||||
|
Example of format "(000)_000-0000"',200233,'VFormat',40,'N','N','N','N','N',0,'N',10,0,0,'Y',TO_TIMESTAMP('2019-10-09 09:14:26','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:14:26','YYYY-MM-DD HH24:MI:SS'),100,616,'Y','N','D','N','N','N','Y','bb90e98c-7d60-4274-888c-cd00c37347c1','Y',0,'N','N','N')
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:28 AM BRT
|
||||||
|
ALTER TABLE AD_UserDef_Proc_Parameter ADD COLUMN VFormat VARCHAR(40) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:46 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206196,'Sequence','Method of ordering records; lowest number comes first','The Sequence indicates the order of records',200235,214070,'Y',22,240,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','a64fe786-50b3-452e-a204-de0d2317ce04','Y',240,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:14:46 AM BRT
|
||||||
|
INSERT INTO AD_Field (AD_Field_ID,Name,Description,Help,AD_Tab_ID,AD_Column_ID,IsDisplayed,DisplayLength,SeqNo,IsSameLine,IsHeading,IsFieldOnly,IsEncrypted,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,IsReadOnly,IsCentrallyMaintained,EntityType,AD_Field_UU,IsDisplayedGrid,SeqNoGrid,ColumnSpan) VALUES (206197,'Value Format','Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"','<B>Validation elements:</B>
|
||||||
|
(Space) any character
|
||||||
|
_ Space (fixed character)
|
||||||
|
l any Letter a..Z NO space
|
||||||
|
L any Letter a..Z NO space converted to upper case
|
||||||
|
o any Letter a..Z or space
|
||||||
|
O any Letter a..Z or space converted to upper case
|
||||||
|
a any Letters & Digits NO space
|
||||||
|
A any Letters & Digits NO space converted to upper case
|
||||||
|
c any Letters & Digits or space
|
||||||
|
C any Letters & Digits or space converted to upper case
|
||||||
|
0 Digits 0..9 NO space
|
||||||
|
9 Digits 0..9 or space
|
||||||
|
|
||||||
|
Example of format "(000)_000-0000"',200235,214071,'Y',40,250,'N','N','N','N',0,0,'Y',TO_TIMESTAMP('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-10-09 09:14:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y','D','c5765891-c41f-4a9b-bc02-d5ac965cb1ee','Y',250,2)
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:04 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=120, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206196
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:08 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=130, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:08','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206186
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:12 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=140, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206187
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:16 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=150, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206197
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:20 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=160, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206188
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:24 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=170, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205270
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:28 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=180, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206189
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:32 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=190, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206194
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:36 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=200, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206195
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:40 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=210, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=1, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=206193
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:44 AM BRT
|
||||||
|
UPDATE AD_Field SET IsDisplayed='Y', SeqNo=220, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, XPosition=4, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205267
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:48 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=230, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205275
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:52 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=240, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205269
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Oct 9, 2019, 9:16:56 AM BRT
|
||||||
|
UPDATE AD_Field SET SeqNo=250, AD_Reference_Value_ID=NULL, AD_Val_Rule_ID=NULL, IsToolbarButton=NULL,Updated=TO_TIMESTAMP('2019-10-09 09:16:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=205276
|
||||||
|
;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
SELECT register_migration_script('201910091045_IDEMPIERE-3971.sql') FROM dual
|
||||||
|
;
|
|
@ -63,6 +63,7 @@ public class CalloutProcessCustomization extends CalloutEngine
|
||||||
mTab.setValue("Name", pp.get_Translation("Name"));
|
mTab.setValue("Name", pp.get_Translation("Name"));
|
||||||
mTab.setValue("Description", pp.get_Translation("Description"));
|
mTab.setValue("Description", pp.get_Translation("Description"));
|
||||||
mTab.setValue("Help", pp.get_Translation("Help"));
|
mTab.setValue("Help", pp.get_Translation("Help"));
|
||||||
|
mTab.setValue("IsRange", pp.isRange());
|
||||||
|
|
||||||
return NO_ERROR;
|
return NO_ERROR;
|
||||||
} // proc parameter
|
} // proc parameter
|
||||||
|
|
|
@ -361,6 +361,7 @@ public class GridFieldVO implements Serializable
|
||||||
vo.Header = rs.getString("Name");
|
vo.Header = rs.getString("Name");
|
||||||
vo.Description = rs.getString("Description");
|
vo.Description = rs.getString("Description");
|
||||||
vo.Help = rs.getString("Help");
|
vo.Help = rs.getString("Help");
|
||||||
|
vo.SeqNo = rs.getInt("SeqNo");
|
||||||
vo.displayType = rs.getInt("AD_Reference_ID");
|
vo.displayType = rs.getInt("AD_Reference_ID");
|
||||||
vo.IsMandatory = rs.getString("IsMandatory").equals("Y");
|
vo.IsMandatory = rs.getString("IsMandatory").equals("Y");
|
||||||
vo.FieldLength = rs.getInt("FieldLength");
|
vo.FieldLength = rs.getInt("FieldLength");
|
||||||
|
@ -406,6 +407,28 @@ public class GridFieldVO implements Serializable
|
||||||
vo.MandatoryLogic = userDef.getMandatoryLogic();
|
vo.MandatoryLogic = userDef.getMandatoryLogic();
|
||||||
if (userDef.getIsDisplayed()!= null)
|
if (userDef.getIsDisplayed()!= null)
|
||||||
vo.IsDisplayed = "Y".equals(userDef.getIsDisplayed());
|
vo.IsDisplayed = "Y".equals(userDef.getIsDisplayed());
|
||||||
|
if (userDef.getPlaceholder()!= null)
|
||||||
|
vo.Placeholder = userDef.getPlaceholder();
|
||||||
|
if (userDef.getPlaceholder2()!= null)
|
||||||
|
vo.Placeholder2 = userDef.getPlaceholder2();
|
||||||
|
if (userDef.getSeqNo() > 0)
|
||||||
|
vo.SeqNo = userDef.getSeqNo();
|
||||||
|
if (userDef.getAD_Reference_ID()>0)
|
||||||
|
vo.displayType = userDef.getAD_Reference_ID();
|
||||||
|
if (userDef.getAD_Reference_Value_ID()>0)
|
||||||
|
vo.AD_Reference_Value_ID = userDef.getAD_Reference_Value_ID();
|
||||||
|
if (userDef.getVFormat() != null)
|
||||||
|
vo.VFormat = userDef.getVFormat();
|
||||||
|
if (userDef.getAD_Val_Rule_ID() > 0)
|
||||||
|
vo.ValidationCode = MValRule.get(ctx, userDef.getAD_Val_Rule_ID()).getCode();
|
||||||
|
if(userDef.getDefaultValue2() != null)
|
||||||
|
vo.DefaultValue2 = userDef.getDefaultValue2();
|
||||||
|
if(userDef.getValueMin() != null)
|
||||||
|
vo.ValueMin = userDef.getValueMin();
|
||||||
|
if(userDef.getValueMax() != null)
|
||||||
|
vo.ValueMax = userDef.getValueMax();
|
||||||
|
if (userDef.getIsMandatory()!= null)
|
||||||
|
vo.IsMandatory = "Y".equals(userDef.getIsMandatory());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
//fim devCoffee - 3858
|
//fim devCoffee - 3858
|
||||||
|
|
|
@ -73,6 +73,36 @@ public interface I_AD_UserDef_Proc_Parameter
|
||||||
|
|
||||||
public org.compiere.model.I_AD_Process_Para getAD_Process_Para() throws RuntimeException;
|
public org.compiere.model.I_AD_Process_Para getAD_Process_Para() throws RuntimeException;
|
||||||
|
|
||||||
|
/** Column name AD_Reference_ID */
|
||||||
|
public static final String COLUMNNAME_AD_Reference_ID = "AD_Reference_ID";
|
||||||
|
|
||||||
|
/** Set Reference.
|
||||||
|
* System Reference and Validation
|
||||||
|
*/
|
||||||
|
public void setAD_Reference_ID (int AD_Reference_ID);
|
||||||
|
|
||||||
|
/** Get Reference.
|
||||||
|
* System Reference and Validation
|
||||||
|
*/
|
||||||
|
public int getAD_Reference_ID();
|
||||||
|
|
||||||
|
public org.compiere.model.I_AD_Reference getAD_Reference() throws RuntimeException;
|
||||||
|
|
||||||
|
/** Column name AD_Reference_Value_ID */
|
||||||
|
public static final String COLUMNNAME_AD_Reference_Value_ID = "AD_Reference_Value_ID";
|
||||||
|
|
||||||
|
/** Set Reference Key.
|
||||||
|
* Required to specify, if data type is Table or List
|
||||||
|
*/
|
||||||
|
public void setAD_Reference_Value_ID (int AD_Reference_Value_ID);
|
||||||
|
|
||||||
|
/** Get Reference Key.
|
||||||
|
* Required to specify, if data type is Table or List
|
||||||
|
*/
|
||||||
|
public int getAD_Reference_Value_ID();
|
||||||
|
|
||||||
|
public org.compiere.model.I_AD_Reference getAD_Reference_Value() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name AD_UserDef_Proc_ID */
|
/** Column name AD_UserDef_Proc_ID */
|
||||||
public static final String COLUMNNAME_AD_UserDef_Proc_ID = "AD_UserDef_Proc_ID";
|
public static final String COLUMNNAME_AD_UserDef_Proc_ID = "AD_UserDef_Proc_ID";
|
||||||
|
|
||||||
|
@ -110,6 +140,21 @@ public interface I_AD_UserDef_Proc_Parameter
|
||||||
/** Get AD_UserDef_Proc_Parameter_UU */
|
/** Get AD_UserDef_Proc_Parameter_UU */
|
||||||
public String getAD_UserDef_Proc_Parameter_UU();
|
public String getAD_UserDef_Proc_Parameter_UU();
|
||||||
|
|
||||||
|
/** Column name AD_Val_Rule_ID */
|
||||||
|
public static final String COLUMNNAME_AD_Val_Rule_ID = "AD_Val_Rule_ID";
|
||||||
|
|
||||||
|
/** Set Dynamic Validation.
|
||||||
|
* Dynamic Validation Rule
|
||||||
|
*/
|
||||||
|
public void setAD_Val_Rule_ID (int AD_Val_Rule_ID);
|
||||||
|
|
||||||
|
/** Get Dynamic Validation.
|
||||||
|
* Dynamic Validation Rule
|
||||||
|
*/
|
||||||
|
public int getAD_Val_Rule_ID();
|
||||||
|
|
||||||
|
public org.compiere.model.I_AD_Val_Rule getAD_Val_Rule() throws RuntimeException;
|
||||||
|
|
||||||
/** Column name Created */
|
/** Column name Created */
|
||||||
public static final String COLUMNNAME_Created = "Created";
|
public static final String COLUMNNAME_Created = "Created";
|
||||||
|
|
||||||
|
@ -141,6 +186,21 @@ public interface I_AD_UserDef_Proc_Parameter
|
||||||
*/
|
*/
|
||||||
public String getDefaultValue();
|
public String getDefaultValue();
|
||||||
|
|
||||||
|
/** Column name DefaultValue2 */
|
||||||
|
public static final String COLUMNNAME_DefaultValue2 = "DefaultValue2";
|
||||||
|
|
||||||
|
/** Set Default Logic 2.
|
||||||
|
* Default value hierarchy, separated by ;
|
||||||
|
|
||||||
|
*/
|
||||||
|
public void setDefaultValue2 (String DefaultValue2);
|
||||||
|
|
||||||
|
/** Get Default Logic 2.
|
||||||
|
* Default value hierarchy, separated by ;
|
||||||
|
|
||||||
|
*/
|
||||||
|
public String getDefaultValue2();
|
||||||
|
|
||||||
/** Column name Description */
|
/** Column name Description */
|
||||||
public static final String COLUMNNAME_Description = "Description";
|
public static final String COLUMNNAME_Description = "Description";
|
||||||
|
|
||||||
|
@ -206,6 +266,32 @@ public interface I_AD_UserDef_Proc_Parameter
|
||||||
*/
|
*/
|
||||||
public String getIsDisplayed();
|
public String getIsDisplayed();
|
||||||
|
|
||||||
|
/** Column name IsMandatory */
|
||||||
|
public static final String COLUMNNAME_IsMandatory = "IsMandatory";
|
||||||
|
|
||||||
|
/** Set Mandatory.
|
||||||
|
* Data entry is required in this column
|
||||||
|
*/
|
||||||
|
public void setIsMandatory (String IsMandatory);
|
||||||
|
|
||||||
|
/** Get Mandatory.
|
||||||
|
* Data entry is required in this column
|
||||||
|
*/
|
||||||
|
public String getIsMandatory();
|
||||||
|
|
||||||
|
/** Column name IsRange */
|
||||||
|
public static final String COLUMNNAME_IsRange = "IsRange";
|
||||||
|
|
||||||
|
/** Set Range.
|
||||||
|
* The parameter is a range of values
|
||||||
|
*/
|
||||||
|
public void setIsRange (boolean IsRange);
|
||||||
|
|
||||||
|
/** Get Range.
|
||||||
|
* The parameter is a range of values
|
||||||
|
*/
|
||||||
|
public boolean isRange();
|
||||||
|
|
||||||
/** Column name MandatoryLogic */
|
/** Column name MandatoryLogic */
|
||||||
public static final String COLUMNNAME_MandatoryLogic = "MandatoryLogic";
|
public static final String COLUMNNAME_MandatoryLogic = "MandatoryLogic";
|
||||||
|
|
||||||
|
@ -228,6 +314,24 @@ public interface I_AD_UserDef_Proc_Parameter
|
||||||
*/
|
*/
|
||||||
public String getName();
|
public String getName();
|
||||||
|
|
||||||
|
/** Column name Placeholder */
|
||||||
|
public static final String COLUMNNAME_Placeholder = "Placeholder";
|
||||||
|
|
||||||
|
/** Set Placeholder */
|
||||||
|
public void setPlaceholder (String Placeholder);
|
||||||
|
|
||||||
|
/** Get Placeholder */
|
||||||
|
public String getPlaceholder();
|
||||||
|
|
||||||
|
/** Column name Placeholder2 */
|
||||||
|
public static final String COLUMNNAME_Placeholder2 = "Placeholder2";
|
||||||
|
|
||||||
|
/** Set Placeholder2 */
|
||||||
|
public void setPlaceholder2 (String Placeholder2);
|
||||||
|
|
||||||
|
/** Get Placeholder2 */
|
||||||
|
public String getPlaceholder2();
|
||||||
|
|
||||||
/** Column name ReadOnlyLogic */
|
/** Column name ReadOnlyLogic */
|
||||||
public static final String COLUMNNAME_ReadOnlyLogic = "ReadOnlyLogic";
|
public static final String COLUMNNAME_ReadOnlyLogic = "ReadOnlyLogic";
|
||||||
|
|
||||||
|
@ -241,6 +345,21 @@ public interface I_AD_UserDef_Proc_Parameter
|
||||||
*/
|
*/
|
||||||
public String getReadOnlyLogic();
|
public String getReadOnlyLogic();
|
||||||
|
|
||||||
|
/** Column name SeqNo */
|
||||||
|
public static final String COLUMNNAME_SeqNo = "SeqNo";
|
||||||
|
|
||||||
|
/** Set Sequence.
|
||||||
|
* Method of ordering records;
|
||||||
|
lowest number comes first
|
||||||
|
*/
|
||||||
|
public void setSeqNo (int SeqNo);
|
||||||
|
|
||||||
|
/** Get Sequence.
|
||||||
|
* Method of ordering records;
|
||||||
|
lowest number comes first
|
||||||
|
*/
|
||||||
|
public int getSeqNo();
|
||||||
|
|
||||||
/** Column name Updated */
|
/** Column name Updated */
|
||||||
public static final String COLUMNNAME_Updated = "Updated";
|
public static final String COLUMNNAME_Updated = "Updated";
|
||||||
|
|
||||||
|
@ -256,4 +375,45 @@ public interface I_AD_UserDef_Proc_Parameter
|
||||||
* User who updated this records
|
* User who updated this records
|
||||||
*/
|
*/
|
||||||
public int getUpdatedBy();
|
public int getUpdatedBy();
|
||||||
|
|
||||||
|
/** Column name ValueMax */
|
||||||
|
public static final String COLUMNNAME_ValueMax = "ValueMax";
|
||||||
|
|
||||||
|
/** Set Max. Value.
|
||||||
|
* Maximum Value for a field
|
||||||
|
*/
|
||||||
|
public void setValueMax (String ValueMax);
|
||||||
|
|
||||||
|
/** Get Max. Value.
|
||||||
|
* Maximum Value for a field
|
||||||
|
*/
|
||||||
|
public String getValueMax();
|
||||||
|
|
||||||
|
/** Column name ValueMin */
|
||||||
|
public static final String COLUMNNAME_ValueMin = "ValueMin";
|
||||||
|
|
||||||
|
/** Set Min. Value.
|
||||||
|
* Minimum Value for a field
|
||||||
|
*/
|
||||||
|
public void setValueMin (String ValueMin);
|
||||||
|
|
||||||
|
/** Get Min. Value.
|
||||||
|
* Minimum Value for a field
|
||||||
|
*/
|
||||||
|
public String getValueMin();
|
||||||
|
|
||||||
|
/** Column name VFormat */
|
||||||
|
public static final String COLUMNNAME_VFormat = "VFormat";
|
||||||
|
|
||||||
|
/** Set Value Format.
|
||||||
|
* Format of the value;
|
||||||
|
Can contain fixed format elements, Variables: "_lLoOaAcCa09"
|
||||||
|
*/
|
||||||
|
public void setVFormat (String VFormat);
|
||||||
|
|
||||||
|
/** Get Value Format.
|
||||||
|
* Format of the value;
|
||||||
|
Can contain fixed format elements, Variables: "_lLoOaAcCa09"
|
||||||
|
*/
|
||||||
|
public String getVFormat();
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,7 +30,7 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
private static final long serialVersionUID = 20190924L;
|
private static final long serialVersionUID = 20191009L;
|
||||||
|
|
||||||
/** Standard Constructor */
|
/** Standard Constructor */
|
||||||
public X_AD_UserDef_Proc_Parameter (Properties ctx, int AD_UserDef_Proc_Parameter_ID, String trxName)
|
public X_AD_UserDef_Proc_Parameter (Properties ctx, int AD_UserDef_Proc_Parameter_ID, String trxName)
|
||||||
|
@ -97,6 +97,62 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc
|
||||||
return ii.intValue();
|
return ii.intValue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public org.compiere.model.I_AD_Reference getAD_Reference() throws RuntimeException
|
||||||
|
{
|
||||||
|
return (org.compiere.model.I_AD_Reference)MTable.get(getCtx(), org.compiere.model.I_AD_Reference.Table_Name)
|
||||||
|
.getPO(getAD_Reference_ID(), get_TrxName()); }
|
||||||
|
|
||||||
|
/** Set Reference.
|
||||||
|
@param AD_Reference_ID
|
||||||
|
System Reference and Validation
|
||||||
|
*/
|
||||||
|
public void setAD_Reference_ID (int AD_Reference_ID)
|
||||||
|
{
|
||||||
|
if (AD_Reference_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_AD_Reference_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_AD_Reference_ID, Integer.valueOf(AD_Reference_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Reference.
|
||||||
|
@return System Reference and Validation
|
||||||
|
*/
|
||||||
|
public int getAD_Reference_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Reference_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
public org.compiere.model.I_AD_Reference getAD_Reference_Value() throws RuntimeException
|
||||||
|
{
|
||||||
|
return (org.compiere.model.I_AD_Reference)MTable.get(getCtx(), org.compiere.model.I_AD_Reference.Table_Name)
|
||||||
|
.getPO(getAD_Reference_Value_ID(), get_TrxName()); }
|
||||||
|
|
||||||
|
/** Set Reference Key.
|
||||||
|
@param AD_Reference_Value_ID
|
||||||
|
Required to specify, if data type is Table or List
|
||||||
|
*/
|
||||||
|
public void setAD_Reference_Value_ID (int AD_Reference_Value_ID)
|
||||||
|
{
|
||||||
|
if (AD_Reference_Value_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_AD_Reference_Value_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_AD_Reference_Value_ID, Integer.valueOf(AD_Reference_Value_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Reference Key.
|
||||||
|
@return Required to specify, if data type is Table or List
|
||||||
|
*/
|
||||||
|
public int getAD_Reference_Value_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Reference_Value_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
public org.compiere.model.I_AD_UserDef_Proc getAD_UserDef_Proc() throws RuntimeException
|
public org.compiere.model.I_AD_UserDef_Proc getAD_UserDef_Proc() throws RuntimeException
|
||||||
{
|
{
|
||||||
return (org.compiere.model.I_AD_UserDef_Proc)MTable.get(getCtx(), org.compiere.model.I_AD_UserDef_Proc.Table_Name)
|
return (org.compiere.model.I_AD_UserDef_Proc)MTable.get(getCtx(), org.compiere.model.I_AD_UserDef_Proc.Table_Name)
|
||||||
|
@ -162,6 +218,34 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc
|
||||||
return (String)get_Value(COLUMNNAME_AD_UserDef_Proc_Parameter_UU);
|
return (String)get_Value(COLUMNNAME_AD_UserDef_Proc_Parameter_UU);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public org.compiere.model.I_AD_Val_Rule getAD_Val_Rule() throws RuntimeException
|
||||||
|
{
|
||||||
|
return (org.compiere.model.I_AD_Val_Rule)MTable.get(getCtx(), org.compiere.model.I_AD_Val_Rule.Table_Name)
|
||||||
|
.getPO(getAD_Val_Rule_ID(), get_TrxName()); }
|
||||||
|
|
||||||
|
/** Set Dynamic Validation.
|
||||||
|
@param AD_Val_Rule_ID
|
||||||
|
Dynamic Validation Rule
|
||||||
|
*/
|
||||||
|
public void setAD_Val_Rule_ID (int AD_Val_Rule_ID)
|
||||||
|
{
|
||||||
|
if (AD_Val_Rule_ID < 1)
|
||||||
|
set_Value (COLUMNNAME_AD_Val_Rule_ID, null);
|
||||||
|
else
|
||||||
|
set_Value (COLUMNNAME_AD_Val_Rule_ID, Integer.valueOf(AD_Val_Rule_ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Dynamic Validation.
|
||||||
|
@return Dynamic Validation Rule
|
||||||
|
*/
|
||||||
|
public int getAD_Val_Rule_ID ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_AD_Val_Rule_ID);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Default Logic.
|
/** Set Default Logic.
|
||||||
@param DefaultValue
|
@param DefaultValue
|
||||||
Default value hierarchy, separated by ;
|
Default value hierarchy, separated by ;
|
||||||
|
@ -179,6 +263,23 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc
|
||||||
return (String)get_Value(COLUMNNAME_DefaultValue);
|
return (String)get_Value(COLUMNNAME_DefaultValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Default Logic 2.
|
||||||
|
@param DefaultValue2
|
||||||
|
Default value hierarchy, separated by ;
|
||||||
|
*/
|
||||||
|
public void setDefaultValue2 (String DefaultValue2)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_DefaultValue2, DefaultValue2);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Default Logic 2.
|
||||||
|
@return Default value hierarchy, separated by ;
|
||||||
|
*/
|
||||||
|
public String getDefaultValue2 ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_DefaultValue2);
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Description.
|
/** Set Description.
|
||||||
@param Description
|
@param Description
|
||||||
Optional short description of the record
|
Optional short description of the record
|
||||||
|
@ -254,6 +355,54 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc
|
||||||
return (String)get_Value(COLUMNNAME_IsDisplayed);
|
return (String)get_Value(COLUMNNAME_IsDisplayed);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** IsMandatory AD_Reference_ID=319 */
|
||||||
|
public static final int ISMANDATORY_AD_Reference_ID=319;
|
||||||
|
/** Yes = Y */
|
||||||
|
public static final String ISMANDATORY_Yes = "Y";
|
||||||
|
/** No = N */
|
||||||
|
public static final String ISMANDATORY_No = "N";
|
||||||
|
/** Set Mandatory.
|
||||||
|
@param IsMandatory
|
||||||
|
Data entry is required in this column
|
||||||
|
*/
|
||||||
|
public void setIsMandatory (String IsMandatory)
|
||||||
|
{
|
||||||
|
|
||||||
|
set_Value (COLUMNNAME_IsMandatory, IsMandatory);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Mandatory.
|
||||||
|
@return Data entry is required in this column
|
||||||
|
*/
|
||||||
|
public String getIsMandatory ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_IsMandatory);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Range.
|
||||||
|
@param IsRange
|
||||||
|
The parameter is a range of values
|
||||||
|
*/
|
||||||
|
public void setIsRange (boolean IsRange)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_IsRange, Boolean.valueOf(IsRange));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Range.
|
||||||
|
@return The parameter is a range of values
|
||||||
|
*/
|
||||||
|
public boolean isRange ()
|
||||||
|
{
|
||||||
|
Object oo = get_Value(COLUMNNAME_IsRange);
|
||||||
|
if (oo != null)
|
||||||
|
{
|
||||||
|
if (oo instanceof Boolean)
|
||||||
|
return ((Boolean)oo).booleanValue();
|
||||||
|
return "Y".equals(oo);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Mandatory Logic.
|
/** Set Mandatory Logic.
|
||||||
@param MandatoryLogic Mandatory Logic */
|
@param MandatoryLogic Mandatory Logic */
|
||||||
public void setMandatoryLogic (String MandatoryLogic)
|
public void setMandatoryLogic (String MandatoryLogic)
|
||||||
|
@ -293,6 +442,34 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc
|
||||||
return new KeyNamePair(get_ID(), getName());
|
return new KeyNamePair(get_ID(), getName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Placeholder.
|
||||||
|
@param Placeholder Placeholder */
|
||||||
|
public void setPlaceholder (String Placeholder)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_Placeholder, Placeholder);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Placeholder.
|
||||||
|
@return Placeholder */
|
||||||
|
public String getPlaceholder ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_Placeholder);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Placeholder2.
|
||||||
|
@param Placeholder2 Placeholder2 */
|
||||||
|
public void setPlaceholder2 (String Placeholder2)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_Placeholder2, Placeholder2);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Placeholder2.
|
||||||
|
@return Placeholder2 */
|
||||||
|
public String getPlaceholder2 ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_Placeholder2);
|
||||||
|
}
|
||||||
|
|
||||||
/** Set Read Only Logic.
|
/** Set Read Only Logic.
|
||||||
@param ReadOnlyLogic
|
@param ReadOnlyLogic
|
||||||
Logic to determine if field is read only (applies only when field is read-write)
|
Logic to determine if field is read only (applies only when field is read-write)
|
||||||
|
@ -309,4 +486,75 @@ public class X_AD_UserDef_Proc_Parameter extends PO implements I_AD_UserDef_Proc
|
||||||
{
|
{
|
||||||
return (String)get_Value(COLUMNNAME_ReadOnlyLogic);
|
return (String)get_Value(COLUMNNAME_ReadOnlyLogic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Set Sequence.
|
||||||
|
@param SeqNo
|
||||||
|
Method of ordering records; lowest number comes first
|
||||||
|
*/
|
||||||
|
public void setSeqNo (int SeqNo)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_SeqNo, Integer.valueOf(SeqNo));
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Sequence.
|
||||||
|
@return Method of ordering records; lowest number comes first
|
||||||
|
*/
|
||||||
|
public int getSeqNo ()
|
||||||
|
{
|
||||||
|
Integer ii = (Integer)get_Value(COLUMNNAME_SeqNo);
|
||||||
|
if (ii == null)
|
||||||
|
return 0;
|
||||||
|
return ii.intValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Max. Value.
|
||||||
|
@param ValueMax
|
||||||
|
Maximum Value for a field
|
||||||
|
*/
|
||||||
|
public void setValueMax (String ValueMax)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_ValueMax, ValueMax);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Max. Value.
|
||||||
|
@return Maximum Value for a field
|
||||||
|
*/
|
||||||
|
public String getValueMax ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_ValueMax);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Min. Value.
|
||||||
|
@param ValueMin
|
||||||
|
Minimum Value for a field
|
||||||
|
*/
|
||||||
|
public void setValueMin (String ValueMin)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_ValueMin, ValueMin);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Min. Value.
|
||||||
|
@return Minimum Value for a field
|
||||||
|
*/
|
||||||
|
public String getValueMin ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_ValueMin);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Set Value Format.
|
||||||
|
@param VFormat
|
||||||
|
Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"
|
||||||
|
*/
|
||||||
|
public void setVFormat (String VFormat)
|
||||||
|
{
|
||||||
|
set_Value (COLUMNNAME_VFormat, VFormat);
|
||||||
|
}
|
||||||
|
|
||||||
|
/** Get Value Format.
|
||||||
|
@return Format of the value; Can contain fixed format elements, Variables: "_lLoOaAcCa09"
|
||||||
|
*/
|
||||||
|
public String getVFormat ()
|
||||||
|
{
|
||||||
|
return (String)get_Value(COLUMNNAME_VFormat);
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -20,6 +20,7 @@ import java.sql.ResultSet;
|
||||||
import java.sql.SQLException;
|
import java.sql.SQLException;
|
||||||
import java.sql.Timestamp;
|
import java.sql.Timestamp;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.logging.Level;
|
import java.util.logging.Level;
|
||||||
|
|
||||||
|
@ -237,10 +238,22 @@ public class ProcessParameterPanel extends Panel implements
|
||||||
pstmt = DB.prepareStatement(sql, null);
|
pstmt = DB.prepareStatement(sql, null);
|
||||||
pstmt.setInt(1, m_processInfo.getAD_Process_ID());
|
pstmt.setInt(1, m_processInfo.getAD_Process_ID());
|
||||||
rs = pstmt.executeQuery();
|
rs = pstmt.executeQuery();
|
||||||
|
ArrayList<GridFieldVO> listVO = new ArrayList<GridFieldVO>();
|
||||||
while (rs.next()) {
|
while (rs.next()) {
|
||||||
hasFields = true;
|
hasFields = true;
|
||||||
createField(rs, rows);
|
|
||||||
|
// Create Field
|
||||||
|
GridFieldVO voF = GridFieldVO.createParameter(Env.getCtx(), m_WindowNo, m_processInfo.getAD_Process_ID(), m_AD_Window_ID, m_InfoWindowID,rs);
|
||||||
|
listVO.add(voF);
|
||||||
}
|
}
|
||||||
|
Collections.sort(listVO, new GridFieldVO.SeqNoComparator());
|
||||||
|
|
||||||
|
for (int i = 0; i < listVO.size(); i++)
|
||||||
|
{
|
||||||
|
createField(listVO.get(i), rows);
|
||||||
|
log.severe(listVO.get(i).ColumnName + listVO.get(i).SeqNo);
|
||||||
|
}
|
||||||
|
|
||||||
} catch (SQLException e) {
|
} catch (SQLException e) {
|
||||||
log.log(Level.SEVERE, sql, e);
|
log.log(Level.SEVERE, sql, e);
|
||||||
}
|
}
|
||||||
|
@ -273,13 +286,9 @@ public class ProcessParameterPanel extends Panel implements
|
||||||
* mFields are used for default value and mandatory checking; vEditors are
|
* mFields are used for default value and mandatory checking; vEditors are
|
||||||
* used to retrieve the value (no data binding)
|
* used to retrieve the value (no data binding)
|
||||||
*
|
*
|
||||||
* @param rs
|
* @param voF GridFieldVO
|
||||||
* result set
|
|
||||||
*/
|
*/
|
||||||
private void createField(ResultSet rs, Rows rows) {
|
private void createField(GridFieldVO voF, Rows rows) {
|
||||||
// Create Field
|
|
||||||
GridFieldVO voF = GridFieldVO.createParameter(Env.getCtx(), m_WindowNo, m_processInfo.getAD_Process_ID(), m_AD_Window_ID, m_InfoWindowID,
|
|
||||||
rs);
|
|
||||||
GridField mField = new GridField(voF);
|
GridField mField = new GridField(voF);
|
||||||
m_mFields.add(mField); // add to Fields
|
m_mFields.add(mField); // add to Fields
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue