diff --git a/migration/i1.0a-release/oracle/201211250933_IDEMPIERE-294.sql b/migration/i1.0a-release/oracle/201211250933_IDEMPIERE-294.sql new file mode 100644 index 0000000000..9b4e184a7c --- /dev/null +++ b/migration/i1.0a-release/oracle/201211250933_IDEMPIERE-294.sql @@ -0,0 +1,2949 @@ +CREATE TABLE ad_broadcastmessage +( + ad_client_id NUMBER(10,0) NOT NULL, + ad_org_id NUMBER(10,0) NOT NULL, + isactive CHAR(1 BYTE) DEFAULT 'Y' NOT NULL, + created DATE DEFAULT SYSDATE NOT NULL , + createdby NUMBER(10,0) NOT NULL, + "updated" DATE DEFAULT SYSDATE NOT NULL, + updatedby NUMBER(10,0) NOT NULL, + broadcastfrequency NVARCHAR2(60) NOT NULL, + broadcastmessage NVARCHAR2(2000) NOT NULL, + broadcasttype NVARCHAR2(32) NOT NULL, + expiration Date, + logacknowledge CHAR(1 BYTE) DEFAULT 'N' NOT NULL, + target NVARCHAR2(60) NOT NULL, + ad_role_id NUMBER(10,0) DEFAULT NULL, + ad_user_id NUMBER(10,0) DEFAULT NULL, + testmessage character(1) DEFAULT NULL, + publish character(1) DEFAULT NULL, + expirenow character(1) DEFAULT NULL, + ad_broadcastmessage_id NUMBER(10,0) NOT NULL, + notification_client character varying(10), + ispublished CHAR(1 BYTE) DEFAULT 'N' , + processed CHAR(1 BYTE) DEFAULT 'N', + expired CHAR(1 BYTE) DEFAULT 'N', + CHECK (IsActive IN ('Y','N')) ENABLE, + CHECK (expired IN ('Y','N')) ENABLE, + CHECK (ispublished IN ('Y','N')) ENABLE, + CHECK (logacknowledge IN ('Y','N')) ENABLE, + CHECK (processed IN ('Y','N')) ENABLE, + CONSTRAINT ad_broadcastmessage_key PRIMARY KEY (ad_broadcastmessage_id )) +; + +-- Nov 24, 2012 12:56:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,CreatedBy,UpdatedBy,Created) VALUES ('N','6',0,200038,'N','N','N','N','D','N','L','720b62dc-94f3-4246-b5aa-ee6f69b4230c','Y','Y','AD_BroadcastMessage','Broadcast Messages for system users','Broadcast Message',0,'Y',0,TO_DATE('2012-11-24 12:56:02','YYYY-MM-DD HH24:MI:SS'),100,100,TO_DATE('2012-11-24 12:56:02','YYYY-MM-DD HH24:MI:SS')) +; + +-- Nov 24, 2012 12:56:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200038 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) +; + +-- Nov 24, 2012 12:56:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,StartNo,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,AD_Sequence_UU,Description,Name,IncrementNo,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive) VALUES ('N',200000,'Y',1000000,1000000,'N','Y',200034,'52f6c481-bd54-427d-8eff-0893a967256b','Table AD_BroadcastMessage','AD_BroadcastMessage',1,0,0,TO_DATE('2012-11-24 12:56:05','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-24 12:56:05','YYYY-MM-DD HH24:MI:SS'),100,'Y') +; + +-- Nov 24, 2012 12:57:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200977,'D','Y','N','N','N',10,'N',19,'N',102,'97226127-ebaa-4d09-8074-014cd14f738e','N','N','N','AD_Client_ID','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client',100,TO_DATE('2012-11-24 12:57:20','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:20','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200977 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) +; + +-- Nov 24, 2012 12:57:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200978,'D','Y','N','N','N',10,'N',19,'N',113,'ebbfe7a3-72b7-4ee9-9885-46d90ccc0b77','N','N','N','AD_Org_ID','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization',100,TO_DATE('2012-11-24 12:57:22','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:22','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200978 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) +; + +-- Nov 24, 2012 12:57:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200979,'D','Y','N','N','N',1,'N',20,'N',348,'3298c736-c408-4ba1-938f-16c0ffc4df78','N','Y','N','IsActive','The record is active in the system','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',100,TO_DATE('2012-11-24 12:57:23','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:23','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200979 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) +; + +-- Nov 24, 2012 12:57:25 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200980,'D','Y','N','N','N',29,'N',16,'N',245,'39ff0db1-1b66-4188-8756-0f51786f51a5','N','N','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created',100,TO_DATE('2012-11-24 12:57:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:24','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:25 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200980 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) +; + +-- Nov 24, 2012 12:57:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200981,'D',110,'Y','N','N','N',10,'N',18,'N',246,'d79e9cff-7232-4da0-bcef-419a8779d5bd','N','N','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By',100,TO_DATE('2012-11-24 12:57:25','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:25','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200981 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) +; + +-- Nov 24, 2012 12:57:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200982,'D','Y','N','N','N',13,'N',16,'N',607,'4346520f-4c54-4e39-ae77-2b72f0c6bb87','N','N','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated',100,TO_DATE('2012-11-24 12:57:26','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200982 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) +; + +-- Nov 24, 2012 12:57:28 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200983,'D',110,'Y','N','N','N',10,'N',18,'N',608,'918d82a3-adb8-4600-b1e8-ab93075109a7','N','N','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By',100,TO_DATE('2012-11-24 12:57:27','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:27','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:28 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200983 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) +; + +-- Nov 24, 2012 12:57:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('broadcastfrequency',200242,'D','broadcastfrequency','broadcastfrequency','c0fd20d8-ed19-4aee-88df-92b5fa836290',0,TO_DATE('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200242 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) +; + +-- Nov 24, 2012 12:57:30 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200984,'D','Y','N','N','N',60,'N',10,'N',200242,'8a5f4b34-5686-4479-a612-2cfd6730105d','N','Y','N','broadcastfrequency','broadcastfrequency',100,TO_DATE('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:30 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200984 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) +; + +-- Nov 24, 2012 12:57:31 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('broadcastmessage',200243,'D','broadcastmessage','broadcastmessage','8c17030c-7ae1-4aba-9ba2-6e3c98598bde',0,TO_DATE('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:31 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200243 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) +; + +-- Nov 24, 2012 12:57:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200985,'D','Y','N','N','N',1024,'N',14,'N',200243,'de7a6a01-7d94-41b0-a4d8-2d36b5febe0f','N','Y','N','broadcastmessage','broadcastmessage',100,TO_DATE('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200985 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) +; + +-- Nov 24, 2012 12:57:33 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('broadcasttype',200244,'D','broadcasttype','broadcasttype','fe9618b9-f5b1-443b-a237-5603424be727',0,TO_DATE('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:33 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200244 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) +; + +-- Nov 24, 2012 12:57:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200986,'D','Y','N','N','N',32,'N',10,'N',200244,'ee2b0a4c-bcab-4388-92d5-86c7b950df61','N','Y','N','broadcasttype','broadcasttype',100,TO_DATE('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200986 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) +; + +-- Nov 24, 2012 12:57:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('expiration',200245,'D','expiration','expiration','d9feb630-b638-416a-a32e-69e0947c0344',0,TO_DATE('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200245 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) +; + +-- Nov 24, 2012 12:57:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200987,'D','N','N','N','N',29,'N',16,'N',200245,'00e3d997-d2f4-4691-84f2-273e6a945732','N','Y','N','expiration','expiration',100,TO_DATE('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200987 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) +; + +-- Nov 24, 2012 12:57:45 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('logacknowledge',200246,'D','logacknowledge','logacknowledge','f0a20adc-47ed-4c3b-9f95-6cf06d983818',0,TO_DATE('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:45 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200246 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) +; + +-- Nov 24, 2012 12:57:46 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200988,'D','N','N','N','N',1,'N',20,'N',200246,'5b1a8a44-3d84-4211-95b0-6ded91259569','N','Y','N','logacknowledge','logacknowledge',100,TO_DATE('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:46 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200988 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) +; + +-- Nov 24, 2012 12:57:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('target',200247,'D','target','target','f35da3e9-5d4f-4c52-8129-ff7389c161aa',0,TO_DATE('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200247 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) +; + +-- Nov 24, 2012 12:57:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200989,'D','Y','N','N','N',60,'N',10,'N',200247,'8766b4d1-c186-4f59-b79f-0b739c213b56','N','Y','N','target','target',100,TO_DATE('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200989 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) +; + +-- Nov 24, 2012 12:57:50 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200990,'D','N','N','N','N',10,'N',19,'N',123,'d81ee55a-f71e-4f2e-850f-b9382dc3c309','N','Y','N','AD_Role_ID','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.','Role',100,TO_DATE('2012-11-24 12:57:49','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:50 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200990 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) +; + +-- Nov 24, 2012 12:57:51 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200991,'D','N','N','N','N',10,'N',19,'N',138,'5a7b6022-4cba-4ab5-8b45-6590a50ef29b','N','Y','N','AD_User_ID','User within the system - Internal or Business Partner Contact','The User identifies a unique user in the system. This could be an internal user or a business partner contact','User/Contact',100,TO_DATE('2012-11-24 12:57:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:51 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200991 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) +; + +-- Nov 24, 2012 12:57:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('testmessage',200248,'D','testmessage','testmessage','024db2d6-4fbf-475f-a920-cb849538eb08',0,TO_DATE('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200248 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) +; + +-- Nov 24, 2012 12:57:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200992,'D','N','N','N','N',1,'N',20,'N',200248,'36f6ffa0-af70-49b7-adf4-1f107d460082','N','Y','N','testmessage','testmessage',100,TO_DATE('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200992 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) +; + +-- Nov 24, 2012 12:57:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('publish',200249,'D','publish','publish','686bc1d8-d573-44e4-85c6-912952a17a2c',0,TO_DATE('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200249 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) +; + +-- Nov 24, 2012 12:57:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200993,'D','N','N','N','N',1,'N',20,'N',200249,'85ca0089-1a27-43fb-b105-e752f2d20bbc','N','Y','N','publish','publish',100,TO_DATE('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200993 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) +; + +-- Nov 24, 2012 12:57:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('expirenow',200250,'D','expirenow','expirenow','6527163e-7775-4f43-80d2-8b610b56b2df',0,TO_DATE('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200250 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) +; + +-- Nov 24, 2012 12:57:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200994,'D','N','N','N','N',1,'N',20,'N',200250,'97d17fb3-1afd-42bb-ba1c-31da1a9c5b7e','N','Y','N','expirenow','expirenow',100,TO_DATE('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200994 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) +; + +-- Nov 24, 2012 12:57:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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_BroadcastMessage_ID',200251,'D','Broadcast Message','Broadcast Message','27ffca30-a31e-40c9-915b-2f101e4d4e3e',0,TO_DATE('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200251 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) +; + +-- Nov 24, 2012 12:58:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200995,'D','Y','N','N','N',10,'N',13,'Y',200251,'f9ea1472-7d98-439b-a5dd-e517347f37f4','N','N','N','AD_BroadcastMessage_ID','Broadcast Message',100,TO_DATE('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200995 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) +; + +-- Nov 24, 2012 12:58:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('notification_client',200252,'D','notification_client','notification_client','9eea3b13-6ce5-4237-972a-67bab028928d',0,TO_DATE('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:58:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200252 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) +; + +-- Nov 24, 2012 12:58:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200996,'D','N','N','N','N',10,'N',10,'N',200252,'3a92dc2a-9eac-4af0-ab77-e11ab9cc1905','N','Y','N','notification_client','notification_client',100,TO_DATE('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200996 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) +; + +-- Nov 24, 2012 12:58:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200997,'D','N','N','N','N',1,'N',20,'N',2400,'153a43dd-6725-4b7d-8709-eb9d0ffc5c07','N','Y','N','IsPublished','The Topic is published and can be viewed','If not selected, the Topic is not visible to the general public.','Published',100,TO_DATE('2012-11-24 12:58:04','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:58:04','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200997 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) +; + +-- Nov 24, 2012 12:58:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200998,'D','N','N','N','N',1,'N',20,'N',1047,'872b2050-9f7a-4a16-8b09-d5ff131be0fd','N','Y','N','Processed','The document has been processed','The Processed checkbox indicates that a document has been processed.','Processed',100,TO_DATE('2012-11-24 12:58:05','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:58:05','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200998 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) +; + +-- Nov 24, 2012 12:58:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('expired',200253,'D','expired','expired','aa817c1d-fd43-447d-ac07-a8ee8c48084a',0,TO_DATE('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:58:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200253 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) +; + +-- Nov 24, 2012 12:58:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200999,'D','N','N','N','N',1,'N',20,'N',200253,'179ba45e-1729-46d8-8e42-2ca1454f4036','N','Y','N','expired','expired',100,TO_DATE('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200999 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) +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Broadcast Message',Updated=TO_DATE('2012-11-24 12:59:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200251 +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200251 +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='AD_BroadcastMessage_ID', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200251 +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='AD_BroadcastMessage_ID', Name='Broadcast Message', Description='Broadcast Message', Help=NULL, AD_Element_ID=200251 WHERE UPPER(ColumnName)='AD_BROADCASTMESSAGE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='AD_BroadcastMessage_ID', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200251 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200251) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 12:59:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsUpdateable='N', Name='Broadcast Messag', IsAllowCopy='N',Updated=TO_DATE('2012-11-24 12:59:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 12:59:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 12:59:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Messag', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID=200995 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='BroadcastFrequency', Description='How Many Times Message Should be Broadcasted', Name='Broadcast Frequency', PrintName='Broadcast Frequency',Updated=TO_DATE('2012-11-24 13:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200242 +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200242 +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastFrequency', Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL WHERE AD_Element_ID=200242 +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastFrequency', Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL, AD_Element_ID=200242 WHERE UPPER(ColumnName)='BROADCASTFREQUENCY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastFrequency', Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL WHERE AD_Element_ID=200242 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200242) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Broadcast Frequency', Name='Broadcast Frequency' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200242) +; + +-- Nov 24, 2012 1:01:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference (AD_Reference_ID,Name,EntityType,AD_Reference_UU,IsOrderByValue,Description,ValidationType,VFormat,AD_Client_ID,AD_Org_ID,CreatedBy,Updated,IsActive,Created,UpdatedBy) VALUES (200020,'AD_BroadcastMessage_Frequency','D','d36f1fde-2e1f-43c9-b0cb-cd0f949831e3','N','Frequency of Broadcast','L','L',0,0,100,TO_DATE('2012-11-24 13:01:37','YYYY-MM-DD HH24:MI:SS'),'Y',TO_DATE('2012-11-24 13:01:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:01:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Reference_Trl_UU ) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=200020 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Nov 24, 2012 1:02:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200045,200020,'D','Message will be broadcasted one time','Just Once','eb20103b-6c47-449d-b7f5-2e28c797beaf','J',100,TO_DATE('2012-11-24 13:02:13','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:02:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:02:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200045 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:02:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200046,200020,'D','Repeat it until message expiration value','Until Expiration','e60b5002-3fa4-49bf-aca3-d8146471a538','D',100,TO_DATE('2012-11-24 13:02:44','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:02:44','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:02:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200046 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:03:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=200020, AD_Reference_ID=17,Updated=TO_DATE('2012-11-24 13:03:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200984 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='BroadcastMessage', Description='Broadcast Message', Name='Broadcast Message', PrintName='Broadcast Message',Updated=TO_DATE('2012-11-24 13:04:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200243 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200243 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastMessage', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200243 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastMessage', Name='Broadcast Message', Description='Broadcast Message', Help=NULL, AD_Element_ID=200243 WHERE UPPER(ColumnName)='BROADCASTMESSAGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastMessage', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200243 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200243) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Broadcast Message', Name='Broadcast Message' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200243) +; + +-- Nov 24, 2012 1:04:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=34,Updated=TO_DATE('2012-11-24 13:04:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200985 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='BroadcastType', Description='Broadcast Type', Name='Broadcast Type', PrintName='Broadcast Type',Updated=TO_DATE('2012-11-24 13:05:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Broadcast Type', Help=NULL WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Broadcast Type', Help=NULL, AD_Element_ID=200244 WHERE UPPER(ColumnName)='BROADCASTTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Broadcast Type', Help=NULL WHERE AD_Element_ID=200244 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Type', Description='Broadcast Type', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200244) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:05:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Broadcast Type', Name='Broadcast Type' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200244) +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Type of Broadcast',Updated=TO_DATE('2012-11-24 13:06:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Type of Broadcast', Help=NULL WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Type of Broadcast', Help=NULL, AD_Element_ID=200244 WHERE UPPER(ColumnName)='BROADCASTTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Type of Broadcast', Help=NULL WHERE AD_Element_ID=200244 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Type', Description='Type of Broadcast', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200244) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:07:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference (AD_Reference_ID,Name,EntityType,AD_Reference_UU,IsOrderByValue,Description,ValidationType,VFormat,AD_Client_ID,AD_Org_ID,CreatedBy,Updated,IsActive,Created,UpdatedBy) VALUES (200021,'AD_BroadcastMessage_Type','D','63a15ff5-2048-4fa3-a8ec-93e4d55d9078','N','Type of broadcast messages','L','L',0,0,100,TO_DATE('2012-11-24 13:06:57','YYYY-MM-DD HH24:MI:SS'),'Y',TO_DATE('2012-11-24 13:06:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:07:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Reference_Trl_UU ) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=200021 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Nov 24, 2012 1:07:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200047,200021,'D','show a modal popup dialog to all users connected','Immediate','616b30c8-b810-4eb8-97c7-69ac8c5d042f','I',100,TO_DATE('2012-11-24 13:07:55','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:07:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:07:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200047 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200048,200021,'D','Immediate + Login','Immediate + Login','6237108e-64f8-4873-9d9b-4523d5b86f77','IL',100,TO_DATE('2012-11-24 13:08:19','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:08:19','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200048 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:08:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200049,200021,'D','Shows a modal popup dialog at login time','Login','6cd78804-e0f9-4f33-bd0d-b7fdde926648','L',100,TO_DATE('2012-11-24 13:08:41','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:08:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:08:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200049 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:08:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Ref_List SET EntityType='D',Updated=TO_DATE('2012-11-24 13:08:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=200049 +; + +-- Nov 24, 2012 1:09:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=200021, AD_Reference_ID=17,Updated=TO_DATE('2012-11-24 13:09:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200986 +; + +-- Nov 24, 2012 1:11:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Expiration', Description='Expire On', Name='Expire On', PrintName='Expire On',Updated=TO_DATE('2012-11-24 13:11:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200245 +; + +-- Nov 24, 2012 1:11:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200245 +; + +-- Nov 24, 2012 1:11:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Expiration', Name='Expire On', Description='Expire On', Help=NULL WHERE AD_Element_ID=200245 +; + +-- Nov 24, 2012 1:11:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expiration', Name='Expire On', Description='Expire On', Help=NULL, AD_Element_ID=200245 WHERE UPPER(ColumnName)='EXPIRATION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:11:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expiration', Name='Expire On', Description='Expire On', Help=NULL WHERE AD_Element_ID=200245 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:11:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Expire On', Description='Expire On', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200245) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:11:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Expire On', Name='Expire On' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200245) +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Expired', Name='Expired', PrintName='Expired',Updated=TO_DATE('2012-11-24 13:13:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200253 +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200253 +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Expired', Name='Expired', Description=NULL, Help=NULL WHERE AD_Element_ID=200253 +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expired', Name='Expired', Description=NULL, Help=NULL, AD_Element_ID=200253 WHERE UPPER(ColumnName)='EXPIRED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expired', Name='Expired', Description=NULL, Help=NULL WHERE AD_Element_ID=200253 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Expired', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200253) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Expired', Name='Expired' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200253) +; + +-- Nov 24, 2012 1:13:31 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2012-11-24 13:13:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200999 +; + +-- Nov 24, 2012 1:13:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_BroadcastMessage MODIFY Expired CHAR(1) DEFAULT 'N' +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='ExpireNow', Description='Expire the broadcast message', Name='Expire Now', PrintName='Expire Now',Updated=TO_DATE('2012-11-24 13:14:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200250 +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200250 +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='ExpireNow', Name='Expire Now', Description='Expire the broadcast message', Help=NULL WHERE AD_Element_ID=200250 +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='ExpireNow', Name='Expire Now', Description='Expire the broadcast message', Help=NULL, AD_Element_ID=200250 WHERE UPPER(ColumnName)='EXPIRENOW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='ExpireNow', Name='Expire Now', Description='Expire the broadcast message', Help=NULL WHERE AD_Element_ID=200250 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Expire Now', Description='Expire the broadcast message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200250) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Expire Now', Name='Expire Now' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200250) +; + +-- Nov 24, 2012 1:16:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (Help,AD_Process_ID,IsDirectPrint,IsReport,AD_Process_UU,AccessLevel,IsBetaFunctionality,IsServerProcess,Statistic_Seconds,Statistic_Count,ShowHelp,EntityType,CopyFromProcess,Classname,Description,Name,Value,AD_Org_ID,AD_Client_ID,Updated,UpdatedBy,Created,IsActive,CreatedBy) VALUES ('Expire BroadcastMeassage',200018,'N','N','9db3c2f0-3c8b-4b32-9101-2be9ba888888','4','N','N',0,0,'Y','D','N','org.adempiere.webui.process.ExpireBrodcastMessage','Expire BroadcastMeassage','Expire BroadcastMeassage','AD_ExpireBroadcastMeassage',0,0,TO_DATE('2012-11-24 13:16:22','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-24 13:16:22','YYYY-MM-DD HH24:MI:SS'),'Y',100) +; + +-- Nov 24, 2012 1:16:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Process_Trl_UU ) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200018 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID) +; + +-- Nov 24, 2012 1:17:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=28, AD_Process_ID=200018, ReadOnlyLogic='@IsPublished@=N | @Expired@=Y | @BroadcastFrequency@!U', IsAlwaysUpdateable='Y',Updated=TO_DATE('2012-11-24 13:17:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200994 +; + +-- Nov 24, 2012 1:17:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_BroadcastMessage MODIFY ExpireNow CHAR(1) DEFAULT NULL +; + +-- Nov 24, 2012 1:18:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2012-11-24 13:18:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200997 +; + +-- Nov 24, 2012 1:18:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_BroadcastMessage MODIFY IsPublished CHAR(1) DEFAULT 'N' +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='LogAcknowledge', Description='Want to Log the Acknowledgement of Message?', Name='Log Acknowledge', PrintName='Log Acknowledge',Updated=TO_DATE('2012-11-24 13:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200246 +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200246 +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='LogAcknowledge', Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL WHERE AD_Element_ID=200246 +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='LogAcknowledge', Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL, AD_Element_ID=200246 WHERE UPPER(ColumnName)='LOGACKNOWLEDGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='LogAcknowledge', Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL WHERE AD_Element_ID=200246 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200246) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Log Acknowledge', Name='Log Acknowledge' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200246) +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Notification_Client', Description='Notification Client', Name='Notification Client', PrintName='Notification Client',Updated=TO_DATE('2012-11-24 13:20:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200252 +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200252 +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Notification_Client', Name='Notification Client', Description='Notification Client', Help=NULL WHERE AD_Element_ID=200252 +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Notification_Client', Name='Notification Client', Description='Notification Client', Help=NULL, AD_Element_ID=200252 WHERE UPPER(ColumnName)='NOTIFICATION_CLIENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Notification_Client', Name='Notification Client', Description='Notification Client', Help=NULL WHERE AD_Element_ID=200252 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Notification Client', Description='Notification Client', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200252) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Notification Client', Name='Notification Client' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200252) +; + +-- Nov 24, 2012 1:21:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=129, AD_Reference_ID=18, MandatoryLogic='@Target@=''C''',Updated=TO_DATE('2012-11-24 13:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200996 +; + +-- Nov 24, 2012 1:22:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_DATE('2012-11-24 13:22:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200998 +; + +-- Nov 24, 2012 1:22:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Publish', Description='Publish Broadcast Message', Name='Publish', PrintName='Publish',Updated=TO_DATE('2012-11-24 13:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200249 +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200249 +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Publish', Name='Publish', Description='Publish Broadcast Message', Help=NULL WHERE AD_Element_ID=200249 +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Publish', Name='Publish', Description='Publish Broadcast Message', Help=NULL, AD_Element_ID=200249 WHERE UPPER(ColumnName)='PUBLISH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Publish', Name='Publish', Description='Publish Broadcast Message', Help=NULL WHERE AD_Element_ID=200249 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Publish', Description='Publish Broadcast Message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200249) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Publish', Name='Publish' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200249) +; + +-- Nov 24, 2012 1:24:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (Help,AD_Process_ID,IsDirectPrint,IsReport,AD_Process_UU,AccessLevel,IsBetaFunctionality,IsServerProcess,Statistic_Seconds,Statistic_Count,ShowHelp,EntityType,CopyFromProcess,Classname,Description,Name,Value,AD_Org_ID,AD_Client_ID,Updated,UpdatedBy,Created,IsActive,CreatedBy) VALUES ('Publish Broadcast message',200019,'N','N','666bef59-d884-4f68-967d-3edd2d3f0418','6','N','N',0,0,'Y','D','N','org.adempiere.webui.process.PublishBrodcastMessage','Publish Broadcast message','Publish Broadcast message','AD_PublishBrodcastMessage',0,0,TO_DATE('2012-11-24 13:24:22','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-24 13:24:22','YYYY-MM-DD HH24:MI:SS'),'Y',100) +; + +-- Nov 24, 2012 1:24:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Process_Trl_UU ) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200019 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID) +; + +-- Nov 24, 2012 1:24:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=28, AD_Process_ID=200019, ReadOnlyLogic='@IsPublished@=Y',Updated=TO_DATE('2012-11-24 13:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200993 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Target', Description='Target client', Name='Target', PrintName='Target',Updated=TO_DATE('2012-11-24 13:25:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200247 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200247 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Target', Name='Target', Description='Target client', Help=NULL WHERE AD_Element_ID=200247 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Target', Name='Target', Description='Target client', Help=NULL, AD_Element_ID=200247 WHERE UPPER(ColumnName)='TARGET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Target', Name='Target', Description='Target client', Help=NULL WHERE AD_Element_ID=200247 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Target', Description='Target client', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200247) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Target', Name='Target' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200247) +; + +-- Nov 24, 2012 1:26:41 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference (AD_Reference_ID,Name,EntityType,AD_Reference_UU,IsOrderByValue,Description,ValidationType,VFormat,AD_Client_ID,AD_Org_ID,CreatedBy,Updated,IsActive,Created,UpdatedBy) VALUES (200022,'AD_BroadcastMessag_Target','D','301456b6-04c6-410d-acd1-e03203e25339','N','Target Client','L','L',0,0,100,TO_DATE('2012-11-24 13:26:40','YYYY-MM-DD HH24:MI:SS'),'Y',TO_DATE('2012-11-24 13:26:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:26:41 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Reference_Trl_UU ) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=200022 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Nov 24, 2012 1:27:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200050,200022,'D','Client','Client','1371569d-a605-41c8-86b6-f175ef4eb390','C',100,TO_DATE('2012-11-24 13:27:28','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:27:28','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:27:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200050 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:27:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200051,200022,'D','Everybody will receive message','Everybody','294904a2-0672-46f4-91ba-cbe14be17fe0','E',100,TO_DATE('2012-11-24 13:27:55','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:27:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:27:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200051 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:28:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200052,200022,'D','Message will reach out to all users with this role','Role','ea261c96-1b82-43ce-8f6a-e1e170f2851c','R',100,TO_DATE('2012-11-24 13:28:14','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:28:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:28:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200052 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:28:34 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200053,200022,'D','User will receive message','User','3ff1c5d6-9c71-49e7-b3ea-73ee6d025b28','D',100,TO_DATE('2012-11-24 13:28:33','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:28:33','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:28:34 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200053 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:29:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Reference SET Name='AD_BroadcastMessage_Target',Updated=TO_DATE('2012-11-24 13:29:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=200022 +; + +-- Nov 24, 2012 1:29:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=200022 +; + +-- Nov 24, 2012 1:29:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=200022, AD_Reference_ID=17,Updated=TO_DATE('2012-11-24 13:29:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200989 +; + +-- Nov 24, 2012 1:30:43 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='TestMessage', Description='Test broadcast message', Name='Test Message', PrintName='Test Message',Updated=TO_DATE('2012-11-24 13:30:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200248 +; + +-- Nov 24, 2012 1:30:43 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200248 +; + +-- Nov 24, 2012 1:30:43 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='TestMessage', Name='Test Message', Description='Test broadcast message', Help=NULL WHERE AD_Element_ID=200248 +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='TestMessage', Name='Test Message', Description='Test broadcast message', Help=NULL, AD_Element_ID=200248 WHERE UPPER(ColumnName)='TESTMESSAGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='TestMessage', Name='Test Message', Description='Test broadcast message', Help=NULL WHERE AD_Element_ID=200248 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Test Message', Description='Test broadcast message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200248) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem pi SET PrintName='Test Message', Name='Test Message' WHERE IsCentrallyMaintained='Y' AND EXISTS (SELECT * FROM AD_Column c WHERE c.AD_Column_ID=pi.AD_Column_ID AND c.AD_Element_ID=200248) +; + +-- Nov 24, 2012 1:32:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (AD_Process_ID,IsDirectPrint,IsReport,AD_Process_UU,AccessLevel,IsBetaFunctionality,IsServerProcess,Statistic_Seconds,Statistic_Count,ShowHelp,EntityType,CopyFromProcess,Classname,Description,Name,Value,AD_Org_ID,AD_Client_ID,Updated,UpdatedBy,Created,IsActive,CreatedBy) VALUES (200020,'N','N','43c7fcd3-d271-45c2-a348-55caef5f8f06','6','N','N',0,0,'Y','D','N','org.adempiere.webui.process.TestBrodcastMessage','Test and verify message before broadcasting','Test Brodcast Message','AD_TestBrodcastMessage',0,0,TO_DATE('2012-11-24 13:32:11','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-24 13:32:11','YYYY-MM-DD HH24:MI:SS'),'Y',100) +; + +-- Nov 24, 2012 1:32:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Process_Trl_UU ) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200020 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID) +; + +-- Nov 24, 2012 1:32:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=28, AD_Process_ID=200020,Updated=TO_DATE('2012-11-24 13:32:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200992 +; + +-- Nov 24, 2012 1:33:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsUpdateable='N', Name='Broadcast Message',Updated=TO_DATE('2012-11-24 13:33:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 1:33:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 1:33:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID=200995 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:34:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET MandatoryLogic='@Target@=''R''',Updated=TO_DATE('2012-11-24 13:34:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200990 +; + +-- Nov 24, 2012 1:35:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET MandatoryLogic='@Target@=''U''',Updated=TO_DATE('2012-11-24 13:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200991 +; + +-- Nov 24, 2012 1:38:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_BroadcastMessage MODIFY Processed CHAR(1) DEFAULT 'N' +; + +-- Nov 24, 2012 1:41:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Window (WindowType,Help,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 ('M','Window allows to enter broadcast messages','Y','N','N',0,0,'A','Broadcast Message','Broadcast Message',200023,'N','3921057a-c9dc-478b-9606-b4d615d943e5',TO_DATE('2012-11-24 13:41:36','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-24 13:41:36','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',100,100) +; + +-- Nov 24, 2012 1:41:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200023 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) +; + +-- Nov 24, 2012 1:42:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,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',200023,10,'N','N',200038,'N','N','N','N','Y','N',0,'5127b90a-d7a3-45aa-8000-bf81cc0dc49a','A','Broadcast Message','Broadcast Message',200033,0,0,TO_DATE('2012-11-24 13:42:46','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-24 13:42:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y') +; + +-- Nov 24, 2012 1:42:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200033 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) +; + +-- Nov 24, 2012 1:42:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200979,'Y',200872,'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.','A','The record is active in the system','Active','N','Y','ff9206cf-aea4-4ccb-9598-a21826f854d9',100,0,TO_DATE('2012-11-24 13:42:57','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:42:57','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:42:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200872 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) +; + +-- Nov 24, 2012 1:43:00 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,60,'N','N',200984,'Y',200873,'N','A','How Many Times Message Should be Broadcasted','Broadcast Frequency','N','Y','4f45134f-80df-4dea-bc01-eedce2512c3e',100,0,TO_DATE('2012-11-24 13:42:59','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:42:59','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:00 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200873 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) +; + +-- Nov 24, 2012 1:43:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive,IsDisplayedGrid) VALUES ('N',200033,10,'N','N',200995,'Y',200874,'N','A','Broadcast Message','Broadcast Message','N','N','acdb5d09-5e6a-47a8-925c-856e62e66a1c',100,0,TO_DATE('2012-11-24 13:43:00','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:00','YYYY-MM-DD HH24:MI:SS'),'Y','N') +; + +-- Nov 24, 2012 1:43:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200874 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) +; + +-- Nov 24, 2012 1:43:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1024,'N','N',200985,'Y',200875,'N','A','Broadcast Message','Broadcast Message','N','Y','646e39b8-9438-4859-9bee-ade63c85a107',100,0,TO_DATE('2012-11-24 13:43:01','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:01','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200875 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) +; + +-- Nov 24, 2012 1:43:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,32,'N','N',200986,'Y',200876,'N','A','Type of Broadcast','Broadcast Type','N','Y','4429b766-6dcf-4f3c-9ea0-bb45b3056ee2',100,0,TO_DATE('2012-11-24 13:43:02','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:02','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200876 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) +; + +-- Nov 24, 2012 1:43:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200977,'Y',200877,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','A','Client/Tenant for this installation.','Client','N','Y','c3ea9198-f208-4a0c-9fd2-4f5c17cb0f0c',100,0,TO_DATE('2012-11-24 13:43:03','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:03','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200877 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) +; + +-- Nov 24, 2012 1:43:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200994,'Y',200878,'N','A','Expire the broadcast message','Expire Now','N','Y','160c097e-2de3-45d1-8dd3-fccddba9279a',100,0,TO_DATE('2012-11-24 13:43:04','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:04','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200878 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) +; + +-- Nov 24, 2012 1:43:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,29,'N','N',200987,'Y',200879,'N','A','Expire On','Expire On','N','Y','7700a7ca-014b-4229-a3a7-49d48929824f',100,0,TO_DATE('2012-11-24 13:43:05','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:05','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200879 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) +; + +-- Nov 24, 2012 1:43:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200999,'Y',200880,'N','A','Expired','N','Y','91a41749-215e-4183-91fe-f7f3de49d93d',100,0,TO_DATE('2012-11-24 13:43:06','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:06','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200880 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) +; + +-- Nov 24, 2012 1:43:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200988,'Y',200881,'N','A','Want to Log the Acknowledgement of Message?','Log Acknowledge','N','Y','1b667ff2-5905-4b86-92a2-23742182d654',100,0,TO_DATE('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200881 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) +; + +-- Nov 24, 2012 1:43:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200996,'Y',200882,'N','A','Notification Client','Notification Client','N','Y','ebcd0bdf-30c5-4f9f-9ff4-5be872cfda92',100,0,TO_DATE('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200882 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) +; + +-- Nov 24, 2012 1:43:09 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200978,'Y',200883,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','A','Organizational entity within client','Organization','N','Y','ed4a7276-ca65-41a3-af3f-466938683821',100,0,TO_DATE('2012-11-24 13:43:08','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:08','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:09 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200883 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) +; + +-- Nov 24, 2012 1:43:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200998,'Y',200884,'N','The Processed checkbox indicates that a document has been processed.','A','The document has been processed','Processed','N','Y','69a5eb2f-d1f2-4662-ae12-1da3328892c4',100,0,TO_DATE('2012-11-24 13:43:09','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:09','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200884 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) +; + +-- Nov 24, 2012 1:43:11 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200993,'Y',200885,'N','A','Publish Broadcast Message','Publish','N','Y','2522aeea-2dd0-490f-801b-18c9ffc1291f',100,0,TO_DATE('2012-11-24 13:43:10','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:10','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:11 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200885 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) +; + +-- Nov 24, 2012 1:43:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200997,'Y',200886,'N','If not selected, the Topic is not visible to the general public.','A','The Topic is published and can be viewed','Published','N','Y','26bfd1f4-cee9-471e-bc91-d5e15b06ec03',100,0,TO_DATE('2012-11-24 13:43:11','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:11','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200886 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) +; + +-- Nov 24, 2012 1:43:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200990,'Y',200887,'N','The Role determines security and access a user who has this Role will have in the System.','A','Responsibility Role','Role','N','Y','ee945909-185a-4fba-b24f-9e6d9132b86a',100,0,TO_DATE('2012-11-24 13:43:13','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:13','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200887 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) +; + +-- Nov 24, 2012 1:43:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,60,'N','N',200989,'Y',200888,'N','A','Target client','Target','N','Y','6c4ddf06-ca1c-4a17-bdb1-d55eb3eeb6bc',100,0,TO_DATE('2012-11-24 13:43:14','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:14','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200888 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) +; + +-- Nov 24, 2012 1:43:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200992,'Y',200889,'N','A','Test broadcast message','Test Message','N','Y','b4355a44-9bf0-4e08-aa36-b510191cd185',100,0,TO_DATE('2012-11-24 13:43:16','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:16','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200889 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) +; + +-- Nov 24, 2012 1:43:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200991,'Y',200890,'N','The User identifies a unique user in the system. This could be an internal user or a business partner contact','A','User within the system - Internal or Business Partner Contact','User/Contact','N','Y','1aff8aec-0672-40ba-9c76-5732a715ae4f',100,0,TO_DATE('2012-11-24 13:43:18','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 13:43:18','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200890 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) +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200884 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200877 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200883 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200875 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200876 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200888 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200882 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200887 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200890 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=200885 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200877 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200883 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200884 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=200876 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=200888 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=200875 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=200882 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=200887 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=90,IsDisplayedGrid='Y' WHERE AD_Field_ID=200890 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=100,IsDisplayedGrid='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=110,IsDisplayedGrid='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=120,IsDisplayedGrid='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=130,IsDisplayedGrid='Y' WHERE AD_Field_ID=200885 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=140,IsDisplayedGrid='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=150,IsDisplayedGrid='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 24, 2012 1:49:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200877 +; + +-- Nov 24, 2012 1:49:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=4,Updated=TO_DATE('2012-11-24 13:49:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200883 +; + +-- Nov 24, 2012 1:50:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5, NumLines=8,Updated=TO_DATE('2012-11-24 13:50:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200875 +; + +-- Nov 24, 2012 1:50:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-11-24 13:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200876 +; + +-- Nov 24, 2012 1:51:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-11-24 13:51:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200888 +; + +-- Nov 24, 2012 1:52:28 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@Target@=''C''', ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:52:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200882 +; + +-- Nov 24, 2012 1:52:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@Target@=''R''', ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:52:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200887 +; + +-- Nov 24, 2012 1:53:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@Target@=''U''', ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:53:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200890 +; + +-- Nov 24, 2012 1:53:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-11-24 13:53:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200873 +; + +-- Nov 24, 2012 1:54:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@BroadcastFrequency@=''U''', ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:54:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200879 +; + +-- Nov 24, 2012 1:55:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@BroadcastFrequency@=''U''', XPosition=5, ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:55:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200881 +; + +-- Nov 24, 2012 1:55:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:55:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889 +; + +-- Nov 24, 2012 1:56:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=5, ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:56:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200872 +; + +-- Nov 24, 2012 1:56:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:56:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878 +; + +-- Nov 24, 2012 1:57:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200880 +; + +-- Nov 24, 2012 1:57:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=5, ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:57:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200885 +; + +-- Nov 24, 2012 1:57:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=5, ColumnSpan=2,Updated=TO_DATE('2012-11-24 13:57:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200886 +; + +-- Nov 24, 2012 1:59:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 (200023,200028,'N','N','N','D','Y','Broadcast Message','Broadcast Message','W','059e2b46-f8dc-4416-aa9a-5b51c7a7130f','Y',0,100,TO_DATE('2012-11-24 13:59:28','YYYY-MM-DD HH24:MI:SS'),0,TO_DATE('2012-11-24 13:59:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:59:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200028 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) +; + +-- Nov 24, 2012 1:59:30 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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, 100, SysDate, 100,t.AD_Tree_ID, 200028, 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=200028) +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200022 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=228 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=155 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=156 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=175 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=157 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53251 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=552 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200028 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=155 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=156 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=175 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=157 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53251 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=552 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=161 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=367 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=456 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=501 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=326 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=566 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=392 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=113 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200028 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=220 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=351 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=289 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=302 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=303 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=321 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=461 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53193 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53322 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=18, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=383 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=161 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=367 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=456 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=501 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=326 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=566 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=392 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=113 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=220 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=351 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=289 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=11, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=302 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=12, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=303 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=13, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=321 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=14, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=461 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=15, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53193 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=16, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=53322 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=17, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=383 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=0, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=200028 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=1, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=583 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=2, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=578 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=3, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=570 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=4, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=579 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=5, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=576 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=6, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=587 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=7, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=588 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=8, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=584 +; + +-- Nov 24, 2012 1:59:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=9, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=574 +; + +-- Nov 24, 2012 1:59:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=10, Updated=SysDate WHERE AD_Tree_ID=10 AND Node_ID=573 +; + + + + + +-- Nov 24, 2012 3:16:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,389,201000,'D','N','N','N',0,'N',10,'N',19,'N','N',200251,'N','Y','7af23ae2-777d-497a-a9a4-9aa32322df76','N','Y','N','AD_BroadcastMessage_ID','Broadcast Message','Broadcast Message','Y',100,TO_DATE('2012-11-24 15:16:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-24 15:16:50','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Nov 24, 2012 3:16:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=201000 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) +; + +-- Nov 24, 2012 3:18:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_Note ADD AD_BroadcastMessage_ID NUMBER(10) DEFAULT NULL +; + +-- Nov 24, 2012 3:25:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET WhereClause='((AD_Note.AD_User_ID IN (0,@#AD_User_ID@) OR AD_Note.AD_User_ID IS NULL) AND AD_Note.AD_BroadcastMessage_ID IS NULL)',Updated=TO_DATE('2012-11-24 15:25:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=325 +; + +-- Nov 24, 2012 3:25:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',325,36,'N','N',60439,'Y',200891,'N','D','AD_Note_UU','N','Y','ca5dac32-b197-4dbe-b4f9-1b9ec3cf2818',100,0,TO_DATE('2012-11-24 15:25:37','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 15:25:37','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 3:25:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200891 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) +; + +-- Nov 24, 2012 3:25:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',325,10,'N','N',201000,'Y',200892,'N','D','Broadcast Message','Broadcast Message','N','Y','87d4cf8c-ff2c-49cd-8a9a-d70830a0bf54',100,0,TO_DATE('2012-11-24 15:25:39','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 15:25:39','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 3:25:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200892 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) +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200891 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=3951 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200892 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=3947 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=3946 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=3948 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=5378 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=10199 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=4632 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=9244 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=4728 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=4729 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=4726 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9243 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=8894 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=4725 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=8288 +; + + + + + +-- Nov 24, 2012 6:06:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',200023,20,'N','N',389,'N','N','N','N','Y','N',0,'de8b3fac-7476-43df-964e-4ea4ad3f2947','D','Message Log',200035,0,0,TO_DATE('2012-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y') +; + +-- Nov 24, 2012 6:06:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200035 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) +; + +-- Nov 24, 2012 6:07:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsReadOnly='Y', AD_Column_ID=201000, IsInsertRecord='N',Updated=TO_DATE('2012-11-24 18:07:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 24, 2012 6:08:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,1,'N','N',4828,'Y',200909,'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','N','Y','d9962f06-b2cd-496a-be9a-6709e5a582ff',100,0,TO_DATE('2012-11-24 18:08:01','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:01','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200909 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) +; + +-- Nov 24, 2012 6:08:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,36,'N','N',60439,'Y',200910,'N','D','AD_Note_UU','N','Y','78722e6a-eed1-49f1-9ae0-faf48eebe07c',100,0,TO_DATE('2012-11-24 18:08:03','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:03','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200910 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) +; + +-- Nov 24, 2012 6:08:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,10,'N','N',201000,'Y',200911,'N','D','Broadcast Message','Broadcast Message','N','Y','4a77c91f-da49-4a1d-9e07-7e1e5af9a003',100,0,TO_DATE('2012-11-24 18:08:04','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:04','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200911 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) +; + +-- Nov 24, 2012 6:08:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',4826,'Y',200912,'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','N','Y','214cf3b1-52bb-44f3-b371-62bc314933cc',100,0,TO_DATE('2012-11-24 18:08:06','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:06','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200912 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) +; + +-- Nov 24, 2012 6:08:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,255,'N','N',10581,'Y',200913,'N','A description is limited to 255 characters.','D','Optional short description of the record','Description','N','Y','15953a20-bd5a-4895-a7ed-05f38d910a72',100,0,TO_DATE('2012-11-24 18:08:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:07','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200913 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) +; + +-- Nov 24, 2012 6:08:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',6768,'Y',200914,'N','Information and Error messages','D','System Message','Message','N','Y','66078878-ab90-4f36-82cc-fbbb088f38a5',100,0,TO_DATE('2012-11-24 18:08:08','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:08','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200914 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) +; + +-- Nov 24, 2012 6:08:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive,IsDisplayedGrid) VALUES ('N',200035,22,'N','N',4825,'Y',200915,'N','D','System Notice','Notice','N','N','610386a3-0125-4f8a-b1ba-947964af974f',100,0,TO_DATE('2012-11-24 18:08:10','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:10','YYYY-MM-DD HH24:MI:SS'),'Y','N') +; + +-- Nov 24, 2012 6:08:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200915 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) +; + +-- Nov 24, 2012 6:08:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',4827,'Y',200916,'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','N','Y','c5b02d3e-6463-4195-95f2-73b1fce238fb',100,0,TO_DATE('2012-11-24 18:08:14','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:14','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200916 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) +; + +-- Nov 24, 2012 6:08:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,1,'N','N',9954,'Y',200917,'N','D','Process Now','N','Y','2e9b42a5-6240-4ab9-a27c-97d2775b0a48',100,0,TO_DATE('2012-11-24 18:08:15','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:15','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200917 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) +; + +-- Nov 24, 2012 6:08:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,1,'N','N',5949,'Y',200918,'N','The Processed checkbox indicates that a document has been processed.','D','The document has been processed','Processed','N','Y','fe91998f-2e61-4119-8907-000accc810a1',100,0,TO_DATE('2012-11-24 18:08:16','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:16','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200918 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) +; + +-- Nov 24, 2012 6:08:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',5958,'Y',200919,'N','The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.','D','Direct internal record ID','Record ID','N','Y','8c87eefa-9f3d-4389-a443-1ea9f103f8cc',100,0,TO_DATE('2012-11-24 18:08:17','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:17','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200919 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) +; + +-- Nov 24, 2012 6:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,60,'N','N',5950,'Y',200920,'N','The Reference displays the source document number.','D','Reference for this record','Reference','N','Y','eb60afa4-52cb-498f-b964-f30eddccdb0a',100,0,TO_DATE('2012-11-24 18:08:18','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:18','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200920 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) +; + +-- Nov 24, 2012 6:08:20 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',5957,'Y',200921,'N','The Database Table provides the information of the table definition','D','Database Table information','Table','N','Y','febe69e2-4814-42dc-9199-43bda7a523af',100,0,TO_DATE('2012-11-24 18:08:19','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:19','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:20 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200921 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) +; + +-- Nov 24, 2012 6:08:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,2000,'N','N',10806,'Y',200922,'N','D','Text Message','Text Message','N','Y','ad08bb01-9d16-4b0e-8dd5-c1b90ebe4c8e',100,0,TO_DATE('2012-11-24 18:08:20','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:20','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200922 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) +; + +-- Nov 24, 2012 6:08:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',5946,'Y',200923,'N','The User identifies a unique user in the system. This could be an internal user or a business partner contact','D','User within the system - Internal or Business Partner Contact','User/Contact','N','Y','7344d2ae-a9c5-458c-b872-47aa2f1b20be',100,0,TO_DATE('2012-11-24 18:08:21','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:21','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200923 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) +; + +-- Nov 24, 2012 6:08:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',10807,'Y',200924,'N','The Workflow Activity is the actual Workflow Node in a Workflow Process instance','D','Workflow Activity','Workflow Activity','N','Y','f04dbd2e-d4ea-46a7-8298-bc9dc7a1d188',100,0,TO_DATE('2012-11-24 18:08:22','YYYY-MM-DD HH24:MI:SS'),0,100,TO_DATE('2012-11-24 18:08:22','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200924 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) +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200910 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200909 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200911 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200913 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200914 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200917 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200918 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200919 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200920 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200921 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200922 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200923 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200924 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200914 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200923 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200924 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200921 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200919 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200920 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200922 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200913 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200911 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200917 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200918 +; + +-- Nov 24, 2012 6:13:12 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14,Updated=TO_DATE('2012-11-24 18:13:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:13:41 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=4,Updated=TO_DATE('2012-11-24 18:13:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:14:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200914 +; + +-- Nov 24, 2012 6:14:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:14:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:14:45 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:14:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:15:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=20, XPosition=4, ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200923 +; + +-- Nov 24, 2012 6:15:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:15:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200924 +; + +-- Nov 24, 2012 6:16:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:16:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200921 +; + +-- Nov 24, 2012 6:16:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=23, XPosition=5, ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:16:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200919 +; + +-- Nov 24, 2012 6:17:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-11-24 18:17:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200920 +; + +-- Nov 24, 2012 6:17:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5, NumLines=3,Updated=TO_DATE('2012-11-24 18:17:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200922 +; + +-- Nov 24, 2012 6:18:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-11-24 18:18:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200913 +; + +-- Nov 24, 2012 6:18:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_DATE('2012-11-24 18:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200911 +; + +-- Nov 24, 2012 6:18:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_DATE('2012-11-24 18:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200917 +; + +-- Nov 24, 2012 6:19:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2,Updated=TO_DATE('2012-11-24 18:19:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200918 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_DATE('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000001 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_DATE('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000002 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_DATE('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000003 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_DATE('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000004 +; + + + +-- Nov 25, 2012 11:17:32 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Tab SET TabLevel=1,Updated=TO_DATE('2012-11-25 11:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 25, 2012 11:17:53 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Tab SET AD_Column_ID=201000,Updated=TO_DATE('2012-11-25 11:17:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200887 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200890 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 25, 2012 11:24:50 AM IST +-- IDEMPIERE-293 List of Active Session +INSERT INTO AD_Tab_Customization (AD_Tab_Customization_UU,UpdatedBy,AD_Client_ID,AD_Org_ID,AD_Tab_Customization_ID,AD_Tab_ID,AD_User_ID,Created,CreatedBy,Custom,IsActive,Updated) VALUES ('a966d987-5fd9-4be5-bdf1-1a780824e343',100,0,0,1000009,101,100,TO_DATE('2012-11-25 11:24:50','YYYY-MM-DD HH24:MI:SS'),100,'1984,157,156,172,170,11264,1345,152,153,154,250,155,158,310,56279,56374,2526,200648,171,54403,2574,2573,160,161,162,166,2370,10128,4941,50188,168,159,825,4940,167,5121,56317,62467,200288,','Y',TO_DATE('2012-11-25 11:24:50','YYYY-MM-DD HH24:MI:SS')) +; + +-- Nov 25, 2012 11:26:42 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Column SET FieldLength=2000, IsToolbarButton='N',Updated=TO_DATE('2012-11-25 11:26:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200985 +; + +-- Nov 25, 2012 11:26:52 AM IST +-- IDEMPIERE-293 List of Active Session +ALTER TABLE AD_BroadcastMessage MODIFY BroadcastMessage NVARCHAR2(2000) +; + + + + + +-- Nov 25, 2012 2:25:04 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +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_BroadcastMessage_UU',200254,'D','AD_BroadcastMessage_UU','AD_BroadcastMessage_UU','046f64f9-0438-41fe-8f63-e20e1d850290',0,TO_DATE('2012-11-25 14:25:02','YYYY-MM-DD HH24:MI:SS'),TO_DATE('2012-11-25 14:25:02','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 25, 2012 2:25:04 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200254 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) +; + +-- Nov 25, 2012 2:25:38 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Column (Version,AD_Column_ID,AD_Table_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,IsToolbarButton,SeqNoSelection) VALUES (0,201001,200038,'U','N','N','N',0,'N',36,'N',10,'N','N',200254,'N','Y','2de2bb87-31ba-499d-9ca3-bfbf2cac3b71','N','Y','N','AD_BroadcastMessage_UU','AD_BroadcastMessage_UU','N',100,TO_DATE('2012-11-25 14:25:37','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_DATE('2012-11-25 14:25:37','YYYY-MM-DD HH24:MI:SS'),100,0,'N',0) +; + +-- Nov 25, 2012 2:25:38 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +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=201001 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) +; + +-- Nov 25, 2012 2:25:48 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +ALTER TABLE AD_BroadcastMessage ADD AD_BroadcastMessage_UU NVARCHAR2(36) DEFAULT NULL +; + +-- Nov 25, 2012 2:26:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_BroadcastMessage (AD_Org_ID,AD_Client_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Role_ID,AD_User_ID,AD_BroadcastMessage_ID,IsPublished,Processed,BroadcastFrequency,BroadcastMessage,BroadcastType,ExpireNow,Expired,LogAcknowledge,Publish,Target,TestMessage) VALUES (0,0,'Y',TO_DATE('2012-11-25 14:26:24','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:26:24','YYYY-MM-DD HH24:MI:SS'),100,0,100,200000,'N','N','J','testing UU','I','N','N','N','N','C','N') +; + +-- Nov 25, 2012 2:26:31 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_BroadcastMessage SET IsPublished='Y', Processed='Y',Updated=TO_DATE('2012-11-25 14:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_BroadcastMessage_ID=200000 +; + + + + + +-- Nov 25, 2012 2:35:44 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET ShowHelp='N',Updated=TO_DATE('2012-11-25 14:35:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200020 +; + +-- Nov 25, 2012 2:38:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Help='Selecting ok will publish message.',Updated=TO_DATE('2012-11-25 14:38:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:38:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:39:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Help='Selecting OK will expire current message. Do you want to expire message?',Updated=TO_DATE('2012-11-25 14:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018 +; + +-- Nov 25, 2012 2:39:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=200018 +; + +-- Nov 25, 2012 2:39:54 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Help='Selecting ok will publish message. Do you want to publish message?',Updated=TO_DATE('2012-11-25 14:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:39:54 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000009,355,'N','b9a16835-0915-4752-b336-7dcebb88a6a4','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000011,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000010,355,'N','46a6068a-d37b-4a72-9bbb-0798d5eb9fc0','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000017,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000011,355,'N','c8eeb631-0bfc-4631-ad3a-f6a99ff38c5f','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000016,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000012,355,'N','d707c301-df6a-4fad-9905-8a936e6418ce','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000012,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000013,355,'N','a1d725f6-6bd3-45a3-b4b1-b60f595ae5cd','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000013,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000014,355,'N','fc83b321-600e-43e6-bb2b-2c29f20e0674','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000010,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000015,355,'N','85fbe50a-c304-4a3f-9aa2-507841f293c1','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000014,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000016,355,'N','deb46847-8836-4c19-beae-945f358371a3','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000018,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000017,355,'N','e3963402-9ea7-4fec-853e-8212d6b83dd1','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000019,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000018,355,'N','9a1c30e3-2296-42f5-91bf-ac36362b8672','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',101,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000019,355,'N','3a2a7b82-8977-462e-9bd5-3d6f307805b9','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',50001,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000020,355,'N','3f8bd3bf-bb09-45f1-9f5f-ef00c5641ffa','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000015,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000021,355,'N','b065b06d-b696-4f7a-a80c-a50dbd01a0eb','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',100,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000022,355,'N','01ec2560-3292-401b-bd28-c542b38d2608','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',102,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_BroadcastMessage_ID) VALUES (1000023,355,'N','b5684286-7954-4f92-a4ca-e3cf438e96a8','N',0,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_BroadcastMessage SET IsPublished='Y', Processed='Y',Updated=TO_DATE('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_BroadcastMessage_ID=1000001 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200910 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200909 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200912 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200914 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200916 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200917 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200919 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200920 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200921 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200922 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200924 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=200923 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=200913 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=200918 +; + +-- Nov 25, 2012 2:44:55 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Tab SET IsReadOnly='Y', IsInsertRecord='N',Updated=TO_DATE('2012-11-25 14:44:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 26, 2012 10:09:13 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2012-11-26 10:09:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200880 +; + +-- Nov 26, 2012 10:09:23 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_DATE('2012-11-26 10:09:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200886 +; + +-- Nov 26, 2012 10:10:43 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-11-26 10:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200876 +; + +-- Nov 26, 2012 10:10:50 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-11-26 10:10:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200888 +; + +-- Nov 26, 2012 10:10:59 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_DATE('2012-11-26 10:10:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200873 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200882 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=200885 +; + + +-- Nov 30, 2012 11:57:51 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Classname='org.idempiere.broadcast.process.PublishBrodcastMessage',Updated=TO_DATE('2012-11-30 11:57:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019 +; + +-- Nov 30, 2012 11:58:23 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Classname='org.idempiere.broadcast.process.TestBrodcastMessage',Updated=TO_DATE('2012-11-30 11:58:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200020 +; + +-- Nov 30, 2012 11:58:42 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Classname='org.idempiere.broadcast.process.ExpireBrodcastMessage',Updated=TO_DATE('2012-11-30 11:58:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018 +; + + +SELECT register_migration_script('201211250933_IDEMPIERE-294.sql') FROM dual +; \ No newline at end of file diff --git a/migration/i1.0a-release/postgresql/201211250933_IDEMPIERE-294.sql b/migration/i1.0a-release/postgresql/201211250933_IDEMPIERE-294.sql new file mode 100644 index 0000000000..55a980ca35 --- /dev/null +++ b/migration/i1.0a-release/postgresql/201211250933_IDEMPIERE-294.sql @@ -0,0 +1,2960 @@ + +CREATE TABLE ad_broadcastmessage +( + ad_client_id numeric(10,0) NOT NULL, + ad_org_id numeric(10,0) NOT NULL, + isactive character(1) NOT NULL DEFAULT 'Y'::bpchar, + created timestamp without time zone NOT NULL DEFAULT now(), + createdby numeric(10,0) NOT NULL, + updated date NOT NULL DEFAULT now(), + updatedby numeric(10,0) NOT NULL, + broadcastfrequency character varying(60) NOT NULL DEFAULT NULL::character varying, + broadcastmessage character varying(1024) NOT NULL, + broadcasttype character varying(32) NOT NULL DEFAULT NULL::character varying, + expiration timestamp without time zone, + logacknowledge character(1) DEFAULT NULL::bpchar, + target character varying(60) NOT NULL DEFAULT NULL::character varying, + ad_role_id numeric(10,0) DEFAULT NULL::numeric, + ad_user_id numeric(10,0) DEFAULT NULL::numeric, + testmessage character(1) DEFAULT NULL::bpchar, + publish character(1) DEFAULT NULL::bpchar, + expirenow character(1) DEFAULT NULL::bpchar, + ad_broadcastmessage_id numeric(10,0) NOT NULL DEFAULT NULL::numeric, + notification_client character varying(10), + ispublished character(1) DEFAULT 'N'::bpchar, + processed character(1) DEFAULT 'N'::bpchar, + expired character(1) DEFAULT 'N'::bpchar, + CONSTRAINT ad_broadcastmessage_key PRIMARY KEY (ad_broadcastmessage_id ), + CONSTRAINT ad_broadcastmessage_expired_check CHECK (expired = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])), + CONSTRAINT ad_broadcastmessage_ispublished_check CHECK (ispublished = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])), + CONSTRAINT ad_broadcastmessage_logacknowledge_check CHECK (logacknowledge = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])), + CONSTRAINT ad_broadcastmessage_processed_check CHECK (processed = ANY (ARRAY['Y'::bpchar, 'N'::bpchar])) +); + +-- Nov 24, 2012 12:56:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Updated,CreatedBy,UpdatedBy,Created) VALUES ('N','6',0,200038,'N','N','N','N','D','N','L','720b62dc-94f3-4246-b5aa-ee6f69b4230c','Y','Y','AD_BroadcastMessage','Broadcast Messages for system users','Broadcast Message',0,'Y',0,TO_TIMESTAMP('2012-11-24 12:56:02','YYYY-MM-DD HH24:MI:SS'),100,100,TO_TIMESTAMP('2012-11-24 12:56:02','YYYY-MM-DD HH24:MI:SS')) +; + +-- Nov 24, 2012 12:56:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200038 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) +; + +-- Nov 24, 2012 12:56:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Sequence (StartNewYear,CurrentNextSys,IsTableID,StartNo,CurrentNext,IsAudited,IsAutoSequence,AD_Sequence_ID,AD_Sequence_UU,Description,Name,IncrementNo,AD_Org_ID,AD_Client_ID,Created,CreatedBy,Updated,UpdatedBy,IsActive) VALUES ('N',200000,'Y',1000000,1000000,'N','Y',200034,'52f6c481-bd54-427d-8eff-0893a967256b','Table AD_BroadcastMessage','AD_BroadcastMessage',1,0,0,TO_TIMESTAMP('2012-11-24 12:56:05','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-24 12:56:05','YYYY-MM-DD HH24:MI:SS'),100,'Y') +; + +-- Nov 24, 2012 12:57:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200977,'D','Y','N','N','N',10,'N',19,'N',102,'97226127-ebaa-4d09-8074-014cd14f738e','N','N','N','AD_Client_ID','Client/Tenant for this installation.','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','Client',100,TO_TIMESTAMP('2012-11-24 12:57:20','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:20','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200977 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) +; + +-- Nov 24, 2012 12:57:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200978,'D','Y','N','N','N',10,'N',19,'N',113,'ebbfe7a3-72b7-4ee9-9885-46d90ccc0b77','N','N','N','AD_Org_ID','Organizational entity within client','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','Organization',100,TO_TIMESTAMP('2012-11-24 12:57:22','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:22','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200978 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) +; + +-- Nov 24, 2012 12:57:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200979,'D','Y','N','N','N',1,'N',20,'N',348,'3298c736-c408-4ba1-938f-16c0ffc4df78','N','Y','N','IsActive','The record is active in the system','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',100,TO_TIMESTAMP('2012-11-24 12:57:23','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:23','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200979 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) +; + +-- Nov 24, 2012 12:57:25 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200980,'D','Y','N','N','N',29,'N',16,'N',245,'39ff0db1-1b66-4188-8756-0f51786f51a5','N','N','N','Created','Date this record was created','The Created field indicates the date that this record was created.','Created',100,TO_TIMESTAMP('2012-11-24 12:57:24','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:24','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:25 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200980 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) +; + +-- Nov 24, 2012 12:57:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200981,'D',110,'Y','N','N','N',10,'N',18,'N',246,'d79e9cff-7232-4da0-bcef-419a8779d5bd','N','N','N','CreatedBy','User who created this records','The Created By field indicates the user who created this record.','Created By',100,TO_TIMESTAMP('2012-11-24 12:57:25','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:25','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200981 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) +; + +-- Nov 24, 2012 12:57:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200982,'D','Y','N','N','N',13,'N',16,'N',607,'4346520f-4c54-4e39-ae77-2b72f0c6bb87','N','N','N','Updated','Date this record was updated','The Updated field indicates the date that this record was updated.','Updated',100,TO_TIMESTAMP('2012-11-24 12:57:26','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:26','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200982 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) +; + +-- Nov 24, 2012 12:57:28 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,AD_Reference_Value_ID,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200983,'D',110,'Y','N','N','N',10,'N',18,'N',608,'918d82a3-adb8-4600-b1e8-ab93075109a7','N','N','N','UpdatedBy','User who updated this records','The Updated By field indicates the user who updated this record.','Updated By',100,TO_TIMESTAMP('2012-11-24 12:57:27','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:27','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:28 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200983 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) +; + +-- Nov 24, 2012 12:57:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('broadcastfrequency',200242,'D','broadcastfrequency','broadcastfrequency','c0fd20d8-ed19-4aee-88df-92b5fa836290',0,TO_TIMESTAMP('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200242 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) +; + +-- Nov 24, 2012 12:57:30 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200984,'D','Y','N','N','N',60,'N',10,'N',200242,'8a5f4b34-5686-4479-a612-2cfd6730105d','N','Y','N','broadcastfrequency','broadcastfrequency',100,TO_TIMESTAMP('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:28','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:30 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200984 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) +; + +-- Nov 24, 2012 12:57:31 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('broadcastmessage',200243,'D','broadcastmessage','broadcastmessage','8c17030c-7ae1-4aba-9ba2-6e3c98598bde',0,TO_TIMESTAMP('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:31 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200243 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) +; + +-- Nov 24, 2012 12:57:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200985,'D','Y','N','N','N',1024,'N',14,'N',200243,'de7a6a01-7d94-41b0-a4d8-2d36b5febe0f','N','Y','N','broadcastmessage','broadcastmessage',100,TO_TIMESTAMP('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:30','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200985 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) +; + +-- Nov 24, 2012 12:57:33 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('broadcasttype',200244,'D','broadcasttype','broadcasttype','fe9618b9-f5b1-443b-a237-5603424be727',0,TO_TIMESTAMP('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:33 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200244 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) +; + +-- Nov 24, 2012 12:57:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200986,'D','Y','N','N','N',32,'N',10,'N',200244,'ee2b0a4c-bcab-4388-92d5-86c7b950df61','N','Y','N','broadcasttype','broadcasttype',100,TO_TIMESTAMP('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:32','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200986 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) +; + +-- Nov 24, 2012 12:57:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('expiration',200245,'D','expiration','expiration','d9feb630-b638-416a-a32e-69e0947c0344',0,TO_TIMESTAMP('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200245 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) +; + +-- Nov 24, 2012 12:57:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200987,'D','N','N','N','N',29,'N',16,'N',200245,'00e3d997-d2f4-4691-84f2-273e6a945732','N','Y','N','expiration','expiration',100,TO_TIMESTAMP('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:35','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200987 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) +; + +-- Nov 24, 2012 12:57:45 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('logacknowledge',200246,'D','logacknowledge','logacknowledge','f0a20adc-47ed-4c3b-9f95-6cf06d983818',0,TO_TIMESTAMP('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:45 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200246 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) +; + +-- Nov 24, 2012 12:57:46 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200988,'D','N','N','N','N',1,'N',20,'N',200246,'5b1a8a44-3d84-4211-95b0-6ded91259569','N','Y','N','logacknowledge','logacknowledge',100,TO_TIMESTAMP('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:40','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:46 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200988 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) +; + +-- Nov 24, 2012 12:57:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('target',200247,'D','target','target','f35da3e9-5d4f-4c52-8129-ff7389c161aa',0,TO_TIMESTAMP('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200247 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) +; + +-- Nov 24, 2012 12:57:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200989,'D','Y','N','N','N',60,'N',10,'N',200247,'8766b4d1-c186-4f59-b79f-0b739c213b56','N','Y','N','target','target',100,TO_TIMESTAMP('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:46','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200989 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) +; + +-- Nov 24, 2012 12:57:50 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200990,'D','N','N','N','N',10,'N',19,'N',123,'d81ee55a-f71e-4f2e-850f-b9382dc3c309','N','Y','N','AD_Role_ID','Responsibility Role','The Role determines security and access a user who has this Role will have in the System.','Role',100,TO_TIMESTAMP('2012-11-24 12:57:49','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:49','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:50 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200990 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) +; + +-- Nov 24, 2012 12:57:51 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200991,'D','N','N','N','N',10,'N',19,'N',138,'5a7b6022-4cba-4ab5-8b45-6590a50ef29b','N','Y','N','AD_User_ID','User within the system - Internal or Business Partner Contact','The User identifies a unique user in the system. This could be an internal user or a business partner contact','User/Contact',100,TO_TIMESTAMP('2012-11-24 12:57:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:50','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:51 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200991 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) +; + +-- Nov 24, 2012 12:57:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('testmessage',200248,'D','testmessage','testmessage','024db2d6-4fbf-475f-a920-cb849538eb08',0,TO_TIMESTAMP('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200248 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) +; + +-- Nov 24, 2012 12:57:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200992,'D','N','N','N','N',1,'N',20,'N',200248,'36f6ffa0-af70-49b7-adf4-1f107d460082','N','Y','N','testmessage','testmessage',100,TO_TIMESTAMP('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:51','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200992 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) +; + +-- Nov 24, 2012 12:57:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('publish',200249,'D','publish','publish','686bc1d8-d573-44e4-85c6-912952a17a2c',0,TO_TIMESTAMP('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200249 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) +; + +-- Nov 24, 2012 12:57:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200993,'D','N','N','N','N',1,'N',20,'N',200249,'85ca0089-1a27-43fb-b105-e752f2d20bbc','N','Y','N','publish','publish',100,TO_TIMESTAMP('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:53','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200993 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) +; + +-- Nov 24, 2012 12:57:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('expirenow',200250,'D','expirenow','expirenow','6527163e-7775-4f43-80d2-8b610b56b2df',0,TO_TIMESTAMP('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200250 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) +; + +-- Nov 24, 2012 12:57:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200994,'D','N','N','N','N',1,'N',20,'N',200250,'97d17fb3-1afd-42bb-ba1c-31da1a9c5b7e','N','Y','N','expirenow','expirenow',100,TO_TIMESTAMP('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:56','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:57:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200994 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) +; + +-- Nov 24, 2012 12:57:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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_BroadcastMessage_ID',200251,'D','Broadcast Message','Broadcast Message','27ffca30-a31e-40c9-915b-2f101e4d4e3e',0,TO_TIMESTAMP('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:57:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200251 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) +; + +-- Nov 24, 2012 12:58:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200995,'D','Y','N','N','N',10,'N',13,'Y',200251,'f9ea1472-7d98-439b-a5dd-e517347f37f4','N','N','N','AD_BroadcastMessage_ID','Broadcast Message',100,TO_TIMESTAMP('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:57:58','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200995 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) +; + +-- Nov 24, 2012 12:58:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('notification_client',200252,'D','Notification Client','Notification Client','9eea3b13-6ce5-4237-972a-67bab028928d',0,TO_TIMESTAMP('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:58:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200252 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) +; + +-- Nov 24, 2012 12:58:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200996,'D','N','N','N','N',10,'N',10,'N',200252,'3a92dc2a-9eac-4af0-ab77-e11ab9cc1905','N','Y','N','notification_client','notification_client',100,TO_TIMESTAMP('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:58:02','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200996 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) +; + +-- Nov 24, 2012 12:58:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200997,'D','N','N','N','N',1,'N',20,'N',2400,'153a43dd-6725-4b7d-8709-eb9d0ffc5c07','N','Y','N','IsPublished','The Topic is published and can be viewed','If not selected, the Topic is not visible to the general public.','Published',100,TO_TIMESTAMP('2012-11-24 12:58:04','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:58:04','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200997 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) +; + +-- Nov 24, 2012 12:58:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Description,Help,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200998,'D','N','N','N','N',1,'N',20,'N',1047,'872b2050-9f7a-4a16-8b09-d5ff131be0fd','N','Y','N','Processed','The document has been processed','The Processed checkbox indicates that a document has been processed.','Processed',100,TO_TIMESTAMP('2012-11-24 12:58:05','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:58:05','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200998 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) +; + +-- Nov 24, 2012 12:58:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 ('expired',200253,'D','expired','expired','aa817c1d-fd43-447d-ac07-a8ee8c48084a',0,TO_TIMESTAMP('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 24, 2012 12:58:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200253 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) +; + +-- Nov 24, 2012 12:58:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Column (Version,AD_Table_ID,AD_Column_ID,EntityType,IsMandatory,IsTranslated,IsIdentifier,IsParent,FieldLength,IsSelectionColumn,AD_Reference_ID,IsKey,AD_Element_ID,AD_Column_UU,IsEncrypted,IsUpdateable,IsAlwaysUpdateable,ColumnName,Name,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID) VALUES (0,200038,200999,'D','N','N','N','N',1,'N',20,'N',200253,'179ba45e-1729-46d8-8e42-2ca1454f4036','N','Y','N','expired','expired',100,TO_TIMESTAMP('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 12:58:06','YYYY-MM-DD HH24:MI:SS'),100,0) +; + +-- Nov 24, 2012 12:58:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200999 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) +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Broadcast Message',Updated=TO_TIMESTAMP('2012-11-24 12:59:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200251 +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200251 +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='AD_BroadcastMessage_ID', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200251 +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='AD_BroadcastMessage_ID', Name='Broadcast Message', Description='Broadcast Message', Help=NULL, AD_Element_ID=200251 WHERE UPPER(ColumnName)='AD_BROADCASTMESSAGE_ID' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='AD_BroadcastMessage_ID', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200251 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 12:59:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200251) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 12:59:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsUpdateable='N', Name='Broadcast Messag', IsAllowCopy='N',Updated=TO_TIMESTAMP('2012-11-24 12:59:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 12:59:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 12:59:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Messag', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID=200995 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='BroadcastFrequency', Description='How Many Times Message Should be Broadcasted', Name='Broadcast Frequency', PrintName='Broadcast Frequency',Updated=TO_TIMESTAMP('2012-11-24 13:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200242 +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200242 +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastFrequency', Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL WHERE AD_Element_ID=200242 +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastFrequency', Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL, AD_Element_ID=200242 WHERE UPPER(ColumnName)='BROADCASTFREQUENCY' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastFrequency', Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL WHERE AD_Element_ID=200242 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Frequency', Description='How Many Times Message Should be Broadcasted', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200242) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:00:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Broadcast Frequency', Name='Broadcast Frequency' 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=200242) +; + +-- Nov 24, 2012 1:01:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference (AD_Reference_ID,Name,EntityType,AD_Reference_UU,IsOrderByValue,Description,ValidationType,VFormat,AD_Client_ID,AD_Org_ID,CreatedBy,Updated,IsActive,Created,UpdatedBy) VALUES (200020,'AD_BroadcastMessage_Frequency','D','d36f1fde-2e1f-43c9-b0cb-cd0f949831e3','N','Frequency of Broadcast','L','L',0,0,100,TO_TIMESTAMP('2012-11-24 13:01:37','YYYY-MM-DD HH24:MI:SS'),'Y',TO_TIMESTAMP('2012-11-24 13:01:37','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:01:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Reference_Trl_UU ) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=200020 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Nov 24, 2012 1:02:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200045,200020,'D','Message will be broadcasted one time','Just Once','eb20103b-6c47-449d-b7f5-2e28c797beaf','J',100,TO_TIMESTAMP('2012-11-24 13:02:13','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:02:13','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:02:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200045 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:02:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200046,200020,'D','Repeat it until message expiration value','Until Expiration','e60b5002-3fa4-49bf-aca3-d8146471a538','D',100,TO_TIMESTAMP('2012-11-24 13:02:44','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:02:44','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:02:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200046 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:03:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=200020, AD_Reference_ID=17,Updated=TO_TIMESTAMP('2012-11-24 13:03:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200984 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='BroadcastMessage', Description='Broadcast Message', Name='Broadcast Message', PrintName='Broadcast Message',Updated=TO_TIMESTAMP('2012-11-24 13:04:15','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200243 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200243 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastMessage', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200243 +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastMessage', Name='Broadcast Message', Description='Broadcast Message', Help=NULL, AD_Element_ID=200243 WHERE UPPER(ColumnName)='BROADCASTMESSAGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastMessage', Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Element_ID=200243 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200243) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:04:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Broadcast Message', Name='Broadcast Message' 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=200243) +; + +-- Nov 24, 2012 1:04:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=34,Updated=TO_TIMESTAMP('2012-11-24 13:04:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200985 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='BroadcastType', Description='Broadcast Type', Name='Broadcast Type', PrintName='Broadcast Type',Updated=TO_TIMESTAMP('2012-11-24 13:05:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Broadcast Type', Help=NULL WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Broadcast Type', Help=NULL, AD_Element_ID=200244 WHERE UPPER(ColumnName)='BROADCASTTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Broadcast Type', Help=NULL WHERE AD_Element_ID=200244 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:05:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Type', Description='Broadcast Type', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200244) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:05:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Broadcast Type', Name='Broadcast Type' 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=200244) +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET Description='Type of Broadcast',Updated=TO_TIMESTAMP('2012-11-24 13:06:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Type of Broadcast', Help=NULL WHERE AD_Element_ID=200244 +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Type of Broadcast', Help=NULL, AD_Element_ID=200244 WHERE UPPER(ColumnName)='BROADCASTTYPE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='BroadcastType', Name='Broadcast Type', Description='Type of Broadcast', Help=NULL WHERE AD_Element_ID=200244 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:06:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Type', Description='Type of Broadcast', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200244) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:07:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference (AD_Reference_ID,Name,EntityType,AD_Reference_UU,IsOrderByValue,Description,ValidationType,VFormat,AD_Client_ID,AD_Org_ID,CreatedBy,Updated,IsActive,Created,UpdatedBy) VALUES (200021,'AD_BroadcastMessage_Type','D','63a15ff5-2048-4fa3-a8ec-93e4d55d9078','N','Type of broadcast messages','L','L',0,0,100,TO_TIMESTAMP('2012-11-24 13:06:57','YYYY-MM-DD HH24:MI:SS'),'Y',TO_TIMESTAMP('2012-11-24 13:06:57','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:07:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Reference_Trl_UU ) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=200021 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Nov 24, 2012 1:07:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200047,200021,'D','show a modal popup dialog to all users connected','Immediate','616b30c8-b810-4eb8-97c7-69ac8c5d042f','I',100,TO_TIMESTAMP('2012-11-24 13:07:55','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:07:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:07:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200047 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200048,200021,'D','Immediate + Login','Immediate + Login','6237108e-64f8-4873-9d9b-4523d5b86f77','IL',100,TO_TIMESTAMP('2012-11-24 13:08:19','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:08:19','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200048 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:08:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200049,200021,'D','Shows a modal popup dialog at login time','Login','6cd78804-e0f9-4f33-bd0d-b7fdde926648','L',100,TO_TIMESTAMP('2012-11-24 13:08:41','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:08:41','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:08:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200049 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:08:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Ref_List SET EntityType='D',Updated=TO_TIMESTAMP('2012-11-24 13:08:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Ref_List_ID=200049 +; + +-- Nov 24, 2012 1:09:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=200021, AD_Reference_ID=17,Updated=TO_TIMESTAMP('2012-11-24 13:09:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200986 +; + +-- Nov 24, 2012 1:11:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Expiration', Description='Expire On', Name='Expire On', PrintName='Expire On',Updated=TO_TIMESTAMP('2012-11-24 13:11:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200245 +; + +-- Nov 24, 2012 1:11:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200245 +; + +-- Nov 24, 2012 1:11:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Expiration', Name='Expire On', Description='Expire On', Help=NULL WHERE AD_Element_ID=200245 +; + +-- Nov 24, 2012 1:11:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expiration', Name='Expire On', Description='Expire On', Help=NULL, AD_Element_ID=200245 WHERE UPPER(ColumnName)='EXPIRATION' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:11:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expiration', Name='Expire On', Description='Expire On', Help=NULL WHERE AD_Element_ID=200245 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:11:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Expire On', Description='Expire On', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200245) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:11:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Expire On', Name='Expire On' 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=200245) +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Expired', Name='Expired', PrintName='Expired',Updated=TO_TIMESTAMP('2012-11-24 13:13:24','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200253 +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200253 +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Expired', Name='Expired', Description=NULL, Help=NULL WHERE AD_Element_ID=200253 +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expired', Name='Expired', Description=NULL, Help=NULL, AD_Element_ID=200253 WHERE UPPER(ColumnName)='EXPIRED' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Expired', Name='Expired', Description=NULL, Help=NULL WHERE AD_Element_ID=200253 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Expired', Description=NULL, Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200253) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:13:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Expired', Name='Expired' 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=200253) +; + +-- Nov 24, 2012 1:13:31 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2012-11-24 13:13:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200999 +; + +-- Nov 24, 2012 1:13:53 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_broadcastmessage','Expired','CHAR(1)',null,'N') +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='ExpireNow', Description='Expire the broadcast message', Name='Expire Now', PrintName='Expire Now',Updated=TO_TIMESTAMP('2012-11-24 13:14:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200250 +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200250 +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='ExpireNow', Name='Expire Now', Description='Expire the broadcast message', Help=NULL WHERE AD_Element_ID=200250 +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='ExpireNow', Name='Expire Now', Description='Expire the broadcast message', Help=NULL, AD_Element_ID=200250 WHERE UPPER(ColumnName)='EXPIRENOW' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='ExpireNow', Name='Expire Now', Description='Expire the broadcast message', Help=NULL WHERE AD_Element_ID=200250 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Expire Now', Description='Expire the broadcast message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200250) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:14:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Expire Now', Name='Expire Now' 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=200250) +; + +-- Nov 24, 2012 1:16:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (Help,AD_Process_ID,IsDirectPrint,IsReport,AD_Process_UU,AccessLevel,IsBetaFunctionality,IsServerProcess,Statistic_Seconds,Statistic_Count,ShowHelp,EntityType,CopyFromProcess,Classname,Description,Name,Value,AD_Org_ID,AD_Client_ID,Updated,UpdatedBy,Created,IsActive,CreatedBy) VALUES ('Expire BroadcastMeassage',200018,'N','N','9db3c2f0-3c8b-4b32-9101-2be9ba888888','4','N','N',0,0,'Y','D','N','org.adempiere.webui.process.ExpireBrodcastMessage','Expire BroadcastMeassage','Expire BroadcastMeassage','AD_ExpireBroadcastMeassage',0,0,TO_TIMESTAMP('2012-11-24 13:16:22','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-24 13:16:22','YYYY-MM-DD HH24:MI:SS'),'Y',100) +; + +-- Nov 24, 2012 1:16:26 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Process_Trl_UU ) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200018 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID) +; + +-- Nov 24, 2012 1:17:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=28, AD_Process_ID=200018, ReadOnlyLogic='@IsPublished@=N | @Expired@=Y | @BroadcastFrequency@!U', IsAlwaysUpdateable='Y',Updated=TO_TIMESTAMP('2012-11-24 13:17:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200994 +; + +-- Nov 24, 2012 1:17:24 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_broadcastmessage','ExpireNow','CHAR(1)',null,'NULL') +; + +-- Nov 24, 2012 1:18:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2012-11-24 13:18:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200997 +; + +-- Nov 24, 2012 1:18:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_broadcastmessage','IsPublished','CHAR(1)',null,'N') +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='LogAcknowledge', Description='Want to Log the Acknowledgement of Message?', Name='Log Acknowledge', PrintName='Log Acknowledge',Updated=TO_TIMESTAMP('2012-11-24 13:19:01','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200246 +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200246 +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='LogAcknowledge', Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL WHERE AD_Element_ID=200246 +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='LogAcknowledge', Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL, AD_Element_ID=200246 WHERE UPPER(ColumnName)='LOGACKNOWLEDGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='LogAcknowledge', Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL WHERE AD_Element_ID=200246 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Log Acknowledge', Description='Want to Log the Acknowledgement of Message?', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200246) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:19:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Log Acknowledge', Name='Log Acknowledge' 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=200246) +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Notification_Client', Description='Notification Client', Name='Notification Client', PrintName='Notification Client',Updated=TO_TIMESTAMP('2012-11-24 13:20:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200252 +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200252 +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Notification_Client', Name='Notification Client', Description='Notification Client', Help=NULL WHERE AD_Element_ID=200252 +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Notification_Client', Name='Notification Client', Description='Notification Client', Help=NULL, AD_Element_ID=200252 WHERE UPPER(ColumnName)='NOTIFICATION_CLIENT' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Notification_Client', Name='Notification Client', Description='Notification Client', Help=NULL WHERE AD_Element_ID=200252 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Notification Client', Description='Notification Client', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200252) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:20:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Notification Client', Name='Notification Client' 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=200252) +; + +-- Nov 24, 2012 1:21:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=129, AD_Reference_ID=18, MandatoryLogic='@Target@=''C''',Updated=TO_TIMESTAMP('2012-11-24 13:21:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200996 +; + +-- Nov 24, 2012 1:22:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET DefaultValue='N',Updated=TO_TIMESTAMP('2012-11-24 13:22:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200998 +; + +-- Nov 24, 2012 1:22:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Publish', Description='Publish Broadcast Message', Name='Publish', PrintName='Publish',Updated=TO_TIMESTAMP('2012-11-24 13:22:56','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200249 +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200249 +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Publish', Name='Publish', Description='Publish Broadcast Message', Help=NULL WHERE AD_Element_ID=200249 +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Publish', Name='Publish', Description='Publish Broadcast Message', Help=NULL, AD_Element_ID=200249 WHERE UPPER(ColumnName)='PUBLISH' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Publish', Name='Publish', Description='Publish Broadcast Message', Help=NULL WHERE AD_Element_ID=200249 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Publish', Description='Publish Broadcast Message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200249) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:22:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Publish', Name='Publish' 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=200249) +; + +-- Nov 24, 2012 1:24:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (Help,AD_Process_ID,IsDirectPrint,IsReport,AD_Process_UU,AccessLevel,IsBetaFunctionality,IsServerProcess,Statistic_Seconds,Statistic_Count,ShowHelp,EntityType,CopyFromProcess,Classname,Description,Name,Value,AD_Org_ID,AD_Client_ID,Updated,UpdatedBy,Created,IsActive,CreatedBy) VALUES ('Publish Broadcast message',200019,'N','N','666bef59-d884-4f68-967d-3edd2d3f0418','6','N','N',0,0,'Y','D','N','org.adempiere.webui.process.PublishBrodcastMessage','Publish Broadcast message','Publish Broadcast message','AD_PublishBrodcastMessage',0,0,TO_TIMESTAMP('2012-11-24 13:24:22','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-24 13:24:22','YYYY-MM-DD HH24:MI:SS'),'Y',100) +; + +-- Nov 24, 2012 1:24:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Process_Trl_UU ) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200019 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID) +; + +-- Nov 24, 2012 1:24:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=28, AD_Process_ID=200019, ReadOnlyLogic='@IsPublished@=Y',Updated=TO_TIMESTAMP('2012-11-24 13:24:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200993 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='Target', Description='Target client', Name='Target', PrintName='Target',Updated=TO_TIMESTAMP('2012-11-24 13:25:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200247 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200247 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='Target', Name='Target', Description='Target client', Help=NULL WHERE AD_Element_ID=200247 +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Target', Name='Target', Description='Target client', Help=NULL, AD_Element_ID=200247 WHERE UPPER(ColumnName)='TARGET' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='Target', Name='Target', Description='Target client', Help=NULL WHERE AD_Element_ID=200247 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Target', Description='Target client', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200247) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:25:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Target', Name='Target' 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=200247) +; + +-- Nov 24, 2012 1:26:41 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference (AD_Reference_ID,Name,EntityType,AD_Reference_UU,IsOrderByValue,Description,ValidationType,VFormat,AD_Client_ID,AD_Org_ID,CreatedBy,Updated,IsActive,Created,UpdatedBy) VALUES (200022,'AD_BroadcastMessag_Target','D','301456b6-04c6-410d-acd1-e03203e25339','N','Target Client','L','L',0,0,100,TO_TIMESTAMP('2012-11-24 13:26:40','YYYY-MM-DD HH24:MI:SS'),'Y',TO_TIMESTAMP('2012-11-24 13:26:40','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:26:41 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Reference_Trl (AD_Language,AD_Reference_ID, Help,Name,Description, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Reference_Trl_UU ) SELECT l.AD_Language,t.AD_Reference_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_Reference t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Reference_ID=200022 AND NOT EXISTS (SELECT * FROM AD_Reference_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Reference_ID=t.AD_Reference_ID) +; + +-- Nov 24, 2012 1:27:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200050,200022,'D','Client','Client','1371569d-a605-41c8-86b6-f175ef4eb390','C',100,TO_TIMESTAMP('2012-11-24 13:27:28','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:27:28','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:27:32 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200050 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:27:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200051,200022,'D','Everybody will receive message','Everybody','294904a2-0672-46f4-91ba-cbe14be17fe0','E',100,TO_TIMESTAMP('2012-11-24 13:27:55','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:27:55','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:27:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200051 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:28:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200052,200022,'D','Message will reach out to all users with this role','Role','ea261c96-1b82-43ce-8f6a-e1e170f2851c','R',100,TO_TIMESTAMP('2012-11-24 13:28:14','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:28:14','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:28:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200052 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:28:34 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List (AD_Ref_List_ID,AD_Reference_ID,EntityType,Description,Name,AD_Ref_List_UU,Value,CreatedBy,Created,Updated,UpdatedBy,IsActive,AD_Org_ID,AD_Client_ID) VALUES (200053,200022,'D','User will receive message','User','3ff1c5d6-9c71-49e7-b3ea-73ee6d025b28','D',100,TO_TIMESTAMP('2012-11-24 13:28:33','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:28:33','YYYY-MM-DD HH24:MI:SS'),100,'Y',0,0) +; + +-- Nov 24, 2012 1:28:34 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Ref_List_Trl (AD_Language,AD_Ref_List_ID, Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Ref_List_Trl_UU ) SELECT l.AD_Language,t.AD_Ref_List_ID, 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_Ref_List t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Ref_List_ID=200053 AND NOT EXISTS (SELECT * FROM AD_Ref_List_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Ref_List_ID=t.AD_Ref_List_ID) +; + +-- Nov 24, 2012 1:29:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Reference SET Name='AD_BroadcastMessage_Target',Updated=TO_TIMESTAMP('2012-11-24 13:29:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Reference_ID=200022 +; + +-- Nov 24, 2012 1:29:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Reference_Trl SET IsTranslated='N' WHERE AD_Reference_ID=200022 +; + +-- Nov 24, 2012 1:29:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_Value_ID=200022, AD_Reference_ID=17,Updated=TO_TIMESTAMP('2012-11-24 13:29:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200989 +; + +-- Nov 24, 2012 1:30:43 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element SET ColumnName='TestMessage', Description='Test broadcast message', Name='Test Message', PrintName='Test Message',Updated=TO_TIMESTAMP('2012-11-24 13:30:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Element_ID=200248 +; + +-- Nov 24, 2012 1:30:43 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Element_Trl SET IsTranslated='N' WHERE AD_Element_ID=200248 +; + +-- Nov 24, 2012 1:30:43 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET ColumnName='TestMessage', Name='Test Message', Description='Test broadcast message', Help=NULL WHERE AD_Element_ID=200248 +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='TestMessage', Name='Test Message', Description='Test broadcast message', Help=NULL, AD_Element_ID=200248 WHERE UPPER(ColumnName)='TESTMESSAGE' AND IsCentrallyMaintained='Y' AND AD_Element_ID IS NULL +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Process_Para SET ColumnName='TestMessage', Name='Test Message', Description='Test broadcast message', Help=NULL WHERE AD_Element_ID=200248 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Test Message', Description='Test broadcast message', Help=NULL WHERE AD_Column_ID IN (SELECT AD_Column_ID FROM AD_Column WHERE AD_Element_ID=200248) AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:30:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_PrintFormatItem SET PrintName='Test Message', Name='Test Message' 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=200248) +; + +-- Nov 24, 2012 1:32:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process (AD_Process_ID,IsDirectPrint,IsReport,AD_Process_UU,AccessLevel,IsBetaFunctionality,IsServerProcess,Statistic_Seconds,Statistic_Count,ShowHelp,EntityType,CopyFromProcess,Classname,Description,Name,Value,AD_Org_ID,AD_Client_ID,Updated,UpdatedBy,Created,IsActive,CreatedBy) VALUES (200020,'N','N','43c7fcd3-d271-45c2-a348-55caef5f8f06','6','N','N',0,0,'Y','D','N','org.adempiere.webui.process.TestBrodcastMessage','Test and verify message before broadcasting','Test Brodcast Message','AD_TestBrodcastMessage',0,0,TO_TIMESTAMP('2012-11-24 13:32:11','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-24 13:32:11','YYYY-MM-DD HH24:MI:SS'),'Y',100) +; + +-- Nov 24, 2012 1:32:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Process_Trl (AD_Language,AD_Process_ID, Help,Description,Name, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Process_Trl_UU ) SELECT l.AD_Language,t.AD_Process_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_Process t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Process_ID=200020 AND NOT EXISTS (SELECT * FROM AD_Process_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Process_ID=t.AD_Process_ID) +; + +-- Nov 24, 2012 1:32:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET AD_Reference_ID=28, AD_Process_ID=200020,Updated=TO_TIMESTAMP('2012-11-24 13:32:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200992 +; + +-- Nov 24, 2012 1:33:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET IsUpdateable='N', Name='Broadcast Message',Updated=TO_TIMESTAMP('2012-11-24 13:33:14','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 1:33:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column_Trl SET IsTranslated='N' WHERE AD_Column_ID=200995 +; + +-- Nov 24, 2012 1:33:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET Name='Broadcast Message', Description='Broadcast Message', Help=NULL WHERE AD_Column_ID=200995 AND IsCentrallyMaintained='Y' +; + +-- Nov 24, 2012 1:34:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET MandatoryLogic='@Target@=''R''',Updated=TO_TIMESTAMP('2012-11-24 13:34:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200990 +; + +-- Nov 24, 2012 1:35:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Column SET MandatoryLogic='@Target@=''U''',Updated=TO_TIMESTAMP('2012-11-24 13:35:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200991 +; + +-- Nov 24, 2012 1:38:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO t_alter_column values('ad_broadcastmessage','Processed','CHAR(1)',null,'N') +; + +-- Nov 24, 2012 1:41:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Window (WindowType,Help,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 ('M','Window allows to enter broadcast messages','Y','N','N',0,0,'A','Broadcast Message','Broadcast Message',200023,'N','3921057a-c9dc-478b-9606-b4d615d943e5',TO_TIMESTAMP('2012-11-24 13:41:36','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-24 13:41:36','YYYY-MM-DD HH24:MI:SS'),0,0,'Y',100,100) +; + +-- Nov 24, 2012 1:41:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200023 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) +; + +-- Nov 24, 2012 1:42:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,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',200023,10,'N','N',200038,'N','N','N','N','Y','N',0,'5127b90a-d7a3-45aa-8000-bf81cc0dc49a','A','Broadcast Message','Broadcast Message',200033,0,0,TO_TIMESTAMP('2012-11-24 13:42:46','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-24 13:42:46','YYYY-MM-DD HH24:MI:SS'),100,'N','Y') +; + +-- Nov 24, 2012 1:42:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200033 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) +; + +-- Nov 24, 2012 1:42:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200979,'Y',200872,'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.','A','The record is active in the system','Active','N','Y','ff9206cf-aea4-4ccb-9598-a21826f854d9',100,0,TO_TIMESTAMP('2012-11-24 13:42:57','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:42:57','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:42:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200872 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) +; + +-- Nov 24, 2012 1:43:00 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,60,'N','N',200984,'Y',200873,'N','A','How Many Times Message Should be Broadcasted','Broadcast Frequency','N','Y','4f45134f-80df-4dea-bc01-eedce2512c3e',100,0,TO_TIMESTAMP('2012-11-24 13:42:59','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:42:59','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:00 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200873 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) +; + +-- Nov 24, 2012 1:43:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive,IsDisplayedGrid) VALUES ('N',200033,10,'N','N',200995,'Y',200874,'N','A','Broadcast Message','Broadcast Message','N','N','acdb5d09-5e6a-47a8-925c-856e62e66a1c',100,0,TO_TIMESTAMP('2012-11-24 13:43:00','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:00','YYYY-MM-DD HH24:MI:SS'),'Y','N') +; + +-- Nov 24, 2012 1:43:01 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200874 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) +; + +-- Nov 24, 2012 1:43:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1024,'N','N',200985,'Y',200875,'N','A','Broadcast Message','Broadcast Message','N','Y','646e39b8-9438-4859-9bee-ade63c85a107',100,0,TO_TIMESTAMP('2012-11-24 13:43:01','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:01','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200875 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) +; + +-- Nov 24, 2012 1:43:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,32,'N','N',200986,'Y',200876,'N','A','Type of Broadcast','Broadcast Type','N','Y','4429b766-6dcf-4f3c-9ea0-bb45b3056ee2',100,0,TO_TIMESTAMP('2012-11-24 13:43:02','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:02','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200876 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) +; + +-- Nov 24, 2012 1:43:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200977,'Y',200877,'N','A Client is a company or a legal entity. You cannot share data between Clients. Tenant is a synonym for Client.','A','Client/Tenant for this installation.','Client','N','Y','c3ea9198-f208-4a0c-9fd2-4f5c17cb0f0c',100,0,TO_TIMESTAMP('2012-11-24 13:43:03','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:03','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200877 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) +; + +-- Nov 24, 2012 1:43:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200994,'Y',200878,'N','A','Expire the broadcast message','Expire Now','N','Y','160c097e-2de3-45d1-8dd3-fccddba9279a',100,0,TO_TIMESTAMP('2012-11-24 13:43:04','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:04','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200878 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) +; + +-- Nov 24, 2012 1:43:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,29,'N','N',200987,'Y',200879,'N','A','Expire On','Expire On','N','Y','7700a7ca-014b-4229-a3a7-49d48929824f',100,0,TO_TIMESTAMP('2012-11-24 13:43:05','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:05','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200879 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) +; + +-- Nov 24, 2012 1:43:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200999,'Y',200880,'N','A','Expired','N','Y','91a41749-215e-4183-91fe-f7f3de49d93d',100,0,TO_TIMESTAMP('2012-11-24 13:43:06','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:06','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200880 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) +; + +-- Nov 24, 2012 1:43:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200988,'Y',200881,'N','A','Want to Log the Acknowledgement of Message?','Log Acknowledge','N','Y','1b667ff2-5905-4b86-92a2-23742182d654',100,0,TO_TIMESTAMP('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200881 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) +; + +-- Nov 24, 2012 1:43:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200996,'Y',200882,'N','A','Notification Client','Notification Client','N','Y','ebcd0bdf-30c5-4f9f-9ff4-5be872cfda92',100,0,TO_TIMESTAMP('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:07','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200882 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) +; + +-- Nov 24, 2012 1:43:09 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200978,'Y',200883,'N','An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.','A','Organizational entity within client','Organization','N','Y','ed4a7276-ca65-41a3-af3f-466938683821',100,0,TO_TIMESTAMP('2012-11-24 13:43:08','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:08','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:09 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200883 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) +; + +-- Nov 24, 2012 1:43:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200998,'Y',200884,'N','The Processed checkbox indicates that a document has been processed.','A','The document has been processed','Processed','N','Y','69a5eb2f-d1f2-4662-ae12-1da3328892c4',100,0,TO_TIMESTAMP('2012-11-24 13:43:09','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:09','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200884 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) +; + +-- Nov 24, 2012 1:43:11 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200993,'Y',200885,'N','A','Publish Broadcast Message','Publish','N','Y','2522aeea-2dd0-490f-801b-18c9ffc1291f',100,0,TO_TIMESTAMP('2012-11-24 13:43:10','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:10','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:11 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200885 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) +; + +-- Nov 24, 2012 1:43:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200997,'Y',200886,'N','If not selected, the Topic is not visible to the general public.','A','The Topic is published and can be viewed','Published','N','Y','26bfd1f4-cee9-471e-bc91-d5e15b06ec03',100,0,TO_TIMESTAMP('2012-11-24 13:43:11','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:11','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:13 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200886 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) +; + +-- Nov 24, 2012 1:43:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200990,'Y',200887,'N','The Role determines security and access a user who has this Role will have in the System.','A','Responsibility Role','Role','N','Y','ee945909-185a-4fba-b24f-9e6d9132b86a',100,0,TO_TIMESTAMP('2012-11-24 13:43:13','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:13','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200887 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) +; + +-- Nov 24, 2012 1:43:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,60,'N','N',200989,'Y',200888,'N','A','Target client','Target','N','Y','6c4ddf06-ca1c-4a17-bdb1-d55eb3eeb6bc',100,0,TO_TIMESTAMP('2012-11-24 13:43:14','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:14','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200888 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) +; + +-- Nov 24, 2012 1:43:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,1,'N','N',200992,'Y',200889,'N','A','Test broadcast message','Test Message','N','Y','b4355a44-9bf0-4e08-aa36-b510191cd185',100,0,TO_TIMESTAMP('2012-11-24 13:43:16','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:16','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200889 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) +; + +-- Nov 24, 2012 1:43:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200033,10,'N','N',200991,'Y',200890,'N','The User identifies a unique user in the system. This could be an internal user or a business partner contact','A','User within the system - Internal or Business Partner Contact','User/Contact','N','Y','1aff8aec-0672-40ba-9c76-5732a715ae4f',100,0,TO_TIMESTAMP('2012-11-24 13:43:18','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 13:43:18','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 1:43:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200890 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) +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200884 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200877 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200883 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200875 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200876 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200888 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200882 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200887 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200890 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=200885 +; + +-- Nov 24, 2012 1:47:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200877 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200883 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200884 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=200876 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=200888 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=40,IsDisplayedGrid='Y' WHERE AD_Field_ID=200875 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=50,IsDisplayedGrid='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=60,IsDisplayedGrid='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=70,IsDisplayedGrid='Y' WHERE AD_Field_ID=200882 +; + +-- Nov 24, 2012 1:48:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=80,IsDisplayedGrid='Y' WHERE AD_Field_ID=200887 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=90,IsDisplayedGrid='Y' WHERE AD_Field_ID=200890 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=100,IsDisplayedGrid='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=110,IsDisplayedGrid='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=120,IsDisplayedGrid='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=130,IsDisplayedGrid='Y' WHERE AD_Field_ID=200885 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=140,IsDisplayedGrid='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 24, 2012 1:48:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNoGrid=150,IsDisplayedGrid='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 24, 2012 1:49:36 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:49:36','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200877 +; + +-- Nov 24, 2012 1:49:57 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=4,Updated=TO_TIMESTAMP('2012-11-24 13:49:57','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200883 +; + +-- Nov 24, 2012 1:50:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5, NumLines=8,Updated=TO_TIMESTAMP('2012-11-24 13:50:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200875 +; + +-- Nov 24, 2012 1:50:49 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-11-24 13:50:49','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200876 +; + +-- Nov 24, 2012 1:51:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-11-24 13:51:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200888 +; + +-- Nov 24, 2012 1:52:28 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@Target@=''C''', ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:52:28','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200882 +; + +-- Nov 24, 2012 1:52:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@Target@=''R''', ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:52:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200887 +; + +-- Nov 24, 2012 1:53:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@Target@=''U''', ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:53:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200890 +; + +-- Nov 24, 2012 1:53:42 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-11-24 13:53:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200873 +; + +-- Nov 24, 2012 1:54:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@BroadcastFrequency@=''U''', ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:54:18','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200879 +; + +-- Nov 24, 2012 1:55:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLogic='@BroadcastFrequency@=''U''', XPosition=5, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:55:04','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200881 +; + +-- Nov 24, 2012 1:55:59 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:55:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200889 +; + +-- Nov 24, 2012 1:56:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=5, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:56:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200872 +; + +-- Nov 24, 2012 1:56:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:56:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200878 +; + +-- Nov 24, 2012 1:57:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:57:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200880 +; + +-- Nov 24, 2012 1:57:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=5, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:57:22','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200885 +; + +-- Nov 24, 2012 1:57:44 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=5, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 13:57:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200886 +; + +-- Nov 24, 2012 1:59:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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 (200023,200028,'N','N','N','D','Y','Broadcast Message','Broadcast Message','W','059e2b46-f8dc-4416-aa9a-5b51c7a7130f','Y',0,100,TO_TIMESTAMP('2012-11-24 13:59:28','YYYY-MM-DD HH24:MI:SS'),0,TO_TIMESTAMP('2012-11-24 13:59:28','YYYY-MM-DD HH24:MI:SS'),100) +; + +-- Nov 24, 2012 1:59:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200028 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) +; + +-- Nov 24, 2012 1:59:30 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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, 100, CURRENT_TIMESTAMP, 100,t.AD_Tree_ID, 200028, 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=200028) +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=218 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=153 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=263 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=166 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=203 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53242 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=236 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=183 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=160 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=278 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=345 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53014 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53108 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200022 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=0, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=228 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=155 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=156 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=175 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=157 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53251 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=552 +; + +-- Nov 24, 2012 1:59:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200028 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=155 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=156 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=175 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=157 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53251 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=218, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=552 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=161 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=367 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=456 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=501 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=326 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=566 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=392 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=113 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200028 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=220 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=351 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=289 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=302 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=303 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=321 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=461 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53193 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53322 +; + +-- Nov 24, 2012 1:59:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=18, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=383 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=161 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=367 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=456 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=501 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=326 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=566 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=392 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=113 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=220 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=351 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=289 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=11, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=302 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=12, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=303 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=13, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=321 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=14, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=461 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=15, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53193 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=16, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=53322 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=155, SeqNo=17, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=383 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=0, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=200028 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=1, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=583 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=2, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=578 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=3, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=570 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=4, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=579 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=5, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=576 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=6, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=587 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=7, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=588 +; + +-- Nov 24, 2012 1:59:55 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=8, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=584 +; + +-- Nov 24, 2012 1:59:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=9, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=574 +; + +-- Nov 24, 2012 1:59:56 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_TreeNodeMM SET Parent_ID=566, SeqNo=10, Updated=CURRENT_TIMESTAMP WHERE AD_Tree_ID=10 AND Node_ID=573 +; + + + + + + + + +-- Nov 24, 2012 3:16:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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,Name,IsAllowCopy,CreatedBy,Updated,AD_Org_ID,IsActive,Created,UpdatedBy,AD_Client_ID,SeqNoSelection) VALUES (0,389,201000,'D','N','N','N',0,'N',10,'N',19,'N','N',200251,'N','Y','7af23ae2-777d-497a-a9a4-9aa32322df76','N','Y','N','AD_BroadcastMessage_ID','Broadcast Message','Broadcast Message','Y',100,TO_TIMESTAMP('2012-11-24 15:16:50','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-24 15:16:50','YYYY-MM-DD HH24:MI:SS'),100,0,0) +; + +-- Nov 24, 2012 3:16:52 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=201000 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) +; + +-- Nov 24, 2012 3:18:05 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +ALTER TABLE AD_Note ADD COLUMN AD_BroadcastMessage_ID NUMERIC(10) DEFAULT NULL +; + +-- Nov 24, 2012 3:25:27 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET WhereClause='((AD_Note.AD_User_ID IN (0,@#AD_User_ID@) OR AD_Note.AD_User_ID IS NULL) AND AD_Note.AD_BroadcastMessage_ID IS NULL)',Updated=TO_TIMESTAMP('2012-11-24 15:25:27','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=325 +; + +-- Nov 24, 2012 3:25:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',325,36,'N','N',60439,'Y',200891,'N','D','AD_Note_UU','N','Y','ca5dac32-b197-4dbe-b4f9-1b9ec3cf2818',100,0,TO_TIMESTAMP('2012-11-24 15:25:37','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 15:25:37','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 3:25:38 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200891 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) +; + +-- Nov 24, 2012 3:25:39 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',325,10,'N','N',201000,'Y',200892,'N','D','Broadcast Message','Broadcast Message','N','Y','87d4cf8c-ff2c-49cd-8a9a-d70830a0bf54',100,0,TO_TIMESTAMP('2012-11-24 15:25:39','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 15:25:39','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 3:25:40 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200892 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) +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200891 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=3951 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200892 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=3947 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=3946 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=3948 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=5378 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=10199 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=4632 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=9244 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=4728 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=4729 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=4726 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=9243 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=8894 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=4725 +; + +-- Nov 24, 2012 3:34:02 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=8288 +; + +SELECT register_migration_script('201211250933_IDEMPIERE-294.sql') FROM dual +; + + + + + + + + +-- Nov 24, 2012 6:06:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Tab (IsSingleRow,AD_Window_ID,SeqNo,IsTranslationTab,IsSortTab,AD_Table_ID,ImportFields,HasTree,IsReadOnly,IsInfoTab,IsInsertRecord,IsAdvancedTab,TabLevel,AD_Tab_UU,EntityType,Name,AD_Tab_ID,AD_Client_ID,AD_Org_ID,Created,CreatedBy,Updated,UpdatedBy,Processing,IsActive) VALUES ('N',200023,20,'N','N',389,'N','N','N','N','Y','N',0,'de8b3fac-7476-43df-964e-4ea4ad3f2947','D','Message Log',200035,0,0,TO_TIMESTAMP('2012-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-24 18:06:22','YYYY-MM-DD HH24:MI:SS'),100,'N','Y') +; + +-- Nov 24, 2012 6:06:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200035 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) +; + +-- Nov 24, 2012 6:07:47 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Tab SET IsReadOnly='Y', AD_Column_ID=201000, IsInsertRecord='N',Updated=TO_TIMESTAMP('2012-11-24 18:07:47','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 24, 2012 6:08:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,1,'N','N',4828,'Y',200909,'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','N','Y','d9962f06-b2cd-496a-be9a-6709e5a582ff',100,0,TO_TIMESTAMP('2012-11-24 18:08:01','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:01','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200909 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) +; + +-- Nov 24, 2012 6:08:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,36,'N','N',60439,'Y',200910,'N','D','AD_Note_UU','N','Y','78722e6a-eed1-49f1-9ae0-faf48eebe07c',100,0,TO_TIMESTAMP('2012-11-24 18:08:03','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:03','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:04 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200910 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) +; + +-- Nov 24, 2012 6:08:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,10,'N','N',201000,'Y',200911,'N',D','Broadcast Message','Broadcast Message','N','Y','4a77c91f-da49-4a1d-9e07-7e1e5af9a003',100,0,TO_TIMESTAMP('2012-11-24 18:08:04','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:04','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200911 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) +; + +-- Nov 24, 2012 6:08:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',4826,'Y',200912,'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','N','Y','214cf3b1-52bb-44f3-b371-62bc314933cc',100,0,TO_TIMESTAMP('2012-11-24 18:08:06','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:06','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:07 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200912 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) +; + +-- Nov 24, 2012 6:08:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,255,'N','N',10581,'Y',200913,'N','A description is limited to 255 characters.','D','Optional short description of the record','Description','N','Y','15953a20-bd5a-4895-a7ed-05f38d910a72',100,0,TO_TIMESTAMP('2012-11-24 18:08:07','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:07','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:08 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200913 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) +; + +-- Nov 24, 2012 6:08:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',6768,'Y',200914,'N','Information and Error messages','D','System Message','Message','N','Y','66078878-ab90-4f36-82cc-fbbb088f38a5',100,0,TO_TIMESTAMP('2012-11-24 18:08:08','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:08','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:10 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200914 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) +; + +-- Nov 24, 2012 6:08:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive,IsDisplayedGrid) VALUES ('N',200035,22,'N','N',4825,'Y',200915,'N','D','System Notice','Notice','N','N','610386a3-0125-4f8a-b1ba-947964af974f',100,0,TO_TIMESTAMP('2012-11-24 18:08:10','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:10','YYYY-MM-DD HH24:MI:SS'),'Y','N') +; + +-- Nov 24, 2012 6:08:14 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200915 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) +; + +-- Nov 24, 2012 6:08:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',4827,'Y',200916,'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','N','Y','c5b02d3e-6463-4195-95f2-73b1fce238fb',100,0,TO_TIMESTAMP('2012-11-24 18:08:14','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:14','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:15 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200916 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) +; + +-- Nov 24, 2012 6:08:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,1,'N','N',9954,'Y',200917,'N','D','Process Now','N','Y','2e9b42a5-6240-4ab9-a27c-97d2775b0a48',100,0,TO_TIMESTAMP('2012-11-24 18:08:15','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:15','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200917 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) +; + +-- Nov 24, 2012 6:08:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,1,'N','N',5949,'Y',200918,'N','The Processed checkbox indicates that a document has been processed.','D','The document has been processed','Processed','N','Y','fe91998f-2e61-4119-8907-000accc810a1',100,0,TO_TIMESTAMP('2012-11-24 18:08:16','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:16','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200918 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) +; + +-- Nov 24, 2012 6:08:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',5958,'Y',200919,'N','The Record ID is the internal unique identifier of a record. Please note that zooming to the record may not be successful for Orders, Invoices and Shipment/Receipts as sometimes the Sales Order type is not known.','D','Direct internal record ID','Record ID','N','Y','8c87eefa-9f3d-4389-a443-1ea9f103f8cc',100,0,TO_TIMESTAMP('2012-11-24 18:08:17','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:17','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:18 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200919 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) +; + +-- Nov 24, 2012 6:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,60,'N','N',5950,'Y',200920,'N','The Reference displays the source document number.','D','Reference for this record','Reference','N','Y','eb60afa4-52cb-498f-b964-f30eddccdb0a',100,0,TO_TIMESTAMP('2012-11-24 18:08:18','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:18','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:19 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200920 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) +; + +-- Nov 24, 2012 6:08:20 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',5957,'Y',200921,'N','The Database Table provides the information of the table definition','D','Database Table information','Table','N','Y','febe69e2-4814-42dc-9199-43bda7a523af',100,0,TO_TIMESTAMP('2012-11-24 18:08:19','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:19','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:20 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200921 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) +; + +-- Nov 24, 2012 6:08:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,2000,'N','N',10806,'Y',200922,'N','D','Text Message','Text Message','N','Y','ad08bb01-9d16-4b0e-8dd5-c1b90ebe4c8e',100,0,TO_TIMESTAMP('2012-11-24 18:08:20','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:20','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200922 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) +; + +-- Nov 24, 2012 6:08:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',5946,'Y',200923,'N','The User identifies a unique user in the system. This could be an internal user or a business partner contact','D','User within the system - Internal or Business Partner Contact','User/Contact','N','Y','7344d2ae-a9c5-458c-b872-47aa2f1b20be',100,0,TO_TIMESTAMP('2012-11-24 18:08:21','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:21','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:22 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200923 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) +; + +-- Nov 24, 2012 6:08:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +INSERT INTO AD_Field (IsEncrypted,AD_Tab_ID,DisplayLength,IsSameLine,IsHeading,AD_Column_ID,IsCentrallyMaintained,AD_Field_ID,IsReadOnly,Help,EntityType,Description,Name,IsFieldOnly,IsDisplayed,AD_Field_UU,UpdatedBy,AD_Org_ID,Created,AD_Client_ID,CreatedBy,Updated,IsActive) VALUES ('N',200035,22,'N','N',10807,'Y',200924,'N','The Workflow Activity is the actual Workflow Node in a Workflow Process instance','D','Workflow Activity','Workflow Activity','N','Y','f04dbd2e-d4ea-46a7-8298-bc9dc7a1d188',100,0,TO_TIMESTAMP('2012-11-24 18:08:22','YYYY-MM-DD HH24:MI:SS'),0,100,TO_TIMESTAMP('2012-11-24 18:08:22','YYYY-MM-DD HH24:MI:SS'),'Y') +; + +-- Nov 24, 2012 6:08:23 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +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=200924 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) +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200910 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=0,IsDisplayed='N' WHERE AD_Field_ID=200909 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200911 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200913 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200914 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200917 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200918 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200919 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200920 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200921 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200922 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200923 +; + +-- Nov 24, 2012 6:09:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200924 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=10,IsDisplayed='Y' WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=20,IsDisplayed='Y' WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=30,IsDisplayed='Y' WHERE AD_Field_ID=200914 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=40,IsDisplayed='Y' WHERE AD_Field_ID=200923 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=50,IsDisplayed='Y' WHERE AD_Field_ID=200924 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200921 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200919 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200920 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200922 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200913 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200911 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200917 +; + +-- Nov 24, 2012 6:12:48 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200918 +; + +-- Nov 24, 2012 6:13:12 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14,Updated=TO_TIMESTAMP('2012-11-24 18:13:12','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:13:41 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=4,Updated=TO_TIMESTAMP('2012-11-24 18:13:41','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:14:06 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:14:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200914 +; + +-- Nov 24, 2012 6:14:29 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:14:29','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200916 +; + +-- Nov 24, 2012 6:14:45 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:14:45','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200912 +; + +-- Nov 24, 2012 6:15:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=20, XPosition=4, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:15:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200923 +; + +-- Nov 24, 2012 6:15:37 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:15:37','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200924 +; + +-- Nov 24, 2012 6:16:03 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=14, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:16:03','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200921 +; + +-- Nov 24, 2012 6:16:58 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET DisplayLength=23, XPosition=5, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:16:58','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200919 +; + +-- Nov 24, 2012 6:17:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-11-24 18:17:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200920 +; + +-- Nov 24, 2012 6:17:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5, NumLines=3,Updated=TO_TIMESTAMP('2012-11-24 18:17:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200922 +; + +-- Nov 24, 2012 6:18:17 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-11-24 18:18:17','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200913 +; + +-- Nov 24, 2012 6:18:35 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET ColumnSpan=5,Updated=TO_TIMESTAMP('2012-11-24 18:18:35','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200911 +; + +-- Nov 24, 2012 6:18:54 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2, ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-24 18:18:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200917 +; + +-- Nov 24, 2012 6:19:16 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Field SET XPosition=2,Updated=TO_TIMESTAMP('2012-11-24 18:19:16','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200918 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_TIMESTAMP('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000001 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_TIMESTAMP('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000002 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_TIMESTAMP('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000003 +; + +-- Nov 24, 2012 6:19:21 PM PST +-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator +UPDATE AD_Preference SET Value='0',Updated=TO_TIMESTAMP('2012-11-24 18:19:21','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Preference_ID=1000004 +; + + + + +-- Nov 25, 2012 11:17:32 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Tab SET TabLevel=1,Updated=TO_TIMESTAMP('2012-11-25 11:17:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 25, 2012 11:17:53 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Tab SET AD_Column_ID=201000,Updated=TO_TIMESTAMP('2012-11-25 11:17:53','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=60,IsDisplayed='Y' WHERE AD_Field_ID=200887 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=70,IsDisplayed='Y' WHERE AD_Field_ID=200890 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 25, 2012 11:21:29 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 25, 2012 11:24:50 AM IST +-- IDEMPIERE-293 List of Active Session +INSERT INTO AD_Tab_Customization (AD_Tab_Customization_UU,UpdatedBy,AD_Client_ID,AD_Org_ID,AD_Tab_Customization_ID,AD_Tab_ID,AD_User_ID,Created,CreatedBy,Custom,IsActive,Updated) VALUES ('a966d987-5fd9-4be5-bdf1-1a780824e343',100,0,0,1000009,101,100,TO_TIMESTAMP('2012-11-25 11:24:50','YYYY-MM-DD HH24:MI:SS'),100,'1984,157,156,172,170,11264,1345,152,153,154,250,155,158,310,56279,56374,2526,200648,171,54403,2574,2573,160,161,162,166,2370,10128,4941,50188,168,159,825,4940,167,5121,56317,62467,200288,','Y',TO_TIMESTAMP('2012-11-25 11:24:50','YYYY-MM-DD HH24:MI:SS')) +; + +-- Nov 25, 2012 11:26:42 AM IST +-- IDEMPIERE-293 List of Active Session +UPDATE AD_Column SET FieldLength=2000, IsToolbarButton='N',Updated=TO_TIMESTAMP('2012-11-25 11:26:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=200985 +; + +-- Nov 25, 2012 11:26:52 AM IST +-- IDEMPIERE-293 List of Active Session +INSERT INTO t_alter_column values('ad_broadcastmessage','BroadcastMessage','VARCHAR(2000)',null,null) +; + + + + + + +-- Nov 25, 2012 2:25:04 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +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_BroadcastMessage_UU',200254,'D','AD_BroadcastMessage_UU','AD_BroadcastMessage_UU','046f64f9-0438-41fe-8f63-e20e1d850290',0,TO_TIMESTAMP('2012-11-25 14:25:02','YYYY-MM-DD HH24:MI:SS'),TO_TIMESTAMP('2012-11-25 14:25:02','YYYY-MM-DD HH24:MI:SS'),0,100,100,'Y') +; + +-- Nov 25, 2012 2:25:04 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Element_Trl (AD_Language,AD_Element_ID, Help,PO_Description,PO_Help,Description,Name,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.Description,t.Name,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=200254 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) +; + +-- Nov 25, 2012 2:25:38 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Column (Version,AD_Column_ID,AD_Table_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,IsToolbarButton,SeqNoSelection) VALUES (0,201001,200038,'U','N','N','N',0,'N',36,'N',10,'N','N',200254,'N','Y','2de2bb87-31ba-499d-9ca3-bfbf2cac3b71','N','Y','N','AD_BroadcastMessage_UU','AD_BroadcastMessage_UU','N',100,TO_TIMESTAMP('2012-11-25 14:25:37','YYYY-MM-DD HH24:MI:SS'),0,'Y',TO_TIMESTAMP('2012-11-25 14:25:37','YYYY-MM-DD HH24:MI:SS'),100,0,'N',0) +; + +-- Nov 25, 2012 2:25:38 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +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=201001 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) +; + +-- Nov 25, 2012 2:25:48 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +ALTER TABLE AD_BroadcastMessage ADD COLUMN AD_BroadcastMessage_UU VARCHAR(36) DEFAULT NULL +; + +-- Nov 25, 2012 2:26:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_BroadcastMessage (AD_Org_ID,AD_Client_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,AD_Role_ID,AD_User_ID,AD_BroadcastMessage_ID,IsPublished,Processed,BroadcastFrequency,BroadcastMessage,BroadcastType,ExpireNow,Expired,LogAcknowledge,Publish,Target,TestMessage) VALUES (0,0,'Y',TO_TIMESTAMP('2012-11-25 14:26:24','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:26:24','YYYY-MM-DD HH24:MI:SS'),100,0,100,200000,'N','N','J','testing UU','I','N','N','N','N','C','N') +; + +-- Nov 25, 2012 2:26:31 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_BroadcastMessage SET IsPublished='Y', Processed='Y',Updated=TO_TIMESTAMP('2012-11-25 14:26:31','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_BroadcastMessage_ID=200000 +; + + + + + +-- Nov 25, 2012 2:35:44 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET ShowHelp='N',Updated=TO_TIMESTAMP('2012-11-25 14:35:44','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200020 +; + +-- Nov 25, 2012 2:38:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Help='Selecting ok will publish message.',Updated=TO_TIMESTAMP('2012-11-25 14:38:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:38:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:39:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Help='Selecting OK will expire current message. Do you want to expire message?',Updated=TO_TIMESTAMP('2012-11-25 14:39:32','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018 +; + +-- Nov 25, 2012 2:39:32 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=200018 +; + +-- Nov 25, 2012 2:39:54 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Help='Selecting ok will publish message. Do you want to publish message?',Updated=TO_TIMESTAMP('2012-11-25 14:39:54','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:39:54 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process_Trl SET IsTranslated='N' WHERE AD_Process_ID=200019 +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000009,355,'N','b9a16835-0915-4752-b336-7dcebb88a6a4','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000011,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000010,355,'N','46a6068a-d37b-4a72-9bbb-0798d5eb9fc0','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000017,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000011,355,'N','c8eeb631-0bfc-4631-ad3a-f6a99ff38c5f','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000016,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000012,355,'N','d707c301-df6a-4fad-9905-8a936e6418ce','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000012,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000013,355,'N','a1d725f6-6bd3-45a3-b4b1-b60f595ae5cd','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000013,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000014,355,'N','fc83b321-600e-43e6-bb2b-2c29f20e0674','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000010,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000015,355,'N','85fbe50a-c304-4a3f-9aa2-507841f293c1','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000014,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000016,355,'N','deb46847-8836-4c19-beae-945f358371a3','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000018,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000017,355,'N','e3963402-9ea7-4fec-853e-8212d6b83dd1','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000019,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000018,355,'N','9a1c30e3-2296-42f5-91bf-ac36362b8672','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',101,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000019,355,'N','3a2a7b82-8977-462e-9bd5-3d6f307805b9','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',50001,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000020,355,'N','3f8bd3bf-bb09-45f1-9f5f-ef00c5641ffa','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000015,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000021,355,'N','b065b06d-b696-4f7a-a80c-a50dbd01a0eb','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',100,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_User_ID,AD_BroadcastMessage_ID) VALUES (1000022,355,'N','01ec2560-3292-401b-bd28-c542b38d2608','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',102,1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +INSERT INTO AD_Note (AD_Note_ID,AD_Message_ID,Processed,AD_Note_UU,Processing,AD_Org_ID,Created,CreatedBy,Updated,AD_Client_ID,UpdatedBy,IsActive,AD_BroadcastMessage_ID) VALUES (1000023,355,'N','b5684286-7954-4f92-a4ca-e3cf438e96a8','N',0,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),0,100,'Y',1000001) +; + +-- Nov 25, 2012 2:40:25 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_BroadcastMessage SET IsPublished='Y', Processed='Y',Updated=TO_TIMESTAMP('2012-11-25 14:40:25','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_BroadcastMessage_ID=1000001 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200910 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200909 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200912 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200914 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200916 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200917 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200919 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200920 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200921 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200922 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=0,IsDisplayedGrid='N' WHERE AD_Field_ID=200924 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=10,IsDisplayedGrid='Y' WHERE AD_Field_ID=200923 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=20,IsDisplayedGrid='Y' WHERE AD_Field_ID=200913 +; + +-- Nov 25, 2012 2:43:43 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNoGrid=30,IsDisplayedGrid='Y' WHERE AD_Field_ID=200918 +; + +-- Nov 25, 2012 2:44:55 PM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Tab SET IsReadOnly='Y', IsInsertRecord='N',Updated=TO_TIMESTAMP('2012-11-25 14:44:55','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Tab_ID=200035 +; + +-- Nov 26, 2012 10:09:13 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2012-11-26 10:09:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200880 +; + +-- Nov 26, 2012 10:09:23 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET IsReadOnly='Y',Updated=TO_TIMESTAMP('2012-11-26 10:09:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200886 +; + +-- Nov 26, 2012 10:10:43 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-26 10:10:43','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200876 +; + +-- Nov 26, 2012 10:10:50 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-26 10:10:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200888 +; + +-- Nov 26, 2012 10:10:59 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET ColumnSpan=2,Updated=TO_TIMESTAMP('2012-11-26 10:10:59','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=200873 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=80,IsDisplayed='Y' WHERE AD_Field_ID=200882 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=90,IsDisplayed='Y' WHERE AD_Field_ID=200873 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=100,IsDisplayed='Y' WHERE AD_Field_ID=200879 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=110,IsDisplayed='Y' WHERE AD_Field_ID=200881 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=120,IsDisplayed='Y' WHERE AD_Field_ID=200889 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=130,IsDisplayed='Y' WHERE AD_Field_ID=200880 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=140,IsDisplayed='Y' WHERE AD_Field_ID=200886 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=150,IsDisplayed='Y' WHERE AD_Field_ID=200872 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=160,IsDisplayed='Y' WHERE AD_Field_ID=200878 +; + +-- Nov 26, 2012 10:29:49 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Field SET SeqNo=170,IsDisplayed='Y' WHERE AD_Field_ID=200885 +; + +-- Nov 30, 2012 11:57:51 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Classname='org.idempiere.broadcast.process.PublishBrodcastMessage',Updated=TO_TIMESTAMP('2012-11-30 11:57:51','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200019 +; + +-- Nov 30, 2012 11:58:23 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Classname='org.idempiere.broadcast.process.TestBrodcastMessage',Updated=TO_TIMESTAMP('2012-11-30 11:58:23','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200020 +; + +-- Nov 30, 2012 11:58:42 AM IST +-- IDEMPIERE-294 Create a mechanism to broadcast messages to clients +UPDATE AD_Process SET Classname='org.idempiere.broadcast.process.ExpireBrodcastMessage',Updated=TO_TIMESTAMP('2012-11-30 11:58:42','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_ID=200018 +; + + +SELECT register_migration_script('201211250933_IDEMPIERE-294.sql') FROM dual +; + diff --git a/org.adempiere.base.process/src/org/compiere/process/NoteDelete.java b/org.adempiere.base.process/src/org/compiere/process/NoteDelete.java index 6ceee421d5..0d1cf112e7 100644 --- a/org.adempiere.base.process/src/org/compiere/process/NoteDelete.java +++ b/org.adempiere.base.process/src/org/compiere/process/NoteDelete.java @@ -66,7 +66,7 @@ public class NoteDelete extends SvrProcess { log.info("doIt - AD_User_ID=" + p_AD_User_ID); - StringBuilder sql = new StringBuilder("DELETE FROM AD_Note WHERE AD_Client_ID=").append(getAD_Client_ID()); + StringBuilder sql = new StringBuilder("DELETE FROM AD_Note WHERE AD_BroadcastMessage_ID IS NULL AND AD_Client_ID=").append(getAD_Client_ID()); if (p_AD_User_ID > 0) sql.append(" AND AD_User_ID=").append(p_AD_User_ID); if (p_KeepLogDays > 0) diff --git a/org.adempiere.base/META-INF/MANIFEST.MF b/org.adempiere.base/META-INF/MANIFEST.MF index a545b4df79..8480db8d8c 100644 --- a/org.adempiere.base/META-INF/MANIFEST.MF +++ b/org.adempiere.base/META-INF/MANIFEST.MF @@ -184,6 +184,7 @@ Export-Package: bsh, org.compiere.util, org.compiere.wf, org.eevolution.model, + org.idempiere.broadcast, org.idempiere.distributed, org.jfree, org.jfree.base, diff --git a/org.adempiere.base/src/org/adempiere/base/event/IEventTopics.java b/org.adempiere.base/src/org/adempiere/base/event/IEventTopics.java index 9cb100a673..8d769ebadd 100644 --- a/org.adempiere.base/src/org/adempiere/base/event/IEventTopics.java +++ b/org.adempiere.base/src/org/adempiere/base/event/IEventTopics.java @@ -90,5 +90,7 @@ public interface IEventTopics { public static final String IMPORT_AFTER_IMPORT = IMPORT_PREFIX+"afterImport"; public static final String PREF_AFTER_LOAD = "adempiere/pref/afterLoad"; + + public static final String BROADCAST_MESSAGE = "adempiere/broadcastMsg"; } diff --git a/org.adempiere.base/src/org/adempiere/model/MBroadcastMessage.java b/org.adempiere.base/src/org/adempiere/model/MBroadcastMessage.java new file mode 100644 index 0000000000..79312b664e --- /dev/null +++ b/org.adempiere.base/src/org/adempiere/model/MBroadcastMessage.java @@ -0,0 +1,102 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ +package org.adempiere.model; + +import java.sql.ResultSet; +import java.util.Properties; + +import org.compiere.model.X_AD_BroadcastMessage; +import org.compiere.util.CCache; +import org.compiere.util.DB; +import org.compiere.util.Env; + +/** + * + * @author Vivek + * @author Deepak Pansheriya + * + */ +public class MBroadcastMessage extends X_AD_BroadcastMessage +{ + + /** + * + */ + private static final long serialVersionUID = -6390563897422379468L; + static private CCache s_cache = new CCache("AD_BroadcastMessage", 30, 60); + + public MBroadcastMessage(Properties ctx, int AD_BroadcastMessage_ID, + String trxName) + { + super(ctx, AD_BroadcastMessage_ID, trxName); + } + + public MBroadcastMessage(Properties ctx, ResultSet rs, + String trxName) + { + super(ctx, rs, trxName); + } + + public static MBroadcastMessage get (Properties ctx, int AD_BroadcastMessage_ID) + { + Integer key = new Integer(AD_BroadcastMessage_ID); + MBroadcastMessage retValue = (MBroadcastMessage)s_cache.get(key); + if (retValue == null) + { + retValue = new MBroadcastMessage (ctx, AD_BroadcastMessage_ID, null); + + s_cache.put(key, retValue); + } + return retValue; + } // get + + + /** + * Is broadcast message applicable to current login user + * @return + */ + public boolean isValidUserforMessage() + { + Properties ctx = Env.getCtx(); + + if(getBroadcastType()!=null && getBroadcastType().equals("I") && getTarget()!=null){ + if (getTarget().equals("R") ) { + String SQL = "select count(*) from ad_user_roles where ad_role_id = ? and ad_User_ID=?"; + int roleSubs = DB.getSQLValue(null, SQL, getAD_Role_ID(),Env.getAD_User_ID(ctx)); + if(roleSubs>0) + return true; + } else if (getTarget().equals("U") && getAD_User_ID() == Env.getAD_User_ID(ctx)) { + return true; + } else if (getTarget().equals("C") && getAD_Client_ID() == Env.getAD_Client_ID(ctx)) { + return true; + }else if (getTarget().equals("E")){ + return true; + } + } + else { + + int AD_User_ID = Env.getAD_User_ID(ctx); + String sql = "SELECT AD_User_ID from AD_Note WHERE AD_BroadcastMessage_ID = ? AND AD_User_ID = ? "; + int result = DB.getSQLValue(null, sql,getAD_Broadcastmessage_ID(),AD_User_ID); + if (result <= 0) { + return false; + } + else{ + return true; + } + } + return false; + } + +} diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_BroadcastMessage.java b/org.adempiere.base/src/org/compiere/model/I_AD_BroadcastMessage.java new file mode 100644 index 0000000000..23030d6692 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/I_AD_BroadcastMessage.java @@ -0,0 +1,313 @@ +/****************************************************************************** + * 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_BroadcastMessage + * @author Adempiere (generated) + * @version Release 3.6.0LTS + */ +public interface I_AD_BroadcastMessage +{ + + /** TableName=AD_BroadcastMessage */ + public static final String Table_Name = "AD_BroadcastMessage"; + + /** AD_Table_ID=200024 */ + public static final int Table_ID = 200038; + + KeyNamePair Model = new KeyNamePair(Table_ID, Table_Name); + + /** AccessLevel = 6 - System - Client + */ + BigDecimal accessLevel = BigDecimal.valueOf(6); + + /** Load Meta Data */ + + /** Column name AD_Broadcastmessage_ID */ + public static final String COLUMNNAME_AD_Broadcastmessage_ID = "AD_Broadcastmessage_ID"; + + /** Set Broadcast Message. + * Broadcast Message + */ + public void setAD_Broadcastmessage_ID (int AD_Broadcastmessage_ID); + + /** Get Broadcast Message. + * Broadcast Message + */ + public int getAD_Broadcastmessage_ID(); + + /** 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_Role_ID */ + public static final String COLUMNNAME_AD_Role_ID = "AD_Role_ID"; + + /** Set Role. + * Responsibility Role + */ + public void setAD_Role_ID (int AD_Role_ID); + + /** Get Role. + * Responsibility Role + */ + public int getAD_Role_ID(); + + public org.compiere.model.I_AD_Role getAD_Role() throws RuntimeException; + + /** Column name AD_User_ID */ + public static final String COLUMNNAME_AD_User_ID = "AD_User_ID"; + + /** Set User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID); + + /** Get User/Contact. + * User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID(); + + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException; + + /** Column name BroadcastFrequency */ + public static final String COLUMNNAME_BroadcastFrequency = "BroadcastFrequency"; + + /** Set Broadcast Frequency. + * How Many Times Message Should be Broadcasted + */ + public void setBroadcastFrequency (String BroadcastFrequency); + + /** Get Broadcast Frequency. + * How Many Times Message Should be Broadcasted + */ + public String getBroadcastFrequency(); + + /** Column name BroadcastMessage */ + public static final String COLUMNNAME_BroadcastMessage = "BroadcastMessage"; + + /** Set Broadcast Message. + * Broadcast Message + */ + public void setBroadcastMessage (String BroadcastMessage); + + /** Get Broadcast Message. + * Broadcast Message + */ + public String getBroadcastMessage(); + + /** Column name BroadcastType */ + public static final String COLUMNNAME_BroadcastType = "BroadcastType"; + + /** Set Broadcast Type. + * Type of Broadcast + */ + public void setBroadcastType (String BroadcastType); + + /** Get Broadcast Type. + * Type of Broadcast + */ + public String getBroadcastType(); + + /** 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 Expiration */ + public static final String COLUMNNAME_Expiration = "Expiration"; + + /** Set Expiration. + * Expiration + */ + public void setExpiration (Timestamp Expiration); + + /** Get Expiration. + * Expiration + */ + public Timestamp getExpiration(); + + /** Column name Expired */ + public static final String COLUMNNAME_Expired = "Expired"; + + /** Set Expired */ + public void setExpired (boolean Expired); + + /** Get Expired */ + public boolean isExpired(); + + /** Column name ExpireNow */ + public static final String COLUMNNAME_ExpireNow = "ExpireNow"; + + /** Set Expire Now. + * Expire the broadcast message + */ + public void setExpireNow (String ExpireNow); + + /** Get Expire Now. + * Expire the broadcast message + */ + public String getExpireNow(); + + /** 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 IsPublished */ + public static final String COLUMNNAME_IsPublished = "IsPublished"; + + /** Set Published. + * The Topic is published and can be viewed + */ + public void setIsPublished (boolean IsPublished); + + /** Get Published. + * The Topic is published and can be viewed + */ + public boolean isPublished(); + + /** Column name LogAcknowledge */ + public static final String COLUMNNAME_LogAcknowledge = "LogAcknowledge"; + + /** Set Log Acknowledge. + * Want to Log the Acknowledgement of Message? + */ + public void setLogAcknowledge (boolean LogAcknowledge); + + /** Get Log Acknowledge. + * Want to Log the Acknowledgement of Message? + */ + public boolean isLogAcknowledge(); + + /** Column name Notification_Client */ + public static final String COLUMNNAME_Notification_Client = "Notification_Client"; + + /** Set Notification_Client */ + public void setNotification_Client (int Notification_Client); + + /** Get Notification_Client */ + public int getNotification_Client(); + + /** Column name Processed */ + public static final String COLUMNNAME_Processed = "Processed"; + + /** Set Processed. + * The document has been processed + */ + public void setProcessed (boolean Processed); + + /** Get Processed. + * The document has been processed + */ + public boolean isProcessed(); + + /** Column name Publish */ + public static final String COLUMNNAME_Publish = "Publish"; + + /** Set Publish. + * Publish Broadcast Message + */ + public void setPublish (String Publish); + + /** Get Publish. + * Publish Broadcast Message + */ + public String getPublish(); + + /** Column name Target */ + public static final String COLUMNNAME_Target = "Target"; + + /** Set Target. + * Target client + */ + public void setTarget (String Target); + + /** Get Target. + * Target client + */ + public String getTarget(); + + /** Column name TestMessage */ + public static final String COLUMNNAME_TestMessage = "TestMessage"; + + /** Set Test Message. + * Test broadcast message + */ + public void setTestMessage (String TestMessage); + + /** Get Test Message. + * Test broadcast message + */ + public String getTestMessage(); + + /** 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(); +} diff --git a/org.adempiere.base/src/org/compiere/model/I_AD_Note.java b/org.adempiere.base/src/org/compiere/model/I_AD_Note.java index 7ef579e1c1..2525914f60 100644 --- a/org.adempiere.base/src/org/compiere/model/I_AD_Note.java +++ b/org.adempiere.base/src/org/compiere/model/I_AD_Note.java @@ -41,6 +41,34 @@ public interface I_AD_Note /** Load Meta Data */ + /** Column name AcknowledgeDateTime */ + public static final String COLUMNNAME_AcknowledgeDateTime = "AcknowledgeDateTime"; + + /** Set Acknowledgement Time. + * Acknowledgement Time of message + */ + public void setAcknowledgeDateTime (Timestamp AcknowledgeDateTime); + + /** Get Acknowledgement Time. + * Acknowledgement Time of message + */ + public Timestamp getAcknowledgeDateTime(); + + /** Column name AD_Broadcastmessage_ID */ + public static final String COLUMNNAME_AD_Broadcastmessage_ID = "AD_Broadcastmessage_ID"; + + /** Set Broadcast Message. + * Broadcast Message + */ + public void setAD_Broadcastmessage_ID (int AD_Broadcastmessage_ID); + + /** Get Broadcast Message. + * Broadcast Message + */ + public int getAD_Broadcastmessage_ID(); + + public I_AD_BroadcastMessage getAD_Broadcastmessage() throws RuntimeException; + /** Column name AD_Client_ID */ public static final String COLUMNNAME_AD_Client_ID = "AD_Client_ID"; diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_BroadcastMessage.java b/org.adempiere.base/src/org/compiere/model/X_AD_BroadcastMessage.java new file mode 100644 index 0000000000..51f192e132 --- /dev/null +++ b/org.adempiere.base/src/org/compiere/model/X_AD_BroadcastMessage.java @@ -0,0 +1,423 @@ +/****************************************************************************** + * 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.sql.Timestamp; +import java.util.Properties; + +/** Generated Model for AD_BroadcastMessage + * @author Adempiere (generated) + * @version Release 3.6.0LTS - $Id$ */ +public class X_AD_BroadcastMessage extends PO implements I_AD_BroadcastMessage, I_Persistent +{ + + /** + * + */ + private static final long serialVersionUID = 20121107L; + + /** Standard Constructor */ + public X_AD_BroadcastMessage (Properties ctx, int AD_BroadcastMessage_ID, String trxName) + { + super (ctx, AD_BroadcastMessage_ID, trxName); + /** if (AD_BroadcastMessage_ID == 0) + { + } */ + } + + /** Load Constructor */ + public X_AD_BroadcastMessage (Properties ctx, ResultSet rs, String trxName) + { + super (ctx, rs, trxName); + } + + /** AccessLevel + * @return 6 - System - Client + */ + 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_BroadcastMessage[") + .append(get_ID()).append("]"); + return sb.toString(); + } + + /** Set Broadcast Message. + @param AD_Broadcastmessage_ID + Broadcast Message + */ + public void setAD_Broadcastmessage_ID (int AD_Broadcastmessage_ID) + { + if (AD_Broadcastmessage_ID < 1) + set_ValueNoCheck (COLUMNNAME_AD_Broadcastmessage_ID, null); + else + set_ValueNoCheck (COLUMNNAME_AD_Broadcastmessage_ID, Integer.valueOf(AD_Broadcastmessage_ID)); + } + + /** Get Broadcast Message. + @return Broadcast Message + */ + public int getAD_Broadcastmessage_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Broadcastmessage_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_Role getAD_Role() throws RuntimeException + { + return (org.compiere.model.I_AD_Role)MTable.get(getCtx(), org.compiere.model.I_AD_Role.Table_Name) + .getPO(getAD_Role_ID(), get_TrxName()); } + + /** Set Role. + @param AD_Role_ID + Responsibility Role + */ + public void setAD_Role_ID (int AD_Role_ID) + { + if (AD_Role_ID < 0) + set_Value (COLUMNNAME_AD_Role_ID, null); + else + set_Value (COLUMNNAME_AD_Role_ID, Integer.valueOf(AD_Role_ID)); + } + + /** Get Role. + @return Responsibility Role + */ + public int getAD_Role_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Role_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + public org.compiere.model.I_AD_User getAD_User() throws RuntimeException + { + 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. + @param AD_User_ID + User within the system - Internal or Business Partner Contact + */ + public void setAD_User_ID (int AD_User_ID) + { + if (AD_User_ID < 1) + set_Value (COLUMNNAME_AD_User_ID, null); + else + set_Value (COLUMNNAME_AD_User_ID, Integer.valueOf(AD_User_ID)); + } + + /** Get User/Contact. + @return User within the system - Internal or Business Partner Contact + */ + public int getAD_User_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_User_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** BroadcastFrequency AD_Reference_ID=200010 */ + public static final int BROADCASTFREQUENCY_AD_Reference_ID=200010; + /** Just Once = J */ + public static final String BROADCASTFREQUENCY_JustOnce = "J"; + /** Until Expiration = U */ + public static final String BROADCASTFREQUENCY_UntilExpiration = "U"; + /** Set Broadcast Frequency. + @param BroadcastFrequency + How Many Times Message Should be Broadcasted + */ + public void setBroadcastFrequency (String BroadcastFrequency) + { + + set_Value (COLUMNNAME_BroadcastFrequency, BroadcastFrequency); + } + + /** Get Broadcast Frequency. + @return How Many Times Message Should be Broadcasted + */ + public String getBroadcastFrequency () + { + return (String)get_Value(COLUMNNAME_BroadcastFrequency); + } + + /** Set Broadcast Message. + @param BroadcastMessage + Broadcast Message + */ + public void setBroadcastMessage (String BroadcastMessage) + { + set_Value (COLUMNNAME_BroadcastMessage, BroadcastMessage); + } + + /** Get Broadcast Message. + @return Broadcast Message + */ + public String getBroadcastMessage () + { + return (String)get_Value(COLUMNNAME_BroadcastMessage); + } + + /** BroadcastType AD_Reference_ID=200009 */ + public static final int BROADCASTTYPE_AD_Reference_ID=200009; + /** Login = L */ + public static final String BROADCASTTYPE_Login = "L"; + /** Immediate = I */ + public static final String BROADCASTTYPE_Immediate = "I"; + /** Immediate + Login = IL */ + public static final String BROADCASTTYPE_ImmediatePlusLogin = "IL"; + /** Set Broadcast Type. + @param BroadcastType + Type of Broadcast + */ + public void setBroadcastType (String BroadcastType) + { + + set_Value (COLUMNNAME_BroadcastType, BroadcastType); + } + + /** Get Broadcast Type. + @return Type of Broadcast + */ + public String getBroadcastType () + { + return (String)get_Value(COLUMNNAME_BroadcastType); + } + + /** Set Expiration. + @param Expiration + Expiration + */ + public void setExpiration (Timestamp Expiration) + { + set_Value (COLUMNNAME_Expiration, Expiration); + } + + /** Get Expiration. + @return Expiration + */ + public Timestamp getExpiration () + { + return (Timestamp)get_Value(COLUMNNAME_Expiration); + } + + /** Set Expired. + @param Expired Expired */ + public void setExpired (boolean Expired) + { + set_Value (COLUMNNAME_Expired, Boolean.valueOf(Expired)); + } + + /** Get Expired. + @return Expired */ + public boolean isExpired () + { + Object oo = get_Value(COLUMNNAME_Expired); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Expire Now. + @param ExpireNow + Expire the broadcast message + */ + public void setExpireNow (String ExpireNow) + { + set_Value (COLUMNNAME_ExpireNow, ExpireNow); + } + + /** Get Expire Now. + @return Expire the broadcast message + */ + public String getExpireNow () + { + return (String)get_Value(COLUMNNAME_ExpireNow); + } + + /** Set Published. + @param IsPublished + The Topic is published and can be viewed + */ + public void setIsPublished (boolean IsPublished) + { + set_Value (COLUMNNAME_IsPublished, Boolean.valueOf(IsPublished)); + } + + /** Get Published. + @return The Topic is published and can be viewed + */ + public boolean isPublished () + { + Object oo = get_Value(COLUMNNAME_IsPublished); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Log Acknowledge. + @param LogAcknowledge + Want to Log the Acknowledgement of Message? + */ + public void setLogAcknowledge (boolean LogAcknowledge) + { + set_Value (COLUMNNAME_LogAcknowledge, Boolean.valueOf(LogAcknowledge)); + } + + /** Get Log Acknowledge. + @return Want to Log the Acknowledgement of Message? + */ + public boolean isLogAcknowledge () + { + Object oo = get_Value(COLUMNNAME_LogAcknowledge); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Notification_Client. + @param Notification_Client Notification_Client */ + public void setNotification_Client (int Notification_Client) + { + set_Value (COLUMNNAME_Notification_Client, Integer.valueOf(Notification_Client)); + } + + /** Get Notification_Client. + @return Notification_Client */ + public int getNotification_Client () + { + Integer ii = (Integer)get_Value(COLUMNNAME_Notification_Client); + if (ii == null) + return 0; + return ii.intValue(); + } + + /** Set Processed. + @param Processed + The document has been processed + */ + public void setProcessed (boolean Processed) + { + set_Value (COLUMNNAME_Processed, Boolean.valueOf(Processed)); + } + + /** Get Processed. + @return The document has been processed + */ + public boolean isProcessed () + { + Object oo = get_Value(COLUMNNAME_Processed); + if (oo != null) + { + if (oo instanceof Boolean) + return ((Boolean)oo).booleanValue(); + return "Y".equals(oo); + } + return false; + } + + /** Set Publish. + @param Publish + Publish Broadcast Message + */ + public void setPublish (String Publish) + { + set_Value (COLUMNNAME_Publish, Publish); + } + + /** Get Publish. + @return Publish Broadcast Message + */ + public String getPublish () + { + return (String)get_Value(COLUMNNAME_Publish); + } + + /** Target AD_Reference_ID=200011 */ + public static final int TARGET_AD_Reference_ID=200011; + /** Everybody = E */ + public static final String TARGET_Everybody = "E"; + /** Client = C */ + public static final String TARGET_Client = "C"; + /** User = U */ + public static final String TARGET_User = "U"; + /** Role = R */ + public static final String TARGET_Role = "R"; + /** Set Target. + @param Target + Target client + */ + public void setTarget (String Target) + { + + set_Value (COLUMNNAME_Target, Target); + } + + /** Get Target. + @return Target client + */ + public String getTarget () + { + return (String)get_Value(COLUMNNAME_Target); + } + + /** Set Test Message. + @param TestMessage + Test broadcast message + */ + public void setTestMessage (String TestMessage) + { + set_Value (COLUMNNAME_TestMessage, TestMessage); + } + + /** Get Test Message. + @return Test broadcast message + */ + public String getTestMessage () + { + return (String)get_Value(COLUMNNAME_TestMessage); + } +} \ No newline at end of file diff --git a/org.adempiere.base/src/org/compiere/model/X_AD_Note.java b/org.adempiere.base/src/org/compiere/model/X_AD_Note.java index 16d60f4e3f..f49dd1f127 100644 --- a/org.adempiere.base/src/org/compiere/model/X_AD_Note.java +++ b/org.adempiere.base/src/org/compiere/model/X_AD_Note.java @@ -18,6 +18,7 @@ package org.compiere.model; import java.sql.ResultSet; +import java.sql.Timestamp; import java.util.Properties; import org.compiere.util.KeyNamePair; @@ -30,7 +31,7 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent /** * */ - private static final long serialVersionUID = 20121031L; + private static final long serialVersionUID = 20121024L; /** Standard Constructor */ public X_AD_Note (Properties ctx, int AD_Note_ID, String trxName) @@ -71,6 +72,51 @@ public class X_AD_Note extends PO implements I_AD_Note, I_Persistent return sb.toString(); } + /** Set Acknowledgement Time. + @param AcknowledgeDateTime + Acknowledgement Time of message + */ + public void setAcknowledgeDateTime (Timestamp AcknowledgeDateTime) + { + set_Value (COLUMNNAME_AcknowledgeDateTime, AcknowledgeDateTime); + } + + /** Get Acknowledgement Time. + @return Acknowledgement Time of message + */ + public Timestamp getAcknowledgeDateTime () + { + return (Timestamp)get_Value(COLUMNNAME_AcknowledgeDateTime); + } + + public org.compiere.model.I_AD_BroadcastMessage getAD_Broadcastmessage() throws RuntimeException + { + return (org.compiere.model.I_AD_BroadcastMessage)MTable.get(getCtx(), org.compiere.model.I_AD_BroadcastMessage.Table_Name) + .getPO(getAD_Broadcastmessage_ID(), get_TrxName()); } + + /** Set Broadcast Message. + @param AD_Broadcastmessage_ID + Broadcast Message + */ + public void setAD_Broadcastmessage_ID (int AD_Broadcastmessage_ID) + { + if (AD_Broadcastmessage_ID < 1) + set_Value (COLUMNNAME_AD_Broadcastmessage_ID, null); + else + set_Value (COLUMNNAME_AD_Broadcastmessage_ID, Integer.valueOf(AD_Broadcastmessage_ID)); + } + + /** Get Broadcast Message. + @return Broadcast Message + */ + public int getAD_Broadcastmessage_ID () + { + Integer ii = (Integer)get_Value(COLUMNNAME_AD_Broadcastmessage_ID); + if (ii == null) + return 0; + return ii.intValue(); + } + public org.compiere.model.I_AD_Message getAD_Message() throws RuntimeException { return (org.compiere.model.I_AD_Message)MTable.get(getCtx(), org.compiere.model.I_AD_Message.Table_Name) diff --git a/org.adempiere.base/src/org/idempiere/broadcast/BroadCastMsg.java b/org.adempiere.base/src/org/idempiere/broadcast/BroadCastMsg.java new file mode 100644 index 0000000000..da4684c762 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/broadcast/BroadCastMsg.java @@ -0,0 +1,78 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ +package org.idempiere.broadcast; + +import java.io.Serializable; + +/** + * + * @author Deepak Pansheriya + * + */ +public class BroadCastMsg implements Serializable { + + /** + * + */ + private static final long serialVersionUID = -7669279373526944539L; + + private String src; + private int messageId; + private String targetNode; + private int eventId; + + private boolean fromCluster = false; + + public boolean isFromCluster() { + return fromCluster; + } + + public void setFromCluster(boolean fromCluster) { + this.fromCluster = fromCluster; + } + + public int getEventId() { + return eventId; + } + + public void setEventId(int eventId) { + this.eventId = eventId; + } + + public String getTargetNode() { + return targetNode; + } + + public void setTargetNode(String targetNode) { + this.targetNode = targetNode; + } + + public String getSrc() { + return src; + } + + public void setSrc(String src) { + this.src = src; + } + + public int getMessageId() { + return messageId; + } + + public void setMessageId(int messageId) { + this.messageId = messageId; + } + + +} diff --git a/org.adempiere.base/src/org/idempiere/broadcast/BroadCastUtil.java b/org.adempiere.base/src/org/idempiere/broadcast/BroadCastUtil.java new file mode 100644 index 0000000000..fd653687d6 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/broadcast/BroadCastUtil.java @@ -0,0 +1,60 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ +package org.idempiere.broadcast; + +import org.adempiere.base.IServiceHolder; +import org.adempiere.base.Service; +import org.idempiere.distributed.IMessageService; +import org.idempiere.distributed.ITopic; +import org.idempiere.distributed.ITopicSubscriber; + +/** + * @author Deepak Pansheriya + */ +public class BroadCastUtil { + public static final String TOPIC_BROADCAST_MESSAGE="BROADCAST_MESSAGE"; + public static final int EVENT_BROADCAST_MESSAGE =1; + public static final int EVENT_TEST_BROADCAST_MESSAGE=2; + public static final int EVENT_SESSION_TIMEOUT =3; + + public static void subscribe(ITopicSubscriber subscriber){ + + IServiceHolder holder = Service.locator().locate(IMessageService.class); + IMessageService service = holder.getService(); + if (service != null) { + ITopic topic= service.getTopic(TOPIC_BROADCAST_MESSAGE); + topic.subscribe(subscriber); + } + } + + public static void unSubscribe(ITopicSubscriber subscriber){ + + IServiceHolder holder = Service.locator().locate(IMessageService.class); + IMessageService service = holder.getService(); + if (service != null) { + ITopic topic= service.getTopic(TOPIC_BROADCAST_MESSAGE); + topic.unsubscribe(subscriber); + } + } + + public static void publish(BroadCastMsg msg){ + + IServiceHolder holder = Service.locator().locate(IMessageService.class); + IMessageService service = holder.getService(); + if (service != null) { + ITopic topic= service.getTopic(TOPIC_BROADCAST_MESSAGE); + topic.publish(msg); + } + } +} diff --git a/org.adempiere.base/src/org/idempiere/broadcast/BroadcastMsgUtil.java b/org.adempiere.base/src/org/idempiere/broadcast/BroadcastMsgUtil.java new file mode 100644 index 0000000000..b7c1d77c56 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/broadcast/BroadcastMsgUtil.java @@ -0,0 +1,183 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ + +package org.idempiere.broadcast; + +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.SQLException; +import java.sql.Statement; +import java.util.ArrayList; +import java.util.logging.Level; + +import org.adempiere.base.event.EventManager; +import org.adempiere.base.event.IEventTopics; +import org.adempiere.model.MBroadcastMessage; +import org.compiere.model.MNote; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; + +/** + * + * @author Vivek + * @author Deepak Pansheriya + * + */ +public class BroadcastMsgUtil + { + + private static final CLogger logger = CLogger + .getCLogger(BroadcastMsgUtil.class); + // BROADCAST_MESSAGE_QUEUE + + + /** + * Publish Message + * @param messageID + * @param trxName + */ + public static void publishBroadcastMessage(final int messageID, String trxName) { + MBroadcastMessage mbMessage = MBroadcastMessage.get(Env.getCtx(), messageID); + String broadcastType = mbMessage.getBroadcastType(); + + if (MBroadcastMessage.BROADCASTTYPE_Login.equals(broadcastType) + || MBroadcastMessage.BROADCASTTYPE_ImmediatePlusLogin.equals(broadcastType)) { + // get list of users based on rule + ArrayList userIDs = new ArrayList(); + String SQL = ""; + + if (mbMessage.getTarget() != null) { + // Role + if (mbMessage.getTarget().equals("R")) { + SQL = "select DISTINCT(ad_user_id) from ad_user_roles where ad_role_id = " + + mbMessage.getAD_Role_ID(); + } else if (mbMessage.getTarget().equals("U")) { + SQL = "select DISTINCT(ad_user_id) from ad_user_roles where ad_user_id = " + + mbMessage.getAD_User_ID(); + } else if (mbMessage.getTarget().equals("C")) { + SQL = "select DISTINCT(ad_user_id) from ad_user_roles where ad_client_id = " + + mbMessage.getNotification_Client(); + } else if (mbMessage.getTarget().equals("E")) { + SQL = "select DISTINCT(ad_user_id) from ad_user_roles"; + } + + Statement stmt = DB.createStatement(); + ResultSet rs =null; + try { + rs = stmt.executeQuery(SQL); + while (rs.next()) { + int AD_User_ID = rs.getInt("ad_user_id"); + userIDs.add(AD_User_ID); + } + } catch (SQLException e) { + logger.log(Level.SEVERE, "Exception while retrieving user list",e); + }finally{ + DB.close(rs, stmt); + } + + for (Integer userID : userIDs) { + MNote note = new MNote(Env.getCtx(), 0, trxName); + note.setAD_Broadcastmessage_ID(messageID); + note.setAD_User_ID(userID); + note.setAD_Message_ID(0); + note.save(); + } + mbMessage.setIsPublished(true); + mbMessage.setProcessed(true); + mbMessage.save(trxName); + } // create entry for users in AD_Note + }else if(MBroadcastMessage.BROADCASTTYPE_Immediate.equals(broadcastType)){ + mbMessage.setProcessed(true); + mbMessage.setIsPublished(true); + mbMessage.save(trxName); + } + + if (!MBroadcastMessage.BROADCASTTYPE_Login.equals(broadcastType)) { + BroadCastMsg msg = new BroadCastMsg(); + msg.setMessageId(messageID); + msg.setEventId(BroadCastUtil.EVENT_BROADCAST_MESSAGE); + pushToQueue(msg); + } + + } + + public static void pushToQueue(final BroadCastMsg msg){ + Runnable runnable = new Runnable() { + + @Override + public void run() { + + org.osgi.service.event.Event event = EventManager.newEvent(IEventTopics.BROADCAST_MESSAGE, msg); + EventManager.getInstance().postEvent(event); + + } + }; + + Thread thread = new Thread(runnable); + thread.setName("PublishMessage -" + Env.getContextAsInt(Env.getCtx(), "AD_Session_ID")); + thread.start(); + } + /** + * Test message + * @param messageID + * @param AD_Session_ID + */ + public static void testBroadcastMessage(int messageID, int AD_Session_ID) { + BroadCastMsg msg = new BroadCastMsg(); + msg.setMessageId(messageID); + msg.setFromCluster(true); + msg.setEventId(BroadCastUtil.EVENT_TEST_BROADCAST_MESSAGE); + msg.setTargetNode(Integer.toString(AD_Session_ID)); + + pushToQueue(msg); + } + + + /** + * Show all pending to acknowledge messages + * @param AD_User_ID + * @param messageWindow + */ + public static void showPendingMeassage(int AD_User_ID, IBroadcastMsgPopup messageWindow) { + StringBuilder sql = new StringBuilder("SELECT bm.AD_BroadcastMessage_ID ") + .append(" FROM AD_Note n INNER JOIN AD_BroadcastMessage bm ON bm.AD_BroadcastMessage_ID=n.AD_BroadcastMessage_ID ") + .append(" WHERE n.AD_User_ID = ?") + .append(" AND (bm.BroadcastType='IL' OR bm.BroadcastType='L') ") + .append(" AND bm.isPublished='Y' AND n.processed = 'N'") + .append(" AND ((bm.BroadcastFrequency='U' AND bm.Expired='N' AND bm.expiration > current_timestamp) OR bm.BroadcastFrequency='J') "); + + + ArrayList mbMessages = new ArrayList(); + PreparedStatement pstmt = null; + ResultSet rs = null; + try { + pstmt = DB.prepareStatement(sql.toString(),null); + pstmt.setInt(1, AD_User_ID); + rs = pstmt.executeQuery(); + while (rs.next()) { + mbMessages.add(MBroadcastMessage.get(Env.getCtx(), rs.getInt(1))); + } + } catch (Exception e) { + logger.log(Level.SEVERE, "Broadcast messages could not be retrieved",e); + } + finally{ + DB.close(rs, pstmt); + } + if(mbMessages.size()>0){ + messageWindow.prepareMessage(mbMessages); + } + } + +} diff --git a/org.adempiere.base/src/org/idempiere/broadcast/IBroadcastMsgPopup.java b/org.adempiere.base/src/org/idempiere/broadcast/IBroadcastMsgPopup.java new file mode 100644 index 0000000000..3927082a0b --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/broadcast/IBroadcastMsgPopup.java @@ -0,0 +1,30 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ + +package org.idempiere.broadcast; + +import java.util.ArrayList; + +import org.adempiere.model.MBroadcastMessage; + +/** + * + * @author Deepak Pansheriya + * + */ +public interface IBroadcastMsgPopup { + + public void prepareMessage(ArrayList arrMessages); + +} diff --git a/org.adempiere.base/src/org/idempiere/broadcast/process/ExpireBrodcastMessage.java b/org.adempiere.base/src/org/idempiere/broadcast/process/ExpireBrodcastMessage.java new file mode 100644 index 0000000000..e977683173 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/broadcast/process/ExpireBrodcastMessage.java @@ -0,0 +1,57 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ + +package org.idempiere.broadcast.process; + +import java.sql.PreparedStatement; + +import org.adempiere.model.MBroadcastMessage; +import org.compiere.process.SvrProcess; +import org.compiere.util.DB; +import org.compiere.util.Env; + +/** + * + * @author Vivek + * @author Deepak Pansheriya + * + */ +public class ExpireBrodcastMessage extends SvrProcess{ + + @Override + protected void prepare() { + } + + @Override + protected String doIt() throws Exception { + MBroadcastMessage mbMessage = MBroadcastMessage.get(Env.getCtx(), getRecord_ID()); + if(mbMessage.getBroadcastFrequency().equals("U") && !mbMessage.isExpired() && mbMessage.isPublished()){ + String sql = "UPDATE AD_Note SET processed='Y' WHERE AD_BroadcastMessage_ID = ?"; + PreparedStatement pstmt = null; + try { + pstmt = DB.prepareStatement(sql,null); + pstmt.setInt(1, getRecord_ID()); + pstmt.executeUpdate(); + mbMessage.setProcessed(true); + mbMessage.setExpired(true); + } catch (Exception e) { + return "Message is not Expired"; + }finally{ + DB.close(pstmt); + } + mbMessage.save(); + } + return "Expired"; + } +} diff --git a/org.adempiere.base/src/org/idempiere/broadcast/process/PublishBrodcastMessage.java b/org.adempiere.base/src/org/idempiere/broadcast/process/PublishBrodcastMessage.java new file mode 100644 index 0000000000..84fb426e07 --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/broadcast/process/PublishBrodcastMessage.java @@ -0,0 +1,39 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ +package org.idempiere.broadcast.process; + +import org.idempiere.broadcast.BroadcastMsgUtil; +import org.compiere.process.SvrProcess; + +/** + * + * @author Vivek + * @author Deepak Pansheriya + * + */ +public class PublishBrodcastMessage extends SvrProcess +{ + + @Override + protected void prepare() + { + // TODO Auto-generated method stub + } + + @Override + protected String doIt() throws Exception{ + BroadcastMsgUtil.publishBroadcastMessage(getRecord_ID(), get_TrxName()); + return null; + } +} diff --git a/org.adempiere.base/src/org/idempiere/broadcast/process/TestBrodcastMessage.java b/org.adempiere.base/src/org/idempiere/broadcast/process/TestBrodcastMessage.java new file mode 100644 index 0000000000..4b6fedd87c --- /dev/null +++ b/org.adempiere.base/src/org/idempiere/broadcast/process/TestBrodcastMessage.java @@ -0,0 +1,42 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ +package org.idempiere.broadcast.process; + +import org.idempiere.broadcast.BroadcastMsgUtil; +import org.compiere.process.SvrProcess; +import org.compiere.util.Env; +/** + * + * @author Vivek + * @author Deepak Pansheriya + * + */ +public class TestBrodcastMessage extends SvrProcess +{ + + @Override + protected void prepare() + { + // TODO Auto-generated method stub + } + + @Override + protected String doIt() throws Exception + { + int AD_Session_ID = Env.getContextAsInt(getCtx(), "AD_Session_ID"); + BroadcastMsgUtil.testBroadcastMessage(getRecord_ID(), AD_Session_ID); + + return null; + } +} diff --git a/org.adempiere.ui.zk/META-INF/MANIFEST.MF b/org.adempiere.ui.zk/META-INF/MANIFEST.MF index c4bfdee101..f76cd10ca7 100644 --- a/org.adempiere.ui.zk/META-INF/MANIFEST.MF +++ b/org.adempiere.ui.zk/META-INF/MANIFEST.MF @@ -12,6 +12,7 @@ Import-Package: javax.servlet, org.apache.ecs.xhtml, org.compiere.css, org.osgi.framework;version="1.5.0", + org.osgi.service.event;version="1.3.0", org.slf4j;version="1.6.1", org.slf4j.helpers;version="1.6.1", org.slf4j.spi;version="1.6.1" diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java index e0dd4940ec..557317655f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/dashboard/DPActivities.java @@ -40,6 +40,10 @@ import org.zkoss.zul.Vbox; * * Contributors: * CarlosRuiz - globalqss - Add unprocessed button to iDempiere + * + * + * Contributors: + * Deepak Pansheriya - showing only notes message */ public class DPActivities extends DashboardPanel implements EventListener { /** @@ -123,7 +127,7 @@ public class DPActivities extends DashboardPanel implements EventListener { String sql = "SELECT COUNT(1) FROM AD_Note " + "WHERE AD_Client_ID=? AND AD_User_ID IN (0,?)" - + " AND Processed='N'"; + + " AND Processed='N' AND AD_BroadcastMessage_ID IS NULL"; int retValue = DB.getSQLValue(null, sql, Env.getAD_Client_ID(Env.getCtx()), Env.getAD_User_ID(Env.getCtx())); return retValue; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java index f792f2855e..09376c28ad 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/desktop/DefaultDesktop.java @@ -20,6 +20,10 @@ package org.adempiere.webui.desktop; import java.io.Serializable; import java.util.Properties; +import org.adempiere.base.event.EventManager; +import org.adempiere.base.event.IEventManager; +import org.adempiere.base.event.IEventTopics; +import org.adempiere.model.MBroadcastMessage; import org.adempiere.util.ServerContext; import org.adempiere.webui.LayoutUtils; import org.adempiere.webui.apps.AEnv; @@ -28,6 +32,8 @@ import org.adempiere.webui.component.Tabpanel; import org.adempiere.webui.component.ToolBarButton; import org.adempiere.webui.dashboard.DPActivities; import org.adempiere.webui.event.MenuListener; +import org.adempiere.webui.event.ZKBroadCastManager; +import org.adempiere.webui.panel.BroadcastMessageWindow; import org.adempiere.webui.panel.HeaderPanel; import org.adempiere.webui.session.SessionContextListener; import org.adempiere.webui.session.SessionManager; @@ -39,14 +45,21 @@ import org.compiere.util.CLogger; import org.compiere.util.Env; import org.compiere.util.Msg; import org.compiere.util.Util; +import org.idempiere.broadcast.BroadCastMsg; +import org.idempiere.broadcast.BroadCastUtil; +import org.idempiere.broadcast.BroadcastMsgUtil; +import org.osgi.service.event.EventHandler; import org.zkoss.zk.au.out.AuScript; import org.zkoss.zk.ui.Component; +import org.zkoss.zk.ui.Desktop; +import org.zkoss.zk.ui.Executions; import org.zkoss.zk.ui.Page; import org.zkoss.zk.ui.event.Event; import org.zkoss.zk.ui.event.EventListener; import org.zkoss.zk.ui.event.Events; import org.zkoss.zk.ui.event.OpenEvent; import org.zkoss.zk.ui.util.Clients; +import org.zkoss.zk.ui.util.DesktopCleanup; import org.zkoss.zul.Borderlayout; import org.zkoss.zul.Center; import org.zkoss.zul.North; @@ -59,8 +72,9 @@ import org.zkoss.zul.West; * @author Low Heng Sin * @date Mar 2, 2007 * @version $Revision: 0.10 $ + * @author Deepak Pansheriya/Vivek - Adding support for message broadcasting */ -public class DefaultDesktop extends TabbedDesktop implements MenuListener, Serializable, EventListener, IServerPushCallback +public class DefaultDesktop extends TabbedDesktop implements MenuListener, Serializable, EventListener, IServerPushCallback,EventHandler,DesktopCleanup { /** * generated serial version ID @@ -85,17 +99,28 @@ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Seria private Tabpanel homeTab; private DashboardController dashboardController, sideController; - + + private BroadcastMessageWindow messageWindow; + private BroadcastMessageWindow testMessageWindow; + private HeaderPanel pnlHead; + + private Desktop m_desktop = null; public DefaultDesktop() { super(); dashboardController = new DashboardController(); sideController = new DashboardController(); + + m_desktop = AEnv.getDesktop(); + m_desktop.addListener(this); + //subscribing to broadcast event + bindEventManager(); + ZKBroadCastManager.getBroadCastMgr(); } protected Component doCreatePart(Component parent) { - HeaderPanel pnlHead = new HeaderPanel(); + pnlHead = new HeaderPanel(); layout = new Borderlayout(); if (parent != null) @@ -149,7 +174,10 @@ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Seria BusyDialog busyDialog = new BusyDialog(); busyDialog.setShadow(false); homeTab.appendChild(busyDialog); - + + messageWindow = new BroadcastMessageWindow(pnlHead); + BroadcastMsgUtil.showPendingMeassage(Env.getAD_User_ID(Env.getCtx()), messageWindow); + if (!layout.getDesktop().isServerPushEnabled()) { layout.getDesktop().enableServerPush(true); @@ -251,6 +279,7 @@ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Seria } public void logout() { + unbindEventManager(); if (dashboardController != null) { dashboardController.onLogOut(); } @@ -287,4 +316,62 @@ public class DefaultDesktop extends TabbedDesktop implements MenuListener, Seria { autoHideMenu(); } + + //Implementation for Broadcast message + /** + * @param eventManager + */ + public void bindEventManager() { + EventManager.getInstance().register(IEventTopics.BROADCAST_MESSAGE, this); + } + + /** + * @param eventManager + */ + public void unbindEventManager() { + EventManager.getInstance().unregister(this); + } + + @Override + public void handleEvent(final org.osgi.service.event.Event event) { + String eventName = event.getTopic(); + if (eventName.equals(IEventTopics.BROADCAST_MESSAGE)) { + EventListener listner = new EventListener(){ + + @Override + public void onEvent(Event event) throws Exception { + BroadCastMsg msg = (BroadCastMsg) event.getData(); + MBroadcastMessage mbMessage = MBroadcastMessage.get( + Env.getCtx(), msg.getMessageId()); + if (msg.getEventId() == BroadCastUtil.EVENT_TEST_BROADCAST_MESSAGE) { + + String currSession = Integer + .toString(Env.getContextAsInt(Env.getCtx(), + "AD_Session_ID")); + if (currSession.equals(msg.getTargetNode())) { + if (testMessageWindow == null) + testMessageWindow = new BroadcastMessageWindow( + pnlHead); + testMessageWindow.appendMessage(mbMessage, true); + testMessageWindow = null; + + } + } else if (mbMessage.isValidUserforMessage()) { + if (messageWindow == null) + messageWindow = new BroadcastMessageWindow(pnlHead); + messageWindow.appendMessage(mbMessage, false); + } + + } + }; + Executions.schedule(m_desktop, listner, new Event("OnBroadcast", null, event.getProperty(IEventManager.EVENT_DATA))); + + } + } + + @Override + public void cleanup(Desktop desktop) throws Exception { + unbindEventManager(); + + } } diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/event/ZKBroadCastManager.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/event/ZKBroadCastManager.java new file mode 100644 index 0000000000..bace01b750 --- /dev/null +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/event/ZKBroadCastManager.java @@ -0,0 +1,85 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ + +package org.adempiere.webui.event; + +import org.adempiere.base.event.EventManager; +import org.adempiere.base.event.IEventTopics; +import org.compiere.util.WebUtil; +import org.idempiere.broadcast.BroadCastMsg; +import org.idempiere.broadcast.BroadCastUtil; +import org.idempiere.broadcast.BroadcastMsgUtil; +import org.idempiere.distributed.ITopicSubscriber; +import org.osgi.service.event.EventHandler; +/** + * Class Manages Broadcast Messages across webui cluster + * @author Deepak Pansheriya + * + */ +public class ZKBroadCastManager implements ITopicSubscriber,EventHandler{ + + private static ZKBroadCastManager broadCastMgr = null; + + public static ZKBroadCastManager getBroadCastMgr() { + + synchronized (ZKBroadCastManager.class) { + if(broadCastMgr==null) + broadCastMgr= new ZKBroadCastManager(); + + } + return broadCastMgr; + } + + private ZKBroadCastManager(){ + EventManager.getInstance().register(IEventTopics.BROADCAST_MESSAGE, this); + BroadCastUtil.subscribe(this); + } + + + /** + * MessageService event + */ + @Override + public void onMessage(BroadCastMsg message) { + + if(!WebUtil.getServerName().equalsIgnoreCase(message.getSrc())){ + switch(message.getEventId()){ + case BroadCastUtil.EVENT_BROADCAST_MESSAGE: + message.setFromCluster(true); + BroadcastMsgUtil.pushToQueue(message); + break; + case BroadCastUtil.EVENT_SESSION_TIMEOUT: + + break; + } + } + } + + /** + * OSGI Event Handler + */ + @Override + public void handleEvent(org.osgi.service.event.Event event) { + BroadCastMsg msg = (BroadCastMsg) event + .getProperty(EventManager.EVENT_DATA); + // Avoid loop + if (msg.isFromCluster()) + return; + if (msg.getEventId() == BroadCastUtil.EVENT_BROADCAST_MESSAGE) { + msg.setSrc(WebUtil.getServerName()); + msg.setEventId(BroadCastUtil.EVENT_BROADCAST_MESSAGE); + BroadCastUtil.publish(msg); + } + } +} diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/BroadcastMessageWindow.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/BroadcastMessageWindow.java new file mode 100644 index 0000000000..89758bd654 --- /dev/null +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/panel/BroadcastMessageWindow.java @@ -0,0 +1,364 @@ +/****************************************************************************** + * Copyright (C) 2012 Trek Global * + * Product: iDempiere ERP & CRM Smart Business Solution * + * 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. * + *****************************************************************************/ +package org.adempiere.webui.panel; + +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.util.ArrayList; +import java.util.Hashtable; +import java.util.logging.Level; + +import org.adempiere.model.MBroadcastMessage; +import org.adempiere.webui.component.Button; +import org.adempiere.webui.component.Checkbox; +import org.adempiere.webui.component.Label; +import org.adempiere.webui.component.Window; +import org.compiere.model.MNote; +import org.compiere.util.CLogger; +import org.compiere.util.DB; +import org.compiere.util.Env; +import org.idempiere.broadcast.IBroadcastMsgPopup; +import org.zkoss.zk.ui.Component; +import org.zkoss.zk.ui.event.Event; +import org.zkoss.zk.ui.event.EventListener; +import org.zkoss.zk.ui.event.Events; +import org.zkoss.zul.Borderlayout; +import org.zkoss.zul.Cell; +import org.zkoss.zul.Center; +import org.zkoss.zul.Div; +import org.zkoss.zul.Hbox; +import org.zkoss.zul.Html; +import org.zkoss.zul.North; +import org.zkoss.zul.Separator; +import org.zkoss.zul.South; + +/** + * + * @author Vivek + * @author Deepak Pansheriya + * + */ +public class BroadcastMessageWindow extends Window implements IBroadcastMsgPopup,EventListener{ + + /** + * + */ + private static final long serialVersionUID = 5990080817061314383L; + private static CLogger log = CLogger.getCLogger(BroadcastMessageWindow.class); + public static final int PRESSED_PREV = 1; + public static final int PRESSED_NEXT = 2; + public static final int UPDATE_CurrMsg = 0; + + private int currMsg=0; + private Label textMsgNo = null; + private Html textMsgContent = null; + private North north =null; + private Div swDiv =null; + private Div sDiv = null; + private Button btnPrev = null; + private Button btnNext = null; + private Checkbox acknowledged = null; + private ArrayList mbMessages = null; + private Hashtable hashMessages = new Hashtable(); + private HeaderPanel pnlHead = null; + private boolean isTest = false; + private boolean initialised = false; + /*public BroadcastMessageWindow(){ + //init(); + }*/ + + public BroadcastMessageWindow(HeaderPanel pnlHead) { + this.pnlHead = pnlHead; + textMsgNo = new Label(); + textMsgContent = new Html(); + textMsgContent.setStyle("color:black;"); + btnPrev = new Button("<"); + btnNext = new Button(">"); + } + + private void init() { + setTitle("Message"); + Borderlayout layout = new Borderlayout(); + this.appendChild(layout); + addEventListener("onFocus", this); + initialised = true; + + setWidth("30%"); + setHeight("30%"); + setPosition("right,bottom"); + setBorder(true); + setShadow(false); + doOverlapped(); + setClosable(true); + + north = new North(); + layout.appendChild(north); + + Center center = new Center(); + layout.appendChild(center); + Div htmlDiv = new Div(); + //textMsgContent = new Label(); + htmlDiv.appendChild(textMsgContent); + textMsgContent.setContent(mbMessages.get(0).getBroadcastMessage()); + htmlDiv.setFocus(true); + htmlDiv.setStyle("display: table-cell; vertical-align: middle; text-align: center;"); + Div divAlign = new Div(); + divAlign.setStyle("color:white; position: absolute; width: 370px; height: 120px; display: table;"); + htmlDiv.setParent(divAlign); + center.appendChild(divAlign); + center.setBorder("rounded"); + center.setStyle("-moz-border-radius: 3px; -webkit-border-radius: 3px; border: 1px solid #BBBBBB; border-radius: 3px; margin-bottom:10px;"); + + South south = new South(); + layout.appendChild(south); + Hbox southHLayout = new Hbox(); + south.appendChild(southHLayout); + southHLayout.setSpacing("30"); + southHLayout.setWidth("350px"); + + Cell leftCell = new Cell(); + southHLayout.appendChild(leftCell); + leftCell.setHflex("1"); + //leftCell.setWidth("30%"); + leftCell.setAlign("left"); + swDiv = new Div(); + swDiv.setParent(leftCell); + acknowledged = new Checkbox(); + + Cell rightCell = new Cell(); + southHLayout.appendChild(rightCell); + rightCell.setAlign("right"); + rightCell.setHflex("2"); + sDiv = new Div(); + sDiv.setWidth("70px"); + rightCell.appendChild(sDiv); + + + //createHashTable(); + currMsg = 0; + //btnPrev = new Button("<"); + btnPrev.addEventListener("onClick", this); + //textMsgNo = new Label(); + //textMsgNo.setValue((currMsg+1)+"/"+noOfMsgs); + btnNext = new Button(">"); + btnNext.addEventListener("onClick", this); + + swDiv.appendChild(btnPrev); + swDiv.appendChild(new Separator("vertical")); + swDiv.appendChild(textMsgNo); + swDiv.appendChild(new Separator("vertical")); + swDiv.appendChild(btnNext); + textMsgNo.setStyle("font-weight:bold;"); + + renderMsg(UPDATE_CurrMsg); + + if(mbMessages.size()<=0) + swDiv.setVisible(false); + + south.setHeight("22%"); + //south.setWidth("45%"); + acknowledged.setParent(rightCell); + acknowledged.setVisible(false); + //acknowledged.setHflex("6"); + acknowledged.setLabel("Acknowledge"); + acknowledged.addEventListener("onClick", this); + + } + + private void createHashTable() { + hashMessages.clear(); + for(int i=0; i arrMessages){ + mbMessages = arrMessages; + createHashTable(); + if(!initialised) + init(); + pnlHead.appendChild(this); + } + + /** + * Append message to existing message list + * @param mbMessage + * @param isTest + */ + public void appendMessage(MBroadcastMessage mbMessage, boolean isTest){ + this.isTest = isTest; + currMsg = 0; + if(mbMessages!=null && isTest){ + mbMessages.clear(); + }else if(mbMessages == null){ + mbMessages = new ArrayList(); + } + + mbMessages.add(0, mbMessage); + if(!isTest) + createHashTable(); + + if(!initialised) + init(); + else if(!isTest){ + currMsg=0; + renderMsg(UPDATE_CurrMsg); + } + + pnlHead.appendChild(this); + } + + @Override + public void onEvent(Event event) throws Exception { + Component comp = event.getTarget(); + int noOfMsgs = mbMessages.size(); + + if(event.getName().equals(Events.ON_CLICK)){ + if(comp == btnPrev){ + if(currMsg > 0){ + currMsg--; + renderMsg(PRESSED_PREV); + } + }else if (comp == btnNext){ + if(currMsg < noOfMsgs-1){ + currMsg++; + renderMsg(PRESSED_NEXT); + } + }else if(comp == acknowledged){ + hashMessages.put(mbMessages.get(currMsg).get_ID(), acknowledged.isChecked()); + } + } + } + + /** + * Update message on window + * @param status + */ + public void renderMsg(int status) { + int msgToUpdate = currMsg-1; + if(status == PRESSED_NEXT){ + msgToUpdate = currMsg-1; + }else if(status == PRESSED_PREV){ + msgToUpdate = currMsg+1; + }else if(status == UPDATE_CurrMsg){ + msgToUpdate = currMsg; + } + + int noOfMsgs = mbMessages.size(); + MBroadcastMessage mbMessage = mbMessages.get(currMsg); + String broadcastFrequency = mbMessage.getBroadcastFrequency(); + + if(mbMessages.size()>1) + swDiv.setVisible(true); + else + swDiv.setVisible(false); + + if (noOfMsgs > 1) { + btnNext.setEnabled(true); + btnPrev.setEnabled(true); + MBroadcastMessage prevMsg = mbMessages.get(msgToUpdate); + if((prevMsg.getBroadcastFrequency().equals("J") + || prevMsg.getBroadcastType().equals(MBroadcastMessage.BROADCASTTYPE_Immediate))){ + hashMessages.put(prevMsg.get_ID(), true); + } + + if (currMsg == 0) { + btnPrev.setEnabled(false); + } else if (currMsg == noOfMsgs - 1) { + if ((broadcastFrequency.equals("J")) + || (mbMessage.getBroadcastType().equals(MBroadcastMessage.BROADCASTTYPE_Immediate))) { + hashMessages.put(mbMessage.get_ID(), true); + } + btnNext.setEnabled(false); + } + } + + textMsgNo.setValue((currMsg+1)+"/"+noOfMsgs); + textMsgContent.setContent(mbMessage.getBroadcastMessage()); + + if(!isTest && mbMessage.isLogAcknowledge() && broadcastFrequency.equals(MBroadcastMessage.BROADCASTFREQUENCY_UntilExpiration)){ + boolean ack = hashMessages.get(mbMessage.get_ID()); + acknowledged.setChecked(ack); + acknowledged.setVisible(true); + }else if((broadcastFrequency.equals("J")) + || (mbMessage.getBroadcastType().equals(MBroadcastMessage.BROADCASTTYPE_Immediate))){ + acknowledged.setVisible(false); + hashMessages.put(mbMessages.get(currMsg).get_ID(), true); + }else{ + acknowledged.setVisible(false); + } + + } + + /** + * Get AD Note entries for current login user for provided message + * @param mbMessage + * @return + */ + public MNote getMNote(MBroadcastMessage mbMessage) { + String sql = "SELECT * FROM AD_Note WHERE AD_BroadcastMessage_ID = ? AND AD_User_ID = ?"; + MNote note =null; + if(!mbMessage.getBroadcastType().equals(MBroadcastMessage.BROADCASTTYPE_Immediate)){ + PreparedStatement pstmt = null; + ResultSet rs=null; + try { + pstmt = DB.prepareStatement(sql, null); + pstmt.setInt(1, mbMessage.get_ID()); + pstmt.setInt(2, Env.getAD_User_ID(Env.getCtx())); + rs = pstmt.executeQuery(); + if(rs.next()) + note = new MNote(Env.getCtx(), rs, null); + } catch (Exception e) { + log.log(Level.SEVERE, "Note for the Mesaage Could not be retrieved ",e); + }finally{ + DB.close(rs, pstmt); + } + } + return note; + } + + @Override + public void onClose() { + super.onClose(); + if (!isTest) { + if(mbMessages.size()==1){ + if ((mbMessages.get(0).getBroadcastFrequency().equals("J")) + || (mbMessages.get(0).getBroadcastType().equals(MBroadcastMessage.BROADCASTTYPE_Immediate))) { + hashMessages.put(mbMessages.get(0).get_ID(), true); + } + } + ArrayList acknowedgedMsgs = new ArrayList(); + for (MBroadcastMessage mbMessage : mbMessages) { + if(!mbMessage.getBroadcastType().equals(MBroadcastMessage.BROADCASTTYPE_Immediate)){ + MNote note = getMNote(mbMessage); + note.setProcessed(hashMessages.get(mbMessage.get_ID())); + if(hashMessages.get(mbMessage.get_ID())){ + acknowedgedMsgs.add(mbMessage); + } + note.save(); + }else{ + acknowedgedMsgs.add(mbMessage); + } + } + for (MBroadcastMessage mBroadcastMessage : acknowedgedMsgs) { + mbMessages.remove(mBroadcastMessage); + } + } + } +}