IDEMPIERE-788 Add translation support for popup request window from dashboard calendar / Peer review

This commit is contained in:
Carlos Ruiz 2013-04-03 15:52:55 -05:00
parent 709f3dd961
commit 29d58d8b77
5 changed files with 63 additions and 382 deletions

View File

@ -1,176 +1,12 @@
-- Apr 1, 2013 2:15:25 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Event',1000000,'D','8d8f6949-7469-4b37-b058-1a893951f983','Event','Y',TO_DATE('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),0)
-- IDEMPIERE-788 Add translation support for popup request window from dashboard calendar
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Event',200158,'D','8d8f6949-7469-4b37-b058-1a893951f983','Event','Y',TO_DATE('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:15:25 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000000 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200158 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:16:00 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Refresh',1000001,'D','562c6e44-d7df-4f8b-a282-d88e67184db9','refresh','Y',TO_DATE('2013-04-01 14:16:00','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:16:00','YYYY-MM-DD HH24:MI:SS'),0)
SELECT register_migration_script('201304011424_IDEMPIERE-788.sql') FROM dual
;
-- Apr 1, 2013 2:16:00 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000001 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:16:31 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Due Type',1000002,'D','e5d8daaa-0054-45f0-a32a-1f4da9e449c0','DueType','Y',TO_DATE('2013-04-01 14:16:31','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:16:31','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:16:31 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000002 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:17:04 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Request Type',1000003,'D','2bf24424-6a49-420a-be0d-7610571250f4','RequestType','Y',TO_DATE('2013-04-01 14:17:03','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:17:03','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:17:04 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000003 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:17:30 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Priority',1000004,'D','b033ffaa-3091-422e-a4d0-0b0ebf3d9693','Priority','Y',TO_DATE('2013-04-01 14:17:29','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:17:29','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:17:30 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000004 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:17:49 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Summary',1000005,'D','ab55721e-632b-4005-9561-94992fb00e71','Summary','Y',TO_DATE('2013-04-01 14:17:49','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:17:49','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:18:17 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Confidentiality',1000006,'D','44f42d5b-010d-49df-95d3-ed65322dea17','Confidentiality','Y',TO_DATE('2013-04-01 14:18:17','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:18:17','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:18:17 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000006 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:18:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Sales Representative',1000007,'D','c89786a9-a6ee-4c48-b5eb-a85a49653ab3','SalesRepresentative','Y',TO_DATE('2013-04-01 14:18:46','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:18:46','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:18:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000007 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:19:09 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Entry Confidentiality',1000008,'D','1b0cf8f6-fe24-4510-ac96-6189d47e61e9','EntryConfidentiality','Y',TO_DATE('2013-04-01 14:19:09','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:19:09','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:19:09 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000008 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:19:33 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Start Plan',1000009,'D','a27a3026-9fcc-4ed3-bad0-6ce283f85cd6','StartPlan','Y',TO_DATE('2013-04-01 14:19:33','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:19:33','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:19:33 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000009 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:19:57 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Complete Plan',1000010,'D','b9179219-f23c-4b7a-a0a2-c0a1e45a0934','CompletePlan','Y',TO_DATE('2013-04-01 14:19:57','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:19:57','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:19:57 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000010 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:20:35 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Start Time',1000011,'D','043a1e7e-7d5c-438c-add2-d8857cf9efae','StartTime','Y',TO_DATE('2013-04-01 14:20:35','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:20:35','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:20:35 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000011 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:20:56 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','End Time',1000012,'D','63a4d8af-37cf-4c5c-b392-1e1558c3d9ab','EndTime','Y',TO_DATE('2013-04-01 14:20:56','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:20:56','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:20:56 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000012 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:21:21 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Header Color',1000013,'D','c224e61a-51f9-4b3f-bf69-3bd3c8e432b7','HeaderColor','Y',TO_DATE('2013-04-01 14:21:21','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:21:21','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:21:21 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000013 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:21:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Content Color',1000014,'D','0df3808a-9881-4389-addc-da790facdde6','ContentColor','Y',TO_DATE('2013-04-01 14:21:46','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:21:46','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:21:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000014 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:22:10 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Begin Date',1000015,'D','dda226f5-1b99-4a22-83d0-ca54a5fa1d65','BeginDate','Y',TO_DATE('2013-04-01 14:22:10','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:22:10','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:22:10 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000015 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:22:32 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','End Date',1000016,'D','715538e3-4e19-4ee0-8400-2edf25e410b1','EndDate','Y',TO_DATE('2013-04-01 14:22:32','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:22:32','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:22:32 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000016 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:22:53 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Content',1000017,'D','a6dd3e45-9a1f-4522-83b8-719f7c9904e8','Content','Y',TO_DATE('2013-04-01 14:22:53','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_DATE('2013-04-01 14:22:53','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:22:53 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000017 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
SELECT register_migration_script('201304011424_IDEMPIERE-788.sql') FROM dual;

View File

@ -1,176 +1,12 @@
-- Apr 1, 2013 2:15:25 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Event',1000000,'D','8d8f6949-7469-4b37-b058-1a893951f983','Event','Y',TO_TIMESTAMP('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),0)
-- IDEMPIERE-788 Add translation support for popup request window from dashboard calendar
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Event',200158,'D','8d8f6949-7469-4b37-b058-1a893951f983','Event','Y',TO_TIMESTAMP('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:15:25','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:15:25 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000000 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=200158 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:16:00 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Refresh',1000001,'D','562c6e44-d7df-4f8b-a282-d88e67184db9','refresh','Y',TO_TIMESTAMP('2013-04-01 14:16:00','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:16:00','YYYY-MM-DD HH24:MI:SS'),0)
SELECT register_migration_script('201304011424_IDEMPIERE-788.sql') FROM dual
;
-- Apr 1, 2013 2:16:00 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000001 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:16:31 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Due Type',1000002,'D','e5d8daaa-0054-45f0-a32a-1f4da9e449c0','DueType','Y',TO_TIMESTAMP('2013-04-01 14:16:31','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:16:31','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:16:31 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000002 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:17:04 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Request Type',1000003,'D','2bf24424-6a49-420a-be0d-7610571250f4','RequestType','Y',TO_TIMESTAMP('2013-04-01 14:17:03','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:17:03','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:17:04 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000003 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:17:30 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Priority',1000004,'D','b033ffaa-3091-422e-a4d0-0b0ebf3d9693','Priority','Y',TO_TIMESTAMP('2013-04-01 14:17:29','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:17:29','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:17:30 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000004 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:17:49 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Summary',1000005,'D','ab55721e-632b-4005-9561-94992fb00e71','Summary','Y',TO_TIMESTAMP('2013-04-01 14:17:49','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:17:49','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:18:17 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Confidentiality',1000006,'D','44f42d5b-010d-49df-95d3-ed65322dea17','Confidentiality','Y',TO_TIMESTAMP('2013-04-01 14:18:17','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:18:17','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:18:17 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000006 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:18:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Sales Representative',1000007,'D','c89786a9-a6ee-4c48-b5eb-a85a49653ab3','SalesRepresentative','Y',TO_TIMESTAMP('2013-04-01 14:18:46','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:18:46','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:18:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000007 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:19:09 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Entry Confidentiality',1000008,'D','1b0cf8f6-fe24-4510-ac96-6189d47e61e9','EntryConfidentiality','Y',TO_TIMESTAMP('2013-04-01 14:19:09','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:19:09','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:19:09 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000008 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:19:33 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Start Plan',1000009,'D','a27a3026-9fcc-4ed3-bad0-6ce283f85cd6','StartPlan','Y',TO_TIMESTAMP('2013-04-01 14:19:33','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:19:33','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:19:33 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000009 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:19:57 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Complete Plan',1000010,'D','b9179219-f23c-4b7a-a0a2-c0a1e45a0934','CompletePlan','Y',TO_TIMESTAMP('2013-04-01 14:19:57','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:19:57','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:19:57 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000010 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:20:35 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Start Time',1000011,'D','043a1e7e-7d5c-438c-add2-d8857cf9efae','StartTime','Y',TO_TIMESTAMP('2013-04-01 14:20:35','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:20:35','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:20:35 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000011 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:20:56 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','End Time',1000012,'D','63a4d8af-37cf-4c5c-b392-1e1558c3d9ab','EndTime','Y',TO_TIMESTAMP('2013-04-01 14:20:56','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:20:56','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:20:56 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000012 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:21:21 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Header Color',1000013,'D','c224e61a-51f9-4b3f-bf69-3bd3c8e432b7','HeaderColor','Y',TO_TIMESTAMP('2013-04-01 14:21:21','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:21:21','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:21:21 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000013 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:21:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Content Color',1000014,'D','0df3808a-9881-4389-addc-da790facdde6','ContentColor','Y',TO_TIMESTAMP('2013-04-01 14:21:46','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:21:46','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:21:46 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000014 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:22:10 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Begin Date',1000015,'D','dda226f5-1b99-4a22-83d0-ca54a5fa1d65','BeginDate','Y',TO_TIMESTAMP('2013-04-01 14:22:10','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:22:10','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:22:10 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000015 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:22:32 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','End Date',1000016,'D','715538e3-4e19-4ee0-8400-2edf25e410b1','EndDate','Y',TO_TIMESTAMP('2013-04-01 14:22:32','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:22:32','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:22:32 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000016 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
-- Apr 1, 2013 2:22:53 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message (MsgType,MsgText,AD_Message_ID,EntityType,AD_Message_UU,Value,IsActive,Updated,CreatedBy,UpdatedBy,AD_Org_ID,Created,AD_Client_ID) VALUES ('I','Content',1000017,'D','a6dd3e45-9a1f-4522-83b8-719f7c9904e8','Content','Y',TO_TIMESTAMP('2013-04-01 14:22:53','YYYY-MM-DD HH24:MI:SS'),100,100,0,TO_TIMESTAMP('2013-04-01 14:22:53','YYYY-MM-DD HH24:MI:SS'),0)
;
-- Apr 1, 2013 2:22:53 PM COT
-- I forgot to set the DICTIONARY_ID_COMMENTS System Configurator
INSERT INTO AD_Message_Trl (AD_Language,AD_Message_ID, MsgText,MsgTip, IsTranslated,AD_Client_ID,AD_Org_ID,Created,Createdby,Updated,UpdatedBy,AD_Message_Trl_UU ) SELECT l.AD_Language,t.AD_Message_ID, t.MsgText,t.MsgTip, 'N',t.AD_Client_ID,t.AD_Org_ID,t.Created,t.Createdby,t.Updated,t.UpdatedBy,Generate_UUID() FROM AD_Language l, AD_Message t WHERE l.IsActive='Y' AND l.IsSystemLanguage='Y' AND l.IsBaseLanguage='N' AND t.AD_Message_ID=1000017 AND NOT EXISTS (SELECT * FROM AD_Message_Trl tt WHERE tt.AD_Language=l.AD_Language AND tt.AD_Message_ID=t.AD_Message_ID)
;
SELECT register_migration_script('201304011424_IDEMPIERE-788.sql') FROM dual;

