Fix [ 1880189 ] 075_FR1877902_BeanshellCallout ad_rule.accesslevel
This commit is contained in:
parent
8ed31c3e16
commit
2b1963a3dc
|
@ -559,57 +559,6 @@ UPDATE AD_Field SET Name='Script', Description='Dynamic Java Language Script to
|
|||
CREATE TABLE AD_Rule (AD_Client_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMBER(10) DEFAULT NULL NOT NULL, AD_Rule_ID NUMBER(10) NOT NULL, AccessLevel CHAR(1), Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, Description NVARCHAR2(255), EntityType VARCHAR2(40) DEFAULT 'U', EventType CHAR(1), Help NVARCHAR2(2000), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, Name NVARCHAR2(60) NOT NULL, RuleType CHAR(1), Script NVARCHAR2(2000), Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, Value NVARCHAR2(40) NOT NULL, CONSTRAINT AD_Rule_Key PRIMARY KEY (AD_Rule_ID))
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:27:34 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Column SET Callout='@bsh:FillDescriptionWithName',Updated=TO_DATE('2008-01-23 12:27:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54249
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:27:34 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.' WHERE AD_Column_ID=54249 AND IsCentrallyMaintained='Y'
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:28:55 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
INSERT INTO AD_Rule (AD_Client_ID,AD_Org_ID,AD_Rule_ID,Created,CreatedBy,EntityType,EventType,IsActive,Name,RuleType,Script,Updated,UpdatedBy,Value) VALUES (0,0,50000,TO_DATE('2008-01-23 12:28:51','YYYY-MM-DD HH24:MI:SS'),100,'U','C','Y','bsh:FillDescriptionWithName','B','if (___Tab.getName() != null) {
|
||||
___Tab.setValue("Name", ___Tab.getName());
|
||||
}
|
||||
result = "";',TO_DATE('2008-01-23 12:28:51','YYYY-MM-DD HH24:MI:SS'),100,'FillDescriptionWithName')
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:29:02 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='bsh:FillDescriptionWithNamek',Updated=TO_DATE('2008-01-23 12:29:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:29:29 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='Rule', Script='if (___Tab.getName() != null) {
|
||||
___Tab.setValue("Description", ___Tab.getName());
|
||||
}
|
||||
result = "";',Updated=TO_DATE('2008-01-23 12:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:30:44 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Description='Rule',Updated=TO_DATE('2008-01-23 12:30:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:30:49 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='Ru',Updated=TO_DATE('2008-01-23 12:30:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:31:21 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='poPOPOP',Updated=TO_DATE('2008-01-23 12:31:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:31:30 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='ppppoPOPOP',Updated=TO_DATE('2008-01-23 12:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:59:34 PM COT
|
||||
-- Default comment for updating dictionary
|
||||
UPDATE AD_Field SET DisplayLength=20,Updated=TO_DATE('2008-01-23 12:59:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54340
|
||||
|
|
|
@ -559,57 +559,6 @@ UPDATE AD_Field SET Name='Script', Description='Dynamic Java Language Script to
|
|||
CREATE TABLE AD_Rule (AD_Client_ID NUMERIC(10) DEFAULT NULL NOT NULL, AD_Org_ID NUMERIC(10) DEFAULT NULL NOT NULL, AD_Rule_ID NUMERIC(10) NOT NULL, AccessLevel CHAR(1), Created TIMESTAMP NOT NULL, CreatedBy NUMERIC(10) NOT NULL, Description VARCHAR(255), EntityType VARCHAR(40) DEFAULT 'U', EventType CHAR(1), Help VARCHAR(2000), IsActive CHAR(1) DEFAULT 'Y' CHECK (IsActive IN ('Y','N')) NOT NULL, Name VARCHAR(60) NOT NULL, RuleType CHAR(1), Script VARCHAR(2000), Updated TIMESTAMP NOT NULL, UpdatedBy NUMERIC(10) NOT NULL, Value VARCHAR(40) NOT NULL, CONSTRAINT AD_Rule_Key PRIMARY KEY (AD_Rule_ID))
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:27:34 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Column SET Callout='@bsh:FillDescriptionWithName',Updated=TO_TIMESTAMP('2008-01-23 12:27:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54249
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:27:34 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Field SET Name='Name', Description='Alphanumeric identifier of the entity', Help='The name of an entity (record) is used as an default search option in addition to the search key. The name is up to 60 characters in length.' WHERE AD_Column_ID=54249 AND IsCentrallyMaintained='Y'
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:28:55 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
INSERT INTO AD_Rule (AD_Client_ID,AD_Org_ID,AD_Rule_ID,Created,CreatedBy,EntityType,EventType,IsActive,Name,RuleType,Script,Updated,UpdatedBy,Value) VALUES (0,0,50000,TO_TIMESTAMP('2008-01-23 12:28:51','YYYY-MM-DD HH24:MI:SS'),100,'U','C','Y','bsh:FillDescriptionWithName','B','if (___Tab.getName() != null) {
|
||||
___Tab.setValue("Name", ___Tab.getName());
|
||||
}
|
||||
result = "";',TO_TIMESTAMP('2008-01-23 12:28:51','YYYY-MM-DD HH24:MI:SS'),100,'FillDescriptionWithName')
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:29:02 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='bsh:FillDescriptionWithNamek',Updated=TO_TIMESTAMP('2008-01-23 12:29:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:29:29 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='Rule', Script='if (___Tab.getName() != null) {
|
||||
___Tab.setValue("Description", ___Tab.getName());
|
||||
}
|
||||
result = "";',Updated=TO_TIMESTAMP('2008-01-23 12:29:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:30:44 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Description='Rule',Updated=TO_TIMESTAMP('2008-01-23 12:30:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:30:49 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='Ru',Updated=TO_TIMESTAMP('2008-01-23 12:30:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:31:21 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='poPOPOP',Updated=TO_TIMESTAMP('2008-01-23 12:31:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:31:30 PM COT
|
||||
-- 1877902 - Implement beanshell callout
|
||||
UPDATE AD_Rule SET Name='ppppoPOPOP',Updated=TO_TIMESTAMP('2008-01-23 12:31:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Rule_ID=50000
|
||||
;
|
||||
|
||||
-- Jan 23, 2008 12:59:35 PM COT
|
||||
-- Default comment for updating dictionary
|
||||
UPDATE AD_Field SET DisplayLength=20,Updated=TO_TIMESTAMP('2008-01-23 12:59:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=54340
|
||||
|
|
Loading…
Reference in New Issue