1006079 Ease edit of OnLine Context Help. / IDEMPIERE-3438

This commit is contained in:
Heng Sin Low 2016-08-25 22:07:44 +08:00
parent 139de8e0cd
commit 515d6a14cf
4 changed files with 29 additions and 2 deletions

View File

@ -0,0 +1,15 @@
SET SQLBLANKLINES ON
SET DEFINE OFF
-- Aug 25, 2016 8:44:13 PM MYT
-- 1006079 Ease edit of ctx help
UPDATE AD_Process_Para SET DisplayLogic='@AD_UserClient_ID@>0',Updated=TO_DATE('2016-08-25 20:44:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=200178
;
-- Aug 25, 2016 10:00:40 PM MYT
UPDATE AD_Field SET DisplayLogic='@AD_UserClient_ID@>0',Updated=TO_DATE('2016-08-25 22:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=204263
;
SELECT register_migration_script('201608251800_Ticket_1006079.sql') FROM dual
;

View File

@ -0,0 +1,12 @@
-- Aug 25, 2016 8:44:13 PM MYT
-- 1006079 Ease edit of ctx help
UPDATE AD_Process_Para SET DisplayLogic='@AD_UserClient_ID@>0',Updated=TO_TIMESTAMP('2016-08-25 20:44:13','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=200178
;
-- Aug 25, 2016 10:00:40 PM MYT
UPDATE AD_Field SET DisplayLogic='@AD_UserClient_ID@>0',Updated=TO_TIMESTAMP('2016-08-25 22:00:40','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Field_ID=204263
;
SELECT register_migration_script('201608251800_Ticket_1006079.sql') FROM dual
;

View File

@ -254,7 +254,7 @@ public class WCtxHelpSuggestion extends Window implements EventListener<Event> {
}
suggestion.setAD_Language(Env.getAD_Language(Env.getCtx()));
suggestion.setAD_User_ID(Env.getAD_User_ID(Env.getCtx()));
suggestion.setAD_UserClient_ID(Env.getAD_Client_ID(Env.getCtx()));
suggestion.set_ValueOfColumn("AD_UserClient_ID", Env.getAD_Client_ID(Env.getCtx()));
suggestion.setIsApproved(false);
suggestion.setProcessed(false);
suggestion.setMsgText(helpTextbox.getValue());

View File

@ -142,7 +142,7 @@ public class WFieldSuggestion extends Window implements EventListener<Event> {
suggestion.setAD_Language(Env.getAD_Language(Env.getCtx()));
suggestion.setAD_Org_ID(0);
suggestion.setAD_User_ID(Env.getAD_User_ID(Env.getCtx()));
suggestion.setAD_UserClient_ID(Env.getAD_Client_ID(Env.getCtx()));
suggestion.set_ValueOfColumn("AD_UserClient_ID",Env.getAD_Client_ID(Env.getCtx()));
suggestion.setDescription(descriptionTextbox.getText());
suggestion.setHelp(helpTextbox.getText());
suggestion.setName(nameTextbox.getText());