View File

@ -13,6 +13,8 @@
*****************************************************************************/
package org.adempiere.webui.dashboard;
import java.util.Properties;
import org.adempiere.webui.apps.AEnv;
import org.adempiere.webui.component.Borderlayout;
import org.adempiere.webui.component.Column;
@ -26,6 +28,8 @@ import org.adempiere.webui.component.Row;
import org.adempiere.webui.component.Rows;
import org.adempiere.webui.component.Textbox;
import org.adempiere.webui.component.Window;
import org.compiere.model.MRequest;
import org.compiere.model.MRequestType;
import org.compiere.util.Env;
import org.compiere.util.Msg;
import org.zkoss.zk.ui.event.Event;
@ -54,19 +58,20 @@ public class EventWindow extends Window implements EventListener<Event> {
super();
setTitle(Msg.getMsg(Env.getCtx(),"Event"));
Properties ctx = Env.getCtx();
setTitle(Msg.getMsg(ctx,"Event"));
setAttribute(Window.MODE_KEY, Window.MODE_POPUP);
setWidth("400px");
setHeight("310px");
this.setBorder("normal");
this.setClosable(true);
Label lblHeaderColor = new Label(Msg.getMsg(Env.getCtx(),"HeaderColor"));
Label lblContentColor = new Label(Msg.getMsg(Env.getCtx(),"ContentColor"));
Label lblBeginDate = new Label(Msg.getMsg(Env.getCtx(),"BeginDate"));
Label lblEndDate = new Label(Msg.getMsg(Env.getCtx(),"EndDate"));
Label lblContent = new Label(Msg.getMsg(Env.getCtx(),"Content"));
Label lblHeaderColor = new Label(Msg.getElement(ctx,MRequestType.COLUMNNAME_HeaderColor));
Label lblContentColor = new Label(Msg.getElement(ctx,MRequestType.COLUMNNAME_ContentColor));
Label lblBeginDate = new Label(Msg.getElement(ctx,"StartDate"));
Label lblEndDate = new Label(Msg.getElement(ctx,"EndDate"));
Label lblContent = new Label(Msg.getElement(ctx,MRequest.COLUMNNAME_Summary));
dtBeginDate = new DatetimeBox();
dtBeginDate.setEnabled(false);

View File

@ -14,6 +14,7 @@
package org.adempiere.webui.dashboard;
import java.sql.Timestamp;
import java.util.Properties;
import java.util.logging.Level;
import org.adempiere.webui.component.Borderlayout;
@ -79,7 +80,8 @@ public class RequestWindow extends Window implements EventListener<Event> {
super();
this.parent = parent;
Properties ctx = Env.getCtx();
setTitle(Msg.getMsg(Env.getCtx(),"Event"));
setAttribute(Window.MODE_KEY, Window.MODE_HIGHLIGHTED);
setWidth("400px");
@ -88,65 +90,65 @@ public class RequestWindow extends Window implements EventListener<Event> {
this.setClosable(true);
m_readOnly = !MRole.getDefault().canUpdate(
Env.getAD_Client_ID(Env.getCtx()), Env.getAD_Org_ID(Env.getCtx()),
Env.getAD_Client_ID(ctx), Env.getAD_Org_ID(ctx),
MRequest.Table_ID, 0, false);
Label lblDueType = new Label(Msg.getMsg(Env.getCtx(),"DueType"));
Label lblRequestType = new Label(Msg.getMsg(Env.getCtx(),"RequestType"));
Label lblPriority = new Label(Msg.getMsg(Env.getCtx(),"Priority"));
Label lblSummary = new Label(Msg.getMsg(Env.getCtx(),"Summary"));
Label lblConfidential = new Label(Msg.getMsg(Env.getCtx(),"Confidentiality"));
Label lblSalesRep = new Label(Msg.getMsg(Env.getCtx(),"SalesRepresentative"));
Label lblEntryConfidential = new Label(Msg.getMsg(Env.getCtx(),"EntryConfidentiality"));
Label lblStartPlan = new Label(Msg.getMsg(Env.getCtx(),"StartPlan"));
Label lblCompletePlan = new Label(Msg.getMsg(Env.getCtx(),"CompletePlan"));
Label lblStartTime = new Label(Msg.getMsg(Env.getCtx(),"StartTime"));
Label lblEndTime = new Label(Msg.getMsg(Env.getCtx(),"EndTime"));
Label lblDueType = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_DueType));
Label lblRequestType = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_R_RequestType_ID));
Label lblPriority = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_Priority));
Label lblSummary = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_Summary));
Label lblConfidential = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_ConfidentialType));
Label lblSalesRep = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_SalesRep_ID));
Label lblEntryConfidential = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_ConfidentialTypeEntry));
Label lblStartPlan = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_DateStartPlan));
Label lblCompletePlan = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_DateCompletePlan));
Label lblStartTime = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_StartTime));
Label lblEndTime = new Label(Msg.getElement(ctx, MRequest.COLUMNNAME_EndTime));
int columnID = MColumn.getColumn_ID(MRequest.Table_Name, MRequest.COLUMNNAME_DueType);
MLookup lookup = MLookupFactory.get(Env.getCtx(), 0, 0, columnID, DisplayType.List);
MLookup lookup = MLookupFactory.get(ctx, 0, 0, columnID, DisplayType.List);
dueTypeField = new WTableDirEditor("DueType", true, false, true, lookup);
dueTypeField.setValue(Env.getContext(Env.getCtx(), "P232|DueType"));
dueTypeField.setValue(Env.getContext(ctx, "P232|DueType"));
if(dueTypeField.getValue() == null || dueTypeField.getValue().equals(""))
if(dueTypeField.getComponent().getItemCount() > 1)
dueTypeField.setValue(dueTypeField.getComponent().getItemAtIndex(1).getValue());
columnID = MColumn.getColumn_ID(MRequest.Table_Name, MRequest.COLUMNNAME_R_RequestType_ID);
lookup = MLookupFactory.get(Env.getCtx(), 0, 0, columnID, DisplayType.TableDir);
lookup = MLookupFactory.get(ctx, 0, 0, columnID, DisplayType.TableDir);
requestTypeField = new WTableDirEditor("R_RequestType_ID", true, false, true, lookup);
requestTypeField.setValue(Env.getContext(Env.getCtx(), "P232|R_RequestType_ID"));
requestTypeField.setValue(Env.getContext(ctx, "P232|R_RequestType_ID"));
if(requestTypeField.getValue() == null || requestTypeField.getValue().equals(""))
if(requestTypeField.getComponent().getItemCount() > 1)
requestTypeField.setValue(requestTypeField.getComponent().getItemAtIndex(1).getValue());
columnID = MColumn.getColumn_ID(MRequest.Table_Name, MRequest.COLUMNNAME_Priority);
lookup = MLookupFactory.get(Env.getCtx(), 0, 0, columnID, DisplayType.List);
lookup = MLookupFactory.get(ctx, 0, 0, columnID, DisplayType.List);
priorityField = new WTableDirEditor("Priority", true, false, true, lookup);
priorityField.setValue(Env.getContext(Env.getCtx(), "P232|Priority"));
priorityField.setValue(Env.getContext(ctx, "P232|Priority"));
if(priorityField.getValue() == null || priorityField.getValue().equals(""))
if(priorityField.getComponent().getItemCount() > 1)
priorityField.setValue(priorityField.getComponent().getItemAtIndex(1).getValue());
columnID = MColumn.getColumn_ID(MRequest.Table_Name, MRequest.COLUMNNAME_ConfidentialType);
lookup = MLookupFactory.get(Env.getCtx(), 0, 0, columnID, DisplayType.List);
lookup = MLookupFactory.get(ctx, 0, 0, columnID, DisplayType.List);
confidentialField = new WTableDirEditor("ConfidentialType", true, false, true, lookup);
confidentialField.setValue(Env.getContext(Env.getCtx(), "P232|ConfidentialType"));
confidentialField.setValue(Env.getContext(ctx, "P232|ConfidentialType"));
if(confidentialField.getValue() == null || confidentialField.getValue().equals(""))
if(confidentialField.getComponent().getItemCount() > 1)
confidentialField.setValue(confidentialField.getComponent().getItemAtIndex(1).getValue());
columnID = MColumn.getColumn_ID(MRequest.Table_Name, MRequest.COLUMNNAME_SalesRep_ID);
lookup = MLookupFactory.get(Env.getCtx(), 0, 0, columnID, DisplayType.TableDir);
lookup = MLookupFactory.get(ctx, 0, 0, columnID, DisplayType.TableDir);
salesRepField = new WTableDirEditor("SalesRep_ID", true, false, true, lookup);
salesRepField.setValue(Env.getContextAsInt(Env.getCtx(), "SalesRep_ID"));
if(salesRepField.getValue() == null || salesRepField.getValue().equals("0"))
salesRepField.setValue(Env.getContextAsInt(ctx, "SalesRep_ID"));
if(salesRepField.getValue() == null || salesRepField.getValue().equals(0))
if(salesRepField.getComponent().getItemCount() > 1)
salesRepField.setValue(salesRepField.getComponent().getItemAtIndex(1).getValue());
columnID = MColumn.getColumn_ID(MRequest.Table_Name, MRequest.COLUMNNAME_ConfidentialTypeEntry);
lookup = MLookupFactory.get(Env.getCtx(), 0, 0, columnID, DisplayType.List);
lookup = MLookupFactory.get(ctx, 0, 0, columnID, DisplayType.List);
entryConfidentialField = new WTableDirEditor("ConfidentialTypeEntry", true, false, true, lookup);
entryConfidentialField.setValue(Env.getContext(Env.getCtx(), "P232|ConfidentialTypeEntry"));
entryConfidentialField.setValue(Env.getContext(ctx, "P232|ConfidentialTypeEntry"));
if(entryConfidentialField.getValue() == null || entryConfidentialField.getValue().equals(""))
if(entryConfidentialField.getComponent().getItemCount() > 1)
entryConfidentialField.setValue(entryConfidentialField.getComponent().getItemAtIndex(1).getValue());
@ -260,20 +262,21 @@ public class RequestWindow extends Window implements EventListener<Event> {
this.detach();
else if (e.getTarget() == confirmPanel.getButton(ConfirmPanel.A_OK)) {
// Check Mandatory fields
String fillMandatory = Msg.translate(Env.getCtx(), "FillMandatory");
if (dueTypeField.getValue() == null || dueTypeField.getValue().equals(""))
throw new WrongValueException(dueTypeField.getComponent(), Msg.translate(Env.getCtx(), "FillMandatory"));
if (requestTypeField.getValue() == null || requestTypeField.getValue().equals("0"))
throw new WrongValueException(requestTypeField.getComponent(), Msg.translate(Env.getCtx(), "FillMandatory"));
throw new WrongValueException(dueTypeField.getComponent(), fillMandatory);
if (requestTypeField.getValue() == null || requestTypeField.getValue().equals(0))
throw new WrongValueException(requestTypeField.getComponent(), fillMandatory);
if (priorityField.getValue() == null || priorityField.getValue().equals(""))
throw new WrongValueException(priorityField.getComponent(), Msg.translate(Env.getCtx(), "FillMandatory"));
throw new WrongValueException(priorityField.getComponent(), fillMandatory);
if (txtSummary.getText() == null || txtSummary.getText().equals(""))
throw new WrongValueException(txtSummary, Msg.translate(Env.getCtx(), "FillMandatory"));
throw new WrongValueException(txtSummary, fillMandatory);
if (confidentialField.getValue() == null || confidentialField.getValue().equals(""))
throw new WrongValueException(confidentialField.getComponent(), Msg.translate(Env.getCtx(), "FillMandatory"));
if (salesRepField.getValue() == null || salesRepField.getValue().equals("0"))
throw new WrongValueException(salesRepField.getComponent(), Msg.translate(Env.getCtx(), "FillMandatory"));
throw new WrongValueException(confidentialField.getComponent(), fillMandatory);
if (salesRepField.getValue() == null || salesRepField.getValue().equals(0))
throw new WrongValueException(salesRepField.getComponent(), fillMandatory);
if (entryConfidentialField.getValue() == null || entryConfidentialField.getValue().equals(""))
throw new WrongValueException(entryConfidentialField.getComponent(), Msg.translate(Env.getCtx(), "FillMandatory"));
throw new WrongValueException(entryConfidentialField.getComponent(), fillMandatory);
MRequest request = new MRequest(Env.getCtx(), 0, null);
request.setAD_Org_ID(Env.getAD_Org_ID(Env.getCtx()));

View File

@ -5,8 +5,9 @@
var calendarIcon = org.adempiere.webui.theme.ThemeManager.getThemeResource("images/Calendar16.png");
import org.compiere.util.Msg;
import org.compiere.util.Env;
var today = Msg.getMsg(Env.getCtx(),"today");
var refresh = Msg.getMsg(Env.getCtx(),"refresh");
import org.compiere.util.Util;
var today = Msg.getMsg(Env.getCtx(),"Today");
var refresh = Util.cleanAmp(Msg.getMsg(Env.getCtx(),"Refresh"));
]]></zscript>
<style src="calendar.css"/>
<calendars firstDayOfWeek="Monday" model="${cm}" mold="month" id="cal">