diff --git a/migration/360lts-release/oracle/912_IDEMPIERE_391.sql b/migration/360lts-release/oracle/912_IDEMPIERE_391.sql new file mode 100644 index 0000000000..86f1a2d198 --- /dev/null +++ b/migration/360lts-release/oracle/912_IDEMPIERE_391.sql @@ -0,0 +1,1828 @@ +-- Sep 18, 2012 11:17:01 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Table (IsSecurityEnabled,AccessLevel,LoadSeq,AD_Table_ID,IsHighVolume,ImportTable,IsView,IsChangeLog,EntityType,CopyColumnsFromTable,ReplicationType,AD_Table_UU,IsCentrallyMaintained,IsDeleteable,TableName,Description,Name,AD_Client_ID,IsActive,AD_Org_ID,CreatedBy,Updated,UpdatedBy,Created) VALUES ('N','4',0,200020,'N','N','N','N','D','N','L','54a5f4ee-e0e9-4504-961a-6269c0052dfa','Y','Y','AD_Schedule','Times for the Scheduler','AD_Schedule',0,'Y',0,0,TO_DATE('2012-09-18 11:16:35','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2012-09-18 11:16:35','YYYY-MM-DD HH24:MI:SS')) +; + +-- Sep 18, 2012 11:17:01 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Table_Trl_UU ) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=200020 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Sep 18, 2012 11:17:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,StartNo,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Description,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive) VALUES ('N',200000,'Y',1000000,1000000,'N','Y',200020,'Table AD_Schedule','AD_Schedule',1,'1cd2e6e4-72de-492a-9c52-a140bc5b1fac',0,0,TO_DATE('2012-09-18 11:17:01','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2012-09-18 11:17:01','YYYY-MM-DD HH24:MI:SS'),0,'Y') +; + +-- Sep 18, 2012 11:21:52 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200471,'U','Y','N','N',0,'N',22,'N',19,'N','N',102,'N','N','31aa3740-d9b8-4765-8420-0417f644e940','N','Y','N','AD_Client_ID','Client/Tenant for this installation.','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',0,TO_DATE('2012-09-18 11:21:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:21:52','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:21:52 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200471 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:22:45 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,AD_Val_Rule_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200472,'U','Y','N','N',0,'N',22,'N',19,'N',104,'N',113,'N','Y','aa30dabd-cc97-429d-89ed-d6c5cbe949ac','N','Y','N','AD_Org_ID','Organizational entity within client','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',0,TO_DATE('2012-09-18 11:22:44','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:22:44','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:22:45 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200472 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:24:05 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('AD_Schedule_ID',200132,'D','AD_Schedule_ID','AD_Schedule_ID','bce1a7be-08e9-4e36-b908-312ef92605e2',0,TO_DATE('2012-09-18 11:24:04','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-09-18 11:24:04','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y') +; + +-- Sep 18, 2012 11:24:05 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200132 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID) +; + +-- Sep 18, 2012 11:24:51 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200473,'D','N','N','Y',1,'N',22,'N',13,'N','Y',200132,'N','N','9bdff8e7-b227-4712-86cd-f873520e85d7','N','N','N','AD_Schedule_ID','AD_Schedule_ID','N',0,TO_DATE('2012-09-18 11:24:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:24:50','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:24:51 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200473 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:24:57 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2012-09-18 11:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200471 +; + +-- Sep 18, 2012 11:25:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2012-09-18 11:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200472 +; + +-- Sep 18, 2012 11:29:41 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200474,'D','Y','N','N',0,'N',7,'N',16,'N','N',245,'N','N','676bd5f9-f80f-417e-bc5f-5be8181dd6a3','N','Y','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',0,TO_DATE('2012-09-18 11:29:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:29:40','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:29:41 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200474 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:33:32 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200475,'D',110,'Y','N','N',0,'N',22,'N',18,'N','N',246,'N','Y','6b87ab8f-baa6-49ee-a4a8-0ca225691fb4','N','Y','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',0,TO_DATE('2012-09-18 11:33:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:33:32','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:33:32 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200475 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:34:48 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200476,'D','Y','N','N',0,'N',7,'N',16,'N','N',607,'N','N','fc29c26c-e144-4d77-abfe-354eb3a8cdc6','N','Y','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',0,TO_DATE('2012-09-18 11:34:47','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:34:47','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:34:48 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200476 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:39:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200477,'D',110,'Y','N','N',0,'N',22,'N',18,'N','N',608,'N','N','c66a48fd-47e0-4004-9d36-65924de07c74','N','Y','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',0,TO_DATE('2012-09-18 11:39:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:39:24','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:39:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200477 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:40:28 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200478,'D','Y','N','N',0,'N',1,'N',40,'N','N',348,'N','N','cd090c45-d7ec-4e4f-a205-c2471f8425c9','N','Y','N','IsActive','The record is active in the system','Y','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Active','N',0,TO_DATE('2012-09-18 11:40:17','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:40:17','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:40:28 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200478 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:41:40 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200479,'D','N','N','N',0,'N',225,'N',10,'N','N',275,'N','N','8bd423be-e422-44ce-aa43-e75d796d2f74','N','Y','N','Description','Optional short description of the record','A description is limited to 255 characters.','Description','Y',0,TO_DATE('2012-09-18 11:41:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:41:39','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:41:40 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200479 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:44:31 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200480,'D',221,'N','N','N',0,'N',1,'N',17,'N','N',1507,'N','Y','97df7222-704c-4790-b9c6-f0b089cb2f9f','N','Y','N','FrequencyType','Frequency of event','The frequency type is used for calculating the date of the next event.','Frequency Type','Y',0,TO_DATE('2012-09-18 11:44:31','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:44:31','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:44:31 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200480 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:46:04 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200481,'D',318,'N','N','N',0,'N',1,'N',17,'N','N',2457,'N','Y','92fda8e1-8815-4718-8b54-df770ec08594','N','Y','N','ScheduleType','Type of schedule','F','Define the method how the next occurrence is calculated','Schedule Type','Y',0,TO_DATE('2012-09-18 11:46:03','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:46:03','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:46:04 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200481 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:47:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200482,'D','N','N','N',0,'N',255,'N',10,'N','N',54124,'N','Y','4777132c-1cd4-4ef7-af7b-3b753f892b2e','N','Y','N','CronPattern','Cron pattern to define when the process should be invoked.','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Cron Scheduling Pattern','Y',0,TO_DATE('2012-09-18 11:47:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:47:19','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:47:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200482 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:48:44 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200483,'U','N','N','N',0,'N',22,'N',11,'N','N',1506,'N','Y','16094bae-2dca-4217-bcd6-703801047ce3','N','Y','N','Frequency','Frequency of events','The frequency is used in conjunction with the frequency type in determining an event. Example: If the Frequency Type is Week and the Frequency is 2 - it is every two weeks.','Frequency','Y',0,TO_DATE('2012-09-18 11:48:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:48:19','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:48:44 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200483 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:55:03 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,ValueMax,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,ValueMin,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200484,'31','D','N','N','N',0,'1','N',22,'N',11,'N','N',2454,'N','Y','1781134b-b56e-48b4-bef9-7e5ccfc29811','N','Y','N','MonthDay','Day of the month 1 to 28/29/30/31','Day of the Month','Y',0,TO_DATE('2012-09-18 11:54:59','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:54:59','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:55:03 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200484 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:55:32 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2012-09-18 11:55:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200483 +; + +-- Sep 18, 2012 11:56:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200485,'U',167,'N','N','N',0,'N',1,'N',17,'N','N',2458,'N','Y','fc957f56-4f18-462a-80a5-ad67231ffc75','N','Y','N','WeekDay','Day of the Week','Day of the Week','Y',0,TO_DATE('2012-09-18 11:56:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:56:24','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:56:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200485 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:56:34 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2012-09-18 11:56:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200485 +; + +-- Sep 18, 2012 11:59:13 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200486,'D','N','N','N',0,'N',60,'N',10,'N','N',3011,'N','N','a332a52b-8b68-43d4-b5ac-43c42a78db3f','N','Y','N','IP_Address','Defines the IP address to transfer data to','Contains info on the IP address to which we will transfer data','IP Address','Y',0,TO_DATE('2012-09-18 11:59:12','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 11:59:12','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:59:13 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200486 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:59:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET ColumnName='RunOnlyOnIP', Name='RunOnlyOnIP',Updated=TO_DATE('2012-09-18 11:59:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200486 +; + +-- Sep 18, 2012 11:59:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=200486 +; + +-- Sep 18, 2012 11:59:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET Name='RunOnlyOnIP', Description='Defines the IP address to transfer data to', Help='Contains info on the IP address to which we will transfer data' WHERE AD_Column_ID=200486 AND IsCentrallyMaintained='Y' +; + +-- Sep 18, 2012 12:06:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +CREATE TABLE AD_Schedule (AD_Client_ID NUMBER(10) NOT NULL, AD_Org_ID NUMBER(10) NOT NULL, AD_Schedule_ID NUMBER(10) DEFAULT NULL , Created DATE NOT NULL, CreatedBy NUMBER(10) NOT NULL, CronPattern NVARCHAR2(255) DEFAULT NULL , Description NVARCHAR2(225) DEFAULT NULL , Frequency NUMBER(10) DEFAULT NULL , FrequencyType CHAR(1) DEFAULT NULL , IsActive NVARCHAR2(1) DEFAULT 'Y' NOT NULL, MonthDay NUMBER(10) DEFAULT NULL , RunOnlyOnIP NVARCHAR2(60) DEFAULT NULL , ScheduleType CHAR(1) DEFAULT 'F', Updated DATE NOT NULL, UpdatedBy NUMBER(10) NOT NULL, WeekDay CHAR(1) DEFAULT NULL , CONSTRAINT AD_Schedule_Key PRIMARY KEY (AD_Schedule_ID)) +; + +-- Sep 18, 2012 12:08:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=9434 +; + +-- Sep 18, 2012 12:10:34 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Window (WindowType,IsSOTrx,IsDefault,IsBetaFunctionality,WinHeight,WinWidth,EntityType,Name,Description,AD_Window_ID,Processing,AD_Window_UU,Created,Updated,AD_Org_ID,AD_Client_ID,IsActive,UpdatedBy,CreatedBy) VALUES ('T','N','N','N',0,0,'D','Schedule','Times for the scheduler',200012,'N','b1165a29-bcef-442c-be03-92ca75d4c019',TO_DATE('2012-09-18 12:10:34','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-09-18 12:10:34','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',0,0) +; + +-- Sep 18, 2012 12:10:34 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Window_Trl_UU ) SELECT l.AD_Language,t.AD_Window_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=200012 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Sep 18, 2012 12:11:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsInfoTab,IsReadOnly,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,Description,AD_Tab_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',200012,10,'N','N',200020,'N','N','N','N','Y','N',0,'06dc0531-48ba-42cf-8c50-d4fbb44928fc','D','Schedule','Schedule',200019,0,0,TO_DATE('2012-09-18 12:11:18','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2012-09-18 12:11:18','YYYY-MM-DD HH24:MI:SS'),0,'N','Y') +; + +-- Sep 18, 2012 12:11:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Help,CommitWarning,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Tab_Trl_UU ) SELECT l.AD_Language,t.AD_Tab_ID, t.Help,t.CommitWarning,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=200019 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Sep 18, 2012 12:11:25 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200478,'Y',200488,'N','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','D','The record is active in the system','Active','Y','N','0dcbc18c-ee3d-4bf3-bf42-4bd6a0d63783',0,0,TO_DATE('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:25 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200488 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive,IsDisplayedGrid) VALUES ('N',200019,22,'N','N',200473,'Y',200489,'N','D','AD_Schedule_ID','N','N','94177e96-cd4e-4537-9ac0-457ddd542f3f',0,0,TO_DATE('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),'Y','N') +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200489 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200471,'Y',200490,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','D','Client/Tenant for this installation.','Client','Y','N','aa204f69-805c-4a4c-95c8-1e15a5448c86',0,0,TO_DATE('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200490 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,255,'N','N',200482,'Y',200491,'N','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','D','Cron pattern to define when the process should be invoked.','Cron Scheduling Pattern','Y','N','03487b4d-0971-4c70-8f04-46fe0e420278',0,0,TO_DATE('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200491 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200484,'Y',200492,'N','D','Day of the month 1 to 28/29/30/31','Day of the Month','Y','N','deeababe-b70b-44d9-a11a-1e8894614a4b',0,0,TO_DATE('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200492 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200485,'Y',200493,'N','D','Day of the Week','Day of the Week','Y','N','bd084abe-110c-4810-9fbf-6966b6bae3d1',0,0,TO_DATE('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200493 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,225,'N','N',200479,'Y',200494,'N','A description is limited to 255 characters.','D','Optional short description of the record','Description','Y','N','ca15c625-eaa2-4c2e-af8a-f5c38c85820b',0,0,TO_DATE('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200494 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200483,'Y',200495,'N','The frequency is used in conjunction with the frequency type in determining an event. Example: If the Frequency Type is Week and the Frequency is 2 - it is every two weeks.','D','Frequency of events','Frequency','Y','N','f2a92a92-ab3d-4b14-9cd6-b340b23c7eac',0,0,TO_DATE('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200495 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200480,'Y',200496,'N','The frequency type is used for calculating the date of the next event.','D','Frequency of event','Frequency Type','Y','N','87167c4f-fe83-4ee2-8089-913c63eca7d9',0,0,TO_DATE('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200496 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200472,'Y',200497,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','D','Organizational entity within client','Organization','Y','N','c0054e5a-74ae-41cd-9f90-1fc31b504318',0,0,TO_DATE('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200497 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,60,'N','N',200486,'Y',200498,'N','Contains info on the IP address to which we will transfer data','D','Defines the IP address to transfer data to','IP Address','Y','N','2d42c7e3-1df7-4f1d-9097-288628f38e8e',0,0,TO_DATE('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200498 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200481,'Y',200499,'N','Define the method how the next occurrence is calculated','D','Type of schedule','Schedule Type','Y','N','f8967225-915e-4f3d-b51d-3fd73d69a178',0,0,TO_DATE('2012-09-18 12:11:30','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:11:30','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200499 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200490 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200497 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200492 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200493 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200492 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200493 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 12:14:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200487,'D','N','N','N',0,'N',22,'Y',10,'N','N',469,'N','Y','85289efa-6925-4a1b-a56d-d2eeab992199','N','Y','N','Name','Alphanumeric identifier of the entity','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.','Name','Y',0,TO_DATE('2012-09-18 12:14:18','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-18 12:14:18','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 12:14:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200487 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 12:14:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Schedule ADD Name NVARCHAR2(22) DEFAULT NULL +; + +-- Sep 18, 2012 12:14:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200487,'Y',200500,'N','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.','D','Alphanumeric identifier of the entity','Name','Y','N','40e45db9-e809-4c5b-9eb1-ded79bc2065f',0,0,TO_DATE('2012-09-18 12:14:45','YYYY-MM-DD HH24:MI:SS'),0,0,TO_DATE('2012-09-18 12:14:45','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:14:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200500 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200500 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 1:47:15 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@ScheduleType@=F',Updated=TO_DATE('2012-09-18 13:47:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 1:50:16 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@ScheduleType@=C',Updated=TO_DATE('2012-09-18 13:50:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 1:52:00 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-09-18 13:52:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 1:52:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=1,Updated=TO_DATE('2012-09-18 13:52:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 1:52:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-09-18 13:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200490 +; + +-- Sep 18, 2012 1:52:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4, ColumnSpan=2,Updated=TO_DATE('2012-09-18 13:52:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200497 +; + +-- Sep 18, 2012 1:52:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-09-18 13:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200500 +; + +-- Sep 18, 2012 1:52:58 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5, NumLines=3,Updated=TO_DATE('2012-09-18 13:52:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 1:53:07 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-09-18 13:53:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 1:53:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4, ColumnSpan=2,Updated=TO_DATE('2012-09-18 13:53:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 1:53:33 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4, ColumnSpan=2,Updated=TO_DATE('2012-09-18 13:53:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 1:53:38 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=1,Updated=TO_DATE('2012-09-18 13:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 1:53:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-09-18 13:53:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 1:53:51 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-09-18 13:53:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 1:53:58 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-09-18 13:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 1:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Menu (AD_Window_ID,AD_Menu_ID,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,Name,Description,Action,AD_Menu_UU,IsActive,AD_Client_ID,CreatedBy,Updated,AD_Org_ID,Created,UpdatedBy) VALUES (200012,200018,'N','N','N','D','Y','Schedule','Maintain times foe Scheduler','W','e821174d-eb46-4c6c-b295-9b9ea2d3822e','Y',0,0,TO_DATE('2012-09-18 13:56:43','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2012-09-18 13:56:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 18, 2012 1:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Menu_Trl_UU ) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=200018 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Sep 18, 2012 1:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', SysDate, 0, SysDate, 0,t.AD_Tree_ID, 200018, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=200018) +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200018 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=446 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 18, 2012 2:13:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 2:13:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 2:14:48 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_DATE('2012-09-18 14:14:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200478 +; + +-- Sep 20, 2012 9:38:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (1,0,0,200000,TO_DATE('2012-09-20 09:38:18','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-09-20 09:38:18','YYYY-MM-DD HH24:MI:SS'),100,'Y','D','F',0,'1 Day') +; + +-- Sep 20, 2012 10:16:54 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (7,0,0,200001,TO_DATE('2012-09-20 10:16:53','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-09-20 10:16:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','D','F',0,'7 Days') +; + +-- Sep 20, 2012 10:20:08 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,688,200489,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','a61f8f27-8146-4c2d-9cea-b9fc50d7a77e','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_DATE('2012-09-20 10:20:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-20 10:20:07','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 10:20:08 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200489 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 10:20:17 AM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Scheduler ADD AD_Schedule_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 20, 2012 10:20:58 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',589,10,'N','N',200489,'Y',200501,'N','D','AD_Schedule_ID','Y','N','ae7b8de9-50f5-4f79-92ef-c7d5e72555b0',100,0,TO_DATE('2012-09-20 10:20:57','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 10:20:57','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 10:20:58 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200501 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 10:20:59 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',589,36,'N','N',60493,'Y',200502,'N','D','AD_Scheduler_UU','Y','N','57fc4fb5-58ff-4f4d-8799-a9fee348cc9f',100,0,TO_DATE('2012-09-20 10:20:58','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 10:20:58','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 10:20:59 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200502 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200502 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10051 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9437 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9430 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=58773 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=58774 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9432 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=9442 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=9443 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=9438 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=60991 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=60992 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=9434 +; + +-- Sep 20, 2012 10:24:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET Name='Schedule', ColumnSpan=2,Updated=TO_DATE('2012-09-20 10:24:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:24:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:26:00 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200502 +; + +-- Sep 20, 2012 10:26:00 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=180,IsDisplayedGrid='Y' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:27:53 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET SeqNoSelection=2,Updated=TO_DATE('2012-09-20 10:27:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; + +-- Sep 20, 2012 11:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsSelectionColumn='N', IsUpdateable='N', SeqNoSelection=0,Updated=TO_DATE('2012-09-20 11:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; + +-- Sep 20, 2012 11:23:16 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsSelectionColumn='Y', IsUpdateable='N', SeqNoSelection=2,Updated=TO_DATE('2012-09-20 11:23:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; + + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58774 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9430 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9437 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10051 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=58773 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9432 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9442 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=9443 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9438 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=60991 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=60992 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=9434 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=58774 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=9430 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=9437 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=10051 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=58773 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=9432 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=90,IsDisplayedGrid='Y' WHERE AD_Field_ID=9442 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=100,IsDisplayedGrid='Y' WHERE AD_Field_ID=9443 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=110,IsDisplayedGrid='Y' WHERE AD_Field_ID=9438 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=120,IsDisplayedGrid='Y' WHERE AD_Field_ID=60991 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=130,IsDisplayedGrid='Y' WHERE AD_Field_ID=60992 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=140,IsDisplayedGrid='Y' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 11:52:30 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 11:52:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59029 +; + +-- Sep 20, 2012 11:52:39 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 11:52:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247 +; + +-- Sep 20, 2012 11:52:44 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 11:52:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255 +; + +-- Sep 20, 2012 11:52:55 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 11:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11523 +; + +-- Sep 20, 2012 11:53:05 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 11:53:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11521 +; + +-- Sep 20, 2012 11:53:14 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 11:53:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11522 +; +-- Sep 20, 2012 6:24:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,695,200490,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','7e549561-f9c8-44b7-9bc2-9e1d1bb4c728','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_DATE('2012-09-20 18:24:18','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-20 18:24:18','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 6:24:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200490 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 6:24:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',608,10,'N','N',200490,'Y',200503,'N','D','AD_Schedule_ID','Y','N','6d491d80-dc56-484f-90c8-8c6d0cb2344d',100,0,TO_DATE('2012-09-20 18:24:54','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 18:24:54','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:24:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200503 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:24:56 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',608,36,'N','N',60588,'Y',200504,'N','D','C_AcctProcessor_UU','Y','N','1cbac684-149b-40fc-b1bc-66a8e3bde012',100,0,TO_DATE('2012-09-20 18:24:55','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 18:24:55','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:24:56 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200504 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200504 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9039 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200503 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9037 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9028 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=9027 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9033 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9031 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=9032 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9028 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9037 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9027 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9033 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=9031 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9032 +; + +-- Sep 20, 2012 6:27:37 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 18:27:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11348 +; + +-- Sep 20, 2012 6:27:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 18:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11359 +; + +-- Sep 20, 2012 6:28:12 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=3,Updated=TO_DATE('2012-09-20 18:28:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200503 +; + +-- Sep 20, 2012 6:29:41 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (10,0,0,200002,TO_DATE('2012-09-20 18:29:40','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-09-20 18:29:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','M','F',0,'10 Minutes') +; + +-- Sep 20, 2012 6:31:38 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE C_AcctProcessor ADD AD_Schedule_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 20, 2012 6:33:24 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=2, IsUpdateable='N',Updated=TO_DATE('2012-09-20 18:33:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; + +-- Sep 20, 2012 6:55:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,700,200491,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','273fcf64-47b6-48ef-a432-b1d600bad17f','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_DATE('2012-09-20 18:55:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-20 18:55:19','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 6:55:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200491 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 6:55:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_AlertProcessor ADD AD_Schedule_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 20, 2012 6:56:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',631,36,'N','N',60374,'Y',200505,'N','D','AD_AlertProcessor_UU','Y','N','a9ee04e4-207b-400f-b182-b6600231ce3e',100,0,TO_DATE('2012-09-20 18:56:20','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 18:56:20','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:56:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200505 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:56:22 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',631,10,'N','N',200491,'Y',200506,'N','D','AD_Schedule_ID','Y','N','bcfced0e-e826-4815-a75e-767f25b1f1ae',100,0,TO_DATE('2012-09-20 18:56:21','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 18:56:21','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:56:22 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200506 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200505 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9534 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9533 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200506 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=9530 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=9532 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9524 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9527 +; + +-- Sep 20, 2012 6:57:01 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-09-20 18:57:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200506 +; + +-- Sep 20, 2012 6:57:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsMandatory='N', IsActive='N',Updated=TO_DATE('2012-09-20 18:57:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11441 +; + +-- Sep 20, 2012 6:57:32 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-20 18:57:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11440 +; + +-- Sep 20, 2012 6:57:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_AlertProcessor MODIFY FrequencyType CHAR(1) DEFAULT NULL +; + +-- Sep 20, 2012 6:57:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_AlertProcessor MODIFY FrequencyType NULL +; + +-- Sep 20, 2012 6:59:53 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_AlertProcessor SET AD_Schedule_ID=200000,Updated=TO_DATE('2012-09-20 18:59:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_AlertProcessor_ID=100 +; + +-- Sep 20, 2012 7:00:09 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Element SET PrintName='Schedule',Updated=TO_DATE('2012-09-20 19:00:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200132 +; + +-- Sep 20, 2012 7:00:09 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200132 +; + +-- Sep 20, 2012 7:00:09 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_PrintFormatItem pi SET PrintName='Schedule', Name='AD_Schedule_ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200132) +; + +-- Sep 20, 2012 7:23:52 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,420,200492,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','e3fdcc19-7a75-4a63-97a1-785bbafe1996','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_DATE('2012-09-20 19:23:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-20 19:23:51','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 7:23:52 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200492 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 7:35:11 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE R_RequestProcessor ADD AD_Schedule_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 20, 2012 7:36:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',346,10,'N','N',200492,'Y',200507,'N','D','AD_Schedule_ID','Y','N','fad6e2a5-de6b-44ec-add5-f61622bf7731',100,0,TO_DATE('2012-09-20 19:36:26','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 19:36:26','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:36:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200507 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:36:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',346,36,'N','N',61024,'Y',200508,'N','D','R_RequestProcessor_UU','Y','N','034c812e-f7b9-4897-baa8-7a5751483828',100,0,TO_DATE('2012-09-20 19:36:28','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 19:36:28','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:36:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200508 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4330 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4331 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200508 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200507 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=5149 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=10907 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=5150 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5166 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=10912 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9318 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=4327 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4328 +; + +-- Sep 20, 2012 7:37:15 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-09-20 19:37:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200507 +; + +-- Sep 20, 2012 7:37:37 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 19:37:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5480 +; + +-- Sep 20, 2012 7:37:41 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 19:37:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5481 +; + +-- Sep 20, 2012 7:39:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (15,0,0,200003,TO_DATE('2012-09-20 19:39:24','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-09-20 19:39:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','M','F',0,'15 Minutes') +; + +-- Sep 20, 2012 7:55:53 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,697,200493,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','a8107d13-a59f-4b3f-b5d7-467c067eb8f0','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_DATE('2012-09-20 19:55:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-20 19:55:52','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 7:55:53 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200493 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 7:56:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_WorkflowProcessor ADD AD_Schedule_ID NUMBER(10) DEFAULT NULL +; + +-- Sep 20, 2012 7:56:54 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',592,10,'N','N',200493,'Y',200509,'N','D','AD_Schedule_ID','Y','N','8be243a9-ba4d-49c2-addb-128f2451e3d8',100,0,TO_DATE('2012-09-20 19:56:48','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 19:56:48','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:56:54 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200509 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:56:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',592,36,'N','N',60559,'Y',200510,'N','D','AD_WorkflowProcessor_UU','Y','N','ba7097bf-ef51-4e12-9602-745bd0218380',100,0,TO_DATE('2012-09-20 19:56:54','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-20 19:56:54','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:56:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200510 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200510 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9509 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9502 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200509 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=10916 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10917 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9510 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9501 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10924 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9511 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9499 +; + +-- Sep 20, 2012 7:57:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 19:57:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11391 +; + +-- Sep 20, 2012 7:57:41 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-20 19:57:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11382 +; + +-- Sep 20, 2012 7:59:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay) VALUES (2,0,0,200004,TO_DATE('2012-09-20 19:59:44','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-09-20 19:59:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','H','F',0) +; + +-- Sep 24, 2012 3:50:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200557,'U','N','N','N',0,'N',1,'N',20,'N','N',54123,'N','Y','3be5ad4a-1390-4dd5-b526-230f6fe3c9ee','N','Y','N','IsIgnoreProcessingTime','Do not include processing time for the DateNextRun calculation','N','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Ignore Processing Time','Y',100,TO_DATE('2012-09-24 15:50:01','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-24 15:50:01','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 24, 2012 3:50:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200557 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 24, 2012 3:50:11 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_DATE('2012-09-24 15:50:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200557 +; + +-- Sep 24, 2012 3:50:15 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Schedule ADD IsIgnoreProcessingTime CHAR(1) DEFAULT 'N' CHECK (IsIgnoreProcessingTime IN ('Y','N')) +; + +-- Sep 24, 2012 3:50:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Table SET AD_Window_ID=200012,Updated=TO_DATE('2012-09-24 15:50:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=200020 +; + +-- Sep 24, 2012 3:50:49 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200557,'Y',200552,'N','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','D','Do not include processing time for the DateNextRun calculation','Ignore Processing Time','Y','N','8abaf449-ec3d-4333-ba76-d437f0055462',100,0,TO_DATE('2012-09-24 15:50:48','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-24 15:50:48','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 24, 2012 3:50:49 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200552 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 24, 2012 3:51:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4,Updated=TO_DATE('2012-09-24 15:51:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200552 +; + +-- Sep 24, 2012 3:51:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-24 15:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59028 +; + +-- Sep 24, 2012 3:52:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET IsDisplayed='N', IsActive='N',Updated=TO_DATE('2012-09-24 15:52:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58773 +; + +-- Sep 24, 2012 5:05:08 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,Description,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('IsSystemSchedule',200157,'D','IsSystemSchedule','Schedule Just For System','System Schedule','0fcff3a8-e3d4-4d54-a060-7aa225b329c6',0,TO_DATE('2012-09-24 17:05:07','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-09-24 17:05:07','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Sep 24, 2012 5:05:08 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200157 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID) +; + +-- Sep 24, 2012 5:06:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200558,'D','N','N','N',0,'N',1,'N',20,'N','N',200157,'N','Y','f5b750f4-c9a7-4dfb-a4de-17f8431a1f47','N','Y','N','IsSystemSchedule','Schedule Just For System','N','IsSystemSchedule','Y',100,TO_DATE('2012-09-24 17:06:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-09-24 17:06:09','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 24, 2012 5:06:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200558 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 24, 2012 5:06:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Schedule ADD IsSystemSchedule CHAR(1) DEFAULT 'N' CHECK (IsSystemSchedule IN ('Y','N')) +; + +-- Sep 24, 2012 5:06:51 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200558,'Y',200553,'N','D','Schedule Just For System','IsSystemSchedule','Y','N','1a29d07e-df06-4d49-bab4-733c0f547714',100,0,TO_DATE('2012-09-24 17:06:50','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-09-24 17:06:50','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 24, 2012 5:06:51 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200553 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 24, 2012 5:07:07 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-09-24 17:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200553 +; + +-- Sep 24, 2012 5:09:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=5,Updated=TO_DATE('2012-09-24 17:09:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200552 +; + +-- Sep 24, 2012 5:29:33 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,AD_Client_ID,IsActive,AD_Org_ID) VALUES ('AD_Schedule.IsSystemSchedule=''N'' OR @AD_Client_ID@=0',200007,'D','AD_scheduler for System','S','2643339c-9859-4187-a5ec-e0809a93a43a',100,100,TO_DATE('2012-09-24 17:29:32','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-09-24 17:29:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',0) +; + +-- Sep 24, 2012 5:32:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Val_Rule SET Name='AD_schedule for System',Updated=TO_DATE('2012-09-24 17:32:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200007 +; + +-- Sep 24, 2012 5:32:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_DATE('2012-09-24 17:32:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200490 +; + +-- Sep 24, 2012 5:39:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_DATE('2012-09-24 17:39:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200491 +; + +-- Sep 24, 2012 5:47:37 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_DATE('2012-09-24 17:47:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200493 +; + +-- Sep 24, 2012 5:51:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_DATE('2012-09-24 17:51:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200492 +; + +-- Sep 27, 2012 10:19:28 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 10:19:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11348 +; + +-- Sep 27, 2012 10:19:30 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE C_AcctProcessor MODIFY Frequency NUMBER(10) DEFAULT NULL +; + +-- Sep 27, 2012 10:19:30 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE C_AcctProcessor MODIFY Frequency NULL +; + +-- Sep 27, 2012 11:05:06 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:05:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11348 +; + +-- Sep 27, 2012 11:36:59 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 11:36:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11441 +; + +-- Sep 27, 2012 11:37:05 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_AlertProcessor MODIFY Frequency NUMBER(10) DEFAULT NULL +; + +-- Sep 27, 2012 11:37:18 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:37:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11441 +; + +-- Sep 27, 2012 11:37:24 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 11:37:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11440 +; + +-- Sep 27, 2012 11:37:28 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_AlertProcessor MODIFY FrequencyType CHAR(1) DEFAULT NULL +; + +-- Sep 27, 2012 11:37:34 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:37:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11440 +; + +-- Sep 27, 2012 11:38:29 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 11:38:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5480 +; + +-- Sep 27, 2012 11:38:33 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE R_RequestProcessor MODIFY Frequency NUMBER(10) DEFAULT 1 +; + +-- Sep 27, 2012 11:38:33 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE R_RequestProcessor MODIFY Frequency NULL +; + +-- Sep 27, 2012 11:38:38 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:38:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5480 +; + +-- Sep 27, 2012 11:38:45 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 11:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5481 +; + +-- Sep 27, 2012 11:38:49 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE R_RequestProcessor MODIFY FrequencyType CHAR(1) DEFAULT NULL +; + +-- Sep 27, 2012 11:38:50 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE R_RequestProcessor MODIFY FrequencyType NULL +; + +-- Sep 27, 2012 11:38:55 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:38:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5481 +; + +-- Sep 27, 2012 11:39:55 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 11:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11391 +; + +-- Sep 27, 2012 11:39:56 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_WorkflowProcessor MODIFY Frequency NUMBER(10) DEFAULT NULL +; + +-- Sep 27, 2012 11:39:56 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_WorkflowProcessor MODIFY Frequency NULL +; + +-- Sep 27, 2012 11:40:03 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11391 +; + +-- Sep 27, 2012 11:40:11 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N', IsActive='N',Updated=TO_DATE('2012-09-27 11:40:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11382 +; + +-- Sep 27, 2012 11:45:45 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 11:45:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247 +; + +-- Sep 27, 2012 11:45:49 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_Scheduler MODIFY Frequency NUMBER(10) DEFAULT NULL +; + +-- Sep 27, 2012 11:45:49 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_Scheduler MODIFY Frequency NULL +; + +-- Sep 27, 2012 11:45:55 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:45:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247 +; + +-- Sep 27, 2012 11:46:03 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_DATE('2012-09-27 11:46:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255 +; + +-- Sep 27, 2012 11:46:05 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_Scheduler MODIFY FrequencyType CHAR(1) DEFAULT NULL +; + +-- Sep 27, 2012 11:46:05 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_Scheduler MODIFY FrequencyType NULL +; + +-- Sep 27, 2012 11:46:10 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_DATE('2012-09-27 11:46:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255 +; + +-- Sep 27, 2012 11:49:52 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET WindowType='M',Updated=TO_DATE('2012-09-27 11:49:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=200012 +; + +SELECT register_migration_script('912_IDEMPIERE-391.sql') FROM dual +; diff --git a/migration/360lts-release/postgresql/912_IDEMPIERE_391.sql b/migration/360lts-release/postgresql/912_IDEMPIERE_391.sql new file mode 100644 index 0000000000..e24b08312d --- /dev/null +++ b/migration/360lts-release/postgresql/912_IDEMPIERE_391.sql @@ -0,0 +1,1830 @@ +-- Sep 18, 2012 11:17:01 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Table (IsSecurityEnabled,AccessLevel,LoadSeq,AD_Table_ID,IsHighVolume,ImportTable,IsView,IsChangeLog,EntityType,CopyColumnsFromTable,ReplicationType,AD_Table_UU,IsCentrallyMaintained,IsDeleteable,TableName,Description,Name,AD_Client_ID,IsActive,AD_Org_ID,CreatedBy,Updated,UpdatedBy,Created) VALUES ('N','4',0,200020,'N','N','N','N','D','N','L','54a5f4ee-e0e9-4504-961a-6269c0052dfa','Y','Y','AD_Schedule','Times for the Scheduler','AD_Schedule',0,'Y',0,0,TO_TIMESTAMP('2012-09-18 11:16:35','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2012-09-18 11:16:35','YYYY-MM-DD HH24:MI:SS')) +; + +-- Sep 18, 2012 11:17:01 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Table_Trl (AD_Language,AD_Table_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Table_Trl_UU ) SELECT l.AD_Language,t.AD_Table_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Table t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Table_ID=200020 AND NOT EXISTS (SELECT * FROM AD_Table_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Table_ID=t.AD_Table_ID) +; + +-- Sep 18, 2012 11:17:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,StartNo,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,Description,Name,IncrementNo,AD_Sequence_UU,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive) VALUES ('N',200000,'Y',1000000,1000000,'N','Y',200020,'Table AD_Schedule','AD_Schedule',1,'1cd2e6e4-72de-492a-9c52-a140bc5b1fac',0,0,TO_TIMESTAMP('2012-09-18 11:17:01','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2012-09-18 11:17:01','YYYY-MM-DD HH24:MI:SS'),0,'Y') +; + +-- Sep 18, 2012 11:21:52 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200471,'U','Y','N','N',0,'N',22,'N',19,'N','N',102,'N','N','31aa3740-d9b8-4765-8420-0417f644e940','N','Y','N','AD_Client_ID','Client/Tenant for this installation.','@#AD_Client_ID@','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client','N',0,TO_TIMESTAMP('2012-09-18 11:21:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:21:52','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:21:52 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200471 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:22:45 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,AD_Val_Rule_ID,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200472,'U','Y','N','N',0,'N',22,'N',19,'N',104,'N',113,'N','Y','aa30dabd-cc97-429d-89ed-d6c5cbe949ac','N','Y','N','AD_Org_ID','Organizational entity within client','@#AD_Org_ID@','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization','N',0,TO_TIMESTAMP('2012-09-18 11:22:44','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:22:44','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:22:45 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200472 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:24:05 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('AD_Schedule_ID',200132,'D','AD_Schedule_ID','AD_Schedule_ID','bce1a7be-08e9-4e36-b908-312ef92605e2',0,TO_TIMESTAMP('2012-09-18 11:24:04','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-09-18 11:24:04','YYYY-MM-DD HH24:MI:SS'),0,0,0,'Y') +; + +-- Sep 18, 2012 11:24:05 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200132 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID) +; + +-- Sep 18, 2012 11:24:51 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200473,'D','N','N','Y',1,'N',22,'N',13,'N','Y',200132,'N','N','9bdff8e7-b227-4712-86cd-f873520e85d7','N','N','N','AD_Schedule_ID','AD_Schedule_ID','N',0,TO_TIMESTAMP('2012-09-18 11:24:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:24:50','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:24:51 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200473 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:24:57 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2012-09-18 11:24:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200471 +; + +-- Sep 18, 2012 11:25:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2012-09-18 11:25:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200472 +; + +-- Sep 18, 2012 11:29:41 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200474,'D','Y','N','N',0,'N',7,'N',16,'N','N',245,'N','N','676bd5f9-f80f-417e-bc5f-5be8181dd6a3','N','Y','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created','N',0,TO_TIMESTAMP('2012-09-18 11:29:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:29:40','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:29:41 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200474 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:33:32 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200475,'D',110,'Y','N','N',0,'N',22,'N',18,'N','N',246,'N','Y','6b87ab8f-baa6-49ee-a4a8-0ca225691fb4','N','Y','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By','N',0,TO_TIMESTAMP('2012-09-18 11:33:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:33:32','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:33:32 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200475 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:34:48 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200476,'D','Y','N','N',0,'N',7,'N',16,'N','N',607,'N','N','fc29c26c-e144-4d77-abfe-354eb3a8cdc6','N','Y','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated','N',0,TO_TIMESTAMP('2012-09-18 11:34:47','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:34:47','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:34:48 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200476 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:39:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200477,'D',110,'Y','N','N',0,'N',22,'N',18,'N','N',608,'N','N','c66a48fd-47e0-4004-9d36-65924de07c74','N','Y','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By','N',0,TO_TIMESTAMP('2012-09-18 11:39:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:39:24','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:39:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200477 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:40:28 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200478,'D','Y','N','N',0,'N',1,'N',40,'N','N',348,'N','N','cd090c45-d7ec-4e4f-a205-c2471f8425c9','N','Y','N','IsActive','The record is active in the system','Y','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','Active','N',0,TO_TIMESTAMP('2012-09-18 11:40:17','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:40:17','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:40:28 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200478 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:41:40 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200479,'D','N','N','N',0,'N',225,'N',10,'N','N',275,'N','N','8bd423be-e422-44ce-aa43-e75d796d2f74','N','Y','N','Description','Optional short description of the record','A description is limited to 255 characters.','Description','Y',0,TO_TIMESTAMP('2012-09-18 11:41:39','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:41:39','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:41:40 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200479 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:44:31 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200480,'D',221,'N','N','N',0,'N',1,'N',17,'N','N',1507,'N','Y','97df7222-704c-4790-b9c6-f0b089cb2f9f','N','Y','N','FrequencyType','Frequency of event','The frequency type is used for calculating the date of the next event.','Frequency Type','Y',0,TO_TIMESTAMP('2012-09-18 11:44:31','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:44:31','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:44:31 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200480 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:46:04 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200481,'D',318,'N','N','N',0,'N',1,'N',17,'N','N',2457,'N','Y','92fda8e1-8815-4718-8b54-df770ec08594','N','Y','N','ScheduleType','Type of schedule','F','Define the method how the next occurrence is calculated','Schedule Type','Y',0,TO_TIMESTAMP('2012-09-18 11:46:03','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:46:03','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:46:04 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200481 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:47:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200482,'D','N','N','N',0,'N',255,'N',10,'N','N',54124,'N','Y','4777132c-1cd4-4ef7-af7b-3b753f892b2e','N','Y','N','CronPattern','Cron pattern to define when the process should be invoked.','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','Cron Scheduling Pattern','Y',0,TO_TIMESTAMP('2012-09-18 11:47:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:47:19','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:47:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200482 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:48:44 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200483,'U','N','N','N',0,'N',22,'N',11,'N','N',1506,'N','Y','16094bae-2dca-4217-bcd6-703801047ce3','N','Y','N','Frequency','Frequency of events','The frequency is used in conjunction with the frequency type in determining an event. Example: If the Frequency Type is Week and the Frequency is 2 - it is every two weeks.','Frequency','Y',0,TO_TIMESTAMP('2012-09-18 11:48:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:48:19','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:48:44 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200483 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:55:03 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,ValueMax,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,ValueMin,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200484,'31','D','N','N','N',0,'1','N',22,'N',11,'N','N',2454,'N','Y','1781134b-b56e-48b4-bef9-7e5ccfc29811','N','Y','N','MonthDay','Day of the month 1 to 28/29/30/31','Day of the Month','Y',0,TO_TIMESTAMP('2012-09-18 11:54:59','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:54:59','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:55:03 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200484 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:55:32 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2012-09-18 11:55:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200483 +; + +-- Sep 18, 2012 11:56:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200485,'U',167,'N','N','N',0,'N',1,'N',17,'N','N',2458,'N','Y','fc957f56-4f18-462a-80a5-ad67231ffc75','N','Y','N','WeekDay','Day of the Week','Day of the Week','Y',0,TO_TIMESTAMP('2012-09-18 11:56:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:56:24','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:56:25 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200485 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:56:34 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2012-09-18 11:56:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200485 +; + +-- Sep 18, 2012 11:59:13 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200486,'D','N','N','N',0,'N',60,'N',10,'N','N',3011,'N','N','a332a52b-8b68-43d4-b5ac-43c42a78db3f','N','Y','N','IP_Address','Defines the IP address to transfer data to','Contains info on the IP address to which we will transfer data','IP Address','Y',0,TO_TIMESTAMP('2012-09-18 11:59:12','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 11:59:12','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 11:59:13 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200486 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 11:59:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET ColumnName='RunOnlyOnIP', Name='RunOnlyOnIP',Updated=TO_TIMESTAMP('2012-09-18 11:59:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200486 +; + +-- Sep 18, 2012 11:59:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=200486 +; + +-- Sep 18, 2012 11:59:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET Name='RunOnlyOnIP', Description='Defines the IP address to transfer data to', Help='Contains info on the IP address to which we will transfer data' WHERE AD_Column_ID=200486 AND IsCentrallyMaintained='Y' +; +-- Sep 18, 2012 12:06:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +CREATE TABLE AD_Schedule (AD_Client_ID NUMERIC(10) NOT NULL, AD_Org_ID NUMERIC(10) NOT NULL, AD_Schedule_ID NUMERIC(10) DEFAULT NULL , Created TIMESTAMP NOT NULL, CreatedBy NUMERIC(10) NOT NULL, CronPattern VARCHAR(255) DEFAULT NULL , Description VARCHAR(225) DEFAULT NULL , Frequency NUMERIC(10) DEFAULT NULL , FrequencyType CHAR(1) DEFAULT NULL , IsActive VARCHAR(1) DEFAULT 'Y' NOT NULL, MonthDay NUMERIC(10) DEFAULT NULL , RunOnlyOnIP VARCHAR(60) DEFAULT NULL , ScheduleType CHAR(1) DEFAULT 'F', Updated TIMESTAMP NOT NULL, UpdatedBy NUMERIC(10) NOT NULL, WeekDay CHAR(1) DEFAULT NULL , CONSTRAINT AD_Schedule_Key PRIMARY KEY (AD_Schedule_ID)) +; + +-- Sep 18, 2012 12:08:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=9434 +; + +-- Sep 18, 2012 12:10:34 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Window (WindowType,IsSOTrx,IsDefault,IsBetaFunctionality,WinHeight,WinWidth,EntityType,Name,Description,AD_Window_ID,Processing,AD_Window_UU,Created,Updated,AD_Org_ID,AD_Client_ID,IsActive,UpdatedBy,CreatedBy) VALUES ('T','N','N','N',0,0,'D','Schedule','Times for the scheduler',200012,'N','b1165a29-bcef-442c-be03-92ca75d4c019',TO_TIMESTAMP('2012-09-18 12:10:34','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-09-18 12:10:34','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',0,0) +; + +-- Sep 18, 2012 12:10:34 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Window_Trl (AD_Language,AD_Window_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Window_Trl_UU ) SELECT l.AD_Language,t.AD_Window_ID, t.Help,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Window t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Window_ID=200012 AND NOT EXISTS (SELECT * FROM AD_Window_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Window_ID=t.AD_Window_ID) +; + +-- Sep 18, 2012 12:11:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsInfoTab,IsReadOnly,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,Description,AD_Tab_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',200012,10,'N','N',200020,'N','N','N','N','Y','N',0,'06dc0531-48ba-42cf-8c50-d4fbb44928fc','D','Schedule','Schedule',200019,0,0,TO_TIMESTAMP('2012-09-18 12:11:18','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2012-09-18 12:11:18','YYYY-MM-DD HH24:MI:SS'),0,'N','Y') +; + +-- Sep 18, 2012 12:11:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Tab_Trl (AD_Language,AD_Tab_ID, Help,CommitWarning,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Tab_Trl_UU ) SELECT l.AD_Language,t.AD_Tab_ID, t.Help,t.CommitWarning,t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Tab t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Tab_ID=200019 AND NOT EXISTS (SELECT * FROM AD_Tab_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Tab_ID=t.AD_Tab_ID) +; + +-- Sep 18, 2012 12:11:25 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200478,'Y',200488,'N','There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reports. +There are two reasons for de-activating and not deleting records: +(1) The system requires the record for audit purposes. +(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are invoices for this partner record existing. You de-activate the Business Partner and prevent that this record is used for future entries.','D','The record is active in the system','Active','Y','N','0dcbc18c-ee3d-4bf3-bf42-4bd6a0d63783',0,0,TO_TIMESTAMP('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:25 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200488 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive,IsDisplayedGrid) VALUES ('N',200019,22,'N','N',200473,'Y',200489,'N','D','AD_Schedule_ID','N','N','94177e96-cd4e-4537-9ac0-457ddd542f3f',0,0,TO_TIMESTAMP('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:25','YYYY-MM-DD HH24:MI:SS'),'Y','N') +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200489 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200471,'Y',200490,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','D','Client/Tenant for this installation.','Client','Y','N','aa204f69-805c-4a4c-95c8-1e15a5448c86',0,0,TO_TIMESTAMP('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200490 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,255,'N','N',200482,'Y',200491,'N','Cron pattern to define when the process should be invoked. See http://en.wikipedia.org/wiki/Cron#crontab_syntax for cron scheduling syntax and example.','D','Cron pattern to define when the process should be invoked.','Cron Scheduling Pattern','Y','N','03487b4d-0971-4c70-8f04-46fe0e420278',0,0,TO_TIMESTAMP('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:26','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200491 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200484,'Y',200492,'N','D','Day of the month 1 to 28/29/30/31','Day of the Month','Y','N','deeababe-b70b-44d9-a11a-1e8894614a4b',0,0,TO_TIMESTAMP('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200492 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200485,'Y',200493,'N','D','Day of the Week','Day of the Week','Y','N','bd084abe-110c-4810-9fbf-6966b6bae3d1',0,0,TO_TIMESTAMP('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:27','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200493 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,225,'N','N',200479,'Y',200494,'N','A description is limited to 255 characters.','D','Optional short description of the record','Description','Y','N','ca15c625-eaa2-4c2e-af8a-f5c38c85820b',0,0,TO_TIMESTAMP('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200494 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200483,'Y',200495,'N','The frequency is used in conjunction with the frequency type in determining an event. Example: If the Frequency Type is Week and the Frequency is 2 - it is every two weeks.','D','Frequency of events','Frequency','Y','N','f2a92a92-ab3d-4b14-9cd6-b340b23c7eac',0,0,TO_TIMESTAMP('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:28','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200495 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200480,'Y',200496,'N','The frequency type is used for calculating the date of the next event.','D','Frequency of event','Frequency Type','Y','N','87167c4f-fe83-4ee2-8089-913c63eca7d9',0,0,TO_TIMESTAMP('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200496 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200472,'Y',200497,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','D','Organizational entity within client','Organization','Y','N','c0054e5a-74ae-41cd-9f90-1fc31b504318',0,0,TO_TIMESTAMP('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200497 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,60,'N','N',200486,'Y',200498,'N','Contains info on the IP address to which we will transfer data','D','Defines the IP address to transfer data to','IP Address','Y','N','2d42c7e3-1df7-4f1d-9097-288628f38e8e',0,0,TO_TIMESTAMP('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:29','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200498 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200481,'Y',200499,'N','Define the method how the next occurrence is calculated','D','Type of schedule','Schedule Type','Y','N','f8967225-915e-4f3d-b51d-3fd73d69a178',0,0,TO_TIMESTAMP('2012-09-18 12:11:30','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:11:30','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:11:30 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200499 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200490 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200497 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 12:12:04 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200492 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200493 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 12:12:05 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200492 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200493 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 12:13:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 12:14:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200487,'D','N','N','N',0,'N',22,'Y',10,'N','N',469,'N','Y','85289efa-6925-4a1b-a56d-d2eeab992199','N','Y','N','Name','Alphanumeric identifier of the entity','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.','Name','Y',0,TO_TIMESTAMP('2012-09-18 12:14:18','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-18 12:14:18','YYYY-MM-DD HH24:MI:SS'),0,0,0) +; + +-- Sep 18, 2012 12:14:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200487 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 18, 2012 12:14:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Schedule ADD COLUMN Name VARCHAR(22) DEFAULT NULL +; + +-- Sep 18, 2012 12:14:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,22,'N','N',200487,'Y',200500,'N','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.','D','Alphanumeric identifier of the entity','Name','Y','N','40e45db9-e809-4c5b-9eb1-ded79bc2065f',0,0,TO_TIMESTAMP('2012-09-18 12:14:45','YYYY-MM-DD HH24:MI:SS'),0,0,TO_TIMESTAMP('2012-09-18 12:14:45','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 18, 2012 12:14:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200500 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200500 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 12:15:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200488 +; + + +-- Sep 18, 2012 1:47:15 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@ScheduleType@=F',Updated=TO_TIMESTAMP('2012-09-18 13:47:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 1:50:16 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET DisplayLogic='@ScheduleType@=C',Updated=TO_TIMESTAMP('2012-09-18 13:50:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 1:52:00 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-18 13:52:00','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 1:52:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=1,Updated=TO_TIMESTAMP('2012-09-18 13:52:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 1:52:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-18 13:52:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200490 +; + +-- Sep 18, 2012 1:52:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-18 13:52:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200497 +; + +-- Sep 18, 2012 1:52:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-09-18 13:52:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200500 +; + +-- Sep 18, 2012 1:52:58 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5, NumLines=3,Updated=TO_TIMESTAMP('2012-09-18 13:52:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200494 +; + +-- Sep 18, 2012 1:53:07 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-18 13:53:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200499 +; + +-- Sep 18, 2012 1:53:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-18 13:53:20','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200496 +; + +-- Sep 18, 2012 1:53:33 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-18 13:53:33','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 1:53:38 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=1,Updated=TO_TIMESTAMP('2012-09-18 13:53:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 1:53:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-09-18 13:53:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 1:53:51 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-09-18 13:53:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200498 +; + +-- Sep 18, 2012 1:53:58 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-09-18 13:53:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Field_ID=200488 +; + +-- Sep 18, 2012 1:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Menu (AD_Window_ID,AD_Menu_ID,IsSummary,IsSOTrx,IsReadOnly,EntityType,IsCentrallyMaintained,Name,Description,"action",AD_Menu_UU,IsActive,AD_Client_ID,CreatedBy,Updated,AD_Org_ID,Created,UpdatedBy) VALUES (200012,200018,'N','N','N','D','Y','Schedule','Maintain times foe Scheduler','W','e821174d-eb46-4c6c-b295-9b9ea2d3822e','Y',0,0,TO_TIMESTAMP('2012-09-18 13:56:43','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2012-09-18 13:56:43','YYYY-MM-DD HH24:MI:SS'),0) +; + +-- Sep 18, 2012 1:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Menu_Trl (AD_Language,AD_Menu_ID, Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Menu_Trl_UU ) SELECT l.AD_Language,t.AD_Menu_ID, t.Name,t.Description, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Menu t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Menu_ID=200018 AND NOT EXISTS (SELECT * FROM AD_Menu_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Menu_ID=t.AD_Menu_ID) +; + +-- Sep 18, 2012 1:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_TreeNodeMM (AD_Client_ID,AD_Org_ID, IsActive,Created,CreatedBy,Updated,UpdatedBy, AD_Tree_ID, Node_ID, Parent_ID, SeqNo, AD_TreeNodeMM_UU) SELECT t.AD_Client_ID, 0, 'Y', CURRENT_TIMESTAMP, 0, CURRENT_TIMESTAMP, 0,t.AD_Tree_ID, 200018, 0, 999, Generate_UUID() FROM AD_Tree t WHERE t.AD_Client_ID=0 AND t.IsActive='Y' AND t.IsAllNodes='Y' AND t.TreeType='MM' AND NOT EXISTS (SELECT * FROM AD_TreeNodeMM e WHERE e.AD_Tree_ID=t.AD_Tree_ID AND Node_ID=200018) +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53296 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=450 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200018 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=446 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53191 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53192 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=439 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=440 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=594 +; + +-- Sep 18, 2012 1:57:13 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_TreeNodeMM SET Parent_ID=456, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=50009 +; + +-- Sep 18, 2012 2:13:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200491 +; + +-- Sep 18, 2012 2:13:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200495 +; + +-- Sep 18, 2012 2:14:48 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Reference_ID=20,Updated=TO_TIMESTAMP('2012-09-18 14:14:48','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=0 WHERE AD_Column_ID=200478 +; + +-- Sep 20, 2012 9:38:20 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (1,0,0,200000,TO_TIMESTAMP('2012-09-20 09:38:18','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-09-20 09:38:18','YYYY-MM-DD HH24:MI:SS'),100,'Y','D','F',0,'1 Day') +; + +-- Sep 20, 2012 10:16:54 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (7,0,0,200001,TO_TIMESTAMP('2012-09-20 10:16:53','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-09-20 10:16:53','YYYY-MM-DD HH24:MI:SS'),100,'Y','D','F',0,'7 Days') +; + +-- Sep 20, 2012 10:20:08 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,688,200489,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','a61f8f27-8146-4c2d-9cea-b9fc50d7a77e','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_TIMESTAMP('2012-09-20 10:20:07','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-20 10:20:07','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 10:20:08 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200489 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 10:20:17 AM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Scheduler ADD COLUMN AD_Schedule_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 20, 2012 10:20:58 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',589,10,'N','N',200489,'Y',200501,'N','D','AD_Schedule_ID','Y','N','ae7b8de9-50f5-4f79-92ef-c7d5e72555b0',100,0,TO_TIMESTAMP('2012-09-20 10:20:57','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 10:20:57','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 10:20:58 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200501 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 10:20:59 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',589,36,'N','N',60493,'Y',200502,'N','D','AD_Scheduler_UU','Y','N','57fc4fb5-58ff-4f4d-8799-a9fee348cc9f',100,0,TO_TIMESTAMP('2012-09-20 10:20:58','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 10:20:58','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 10:20:59 AM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200502 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200502 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10051 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9437 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9430 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=58773 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=58774 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9432 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=9442 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=9443 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=9438 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=60991 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=180,IsDisplayed='Y' WHERE AD_Field_ID=60992 +; + +-- Sep 20, 2012 10:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=190,IsDisplayed='Y' WHERE AD_Field_ID=9434 +; + +-- Sep 20, 2012 10:24:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET Name='Schedule', ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-20 10:24:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:24:02 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field_Trl SET IsTranslated='N' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:26:00 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200502 +; + +-- Sep 20, 2012 10:26:00 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=180,IsDisplayedGrid='Y' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 10:27:53 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET SeqNoSelection=2,Updated=TO_TIMESTAMP('2012-09-20 10:27:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; +-- Sep 20, 2012 11:23:10 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsSelectionColumn='N', IsUpdateable='N', SeqNoSelection=0,Updated=TO_TIMESTAMP('2012-09-20 11:23:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; + +-- Sep 20, 2012 11:23:16 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsSelectionColumn='Y', IsUpdateable='N', SeqNoSelection=2,Updated=TO_TIMESTAMP('2012-09-20 11:23:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; + + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=58774 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9430 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9437 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=10051 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=58773 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9432 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9442 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=9443 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9438 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=60991 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=60992 +; + +-- Sep 20, 2012 11:35:11 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=9434 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=58774 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=9430 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=9437 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=10051 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=58773 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=9432 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=90,IsDisplayedGrid='Y' WHERE AD_Field_ID=9442 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=100,IsDisplayedGrid='Y' WHERE AD_Field_ID=9443 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=110,IsDisplayedGrid='Y' WHERE AD_Field_ID=9438 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=120,IsDisplayedGrid='Y' WHERE AD_Field_ID=60991 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=130,IsDisplayedGrid='Y' WHERE AD_Field_ID=60992 +; + +-- Sep 20, 2012 11:37:12 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNoGrid=140,IsDisplayedGrid='Y' WHERE AD_Field_ID=200501 +; + +-- Sep 20, 2012 11:52:30 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 11:52:30','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59029 +; + +-- Sep 20, 2012 11:52:39 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 11:52:39','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247 +; + +-- Sep 20, 2012 11:52:44 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 11:52:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255 +; + +-- Sep 20, 2012 11:52:55 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 11:52:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11523 +; + +-- Sep 20, 2012 11:53:05 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 11:53:05','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11521 +; + +-- Sep 20, 2012 11:53:14 AM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 11:53:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11522 +; + +-- Sep 20, 2012 6:24:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,695,200490,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','7e549561-f9c8-44b7-9bc2-9e1d1bb4c728','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_TIMESTAMP('2012-09-20 18:24:18','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-20 18:24:18','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 6:24:20 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200490 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 6:24:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',608,10,'N','N',200490,'Y',200503,'N','D','AD_Schedule_ID','Y','N','6d491d80-dc56-484f-90c8-8c6d0cb2344d',100,0,TO_TIMESTAMP('2012-09-20 18:24:54','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 18:24:54','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:24:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200503 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:24:56 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',608,36,'N','N',60588,'Y',200504,'N','D','C_AcctProcessor_UU','Y','N','1cbac684-149b-40fc-b1bc-66a8e3bde012',100,0,TO_TIMESTAMP('2012-09-20 18:24:55','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 18:24:55','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:24:56 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200504 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200504 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9039 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200503 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9037 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9028 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=9027 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9033 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9031 +; + +-- Sep 20, 2012 6:25:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=9032 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9028 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9037 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9027 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9033 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=9031 +; + +-- Sep 20, 2012 6:25:59 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9032 +; + +-- Sep 20, 2012 6:27:37 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 18:27:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11348 +; + +-- Sep 20, 2012 6:27:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 18:27:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11359 +; + +-- Sep 20, 2012 6:28:12 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=3,Updated=TO_TIMESTAMP('2012-09-20 18:28:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200503 +; + +-- Sep 20, 2012 6:29:41 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (10,0,0,200002,TO_TIMESTAMP('2012-09-20 18:29:40','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-09-20 18:29:40','YYYY-MM-DD HH24:MI:SS'),100,'Y','M','F',0,'10 Minutes') +; + +-- Sep 20, 2012 6:31:38 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE C_AcctProcessor ADD COLUMN AD_Schedule_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 20, 2012 6:33:24 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsIdentifier='Y', SeqNo=2, IsUpdateable='N',Updated=TO_TIMESTAMP('2012-09-20 18:33:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200487 +; + +-- Sep 20, 2012 6:55:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,700,200491,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','273fcf64-47b6-48ef-a432-b1d600bad17f','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_TIMESTAMP('2012-09-20 18:55:19','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-20 18:55:19','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 6:55:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200491 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 6:55:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_AlertProcessor ADD COLUMN AD_Schedule_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 20, 2012 6:56:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',631,36,'N','N',60374,'Y',200505,'N','D','AD_AlertProcessor_UU','Y','N','a9ee04e4-207b-400f-b182-b6600231ce3e',100,0,TO_TIMESTAMP('2012-09-20 18:56:20','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 18:56:20','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:56:21 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200505 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:56:22 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',631,10,'N','N',200491,'Y',200506,'N','D','AD_Schedule_ID','Y','N','bcfced0e-e826-4815-a75e-767f25b1f1ae',100,0,TO_TIMESTAMP('2012-09-20 18:56:21','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 18:56:21','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 6:56:22 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200506 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200505 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9534 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9533 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200506 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=9530 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=9532 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9524 +; + +-- Sep 20, 2012 6:56:44 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9527 +; + +-- Sep 20, 2012 6:57:01 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-20 18:57:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200506 +; + +-- Sep 20, 2012 6:57:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsMandatory='N', IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 18:57:26','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11441 +; + +-- Sep 20, 2012 6:57:32 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-20 18:57:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11440 +; + +-- Sep 20, 2012 6:57:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO t_alter_column values('ad_alertprocessor','FrequencyType','CHAR(1)',null,'NULL') +; + +-- Sep 20, 2012 6:57:43 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO t_alter_column values('ad_alertprocessor','FrequencyType',null,'NULL',null) +; + +-- Sep 20, 2012 6:59:53 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_AlertProcessor SET AD_Schedule_ID=200000,Updated=TO_TIMESTAMP('2012-09-20 18:59:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_AlertProcessor_ID=100 +; + +-- Sep 20, 2012 7:00:09 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Element SET PrintName='Schedule',Updated=TO_TIMESTAMP('2012-09-20 19:00:09','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200132 +; + +-- Sep 20, 2012 7:00:09 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200132 +; + +-- Sep 20, 2012 7:00:09 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_PrintFormatItem SET PrintName='Schedule', Name='AD_Schedule_ID' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=AD_PrintFormatItem.AD_Column_ID AND c.AD_Element_ID=200132) +; + +-- Sep 20, 2012 7:23:52 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,420,200492,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','e3fdcc19-7a75-4a63-97a1-785bbafe1996','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_TIMESTAMP('2012-09-20 19:23:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-20 19:23:51','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 7:23:52 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200492 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 7:35:11 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE R_RequestProcessor ADD COLUMN AD_Schedule_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 20, 2012 7:36:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',346,10,'N','N',200492,'Y',200507,'N','D','AD_Schedule_ID','Y','N','fad6e2a5-de6b-44ec-add5-f61622bf7731',100,0,TO_TIMESTAMP('2012-09-20 19:36:26','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 19:36:26','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:36:28 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200507 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:36:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',346,36,'N','N',61024,'Y',200508,'N','D','R_RequestProcessor_UU','Y','N','034c812e-f7b9-4897-baa8-7a5751483828',100,0,TO_TIMESTAMP('2012-09-20 19:36:28','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 19:36:28','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:36:29 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200508 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4330 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=4331 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200508 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200507 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=5149 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=10907 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=5150 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=5166 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=10912 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9318 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=4327 +; + +-- Sep 20, 2012 7:36:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=4328 +; + +-- Sep 20, 2012 7:37:15 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-09-20 19:37:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200507 +; + +-- Sep 20, 2012 7:37:37 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 19:37:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5480 +; + +-- Sep 20, 2012 7:37:41 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 19:37:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5481 +; + +-- Sep 20, 2012 7:39:26 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay,Name) VALUES (15,0,0,200003,TO_TIMESTAMP('2012-09-20 19:39:24','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-09-20 19:39:24','YYYY-MM-DD HH24:MI:SS'),100,'Y','M','F',0,'15 Minutes') +; + +-- Sep 20, 2012 7:55:53 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,697,200493,'D','N','N','N',0,'N',10,'N',19,'N','N',200132,'N','Y','a8107d13-a59f-4b3f-b5d7-467c067eb8f0','N','Y','N','AD_Schedule_ID','AD_Schedule_ID','Y',100,TO_TIMESTAMP('2012-09-20 19:55:52','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-20 19:55:52','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 20, 2012 7:55:53 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200493 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 20, 2012 7:56:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_WorkflowProcessor ADD COLUMN AD_Schedule_ID NUMERIC(10) DEFAULT NULL +; + +-- Sep 20, 2012 7:56:54 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',592,10,'N','N',200493,'Y',200509,'N','D','AD_Schedule_ID','Y','N','8be243a9-ba4d-49c2-addb-128f2451e3d8',100,0,TO_TIMESTAMP('2012-09-20 19:56:48','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 19:56:48','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:56:54 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200509 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:56:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',592,36,'N','N',60559,'Y',200510,'N','D','AD_WorkflowProcessor_UU','Y','N','ba7097bf-ef51-4e12-9602-745bd0218380',100,0,TO_TIMESTAMP('2012-09-20 19:56:54','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-20 19:56:54','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 20, 2012 7:56:55 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200510 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200510 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9509 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=9502 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200509 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=10916 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=10917 +; + +-- Sep 20, 2012 7:57:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=9510 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9501 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=10924 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=9511 +; + +-- Sep 20, 2012 7:57:18 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=9499 +; + +-- Sep 20, 2012 7:57:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 19:57:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11391 +; + +-- Sep 20, 2012 7:57:41 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-20 19:57:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11382 +; + +-- Sep 20, 2012 7:59:45 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Schedule (Frequency,AD_Client_ID,AD_Org_ID,AD_Schedule_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive,FrequencyType,ScheduleType,MonthDay) VALUES (2,0,0,200004,TO_TIMESTAMP('2012-09-20 19:59:44','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-09-20 19:59:44','YYYY-MM-DD HH24:MI:SS'),100,'Y','H','F',0) +; + +-- Sep 24, 2012 3:50:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Help,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200557,'U','N','N','N',0,'N',1,'N',20,'N','N',54123,'N','Y','3be5ad4a-1390-4dd5-b526-230f6fe3c9ee','N','Y','N','IsIgnoreProcessingTime','Do not include processing time for the DateNextRun calculation','N','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','Ignore Processing Time','Y',100,TO_TIMESTAMP('2012-09-24 15:50:01','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-24 15:50:01','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 24, 2012 3:50:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200557 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 24, 2012 3:50:11 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET EntityType='D',Updated=TO_TIMESTAMP('2012-09-24 15:50:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200557 +; + +-- Sep 24, 2012 3:50:15 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Schedule ADD COLUMN IsIgnoreProcessingTime CHAR(1) DEFAULT 'N' CHECK (IsIgnoreProcessingTime IN ('Y','N')) +; + +-- Sep 24, 2012 3:50:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Table SET AD_Window_ID=200012,Updated=TO_TIMESTAMP('2012-09-24 15:50:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Table_ID=200020 +; + +-- Sep 24, 2012 3:50:49 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200557,'Y',200552,'N','When this is selected, the previous DateNextRun is always use as the source for the next DateNextRun calculation.','D','Do not include processing time for the DateNextRun calculation','Ignore Processing Time','Y','N','8abaf449-ec3d-4333-ba76-d437f0055462',100,0,TO_TIMESTAMP('2012-09-24 15:50:48','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-24 15:50:48','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 24, 2012 3:50:49 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200552 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 24, 2012 3:51:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=4,Updated=TO_TIMESTAMP('2012-09-24 15:51:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200552 +; + +-- Sep 24, 2012 3:51:17 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-24 15:51:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=59028 +; + +-- Sep 24, 2012 3:52:27 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET IsDisplayed='N', IsActive='N',Updated=TO_TIMESTAMP('2012-09-24 15:52:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=58773 +; + +-- Sep 24, 2012 5:05:08 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element (ColumnName,AD_Element_ID,EntityType,Name,Description,PrintName,AD_Element_UU,AD_Client_ID,Created,Updated,AD_Org_ID,CreatedBy,UpdatedBy,IsActive) VALUES ('IsSystemSchedule',200157,'D','IsSystemSchedule','Schedule Just For System','System Schedule','0fcff3a8-e3d4-4d54-a060-7aa225b329c6',0,TO_TIMESTAMP('2012-09-24 17:05:07','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-09-24 17:05:07','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Sep 24, 2012 5:05:08 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Name,Description,PrintName,PO_Name,PO_PrintName, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Element_Trl_UU ) SELECT l.AD_Language,t.AD_Element_ID, t.Help,t.PO_Description,t.PO_Help,t.Name,t.Description,t.PrintName,t.PO_Name,t.PO_PrintName, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Element t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Element_ID=200157 AND NOT EXISTS (SELECT * FROM AD_Element_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Element_ID=t.AD_Element_ID) +; + +-- Sep 24, 2012 5:06:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,SeqNo,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsSyncDatabase,IsKey,AD_Element_ID,IsAutocomplete,IsAllowLogging,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,DefaultValue,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,200020,200558,'D','N','N','N',0,'N',1,'N',20,'N','N',200157,'N','Y','f5b750f4-c9a7-4dfb-a4de-17f8431a1f47','N','Y','N','IsSystemSchedule','Schedule Just For System','N','IsSystemSchedule','Y',100,TO_TIMESTAMP('2012-09-24 17:06:09','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-09-24 17:06:09','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Sep 24, 2012 5:06:10 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Column_Trl (AD_Language,AD_Column_ID, Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Column_Trl_UU ) SELECT l.AD_Language,t.AD_Column_ID, t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Column t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Column_ID=200558 AND NOT EXISTS (SELECT * FROM AD_Column_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Column_ID=t.AD_Column_ID) +; + +-- Sep 24, 2012 5:06:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +ALTER TABLE AD_Schedule ADD COLUMN IsSystemSchedule CHAR(1) DEFAULT 'N' CHECK (IsSystemSchedule IN ('Y','N')) +; + +-- Sep 24, 2012 5:06:51 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsDisplayed,IsFieldOnly,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200019,1,'N','N',200558,'Y',200553,'N','D','Schedule Just For System','IsSystemSchedule','Y','N','1a29d07e-df06-4d49-bab4-733c0f547714',100,0,TO_TIMESTAMP('2012-09-24 17:06:50','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-09-24 17:06:50','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Sep 24, 2012 5:06:51 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Field_Trl (AD_Language,AD_Field_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Field_Trl_UU ) SELECT l.AD_Language,t.AD_Field_ID, t.Help,t.Description,t.Name, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Field t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Field_ID=200553 AND NOT EXISTS (SELECT * FROM AD_Field_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Field_ID=t.AD_Field_ID) +; + +-- Sep 24, 2012 5:07:07 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-09-24 17:07:07','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200553 +; + +-- Sep 24, 2012 5:09:19 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Field SET XPosition=5,Updated=TO_TIMESTAMP('2012-09-24 17:09:19','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200552 +; + +-- Sep 24, 2012 5:29:33 PM COT +-- IDEMPIERE-391 Scheduler improvements +INSERT INTO AD_Val_Rule (Code,AD_Val_Rule_ID,EntityType,Name,Type,AD_Val_Rule_UU,CreatedBy,UpdatedBy,Updated,Created,AD_Client_ID,IsActive,AD_Org_ID) VALUES ('AD_Schedule.IsSystemSchedule=''N'' OR @AD_Client_ID@=0',200007,'D','AD_scheduler for System','S','2643339c-9859-4187-a5ec-e0809a93a43a',100,100,TO_TIMESTAMP('2012-09-24 17:29:32','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-09-24 17:29:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',0) +; + +-- Sep 24, 2012 5:32:02 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Val_Rule SET Name='AD_Schedule for System',Updated=TO_TIMESTAMP('2012-09-24 17:32:02','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Val_Rule_ID=200007 +; + +-- Sep 24, 2012 5:32:06 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_TIMESTAMP('2012-09-24 17:32:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200490 +; + +-- Sep 24, 2012 5:39:23 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_TIMESTAMP('2012-09-24 17:39:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200491 +; + +-- Sep 24, 2012 5:47:37 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_TIMESTAMP('2012-09-24 17:47:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200493 +; + +-- Sep 24, 2012 5:51:36 PM COT +-- IDEMPIERE-391 Scheduler improvements +UPDATE AD_Column SET AD_Val_Rule_ID=200007,Updated=TO_TIMESTAMP('2012-09-24 17:51:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200492 +; + +-- Sep 27, 2012 10:19:28 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 10:19:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11348 +; + +-- Sep 27, 2012 10:19:30 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('c_acctprocessor','Frequency','NUMERIC(10)',null,'NULL') +; + +-- Sep 27, 2012 10:19:30 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('c_acctprocessor','Frequency',null,'NULL',null) +; + +-- Sep 27, 2012 11:05:06 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:05:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11348 +; + +-- Sep 27, 2012 11:36:59 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 11:36:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11441 +; + +-- Sep 27, 2012 11:37:05 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_alertprocessor','Frequency','NUMERIC(10)',null,'NULL') +; + +-- Sep 27, 2012 11:37:18 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:37:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11441 +; + +-- Sep 27, 2012 11:37:24 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 11:37:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11440 +; + +-- Sep 27, 2012 11:37:28 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_alertprocessor','FrequencyType','CHAR(1)',null,'NULL') +; + +-- Sep 27, 2012 11:37:34 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:37:34','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11440 +; + +-- Sep 27, 2012 11:38:29 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 11:38:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5480 +; + +-- Sep 27, 2012 11:38:33 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('r_requestprocessor','Frequency','NUMERIC(10)',null,'1') +; + +-- Sep 27, 2012 11:38:33 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('r_requestprocessor','Frequency',null,'NULL',null) +; + +-- Sep 27, 2012 11:38:38 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:38:38','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5480 +; + +-- Sep 27, 2012 11:38:45 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 11:38:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5481 +; + +-- Sep 27, 2012 11:38:49 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('r_requestprocessor','FrequencyType','CHAR(1)',null,'NULL') +; + +-- Sep 27, 2012 11:38:50 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('r_requestprocessor','FrequencyType',null,'NULL',null) +; + +-- Sep 27, 2012 11:38:55 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:38:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=5481 +; + +-- Sep 27, 2012 11:39:55 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 11:39:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11391 +; + +-- Sep 27, 2012 11:39:56 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_workflowprocessor','Frequency','NUMERIC(10)',null,'NULL') +; + +-- Sep 27, 2012 11:39:56 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_workflowprocessor','Frequency',null,'NULL',null) +; + +-- Sep 27, 2012 11:40:03 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:40:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11391 +; + +-- Sep 27, 2012 11:40:11 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N', IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:40:11','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11382 +; + +-- Sep 27, 2012 11:45:45 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 11:45:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247 +; + +-- Sep 27, 2012 11:45:49 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_scheduler','Frequency','NUMERIC(10)',null,'NULL') +; + +-- Sep 27, 2012 11:45:49 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_scheduler','Frequency',null,'NULL',null) +; + +-- Sep 27, 2012 11:45:55 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:45:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11247 +; + +-- Sep 27, 2012 11:46:03 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsMandatory='N',Updated=TO_TIMESTAMP('2012-09-27 11:46:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255 +; + +-- Sep 27, 2012 11:46:05 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_scheduler','FrequencyType','CHAR(1)',null,'NULL') +; + +-- Sep 27, 2012 11:46:05 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_scheduler','FrequencyType',null,'NULL',null) +; + +-- Sep 27, 2012 11:46:10 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsActive='N',Updated=TO_TIMESTAMP('2012-09-27 11:46:10','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=11255 +; + +-- Sep 27, 2012 11:49:52 AM COT +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Window SET WindowType='M',Updated=TO_TIMESTAMP('2012-09-27 11:49:52','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Window_ID=200012 +; + + +SELECT register_migration_script('912_IDEMPIERE-391.sql') FROM dual +; + diff --git a/org.adempiere.base/src/org/compiere/model/AdempiereProcessor2.java b/org.adempiere.base/src/org/compiere/model/AdempiereProcessor2.java index 3b3d17dbf6..64e6508f58 100644 --- a/org.adempiere.base/src/org/compiere/model/AdempiereProcessor2.java +++ b/org.adempiere.base/src/org/compiere/model/AdempiereProcessor2.java @@ -25,4 +25,7 @@ public interface AdempiereProcessor2 { * server time is use as the base to the new DateNextRun value. */ public boolean isIgnoreProcessingTime(); + + // IDEMPIERE-391 + public int getAD_Schedule_ID(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java b/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java index 50bfcf4836..976133619a 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_AlertProcessor.java @@ -31,7 +31,7 @@ public interface I_AD_AlertProcessor public static final String Table_Name = "AD_AlertProcessor"; /** AD_Table_ID=700 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 700; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -54,6 +54,15 @@ public interface I_AD_AlertProcessor */ public int getAD_AlertProcessor_ID(); + /** Column name AD_AlertProcessor_UU */ + public static final String COLUMNNAME_AD_AlertProcessor_UU = "AD_AlertProcessor_UU"; + + /** Set AD_AlertProcessor_UU */ + public void setAD_AlertProcessor_UU (String AD_AlertProcessor_UU); + + /** Get AD_AlertProcessor_UU */ + public String getAD_AlertProcessor_UU(); + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; @@ -75,6 +84,17 @@ public interface I_AD_AlertProcessor */ public int getAD_Org_ID(); + /** Column name AD_Schedule_ID */ + public static final String COLUMNNAME_AD_Schedule_ID = "AD_Schedule_ID"; + + /** Set AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID); + + /** Get AD_Schedule_ID */ + public int getAD_Schedule_ID(); + + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException; + /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -130,32 +150,6 @@ public interface I_AD_AlertProcessor */ public String getDescription(); - /** Column name Frequency */ - public static final String COLUMNNAME_Frequency = "Frequency"; - - /** Set Frequency. - * Frequency of events - */ - public void setFrequency (int Frequency); - - /** Get Frequency. - * Frequency of events - */ - public int getFrequency(); - - /** Column name FrequencyType */ - public static final String COLUMNNAME_FrequencyType = "FrequencyType"; - - /** Set Frequency Type. - * Frequency of event - */ - public void setFrequencyType (String FrequencyType); - - /** Get Frequency Type. - * Frequency of event - */ - public String getFrequencyType(); - /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -217,7 +211,7 @@ public interface I_AD_AlertProcessor */ public int getSupervisor_ID(); - public I_AD_User getSupervisor() throws RuntimeException; + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException; /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Schedule.java b/org.adempiere.base/src/org/compiere/model/I_AD_Schedule.java new file mode 100644 index 0000000000..efbd4426b3 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Schedule.java @@ -0,0 +1,248 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +package org.compiere.model; + +import java.math.BigDecimal; +import java.sql.Timestamp; +import org.compiere.util.KeyNamePair; + +/** Generated Interface for AD_Schedule + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_AD_Schedule +{ + + /** TableName=AD_Schedule */ + public static final String Table_Name = "AD_Schedule"; + + /** AD_Table_ID=200020 */ + public static final int Table_ID = 200020; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = - System + */ + BigDecimal accessLevel = BigDecimal.valueOf(4); + + /** Load Meta Data */ + + /** Column name AD_Client_ID */ + public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; + + /** Get Client. + * Client/Tenant for this installation. + */ + public int getAD_Client_ID(); + + /** Column name AD_Org_ID */ + public static final String COLUMNNAME_AD_Org_ID = "AD_Org_ID"; + + /** Set Organization. + * Organizational entity within client + */ + public void setAD_Org_ID (int AD_Org_ID); + + /** Get Organization. + * Organizational entity within client + */ + public int getAD_Org_ID(); + + /** Column name AD_Schedule_ID */ + public static final String COLUMNNAME_AD_Schedule_ID = "AD_Schedule_ID"; + + /** Set AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID); + + /** Get AD_Schedule_ID */ + public int getAD_Schedule_ID(); + + /** Column name Created */ + public static final String COLUMNNAME_Created = "Created"; + + /** Get Created. + * Date this record was created + */ + public Timestamp getCreated(); + + /** Column name CreatedBy */ + public static final String COLUMNNAME_CreatedBy = "CreatedBy"; + + /** Get Created By. + * User who created this records + */ + public int getCreatedBy(); + + /** Column name CronPattern */ + public static final String COLUMNNAME_CronPattern = "CronPattern"; + + /** Set Cron Scheduling Pattern. + * Cron pattern to define when the process should be invoked. + */ + public void setCronPattern (String CronPattern); + + /** Get Cron Scheduling Pattern. + * Cron pattern to define when the process should be invoked. + */ + public String getCronPattern(); + + /** Column name Description */ + public static final String COLUMNNAME_Description = "Description"; + + /** Set Description. + * Optional short description of the record + */ + public void setDescription (String Description); + + /** Get Description. + * Optional short description of the record + */ + public String getDescription(); + + /** Column name Frequency */ + public static final String COLUMNNAME_Frequency = "Frequency"; + + /** Set Frequency. + * Frequency of events + */ + public void setFrequency (int Frequency); + + /** Get Frequency. + * Frequency of events + */ + public int getFrequency(); + + /** Column name FrequencyType */ + public static final String COLUMNNAME_FrequencyType = "FrequencyType"; + + /** Set Frequency Type. + * Frequency of event + */ + public void setFrequencyType (String FrequencyType); + + /** Get Frequency Type. + * Frequency of event + */ + public String getFrequencyType(); + + /** Column name IsActive */ + public static final String COLUMNNAME_IsActive = "IsActive"; + + /** Set Active. + * The record is active in the system + */ + public void setIsActive (boolean IsActive); + + /** Get Active. + * The record is active in the system + */ + public boolean isActive(); + + /** Column name IsIgnoreProcessingTime */ + public static final String COLUMNNAME_IsIgnoreProcessingTime = "IsIgnoreProcessingTime"; + + /** Set Ignore Processing Time. + * Do not include processing time for the DateNextRun calculation + */ + public void setIsIgnoreProcessingTime (boolean IsIgnoreProcessingTime); + + /** Get Ignore Processing Time. + * Do not include processing time for the DateNextRun calculation + */ + public boolean isIgnoreProcessingTime(); + + /** Column name MonthDay */ + public static final String COLUMNNAME_MonthDay = "MonthDay"; + + /** Set Day of the Month. + * Day of the month 1 to 28/29/30/31 + */ + public void setMonthDay (int MonthDay); + + /** Get Day of the Month. + * Day of the month 1 to 28/29/30/31 + */ + public int getMonthDay(); + + /** Column name Name */ + public static final String COLUMNNAME_Name = "Name"; + + /** Set Name. + * Alphanumeric identifier of the entity + */ + public void setName (String Name); + + /** Get Name. + * Alphanumeric identifier of the entity + */ + public String getName(); + + /** Column name RunOnlyOnIP */ + public static final String COLUMNNAME_RunOnlyOnIP = "RunOnlyOnIP"; + + /** Set RunOnlyOnIP. + * Defines the IP address to transfer data to + */ + public void setRunOnlyOnIP (String RunOnlyOnIP); + + /** Get RunOnlyOnIP. + * Defines the IP address to transfer data to + */ + public String getRunOnlyOnIP(); + + /** Column name ScheduleType */ + public static final String COLUMNNAME_ScheduleType = "ScheduleType"; + + /** Set Schedule Type. + * Type of schedule + */ + public void setScheduleType (String ScheduleType); + + /** Get Schedule Type. + * Type of schedule + */ + public String getScheduleType(); + + /** Column name Updated */ + public static final String COLUMNNAME_Updated = "Updated"; + + /** Get Updated. + * Date this record was updated + */ + public Timestamp getUpdated(); + + /** Column name UpdatedBy */ + public static final String COLUMNNAME_UpdatedBy = "UpdatedBy"; + + /** Get Updated By. + * User who updated this records + */ + public int getUpdatedBy(); + + /** Column name WeekDay */ + public static final String COLUMNNAME_WeekDay = "WeekDay"; + + /** Set Day of the Week. + * Day of the Week + */ + public void setWeekDay (String WeekDay); + + /** Get Day of the Week. + * Day of the Week + */ + public String getWeekDay(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java b/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java index 3a8c97ed94..d8205fa442 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Scheduler.java @@ -77,6 +77,17 @@ public interface I_AD_Scheduler public org.compiere.model.I_AD_Process getAD_Process() throws RuntimeException; + /** Column name AD_Schedule_ID */ + public static final String COLUMNNAME_AD_Schedule_ID = "AD_Schedule_ID"; + + /** Set AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID); + + /** Get AD_Schedule_ID */ + public int getAD_Schedule_ID(); + + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException; + /** Column name AD_Scheduler_ID */ public static final String COLUMNNAME_AD_Scheduler_ID = "AD_Scheduler_ID"; @@ -90,6 +101,15 @@ public interface I_AD_Scheduler */ public int getAD_Scheduler_ID(); + /** Column name AD_Scheduler_UU */ + public static final String COLUMNNAME_AD_Scheduler_UU = "AD_Scheduler_UU"; + + /** Set AD_Scheduler_UU */ + public void setAD_Scheduler_UU (String AD_Scheduler_UU); + + /** Get AD_Scheduler_UU */ + public String getAD_Scheduler_UU(); + /** Column name AD_Table_ID */ public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID"; @@ -121,19 +141,6 @@ public interface I_AD_Scheduler */ public int getCreatedBy(); - /** Column name CronPattern */ - public static final String COLUMNNAME_CronPattern = "CronPattern"; - - /** Set Cron Scheduling Pattern. - * Cron pattern to define when the process should be invoked. - */ - public void setCronPattern (String CronPattern); - - /** Get Cron Scheduling Pattern. - * Cron pattern to define when the process should be invoked. - */ - public String getCronPattern(); - /** Column name DateLastRun */ public static final String COLUMNNAME_DateLastRun = "DateLastRun"; @@ -173,32 +180,6 @@ public interface I_AD_Scheduler */ public String getDescription(); - /** Column name Frequency */ - public static final String COLUMNNAME_Frequency = "Frequency"; - - /** Set Frequency. - * Frequency of events - */ - public void setFrequency (int Frequency); - - /** Get Frequency. - * Frequency of events - */ - public int getFrequency(); - - /** Column name FrequencyType */ - public static final String COLUMNNAME_FrequencyType = "FrequencyType"; - - /** Set Frequency Type. - * Frequency of event - */ - public void setFrequencyType (String FrequencyType); - - /** Get Frequency Type. - * Frequency of event - */ - public String getFrequencyType(); - /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -212,19 +193,6 @@ public interface I_AD_Scheduler */ public boolean isActive(); - /** Column name IsIgnoreProcessingTime */ - public static final String COLUMNNAME_IsIgnoreProcessingTime = "IsIgnoreProcessingTime"; - - /** Set Ignore Processing Time. - * Do not include processing time for the DateNextRun calculation - */ - public void setIsIgnoreProcessingTime (boolean IsIgnoreProcessingTime); - - /** Get Ignore Processing Time. - * Do not include processing time for the DateNextRun calculation - */ - public boolean isIgnoreProcessingTime(); - /** Column name KeepLogDays */ public static final String COLUMNNAME_KeepLogDays = "KeepLogDays"; @@ -238,19 +206,6 @@ public interface I_AD_Scheduler */ public int getKeepLogDays(); - /** Column name MonthDay */ - public static final String COLUMNNAME_MonthDay = "MonthDay"; - - /** Set Day of the Month. - * Day of the month 1 to 28/29/30/31 - */ - public void setMonthDay (int MonthDay); - - /** Get Day of the Month. - * Day of the month 1 to 28/29/30/31 - */ - public int getMonthDay(); - /** Column name Name */ public static final String COLUMNNAME_Name = "Name"; @@ -286,19 +241,6 @@ public interface I_AD_Scheduler */ public int getRecord_ID(); - /** Column name ScheduleType */ - public static final String COLUMNNAME_ScheduleType = "ScheduleType"; - - /** Set Schedule Type. - * Type of schedule - */ - public void setScheduleType (String ScheduleType); - - /** Get Schedule Type. - * Type of schedule - */ - public String getScheduleType(); - /** Column name Supervisor_ID */ public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID"; @@ -329,17 +271,4 @@ public interface I_AD_Scheduler * User who updated this records */ public int getUpdatedBy(); - - /** Column name WeekDay */ - public static final String COLUMNNAME_WeekDay = "WeekDay"; - - /** Set Day of the Week. - * Day of the Week - */ - public void setWeekDay (String WeekDay); - - /** Get Day of the Week. - * Day of the Week - */ - public String getWeekDay(); } diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java b/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java index f6ec7b806f..6843046966 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_WorkflowProcessor.java @@ -31,13 +31,13 @@ public interface I_AD_WorkflowProcessor public static final String Table_Name = "AD_WorkflowProcessor"; /** AD_Table_ID=697 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 697; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); - /** AccessLevel = 4 - System + /** AccessLevel = 6 - System - Client */ - BigDecimal accessLevel = BigDecimal.valueOf(4); + BigDecimal accessLevel = BigDecimal.valueOf(6); /** Load Meta Data */ @@ -62,6 +62,17 @@ public interface I_AD_WorkflowProcessor */ public int getAD_Org_ID(); + /** Column name AD_Schedule_ID */ + public static final String COLUMNNAME_AD_Schedule_ID = "AD_Schedule_ID"; + + /** Set AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID); + + /** Get AD_Schedule_ID */ + public int getAD_Schedule_ID(); + + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException; + /** Column name AD_WorkflowProcessor_ID */ public static final String COLUMNNAME_AD_WorkflowProcessor_ID = "AD_WorkflowProcessor_ID"; @@ -75,6 +86,15 @@ public interface I_AD_WorkflowProcessor */ public int getAD_WorkflowProcessor_ID(); + /** Column name AD_WorkflowProcessor_UU */ + public static final String COLUMNNAME_AD_WorkflowProcessor_UU = "AD_WorkflowProcessor_UU"; + + /** Set AD_WorkflowProcessor_UU */ + public void setAD_WorkflowProcessor_UU (String AD_WorkflowProcessor_UU); + + /** Get AD_WorkflowProcessor_UU */ + public String getAD_WorkflowProcessor_UU(); + /** Column name AlertOverPriority */ public static final String COLUMNNAME_AlertOverPriority = "AlertOverPriority"; @@ -143,32 +163,6 @@ public interface I_AD_WorkflowProcessor */ public String getDescription(); - /** Column name Frequency */ - public static final String COLUMNNAME_Frequency = "Frequency"; - - /** Set Frequency. - * Frequency of events - */ - public void setFrequency (int Frequency); - - /** Get Frequency. - * Frequency of events - */ - public int getFrequency(); - - /** Column name FrequencyType */ - public static final String COLUMNNAME_FrequencyType = "FrequencyType"; - - /** Set Frequency Type. - * Frequency of event - */ - public void setFrequencyType (String FrequencyType); - - /** Get Frequency Type. - * Frequency of event - */ - public String getFrequencyType(); - /** Column name InactivityAlertDays */ public static final String COLUMNNAME_InactivityAlertDays = "InactivityAlertDays"; @@ -256,7 +250,7 @@ public interface I_AD_WorkflowProcessor */ public int getSupervisor_ID(); - public I_AD_User getSupervisor() throws RuntimeException; + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException; /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; diff --git a/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java b/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java index 3ac2583d98..5b321cfdbb 100644 --- a/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_C_AcctProcessor.java @@ -31,7 +31,7 @@ public interface I_C_AcctProcessor public static final String Table_Name = "C_AcctProcessor"; /** AD_Table_ID=695 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 695; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -62,6 +62,17 @@ public interface I_C_AcctProcessor */ public int getAD_Org_ID(); + /** Column name AD_Schedule_ID */ + public static final String COLUMNNAME_AD_Schedule_ID = "AD_Schedule_ID"; + + /** Set AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID); + + /** Get AD_Schedule_ID */ + public int getAD_Schedule_ID(); + + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException; + /** Column name AD_Table_ID */ public static final String COLUMNNAME_AD_Table_ID = "AD_Table_ID"; @@ -75,7 +86,7 @@ public interface I_C_AcctProcessor */ public int getAD_Table_ID(); - public I_AD_Table getAD_Table() throws RuntimeException; + public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException; /** Column name C_AcctProcessor_ID */ public static final String COLUMNNAME_C_AcctProcessor_ID = "C_AcctProcessor_ID"; @@ -90,6 +101,15 @@ public interface I_C_AcctProcessor */ public int getC_AcctProcessor_ID(); + /** Column name C_AcctProcessor_UU */ + public static final String COLUMNNAME_C_AcctProcessor_UU = "C_AcctProcessor_UU"; + + /** Set C_AcctProcessor_UU */ + public void setC_AcctProcessor_UU (String C_AcctProcessor_UU); + + /** Get C_AcctProcessor_UU */ + public String getC_AcctProcessor_UU(); + /** Column name C_AcctSchema_ID */ public static final String COLUMNNAME_C_AcctSchema_ID = "C_AcctSchema_ID"; @@ -103,7 +123,7 @@ public interface I_C_AcctProcessor */ public int getC_AcctSchema_ID(); - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException; + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -160,32 +180,6 @@ public interface I_C_AcctProcessor */ public String getDescription(); - /** Column name Frequency */ - public static final String COLUMNNAME_Frequency = "Frequency"; - - /** Set Frequency. - * Frequency of events - */ - public void setFrequency (int Frequency); - - /** Get Frequency. - * Frequency of events - */ - public int getFrequency(); - - /** Column name FrequencyType */ - public static final String COLUMNNAME_FrequencyType = "FrequencyType"; - - /** Set Frequency Type. - * Frequency of event - */ - public void setFrequencyType (String FrequencyType); - - /** Get Frequency Type. - * Frequency of event - */ - public String getFrequencyType(); - /** Column name IsActive */ public static final String COLUMNNAME_IsActive = "IsActive"; @@ -247,7 +241,7 @@ public interface I_C_AcctProcessor */ public int getSupervisor_ID(); - public I_AD_User getSupervisor() throws RuntimeException; + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException; /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java index b677952d4d..d621441c23 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor.java @@ -31,7 +31,7 @@ public interface I_R_RequestProcessor public static final String Table_Name = "R_RequestProcessor"; /** AD_Table_ID=420 */ - public static final int Table_ID = MTable.getTable_ID(Table_Name); + public static final int Table_ID = 420; KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); @@ -62,6 +62,17 @@ public interface I_R_RequestProcessor */ public int getAD_Org_ID(); + /** Column name AD_Schedule_ID */ + public static final String COLUMNNAME_AD_Schedule_ID = "AD_Schedule_ID"; + + /** Set AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID); + + /** Get AD_Schedule_ID */ + public int getAD_Schedule_ID(); + + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException; + /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -117,32 +128,6 @@ public interface I_R_RequestProcessor */ public String getDescription(); - /** Column name Frequency */ - public static final String COLUMNNAME_Frequency = "Frequency"; - - /** Set Frequency. - * Frequency of events - */ - public void setFrequency (int Frequency); - - /** Get Frequency. - * Frequency of events - */ - public int getFrequency(); - - /** Column name FrequencyType */ - public static final String COLUMNNAME_FrequencyType = "FrequencyType"; - - /** Set Frequency Type. - * Frequency of event - */ - public void setFrequencyType (String FrequencyType); - - /** Get Frequency Type. - * Frequency of event - */ - public String getFrequencyType(); - /** Column name InactivityAlertDays */ public static final String COLUMNNAME_InactivityAlertDays = "InactivityAlertDays"; @@ -256,6 +241,15 @@ public interface I_R_RequestProcessor */ public int getR_RequestProcessor_ID(); + /** Column name R_RequestProcessor_UU */ + public static final String COLUMNNAME_R_RequestProcessor_UU = "R_RequestProcessor_UU"; + + /** Set R_RequestProcessor_UU */ + public void setR_RequestProcessor_UU (String R_RequestProcessor_UU); + + /** Get R_RequestProcessor_UU */ + public String getR_RequestProcessor_UU(); + /** Column name R_RequestType_ID */ public static final String COLUMNNAME_R_RequestType_ID = "R_RequestType_ID"; @@ -269,7 +263,7 @@ public interface I_R_RequestProcessor */ public int getR_RequestType_ID(); - public I_R_RequestType getR_RequestType() throws RuntimeException; + public org.compiere.model.I_R_RequestType getR_RequestType() throws RuntimeException; /** Column name Supervisor_ID */ public static final String COLUMNNAME_Supervisor_ID = "Supervisor_ID"; @@ -284,7 +278,7 @@ public interface I_R_RequestProcessor */ public int getSupervisor_ID(); - public I_AD_User getSupervisor() throws RuntimeException; + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException; /** Column name Updated */ public static final String COLUMNNAME_Updated = "Updated"; diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java index 0beaa94a66..177891f388 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessorLog.java @@ -156,7 +156,7 @@ public interface I_R_RequestProcessorLog */ public int getR_RequestProcessor_ID(); - public I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException; + public org.compiere.model.I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException; /** Column name R_RequestProcessorLog_ID */ public static final String COLUMNNAME_R_RequestProcessorLog_ID = "R_RequestProcessorLog_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java index 25b9a32b5a..9658dc64e2 100644 --- a/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java +++ b/org.adempiere.base/src/org/compiere/model/I_R_RequestProcessor_Route.java @@ -75,7 +75,7 @@ public interface I_R_RequestProcessor_Route */ public int getAD_User_ID(); - public I_AD_User getAD_User() throws RuntimeException; + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException; /** Column name Created */ public static final String COLUMNNAME_Created = "Created"; @@ -132,7 +132,7 @@ public interface I_R_RequestProcessor_Route */ public int getR_RequestProcessor_ID(); - public I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException; + public org.compiere.model.I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException; /** Column name R_RequestProcessor_Route_ID */ public static final String COLUMNNAME_R_RequestProcessor_Route_ID = "R_RequestProcessor_Route_ID"; @@ -160,7 +160,7 @@ public interface I_R_RequestProcessor_Route */ public int getR_RequestType_ID(); - public I_R_RequestType getR_RequestType() throws RuntimeException; + public org.compiere.model.I_R_RequestType getR_RequestType() throws RuntimeException; /** Column name SeqNo */ public static final String COLUMNNAME_SeqNo = "SeqNo"; diff --git a/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java b/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java index ba6d4d9131..49dc20919a 100644 --- a/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MAcctProcessor.java @@ -35,12 +35,14 @@ import org.compiere.util.Msg; * @version $Id: MAcctProcessor.java,v 1.3 2006/07/30 00:51:02 jjanke Exp $ */ public class MAcctProcessor extends X_C_AcctProcessor - implements AdempiereProcessor + implements AdempiereProcessor, AdempiereProcessor2 { + + /** * */ - private static final long serialVersionUID = 6558688522646469260L; + private static final long serialVersionUID = -7574845047521861399L; /** * Get Active @@ -68,8 +70,8 @@ public class MAcctProcessor extends X_C_AcctProcessor { // setName (null); // setSupervisor_ID (0); - setFrequencyType (FREQUENCYTYPE_Hour); - setFrequency (1); + // setFrequencyType (FREQUENCYTYPE_Hour); + // setFrequency (1); setKeepLogDays (7); // 7 } } // MAcctProcessor @@ -153,4 +155,33 @@ public class MAcctProcessor extends X_C_AcctProcessor return no; } // deleteLog + + @Override + public String getFrequencyType() { + int AD_Schedule_ID = this.getAD_Schedule_ID(); + if( AD_Schedule_ID > 0) + { + MSchedule schedule=MSchedule.get(getCtx(), AD_Schedule_ID); + return schedule.getFrequencyType(); + } + return ""; + } + + @Override + public int getFrequency() { + int AD_Schedule_ID = this.getAD_Schedule_ID(); + if( AD_Schedule_ID > 0) + { + MSchedule schedule=MSchedule.get(getCtx(),AD_Schedule_ID); + return schedule.getFrequency(); + } + return 0; + } + + @Override + public boolean isIgnoreProcessingTime() { + MSchedule schedule=MSchedule.get(getCtx(),getAD_Schedule_ID()); + return schedule.isIgnoreProcessingTime(); + } + } // MAcctProcessor diff --git a/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java b/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java index c8da6d700f..01e2c925f3 100644 --- a/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MAlertProcessor.java @@ -33,7 +33,7 @@ import org.compiere.util.DB; * @version $Id: MAlertProcessor.java,v 1.3 2006/07/30 00:51:03 jjanke Exp $ */ public class MAlertProcessor extends X_AD_AlertProcessor - implements AdempiereProcessor + implements AdempiereProcessor, AdempiereProcessor2 { /** * @@ -162,4 +162,22 @@ public class MAlertProcessor extends X_AD_AlertProcessor return alerts; } // getAlerts + @Override + public int getFrequency() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.getFrequency(); + } + + @Override + public String getFrequencyType() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.getFrequencyType(); + } + + @Override + public boolean isIgnoreProcessingTime() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.isIgnoreProcessingTime(); + } + } // MAlertProcessor diff --git a/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java b/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java index ce5b5a8a71..7eab3fdc9f 100755 --- a/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MLdapProcessor.java @@ -203,7 +203,7 @@ public class MLdapProcessor extends X_AD_LdapProcessor implements AdempiereProce */ public String getFrequencyType() { - return X_R_RequestProcessor.FREQUENCYTYPE_Minute; + return X_AD_Schedule.FREQUENCYTYPE_Minute; } // getFrequencyType /** diff --git a/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java b/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java index 173d4cf0c4..1a637a7b55 100644 --- a/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/MRequestProcessor.java @@ -34,7 +34,7 @@ import org.compiere.util.Msg; * @version $Id: MRequestProcessor.java,v 1.2 2006/07/30 00:51:02 jjanke Exp $ */ public class MRequestProcessor extends X_R_RequestProcessor - implements AdempiereProcessor + implements AdempiereProcessor, AdempiereProcessor2 { /** * @@ -96,8 +96,8 @@ public class MRequestProcessor extends X_R_RequestProcessor if (R_RequestProcessor_ID == 0) { // setName (null); - setFrequencyType (FREQUENCYTYPE_Day); - setFrequency (0); + //setFrequencyType (FREQUENCYTYPE_Day); + //setFrequency (0); setKeepLogDays (7); setOverdueAlertDays (0); setOverdueAssignDays (0); @@ -255,5 +255,23 @@ public class MRequestProcessor extends X_R_RequestProcessor { return "RequestProcessor" + get_ID(); } // getServerID + + @Override + public String getFrequencyType() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.getFrequencyType(); + } + + @Override + public int getFrequency() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.getFrequency(); + } + + @Override + public boolean isIgnoreProcessingTime() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.isIgnoreProcessingTime(); + } } // MRequestProcessor diff --git a/org.adempiere.base/src/org/compiere/model/MSchedule.java b/org.adempiere.base/src/org/compiere/model/MSchedule.java new file mode 100644 index 0000000000..5bc05e0374 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/MSchedule.java @@ -0,0 +1,273 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2006 ComPiere, Inc. All Rights Reserved. * + * This program is free software; you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY; without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program; if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ + +package org.compiere.model; + +import it.sauronsoftware.cron4j.Predictor; +import it.sauronsoftware.cron4j.SchedulingPattern; + +import java.net.InetAddress; +import java.sql.ResultSet; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Calendar; +import java.util.Properties; +import java.util.StringTokenizer; +import java.util.logging.Level; +import java.util.regex.Matcher; +import java.util.regex.Pattern; +import java.util.regex.PatternSyntaxException; + +import org.compiere.util.DisplayType; + +public class MSchedule extends X_AD_Schedule +{ + + /** + * + */ + private static final long serialVersionUID = 2532063246191430056L; + + private static Pattern VALID_IPV4_PATTERN = null; + private static Pattern VALID_IPV6_PATTERN = null; + private static final String ipv4Pattern = "(([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.){3}([01]?\\d\\d?|2[0-4]\\d|25[0-5])"; + private static final String ipv6Pattern = "([0-9a-f]{1,4}:){7}([0-9a-f]){1,4}"; + + private it.sauronsoftware.cron4j.Scheduler cronScheduler; + private Predictor predictor; + + public MSchedule(Properties ctx, int AD_Schedule_ID, String trxName) { + super(ctx, AD_Schedule_ID, trxName); + // TODO Auto-generated constructor stub + } + + public MSchedule(Properties ctx, ResultSet rs, String trxName) { + super(ctx, rs, trxName); + // TODO Auto-generated constructor stub + } + + protected boolean beforeSave() + { + // Set Schedule Type & Frequencies + if (SCHEDULETYPE_Frequency.equals(getScheduleType())) + { + if (getFrequencyType() == null) + setFrequencyType(FREQUENCYTYPE_Day); + if (getFrequency() < 1) + setFrequency(1); + setCronPattern(null); + } + else if (SCHEDULETYPE_CronSchedulingPattern.equals(getScheduleType())) + { + String pattern = getCronPattern(); + if (pattern != null && pattern.trim().length() > 0) + { + if (!SchedulingPattern.validate(pattern)) + { + log.saveError("Error", "InvalidCronPattern"); + return false; + } + } + } + return true; + } + + + + + /** + * Brought from Compiere Open Source Community version 3.3.0 + * Is it OK to Run process On IP of this box + * @return + */ + public boolean isOKtoRunOnIP() + { + String ipOnly = getRunOnlyOnIP(); + if ((ipOnly == null) || (ipOnly.length() == 0)) + return true; + + StringTokenizer st = new StringTokenizer(ipOnly, ";"); + while (st.hasMoreElements()) + { + String ip = st.nextToken(); + if (checkIP(ip)) + return true; + } + return false; + } // isOKtoRunOnIP + + /** + * + * Brought from Compiere Open Source Community version 3.3.0 + * check whether this IP is allowed to process + * @param ipOnly + * @return true if IP is correct + */ + private boolean checkIP(String ipOnly) + { + try + { + InetAddress box = InetAddress.getLocalHost(); + String ip = box.getHostAddress(); + if (chekIPFormat()) { + if (ipOnly.indexOf(ip) == -1) { + + log.fine("Not allowed here - IP=" + ip + " does not match "+ ipOnly); + return false; + } + log.fine("Allowed here - IP=" + ip + " matches " + ipOnly); + } + else{ + String hostname=box.getHostName(); + if(ipOnly.equals(hostname)){ + log.fine("Not Allowed here -hostname " + hostname + " does not match "+ipOnly); + return false; + } + log.fine("Allowed here - hostname=" + hostname + " matches " + ipOnly); + } + } + catch (Exception e) + { + log.log(Level.SEVERE, "", e); + return false; + } + return true; + } // checkIP + + public static MSchedule get(Properties ctx, int AD_Schedule_ID) + { + if(AD_Schedule_ID > 0) + { + MSchedule schedule=new MSchedule(ctx, AD_Schedule_ID, null); + return schedule; + } + return null; + + } + + public boolean chekIPFormat() + { + boolean IsIp = false; + try { + VALID_IPV4_PATTERN = Pattern.compile(ipv4Pattern,Pattern.CASE_INSENSITIVE); + VALID_IPV6_PATTERN = Pattern.compile(ipv6Pattern,Pattern.CASE_INSENSITIVE); + + Matcher m1 = VALID_IPV4_PATTERN.matcher(getRunOnlyOnIP()); + if (m1.matches()) { + IsIp = true; + } else { + Matcher m2 = VALID_IPV6_PATTERN.matcher(getRunOnlyOnIP()); + if (m2.matches()) { + IsIp = true; + } else { + IsIp = false; + } + } + } catch (PatternSyntaxException e) { + // TODO: handle exception + log.fine("Error: " + e.getLocalizedMessage()); + } + return IsIp; + } + /** + * Brought from Compiere 330 + * Get Next Run + * @param last in MS + * @return next run in MS + */ + public long getNextRunMS (long last) + { + Calendar calNow = Calendar.getInstance(); + calNow.setTimeInMillis (last); + // + Calendar calNext = Calendar.getInstance(); + calNext.setTimeInMillis (last); + + + String scheduleType = getScheduleType(); + if (SCHEDULETYPE_Frequency.equals(scheduleType)) + { + String frequencyType = getFrequencyType(); + int frequency = getFrequency(); + + boolean increment=true; + + + /***** DAY ******/ + if (X_AD_Schedule.FREQUENCYTYPE_Day.equals(frequencyType)) + { + calNext.set (Calendar.HOUR_OF_DAY, 0); + calNext.set (Calendar.MINUTE, 0); + if(increment) + { + calNext.add(Calendar.DAY_OF_YEAR, frequency); + } + } // Day + + /***** HOUR ******/ + else if (X_AD_Schedule.FREQUENCYTYPE_Hour.equals(frequencyType)) + { + calNext.set (Calendar.MINUTE, 0); + if(increment) + { + calNext.add (Calendar.HOUR_OF_DAY, frequency); + } + + } // Hour + + /***** MINUTE ******/ + else if (X_AD_Schedule.FREQUENCYTYPE_Minute.equals(frequencyType)) + { + if(increment) + { + calNext.add(Calendar.MINUTE, frequency); + } + } // Minute + + long delta = calNext.getTimeInMillis() - calNow.getTimeInMillis(); + StringBuilder info = new StringBuilder("Now=") .append(calNow.getTime().toString()) + .append( ", Next=" + calNext.getTime().toString()) + .append( ", Delta=" + delta) + .append( ", " + toString()); + + if (delta < 0) + { + log.warning(info.toString()); + } + else + log.info (info.toString()); + + return calNext.getTimeInMillis(); + } + else + { + String cronPattern = (String) getCronPattern(); + if (cronPattern != null && cronPattern.trim().length() > 0 + && SchedulingPattern.validate(cronPattern)) { + cronScheduler = new it.sauronsoftware.cron4j.Scheduler(); + predictor = new Predictor(cronPattern); + long next = predictor.nextMatchingTime(); + return next; + } + + } + + return 0; + + } // getNextRunMS + +} diff --git a/org.adempiere.base/src/org/compiere/model/MScheduler.java b/org.adempiere.base/src/org/compiere/model/MScheduler.java index c4fa2e716c..c892b021e5 100644 --- a/org.adempiere.base/src/org/compiere/model/MScheduler.java +++ b/org.adempiere.base/src/org/compiere/model/MScheduler.java @@ -72,16 +72,7 @@ public class MScheduler extends X_AD_Scheduler super (ctx, AD_Scheduler_ID, trxName); if (AD_Scheduler_ID == 0) { - // setAD_Process_ID (0); - // setName (null); - setScheduleType (SCHEDULETYPE_Frequency); // F - setFrequencyType (FREQUENCYTYPE_Day); - // setFrequency (1); - // setMonthDay(1); - // setWeekDay(WEEKDAY_Monday); - // setKeepLogDays (7); - // setSupervisor_ID (0); } } // MScheduler @@ -248,27 +239,6 @@ public class MScheduler extends X_AD_Scheduler */ protected boolean beforeSave(boolean newRecord) { - // Set Schedule Type & Frequencies - if (SCHEDULETYPE_Frequency.equals(getScheduleType())) - { - if (getFrequencyType() == null) - setFrequencyType(FREQUENCYTYPE_Day); - if (getFrequency() < 1) - setFrequency(1); - setCronPattern(null); - } - else if (SCHEDULETYPE_CronSchedulingPattern.equals(getScheduleType())) - { - String pattern = getCronPattern(); - if (pattern != null && pattern.trim().length() > 0) - { - if (!SchedulingPattern.validate(pattern)) - { - log.saveError("Error", "InvalidCronPattern"); - return false; - } - } - } // FR [3135351] - Enable Scheduler for buttons if (getAD_Table_ID() > 0) { @@ -315,4 +285,25 @@ public class MScheduler extends X_AD_Scheduler return sb.toString (); } // toString + @Override + public String getFrequencyType() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + + return schedule.getFrequencyType(); + } + + @Override + public int getFrequency() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.getFrequency(); + } + + @Override + public boolean isIgnoreProcessingTime() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.isIgnoreProcessingTime(); + } + + + } // MScheduler diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java index a0c7b340f8..3b47dcd304 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessor.java @@ -31,7 +31,7 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_AD_AlertProcessor (Properties ctx, int AD_AlertProcessor_ID, String trxName) @@ -40,8 +40,6 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe /** if (AD_AlertProcessor_ID == 0) { setAD_AlertProcessor_ID (0); - setFrequency (0); - setFrequencyType (null); setKeepLogDays (0); // 7 setName (null); @@ -100,6 +98,45 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe return ii.intValue(); } + /** Set AD_AlertProcessor_UU. + @param AD_AlertProcessor_UU AD_AlertProcessor_UU */ + public void setAD_AlertProcessor_UU (String AD_AlertProcessor_UU) + { + set_Value (COLUMNNAME_AD_AlertProcessor_UU, AD_AlertProcessor_UU); + } + + /** Get AD_AlertProcessor_UU. + @return AD_AlertProcessor_UU */ + public String getAD_AlertProcessor_UU () + { + return (String)get_Value(COLUMNNAME_AD_AlertProcessor_UU); + } + + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException + { + return (org.compiere.model.I_AD_Schedule)MTable.get(getCtx(), org.compiere.model.I_AD_Schedule.Table_Name) + .getPO(getAD_Schedule_ID(), get_TrxName()); } + + /** Set AD_Schedule_ID. + @param AD_Schedule_ID AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID) + { + if (AD_Schedule_ID < 1) + set_Value (COLUMNNAME_AD_Schedule_ID, null); + else + set_Value (COLUMNNAME_AD_Schedule_ID, Integer.valueOf(AD_Schedule_ID)); + } + + /** Get AD_Schedule_ID. + @return AD_Schedule_ID */ + public int getAD_Schedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Schedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Date last run. @param DateLastRun Date the process was last run. @@ -151,52 +188,6 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe return (String)get_Value(COLUMNNAME_Description); } - /** Set Frequency. - @param Frequency - Frequency of events - */ - public void setFrequency (int Frequency) - { - set_Value (COLUMNNAME_Frequency, Integer.valueOf(Frequency)); - } - - /** Get Frequency. - @return Frequency of events - */ - public int getFrequency () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Frequency); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** FrequencyType AD_Reference_ID=221 */ - public static final int FREQUENCYTYPE_AD_Reference_ID=221; - /** Minute = M */ - public static final String FREQUENCYTYPE_Minute = "M"; - /** Hour = H */ - public static final String FREQUENCYTYPE_Hour = "H"; - /** Day = D */ - public static final String FREQUENCYTYPE_Day = "D"; - /** Set Frequency Type. - @param FrequencyType - Frequency of event - */ - public void setFrequencyType (String FrequencyType) - { - - set_Value (COLUMNNAME_FrequencyType, FrequencyType); - } - - /** Get Frequency Type. - @return Frequency of event - */ - public String getFrequencyType () - { - return (String)get_Value(COLUMNNAME_FrequencyType); - } - /** Set Days to keep Log. @param KeepLogDays Number of days to keep the log entries @@ -263,9 +254,9 @@ public class X_AD_AlertProcessor extends PO implements I_AD_AlertProcessor, I_Pe return false; } - public I_AD_User getSupervisor() throws RuntimeException + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getSupervisor_ID(), get_TrxName()); } /** Set Supervisor. diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java index 472326b5c6..78c18be91f 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_AlertProcessorLog.java @@ -29,7 +29,7 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_AD_AlertProcessorLog (Properties ctx, int AD_AlertProcessorLog_ID, String trxName) @@ -71,9 +71,9 @@ public class X_AD_AlertProcessorLog extends PO implements I_AD_AlertProcessorLog return sb.toString(); } - public I_AD_AlertProcessor getAD_AlertProcessor() throws RuntimeException + public org.compiere.model.I_AD_AlertProcessor getAD_AlertProcessor() throws RuntimeException { - return (I_AD_AlertProcessor)MTable.get(getCtx(), I_AD_AlertProcessor.Table_Name) + return (org.compiere.model.I_AD_AlertProcessor)MTable.get(getCtx(), org.compiere.model.I_AD_AlertProcessor.Table_Name) .getPO(getAD_AlertProcessor_ID(), get_TrxName()); } /** Set Alert Processor. diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Schedule.java b/org.adempiere.base/src/org/compiere/model/X_AD_Schedule.java new file mode 100644 index 0000000000..dcee8009cd --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Schedule.java @@ -0,0 +1,319 @@ +/****************************************************************************** + * Product: Adempiere ERP & CRM Smart Business Solution * + * Copyright (C) 1999-2007 ComPiere, Inc. All Rights Reserved. * + * This program is free software, you can redistribute it and/or modify it * + * under the terms version 2 of the GNU General Public License as published * + * by the Free Software Foundation. This program is distributed in the hope * + * that it will be useful, but WITHOUT ANY WARRANTY, without even the implied * + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. * + * See the GNU General Public License for more details. * + * You should have received a copy of the GNU General Public License along * + * with this program, if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. * + * For the text or an alternative of this public license, you may reach us * + * ComPiere, Inc., 2620 Augustine Dr. #245, Santa Clara, CA 95054, USA * + * or via info@compiere.org or http://www.compiere.org/license.html * + *****************************************************************************/ +/** Generated Model - DO NOT CHANGE */ +package org.compiere.model; + +import java.sql.ResultSet; +import java.util.Properties; +import org.compiere.util.KeyNamePair; + +/** Generated Model for AD_Schedule + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_AD_Schedule extends PO implements I_AD_Schedule, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20120924L; + + /** Standard Constructor */ + public X_AD_Schedule (Properties ctx, int AD_Schedule_ID, String trxName) + { + super (ctx, AD_Schedule_ID, trxName); + /** if (AD_Schedule_ID == 0) + { + } */ + } + + /** Load Constructor */ + public X_AD_Schedule (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 4 - System + */ + protected int get_AccessLevel() + { + return accessLevel.intValue(); + } + + /** Load Meta Data */ + protected POInfo initPO (Properties ctx) + { + POInfo poi = POInfo.getPOInfo (ctx, Table_ID, get_TrxName()); + return poi; + } + + public String toString() + { + StringBuffer sb = new StringBuffer ("X_AD_Schedule[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set AD_Schedule_ID. + @param AD_Schedule_ID AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID) + { + if (AD_Schedule_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_Schedule_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_Schedule_ID, Integer.valueOf(AD_Schedule_ID)); + } + + /** Get AD_Schedule_ID. + @return AD_Schedule_ID */ + public int getAD_Schedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Schedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Get Record ID/ColumnName + @return ID/ColumnName pair + */ + public KeyNamePair getKeyNamePair() + { + return new KeyNamePair(get_ID(), String.valueOf(getAD_Schedule_ID())); + } + + /** Set Cron Scheduling Pattern. + @param CronPattern + Cron pattern to define when the process should be invoked. + */ + public void setCronPattern (String CronPattern) + { + set_Value (COLUMNNAME_CronPattern, CronPattern); + } + + /** Get Cron Scheduling Pattern. + @return Cron pattern to define when the process should be invoked. + */ + public String getCronPattern () + { + return (String)get_Value(COLUMNNAME_CronPattern); + } + + /** Set Description. + @param Description + Optional short description of the record + */ + public void setDescription (String Description) + { + set_Value (COLUMNNAME_Description, Description); + } + + /** Get Description. + @return Optional short description of the record + */ + public String getDescription () + { + return (String)get_Value(COLUMNNAME_Description); + } + + /** Set Frequency. + @param Frequency + Frequency of events + */ + public void setFrequency (int Frequency) + { + set_Value (COLUMNNAME_Frequency, Integer.valueOf(Frequency)); + } + + /** Get Frequency. + @return Frequency of events + */ + public int getFrequency () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Frequency); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** FrequencyType AD_Reference_ID=221 */ + public static final int FREQUENCYTYPE_AD_Reference_ID=221; + /** Minute = M */ + public static final String FREQUENCYTYPE_Minute = "M"; + /** Hour = H */ + public static final String FREQUENCYTYPE_Hour = "H"; + /** Day = D */ + public static final String FREQUENCYTYPE_Day = "D"; + /** Set Frequency Type. + @param FrequencyType + Frequency of event + */ + public void setFrequencyType (String FrequencyType) + { + + set_Value (COLUMNNAME_FrequencyType, FrequencyType); + } + + /** Get Frequency Type. + @return Frequency of event + */ + public String getFrequencyType () + { + return (String)get_Value(COLUMNNAME_FrequencyType); + } + + /** Set Ignore Processing Time. + @param IsIgnoreProcessingTime + Do not include processing time for the DateNextRun calculation + */ + public void setIsIgnoreProcessingTime (boolean IsIgnoreProcessingTime) + { + set_Value (COLUMNNAME_IsIgnoreProcessingTime, Boolean.valueOf(IsIgnoreProcessingTime)); + } + + /** Get Ignore Processing Time. + @return Do not include processing time for the DateNextRun calculation + */ + public boolean isIgnoreProcessingTime () + { + Object oo = get_Value(COLUMNNAME_IsIgnoreProcessingTime); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Day of the Month. + @param MonthDay + Day of the month 1 to 28/29/30/31 + */ + public void setMonthDay (int MonthDay) + { + set_Value (COLUMNNAME_MonthDay, Integer.valueOf(MonthDay)); + } + + /** Get Day of the Month. + @return Day of the month 1 to 28/29/30/31 + */ + public int getMonthDay () + { + Integer ii = (Integer)get_Value(COLUMNNAME_MonthDay); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Name. + @param Name + Alphanumeric identifier of the entity + */ + public void setName (String Name) + { + set_ValueNoCheck (COLUMNNAME_Name, Name); + } + + /** Get Name. + @return Alphanumeric identifier of the entity + */ + public String getName () + { + return (String)get_Value(COLUMNNAME_Name); + } + + /** Set RunOnlyOnIP. + @param RunOnlyOnIP + Defines the IP address to transfer data to + */ + public void setRunOnlyOnIP (String RunOnlyOnIP) + { + set_Value (COLUMNNAME_RunOnlyOnIP, RunOnlyOnIP); + } + + /** Get RunOnlyOnIP. + @return Defines the IP address to transfer data to + */ + public String getRunOnlyOnIP () + { + return (String)get_Value(COLUMNNAME_RunOnlyOnIP); + } + + /** ScheduleType AD_Reference_ID=318 */ + public static final int SCHEDULETYPE_AD_Reference_ID=318; + /** Frequency = F */ + public static final String SCHEDULETYPE_Frequency = "F"; + /** Week Day = W */ + public static final String SCHEDULETYPE_WeekDay = "W"; + /** Month Day = M */ + public static final String SCHEDULETYPE_MonthDay = "M"; + /** Cron Scheduling Pattern = C */ + public static final String SCHEDULETYPE_CronSchedulingPattern = "C"; + /** Set Schedule Type. + @param ScheduleType + Type of schedule + */ + public void setScheduleType (String ScheduleType) + { + + set_Value (COLUMNNAME_ScheduleType, ScheduleType); + } + + /** Get Schedule Type. + @return Type of schedule + */ + public String getScheduleType () + { + return (String)get_Value(COLUMNNAME_ScheduleType); + } + + /** WeekDay AD_Reference_ID=167 */ + public static final int WEEKDAY_AD_Reference_ID=167; + /** Sunday = 7 */ + public static final String WEEKDAY_Sunday = "7"; + /** Monday = 1 */ + public static final String WEEKDAY_Monday = "1"; + /** Tuesday = 2 */ + public static final String WEEKDAY_Tuesday = "2"; + /** Wednesday = 3 */ + public static final String WEEKDAY_Wednesday = "3"; + /** Thursday = 4 */ + public static final String WEEKDAY_Thursday = "4"; + /** Friday = 5 */ + public static final String WEEKDAY_Friday = "5"; + /** Saturday = 6 */ + public static final String WEEKDAY_Saturday = "6"; + /** Set Day of the Week. + @param WeekDay + Day of the Week + */ + public void setWeekDay (String WeekDay) + { + + set_Value (COLUMNNAME_WeekDay, WeekDay); + } + + /** Get Day of the Week. + @return Day of the Week + */ + public String getWeekDay () + { + return (String)get_Value(COLUMNNAME_WeekDay); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java b/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java index a79bc64467..ecd51048a1 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Scheduler.java @@ -31,7 +31,7 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent /** * */ - private static final long serialVersionUID = 20110325L; + private static final long serialVersionUID = 20120924L; /** Standard Constructor */ public X_AD_Scheduler (Properties ctx, int AD_Scheduler_ID, String trxName) @@ -44,8 +44,6 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent setKeepLogDays (0); // 7 setName (null); - setScheduleType (null); -// F setSupervisor_ID (0); } */ } @@ -106,6 +104,31 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent return ii.intValue(); } + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException + { + return (org.compiere.model.I_AD_Schedule)MTable.get(getCtx(), org.compiere.model.I_AD_Schedule.Table_Name) + .getPO(getAD_Schedule_ID(), get_TrxName()); } + + /** Set AD_Schedule_ID. + @param AD_Schedule_ID AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID) + { + if (AD_Schedule_ID < 1) + set_Value (COLUMNNAME_AD_Schedule_ID, null); + else + set_Value (COLUMNNAME_AD_Schedule_ID, Integer.valueOf(AD_Schedule_ID)); + } + + /** Get AD_Schedule_ID. + @return AD_Schedule_ID */ + public int getAD_Schedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Schedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Scheduler. @param AD_Scheduler_ID Schedule Processes @@ -129,6 +152,20 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent return ii.intValue(); } + /** Set AD_Scheduler_UU. + @param AD_Scheduler_UU AD_Scheduler_UU */ + public void setAD_Scheduler_UU (String AD_Scheduler_UU) + { + set_Value (COLUMNNAME_AD_Scheduler_UU, AD_Scheduler_UU); + } + + /** Get AD_Scheduler_UU. + @return AD_Scheduler_UU */ + public String getAD_Scheduler_UU () + { + return (String)get_Value(COLUMNNAME_AD_Scheduler_UU); + } + public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException { return (org.compiere.model.I_AD_Table)MTable.get(getCtx(), org.compiere.model.I_AD_Table.Table_Name) @@ -157,23 +194,6 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent return ii.intValue(); } - /** Set Cron Scheduling Pattern. - @param CronPattern - Cron pattern to define when the process should be invoked. - */ - public void setCronPattern (String CronPattern) - { - set_Value (COLUMNNAME_CronPattern, CronPattern); - } - - /** Get Cron Scheduling Pattern. - @return Cron pattern to define when the process should be invoked. - */ - public String getCronPattern () - { - return (String)get_Value(COLUMNNAME_CronPattern); - } - /** Set Date last run. @param DateLastRun Date the process was last run. @@ -225,76 +245,6 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent return (String)get_Value(COLUMNNAME_Description); } - /** Set Frequency. - @param Frequency - Frequency of events - */ - public void setFrequency (int Frequency) - { - set_Value (COLUMNNAME_Frequency, Integer.valueOf(Frequency)); - } - - /** Get Frequency. - @return Frequency of events - */ - public int getFrequency () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Frequency); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** FrequencyType AD_Reference_ID=221 */ - public static final int FREQUENCYTYPE_AD_Reference_ID=221; - /** Minute = M */ - public static final String FREQUENCYTYPE_Minute = "M"; - /** Hour = H */ - public static final String FREQUENCYTYPE_Hour = "H"; - /** Day = D */ - public static final String FREQUENCYTYPE_Day = "D"; - /** Set Frequency Type. - @param FrequencyType - Frequency of event - */ - public void setFrequencyType (String FrequencyType) - { - - set_Value (COLUMNNAME_FrequencyType, FrequencyType); - } - - /** Get Frequency Type. - @return Frequency of event - */ - public String getFrequencyType () - { - return (String)get_Value(COLUMNNAME_FrequencyType); - } - - /** Set Ignore Processing Time. - @param IsIgnoreProcessingTime - Do not include processing time for the DateNextRun calculation - */ - public void setIsIgnoreProcessingTime (boolean IsIgnoreProcessingTime) - { - set_Value (COLUMNNAME_IsIgnoreProcessingTime, Boolean.valueOf(IsIgnoreProcessingTime)); - } - - /** Get Ignore Processing Time. - @return Do not include processing time for the DateNextRun calculation - */ - public boolean isIgnoreProcessingTime () - { - Object oo = get_Value(COLUMNNAME_IsIgnoreProcessingTime); - if (oo != null) - { - if (oo instanceof Boolean) - return ((Boolean)oo).booleanValue(); - return "Y".equals(oo); - } - return false; - } - /** Set Days to keep Log. @param KeepLogDays Number of days to keep the log entries @@ -315,26 +265,6 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent return ii.intValue(); } - /** Set Day of the Month. - @param MonthDay - Day of the month 1 to 28/29/30/31 - */ - public void setMonthDay (int MonthDay) - { - set_Value (COLUMNNAME_MonthDay, Integer.valueOf(MonthDay)); - } - - /** Get Day of the Month. - @return Day of the month 1 to 28/29/30/31 - */ - public int getMonthDay () - { - Integer ii = (Integer)get_Value(COLUMNNAME_MonthDay); - if (ii == null) - return 0; - return ii.intValue(); - } - /** Set Name. @param Name Alphanumeric identifier of the entity @@ -404,34 +334,6 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent return ii.intValue(); } - /** ScheduleType AD_Reference_ID=318 */ - public static final int SCHEDULETYPE_AD_Reference_ID=318; - /** Frequency = F */ - public static final String SCHEDULETYPE_Frequency = "F"; - /** Week Day = W */ - public static final String SCHEDULETYPE_WeekDay = "W"; - /** Month Day = M */ - public static final String SCHEDULETYPE_MonthDay = "M"; - /** Cron Scheduling Pattern = C */ - public static final String SCHEDULETYPE_CronSchedulingPattern = "C"; - /** Set Schedule Type. - @param ScheduleType - Type of schedule - */ - public void setScheduleType (String ScheduleType) - { - - set_Value (COLUMNNAME_ScheduleType, ScheduleType); - } - - /** Get Schedule Type. - @return Type of schedule - */ - public String getScheduleType () - { - return (String)get_Value(COLUMNNAME_ScheduleType); - } - public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException { return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) @@ -459,38 +361,4 @@ public class X_AD_Scheduler extends PO implements I_AD_Scheduler, I_Persistent return 0; return ii.intValue(); } - - /** WeekDay AD_Reference_ID=167 */ - public static final int WEEKDAY_AD_Reference_ID=167; - /** Sunday = 7 */ - public static final String WEEKDAY_Sunday = "7"; - /** Monday = 1 */ - public static final String WEEKDAY_Monday = "1"; - /** Tuesday = 2 */ - public static final String WEEKDAY_Tuesday = "2"; - /** Wednesday = 3 */ - public static final String WEEKDAY_Wednesday = "3"; - /** Thursday = 4 */ - public static final String WEEKDAY_Thursday = "4"; - /** Friday = 5 */ - public static final String WEEKDAY_Friday = "5"; - /** Saturday = 6 */ - public static final String WEEKDAY_Saturday = "6"; - /** Set Day of the Week. - @param WeekDay - Day of the Week - */ - public void setWeekDay (String WeekDay) - { - - set_Value (COLUMNNAME_WeekDay, WeekDay); - } - - /** Get Day of the Week. - @return Day of the Week - */ - public String getWeekDay () - { - return (String)get_Value(COLUMNNAME_WeekDay); - } } \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java b/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java index 66cb845262..0c84002a3e 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_WorkflowProcessor.java @@ -31,7 +31,7 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_AD_WorkflowProcessor (Properties ctx, int AD_WorkflowProcessor_ID, String trxName) @@ -40,8 +40,6 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor /** if (AD_WorkflowProcessor_ID == 0) { setAD_WorkflowProcessor_ID (0); - setFrequency (0); - setFrequencyType (null); setKeepLogDays (0); // 7 setName (null); @@ -56,7 +54,7 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor } /** AccessLevel - * @return 4 - System + * @return 6 - System - Client */ protected int get_AccessLevel() { @@ -77,6 +75,31 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor return sb.toString(); } + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException + { + return (org.compiere.model.I_AD_Schedule)MTable.get(getCtx(), org.compiere.model.I_AD_Schedule.Table_Name) + .getPO(getAD_Schedule_ID(), get_TrxName()); } + + /** Set AD_Schedule_ID. + @param AD_Schedule_ID AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID) + { + if (AD_Schedule_ID < 1) + set_Value (COLUMNNAME_AD_Schedule_ID, null); + else + set_Value (COLUMNNAME_AD_Schedule_ID, Integer.valueOf(AD_Schedule_ID)); + } + + /** Get AD_Schedule_ID. + @return AD_Schedule_ID */ + public int getAD_Schedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Schedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Workflow Processor. @param AD_WorkflowProcessor_ID Workflow Processor Server @@ -100,6 +123,20 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor return ii.intValue(); } + /** Set AD_WorkflowProcessor_UU. + @param AD_WorkflowProcessor_UU AD_WorkflowProcessor_UU */ + public void setAD_WorkflowProcessor_UU (String AD_WorkflowProcessor_UU) + { + set_Value (COLUMNNAME_AD_WorkflowProcessor_UU, AD_WorkflowProcessor_UU); + } + + /** Get AD_WorkflowProcessor_UU. + @return AD_WorkflowProcessor_UU */ + public String getAD_WorkflowProcessor_UU () + { + return (String)get_Value(COLUMNNAME_AD_WorkflowProcessor_UU); + } + /** Set Alert over Priority. @param AlertOverPriority Send alert email when over priority @@ -171,52 +208,6 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor return (String)get_Value(COLUMNNAME_Description); } - /** Set Frequency. - @param Frequency - Frequency of events - */ - public void setFrequency (int Frequency) - { - set_Value (COLUMNNAME_Frequency, Integer.valueOf(Frequency)); - } - - /** Get Frequency. - @return Frequency of events - */ - public int getFrequency () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Frequency); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** FrequencyType AD_Reference_ID=221 */ - public static final int FREQUENCYTYPE_AD_Reference_ID=221; - /** Minute = M */ - public static final String FREQUENCYTYPE_Minute = "M"; - /** Hour = H */ - public static final String FREQUENCYTYPE_Hour = "H"; - /** Day = D */ - public static final String FREQUENCYTYPE_Day = "D"; - /** Set Frequency Type. - @param FrequencyType - Frequency of event - */ - public void setFrequencyType (String FrequencyType) - { - - set_Value (COLUMNNAME_FrequencyType, FrequencyType); - } - - /** Get Frequency Type. - @return Frequency of event - */ - public String getFrequencyType () - { - return (String)get_Value(COLUMNNAME_FrequencyType); - } - /** Set Inactivity Alert Days. @param InactivityAlertDays Send Alert when there is no activity after days (0= no alert) @@ -323,9 +314,9 @@ public class X_AD_WorkflowProcessor extends PO implements I_AD_WorkflowProcessor return ii.intValue(); } - public I_AD_User getSupervisor() throws RuntimeException + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getSupervisor_ID(), get_TrxName()); } /** Set Supervisor. diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java index b813984ca9..6d7565dce3 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessor.java @@ -31,7 +31,7 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_C_AcctProcessor (Properties ctx, int C_AcctProcessor_ID, String trxName) @@ -40,8 +40,6 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis /** if (C_AcctProcessor_ID == 0) { setC_AcctProcessor_ID (0); - setFrequency (0); - setFrequencyType (null); setKeepLogDays (0); // 7 setName (null); @@ -77,9 +75,34 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis return sb.toString(); } - public I_AD_Table getAD_Table() throws RuntimeException + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException { - return (I_AD_Table)MTable.get(getCtx(), I_AD_Table.Table_Name) + return (org.compiere.model.I_AD_Schedule)MTable.get(getCtx(), org.compiere.model.I_AD_Schedule.Table_Name) + .getPO(getAD_Schedule_ID(), get_TrxName()); } + + /** Set AD_Schedule_ID. + @param AD_Schedule_ID AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID) + { + if (AD_Schedule_ID < 1) + set_Value (COLUMNNAME_AD_Schedule_ID, null); + else + set_Value (COLUMNNAME_AD_Schedule_ID, Integer.valueOf(AD_Schedule_ID)); + } + + /** Get AD_Schedule_ID. + @return AD_Schedule_ID */ + public int getAD_Schedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Schedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_Table getAD_Table() throws RuntimeException + { + return (org.compiere.model.I_AD_Table)MTable.get(getCtx(), org.compiere.model.I_AD_Table.Table_Name) .getPO(getAD_Table_ID(), get_TrxName()); } /** Set Table. @@ -128,9 +151,23 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis return ii.intValue(); } - public I_C_AcctSchema getC_AcctSchema() throws RuntimeException + /** Set C_AcctProcessor_UU. + @param C_AcctProcessor_UU C_AcctProcessor_UU */ + public void setC_AcctProcessor_UU (String C_AcctProcessor_UU) + { + set_Value (COLUMNNAME_C_AcctProcessor_UU, C_AcctProcessor_UU); + } + + /** Get C_AcctProcessor_UU. + @return C_AcctProcessor_UU */ + public String getC_AcctProcessor_UU () + { + return (String)get_Value(COLUMNNAME_C_AcctProcessor_UU); + } + + public org.compiere.model.I_C_AcctSchema getC_AcctSchema() throws RuntimeException { - return (I_C_AcctSchema)MTable.get(getCtx(), I_C_AcctSchema.Table_Name) + return (org.compiere.model.I_C_AcctSchema)MTable.get(getCtx(), org.compiere.model.I_C_AcctSchema.Table_Name) .getPO(getC_AcctSchema_ID(), get_TrxName()); } /** Set Accounting Schema. @@ -207,52 +244,6 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis return (String)get_Value(COLUMNNAME_Description); } - /** Set Frequency. - @param Frequency - Frequency of events - */ - public void setFrequency (int Frequency) - { - set_Value (COLUMNNAME_Frequency, Integer.valueOf(Frequency)); - } - - /** Get Frequency. - @return Frequency of events - */ - public int getFrequency () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Frequency); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** FrequencyType AD_Reference_ID=221 */ - public static final int FREQUENCYTYPE_AD_Reference_ID=221; - /** Minute = M */ - public static final String FREQUENCYTYPE_Minute = "M"; - /** Hour = H */ - public static final String FREQUENCYTYPE_Hour = "H"; - /** Day = D */ - public static final String FREQUENCYTYPE_Day = "D"; - /** Set Frequency Type. - @param FrequencyType - Frequency of event - */ - public void setFrequencyType (String FrequencyType) - { - - set_Value (COLUMNNAME_FrequencyType, FrequencyType); - } - - /** Get Frequency Type. - @return Frequency of event - */ - public String getFrequencyType () - { - return (String)get_Value(COLUMNNAME_FrequencyType); - } - /** Set Days to keep Log. @param KeepLogDays Number of days to keep the log entries @@ -319,9 +310,9 @@ public class X_C_AcctProcessor extends PO implements I_C_AcctProcessor, I_Persis return false; } - public I_AD_User getSupervisor() throws RuntimeException + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getSupervisor_ID(), get_TrxName()); } /** Set Supervisor. diff --git a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java index 032b8fcdc8..596321a32a 100644 --- a/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_C_AcctProcessorLog.java @@ -29,7 +29,7 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_C_AcctProcessorLog (Properties ctx, int C_AcctProcessorLog_ID, String trxName) @@ -88,9 +88,9 @@ public class X_C_AcctProcessorLog extends PO implements I_C_AcctProcessorLog, I_ return (byte[])get_Value(COLUMNNAME_BinaryData); } - public I_C_AcctProcessor getC_AcctProcessor() throws RuntimeException + public org.compiere.model.I_C_AcctProcessor getC_AcctProcessor() throws RuntimeException { - return (I_C_AcctProcessor)MTable.get(getCtx(), I_C_AcctProcessor.Table_Name) + return (org.compiere.model.I_C_AcctProcessor)MTable.get(getCtx(), org.compiere.model.I_C_AcctProcessor.Table_Name) .getPO(getC_AcctProcessor_ID(), get_TrxName()); } /** Set Accounting Processor. diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java index 2533309843..62e13ab8d8 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor.java @@ -31,7 +31,7 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_R_RequestProcessor (Properties ctx, int R_RequestProcessor_ID, String trxName) @@ -39,9 +39,6 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ super (ctx, R_RequestProcessor_ID, trxName); /** if (R_RequestProcessor_ID == 0) { - setFrequency (0); -// 1 - setFrequencyType (null); setInactivityAlertDays (0); // 0 setKeepLogDays (0); @@ -86,6 +83,31 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return sb.toString(); } + public org.compiere.model.I_AD_Schedule getAD_Schedule() throws RuntimeException + { + return (org.compiere.model.I_AD_Schedule)MTable.get(getCtx(), org.compiere.model.I_AD_Schedule.Table_Name) + .getPO(getAD_Schedule_ID(), get_TrxName()); } + + /** Set AD_Schedule_ID. + @param AD_Schedule_ID AD_Schedule_ID */ + public void setAD_Schedule_ID (int AD_Schedule_ID) + { + if (AD_Schedule_ID < 1) + set_Value (COLUMNNAME_AD_Schedule_ID, null); + else + set_Value (COLUMNNAME_AD_Schedule_ID, Integer.valueOf(AD_Schedule_ID)); + } + + /** Get AD_Schedule_ID. + @return AD_Schedule_ID */ + public int getAD_Schedule_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Schedule_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + /** Set Date last run. @param DateLastRun Date the process was last run. @@ -137,52 +159,6 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return (String)get_Value(COLUMNNAME_Description); } - /** Set Frequency. - @param Frequency - Frequency of events - */ - public void setFrequency (int Frequency) - { - set_Value (COLUMNNAME_Frequency, Integer.valueOf(Frequency)); - } - - /** Get Frequency. - @return Frequency of events - */ - public int getFrequency () - { - Integer ii = (Integer)get_Value(COLUMNNAME_Frequency); - if (ii == null) - return 0; - return ii.intValue(); - } - - /** FrequencyType AD_Reference_ID=221 */ - public static final int FREQUENCYTYPE_AD_Reference_ID=221; - /** Minute = M */ - public static final String FREQUENCYTYPE_Minute = "M"; - /** Hour = H */ - public static final String FREQUENCYTYPE_Hour = "H"; - /** Day = D */ - public static final String FREQUENCYTYPE_Day = "D"; - /** Set Frequency Type. - @param FrequencyType - Frequency of event - */ - public void setFrequencyType (String FrequencyType) - { - - set_Value (COLUMNNAME_FrequencyType, FrequencyType); - } - - /** Get Frequency Type. - @return Frequency of event - */ - public String getFrequencyType () - { - return (String)get_Value(COLUMNNAME_FrequencyType); - } - /** Set Inactivity Alert Days. @param InactivityAlertDays Send Alert when there is no activity after days (0= no alert) @@ -352,9 +328,23 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws RuntimeException + /** Set R_RequestProcessor_UU. + @param R_RequestProcessor_UU R_RequestProcessor_UU */ + public void setR_RequestProcessor_UU (String R_RequestProcessor_UU) + { + set_Value (COLUMNNAME_R_RequestProcessor_UU, R_RequestProcessor_UU); + } + + /** Get R_RequestProcessor_UU. + @return R_RequestProcessor_UU */ + public String getR_RequestProcessor_UU () + { + return (String)get_Value(COLUMNNAME_R_RequestProcessor_UU); + } + + public org.compiere.model.I_R_RequestType getR_RequestType() throws RuntimeException { - return (I_R_RequestType)MTable.get(getCtx(), I_R_RequestType.Table_Name) + return (org.compiere.model.I_R_RequestType)MTable.get(getCtx(), org.compiere.model.I_R_RequestType.Table_Name) .getPO(getR_RequestType_ID(), get_TrxName()); } /** Set Request Type. @@ -380,9 +370,9 @@ public class X_R_RequestProcessor extends PO implements I_R_RequestProcessor, I_ return ii.intValue(); } - public I_AD_User getSupervisor() throws RuntimeException + public org.compiere.model.I_AD_User getSupervisor() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getSupervisor_ID(), get_TrxName()); } /** Set Supervisor. diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java index 3df35f146e..acb5b929cd 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessorLog.java @@ -29,7 +29,7 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_R_RequestProcessorLog (Properties ctx, int R_RequestProcessorLog_ID, String trxName) @@ -146,9 +146,9 @@ public class X_R_RequestProcessorLog extends PO implements I_R_RequestProcessorL return (String)get_Value(COLUMNNAME_Reference); } - public I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException + public org.compiere.model.I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException { - return (I_R_RequestProcessor)MTable.get(getCtx(), I_R_RequestProcessor.Table_Name) + return (org.compiere.model.I_R_RequestProcessor)MTable.get(getCtx(), org.compiere.model.I_R_RequestProcessor.Table_Name) .getPO(getR_RequestProcessor_ID(), get_TrxName()); } /** Set Request Processor. diff --git a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java index ee6cb41e50..6c87051aa0 100644 --- a/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java +++ b/org.adempiere.base/src/org/compiere/model/X_R_RequestProcessor_Route.java @@ -30,7 +30,7 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess /** * */ - private static final long serialVersionUID = 20100614L; + private static final long serialVersionUID = 20120920L; /** Standard Constructor */ public X_R_RequestProcessor_Route (Properties ctx, int R_RequestProcessor_Route_ID, String trxName) @@ -73,9 +73,9 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess return sb.toString(); } - public I_AD_User getAD_User() throws RuntimeException + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException { - return (I_AD_User)MTable.get(getCtx(), I_AD_User.Table_Name) + return (org.compiere.model.I_AD_User)MTable.get(getCtx(), org.compiere.model.I_AD_User.Table_Name) .getPO(getAD_User_ID(), get_TrxName()); } /** Set User/Contact. @@ -118,9 +118,9 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess return (String)get_Value(COLUMNNAME_Keyword); } - public I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException + public org.compiere.model.I_R_RequestProcessor getR_RequestProcessor() throws RuntimeException { - return (I_R_RequestProcessor)MTable.get(getCtx(), I_R_RequestProcessor.Table_Name) + return (org.compiere.model.I_R_RequestProcessor)MTable.get(getCtx(), org.compiere.model.I_R_RequestProcessor.Table_Name) .getPO(getR_RequestProcessor_ID(), get_TrxName()); } /** Set Request Processor. @@ -169,9 +169,9 @@ public class X_R_RequestProcessor_Route extends PO implements I_R_RequestProcess return ii.intValue(); } - public I_R_RequestType getR_RequestType() throws RuntimeException + public org.compiere.model.I_R_RequestType getR_RequestType() throws RuntimeException { - return (I_R_RequestType)MTable.get(getCtx(), I_R_RequestType.Table_Name) + return (org.compiere.model.I_R_RequestType)MTable.get(getCtx(), org.compiere.model.I_R_RequestType.Table_Name) .getPO(getR_RequestType_ID(), get_TrxName()); } /** Set Request Type. diff --git a/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java b/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java index a16b892df4..8f57c13cda 100644 --- a/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java +++ b/org.adempiere.base/src/org/compiere/wf/MWorkflowProcessor.java @@ -22,7 +22,9 @@ import java.util.List; import java.util.Properties; import org.compiere.model.AdempiereProcessor; +import org.compiere.model.AdempiereProcessor2; import org.compiere.model.AdempiereProcessorLog; +import org.compiere.model.MSchedule; import org.compiere.model.Query; import org.compiere.model.X_AD_WorkflowProcessor; import org.compiere.util.DB; @@ -35,7 +37,7 @@ import org.compiere.util.DB; * @version $Id: MWorkflowProcessor.java,v 1.3 2006/07/30 00:51:05 jjanke Exp $ */ public class MWorkflowProcessor extends X_AD_WorkflowProcessor - implements AdempiereProcessor + implements AdempiereProcessor,AdempiereProcessor2 { /** * @@ -132,4 +134,25 @@ public class MWorkflowProcessor extends X_AD_WorkflowProcessor return no; } // deleteLog + + @Override + public String getFrequencyType() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.getFrequencyType(); + } + + + @Override + public int getFrequency() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.getFrequency(); + } + + + @Override + public boolean isIgnoreProcessingTime() { + MSchedule schedule=MSchedule.get(getCtx(), getAD_Schedule_ID()); + return schedule.isIgnoreProcessingTime(); + } + } // MWorkflowProcessor diff --git a/org.adempiere.server/src/main/server/org/compiere/server/AcctProcessor.java b/org.adempiere.server/src/main/server/org/compiere/server/AcctProcessor.java index 5db435d894..5c2d2bdc5a 100644 --- a/org.adempiere.server/src/main/server/org/compiere/server/AcctProcessor.java +++ b/org.adempiere.server/src/main/server/org/compiere/server/AcctProcessor.java @@ -26,11 +26,13 @@ import java.util.List; import java.util.logging.Level; import org.compiere.acct.DocManager; +import org.compiere.model.AdempiereProcessor2; import org.compiere.model.MAcctProcessor; import org.compiere.model.MAcctProcessorLog; import org.compiere.model.MAcctSchema; import org.compiere.model.MClient; import org.compiere.model.MCost; +import org.compiere.model.MSchedule; import org.compiere.util.DB; import org.compiere.util.Env; import org.compiere.util.TimeUtil; @@ -42,7 +44,7 @@ import org.compiere.util.TimeUtil; * @author Jorg Janke * @version $Id: AcctProcessor.java,v 1.3 2006/07/30 00:53:33 jjanke Exp $ */ -public class AcctProcessor extends AdempiereServer +public class AcctProcessor extends AdempiereServer { /** * Accounting Processor @@ -243,4 +245,5 @@ public class AcctProcessor extends AdempiereServer return "#" + p_runCount + " - Last=" + m_summary.toString(); } // getServerInfo + } // AcctProcessor diff --git a/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServer.java b/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServer.java index 0e887ea4d6..aea2114339 100644 --- a/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServer.java +++ b/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServer.java @@ -29,8 +29,10 @@ import org.compiere.model.MAlertProcessor; import org.compiere.model.MClient; import org.compiere.model.MLdapProcessor; import org.compiere.model.MRequestProcessor; +import org.compiere.model.MSchedule; import org.compiere.model.MScheduler; import org.compiere.model.MSystem; +import org.compiere.model.X_AD_Schedule; import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.TimeUtil; @@ -42,7 +44,7 @@ import org.compiere.wf.MWorkflowProcessor; * @author Jorg Janke * @version $Id: AdempiereServer.java,v 1.3 2006/10/09 00:23:26 jjanke Exp $ */ -public abstract class AdempiereServer extends Thread +public abstract class AdempiereServer extends Thread { /** * Create New Server Thead @@ -190,7 +192,24 @@ public abstract class AdempiereServer extends Thread * Run async */ public void run () - { + { + + if(p_model instanceof AdempiereProcessor2) + { + AdempiereProcessor2 model=(AdempiereProcessor2) p_model; + int AD_Schedule_ID = model.getAD_Schedule_ID(); + MSchedule schedule = null; + if (AD_Schedule_ID != 0) + { + schedule = MSchedule.get (getCtx(), AD_Schedule_ID); + if (!schedule.isOKtoRunOnIP()) + { + log.warning (getName() + ": Stopped - IP Restriction " + schedule); + return; // done + } + } + } + try { log.fine(getName() + ": pre-nap - " + m_initialNap); @@ -234,7 +253,7 @@ public abstract class AdempiereServer extends Thread m_runLastMS = now - p_startWork; m_runTotalMS += m_runLastMS; // - m_sleepMS = calculateSleep(); + m_sleepMS = calculateSleep(m_start); Timestamp lastRun = new Timestamp(now); if (p_model instanceof AdempiereProcessor2) { @@ -344,7 +363,7 @@ public abstract class AdempiereServer extends Thread * Calculate Sleep ms * @return miliseconds */ - private long calculateSleep () + private long calculateSleep (long now) { String frequencyType = p_model.getFrequencyType(); int frequency = p_model.getFrequency(); @@ -354,14 +373,32 @@ public abstract class AdempiereServer extends Thread long typeSec = 600; // 10 minutes if (frequencyType == null) typeSec = 300; // 5 minutes - else if (MRequestProcessor.FREQUENCYTYPE_Minute.equals(frequencyType)) + else if (X_AD_Schedule.FREQUENCYTYPE_Minute.equals(frequencyType)) typeSec = 60; - else if (MRequestProcessor.FREQUENCYTYPE_Hour.equals(frequencyType)) + else if (X_AD_Schedule.FREQUENCYTYPE_Hour.equals(frequencyType)) typeSec = 3600; - else if (MRequestProcessor.FREQUENCYTYPE_Day.equals(frequencyType)) + else if (X_AD_Schedule.FREQUENCYTYPE_Day.equals(frequencyType)) typeSec = 86400; // - return typeSec * 1000 * frequency; // ms + long sleep= typeSec * 1000 * frequency; + + if (p_model instanceof AdempiereProcessor2) + { + AdempiereProcessor2 model=(AdempiereProcessor2) p_model; + if (model.getAD_Schedule_ID() == 0) + return sleep; + + // Calculate Schedule + MSchedule schedule = MSchedule.get(getCtx(),model.getAD_Schedule_ID()); + long next = schedule.getNextRunMS(now); + long delta = next - now; + if (delta < 0) { + log.warning("Negative Delta=" + delta + " - set to " + sleep); + delta = sleep; + } + return delta; + } + return sleep; } // calculateSleep /** diff --git a/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServerMgr.java b/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServerMgr.java index 2768ef0428..3eeb828c65 100644 --- a/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServerMgr.java +++ b/org.adempiere.server/src/main/server/org/compiere/server/AdempiereServerMgr.java @@ -103,10 +103,11 @@ public class AdempiereServerMgr * Start Environment * @return true if started */ - private boolean startServers() + public boolean startServers() { log.info(""); int noServers = 0; + m_servers=new ArrayList(); // Accounting MAcctProcessor[] acctModels = MAcctProcessor.getActive(m_ctx); for (int i = 0; i < acctModels.length; i++) diff --git a/org.adempiere.server/src/main/server/org/compiere/server/Scheduler.java b/org.adempiere.server/src/main/server/org/compiere/server/Scheduler.java index 9445539277..e7b800e1f6 100644 --- a/org.adempiere.server/src/main/server/org/compiere/server/Scheduler.java +++ b/org.adempiere.server/src/main/server/org/compiere/server/Scheduler.java @@ -34,6 +34,7 @@ import org.compiere.model.MPInstance; import org.compiere.model.MPInstancePara; import org.compiere.model.MProcess; import org.compiere.model.MRole; +import org.compiere.model.MSchedule; import org.compiere.model.MScheduler; import org.compiere.model.MSchedulerLog; import org.compiere.model.MSchedulerPara; @@ -422,33 +423,39 @@ public class Scheduler extends AdempiereServer } // getServerInfo @Override - public void run() { - String cronPattern = (String) m_model.getCronPattern(); - if (cronPattern != null && cronPattern.trim().length() > 0 && SchedulingPattern.validate(cronPattern)) { - cronScheduler = new it.sauronsoftware.cron4j.Scheduler(); - cronScheduler.schedule(cronPattern, new Runnable() { - public void run() { - runNow(); - long next = predictor.nextMatchingTime(); - p_model.setDateNextRun(new Timestamp(next)); - p_model.saveEx(); - } - }); - predictor = new Predictor(cronPattern); - long next = predictor.nextMatchingTime(); - p_model.setDateNextRun(new Timestamp(next)); - p_model.saveEx(); - cronScheduler.start(); - while (true) { - if (!sleep()) { - cronScheduler.stop(); - break; - } else if (!cronScheduler.isStarted()) { - break; + public void run() + { + if (m_model.getAD_Schedule_ID() > 0) + { + MSchedule time = new MSchedule(getCtx(),m_model.getAD_Schedule_ID(), null); + String cronPattern = (String) time.getCronPattern(); + if (cronPattern != null && cronPattern.trim().length() > 0 + && SchedulingPattern.validate(cronPattern)) { + cronScheduler = new it.sauronsoftware.cron4j.Scheduler(); + cronScheduler.schedule(cronPattern, new Runnable() { + public void run() { + runNow(); + long next = predictor.nextMatchingTime(); + p_model.setDateNextRun(new Timestamp(next)); + p_model.saveEx(); + } + }); + predictor = new Predictor(cronPattern); + long next = predictor.nextMatchingTime(); + p_model.setDateNextRun(new Timestamp(next)); + p_model.saveEx(); + cronScheduler.start(); + while (true) { + if (!sleep()) { + cronScheduler.stop(); + break; + } else if (!cronScheduler.isStarted()) { + break; + } } + } else { + super.run(); } - } else { - super.run(); } } } // Scheduler diff --git a/org.adempiere.server/src/main/servlet/org/compiere/web/AdempiereMonitor.java b/org.adempiere.server/src/main/servlet/org/compiere/web/AdempiereMonitor.java index fde0c7cbbf..060b4050f8 100644 --- a/org.adempiere.server/src/main/servlet/org/compiere/web/AdempiereMonitor.java +++ b/org.adempiere.server/src/main/servlet/org/compiere/web/AdempiereMonitor.java @@ -25,12 +25,15 @@ import java.lang.management.MemoryMXBean; import java.lang.management.RuntimeMXBean; import java.lang.management.ThreadMXBean; import java.sql.Timestamp; +import java.util.Collection; +import java.util.Locale; import java.util.Properties; import java.util.logging.Level; import javax.servlet.ServletConfig; import javax.servlet.ServletException; import javax.servlet.ServletOutputStream; +import javax.servlet.http.Cookie; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -62,6 +65,7 @@ import org.compiere.model.MClient; import org.compiere.model.MStore; import org.compiere.model.MSystem; import org.compiere.server.AdempiereServer; +import org.compiere.server.AdempiereServerGroup; import org.compiere.server.AdempiereServerMgr; import org.compiere.util.CLogFile; import org.compiere.util.CLogMgt; @@ -139,12 +143,12 @@ public class AdempiereMonitor extends HttpServlet if (processRunNowParameter (request)) ; else - processActionParameter (request); + processActionParameter (request,response); if (xmlOutput) createXMLSummaryPage(request, response); else - createSummaryPage(request, response); + createSummaryPage(request, response,false); } // doGet /** @@ -265,7 +269,7 @@ public class AdempiereMonitor extends HttpServlet * Process Action Parameter * @param request request */ - private void processActionParameter (HttpServletRequest request) + private void processActionParameter (HttpServletRequest request,HttpServletResponse response) { String action = WebUtil.getParameter (request, "Action"); if (action == null || action.length() == 0) @@ -274,6 +278,7 @@ public class AdempiereMonitor extends HttpServlet try { boolean start = action.startsWith("Start"); + boolean refresh=action.startsWith("Refresh"); m_message = new p(); String msg = (start ? "Started" : "Stopped") + ": "; m_message.addElement(new strong(msg)); @@ -283,28 +288,36 @@ public class AdempiereMonitor extends HttpServlet if (serverID.equals("All")) { if (start) + { ok = m_serverMgr.startAll(); - else + } else{ ok = m_serverMgr.stopAll(); + } + m_message.addElement("All"); } else { - AdempiereServer server = m_serverMgr.getServer(serverID); - if (server == null) - { - m_message = new p(); - m_message.addElement(new strong("Server not found: ")); - m_message.addElement(serverID); - return; - } - else - { - if (start) - ok = m_serverMgr.start (serverID); - else - ok = m_serverMgr.stop (serverID); - m_message.addElement(server.getName()); + if (refresh) + { + m_serverMgr.stopAll(); + ok=m_serverMgr.startServers(); + this.createSummaryPage(request, response,true); + + } else { + AdempiereServer server = m_serverMgr.getServer(serverID); + if (server == null) { + m_message = new p(); + m_message.addElement(new strong("Server not found: ")); + m_message.addElement(serverID); + return; + } else { + if (start) + ok = m_serverMgr.start(serverID); + else + ok = m_serverMgr.stop(serverID); + m_message.addElement(server.getName()); + } } } m_message.addElement(ok ? " - OK" : " - Error!"); @@ -517,15 +530,17 @@ public class AdempiereMonitor extends HttpServlet * @throws ServletException * @throws IOException */ - private void createSummaryPage (HttpServletRequest request, HttpServletResponse response) + private void createSummaryPage (HttpServletRequest request, HttpServletResponse response,boolean refresh) throws ServletException, IOException { WebDoc doc = WebDoc.create ("Adempiere Server Monitor"); // log.info("ServletConfig=" + getServletConfig()); - // AdempiereServerGroup.get().dump(); + AdempiereServerGroup.get().dump(); // Body - body bb = doc.getBody(); + body bb=new body(); + bb = doc.getBody(); + // Message if (m_message != null) { @@ -574,11 +589,11 @@ public class AdempiereMonitor extends HttpServlet link = new a ("adempiereMonitor?Action=Stop_All", "Stop All"); para.addElement(link); para.addElement(" - "); - link = new a ("adempiereMonitor", "Refresh"); + link = new a ("adempiereMonitor?Action=Refresh", "Refresh"); para.addElement(link); bb.addElement(para); - // ***** Server Links ***** + // ***** Server Links ***** bb.addElement(new hr()); para = new p(); AdempiereServer[] servers = m_serverMgr.getAll(); @@ -602,6 +617,7 @@ public class AdempiereMonitor extends HttpServlet createLogMgtPage(bb); // ***** Server Details ***** + bb.removeEndEndModifier(); for (int i = 0; i < servers.length; i++) { AdempiereServer server = servers[i];