diff --git a/migration/i6.2/oracle/201908232051_IDEMPIERE-4034.sql b/migration/i6.2/oracle/201908232051_IDEMPIERE-4034.sql index b021f59a0c..7ff4acc347 100644 --- a/migration/i6.2/oracle/201908232051_IDEMPIERE-4034.sql +++ b/migration/i6.2/oracle/201908232051_IDEMPIERE-4034.sql @@ -14,5 +14,9 @@ INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,Cr INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,Description,AD_Process_ID,SeqNo,AD_Reference_ID,IsRange,FieldLength,IsMandatory,DefaultValue,ColumnName,IsCentrallyMaintained,EntityType,AD_Element_ID,AD_Process_Para_UU,IsEncrypted) VALUES (200281,0,0,'Y',TO_DATE('2019-08-23 20:28:34','YYYY-MM-DD HH24:MI:SS'),100,TO_DATE('2019-08-23 20:28:34','YYYY-MM-DD HH24:MI:SS'),100,'Only positive balance','Include only positive balance',156,80,20,'N',0,'Y','N','PositiveBalance','Y','D',203357,'50f11422-1361-4d50-b6d3-bfe6770e43d3','N') ; +-- Aug 24, 2019, 2:53:06 PM CEST +UPDATE AD_Process_Para SET DefaultValue='Y',Updated=TO_DATE('2019-08-24 14:53:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=200281 +; + SELECT register_migration_script('201908232051_IDEMPIERE-4034.sql') FROM dual ; diff --git a/migration/i6.2/postgresql/201908232051_IDEMPIERE-4034.sql b/migration/i6.2/postgresql/201908232051_IDEMPIERE-4034.sql index d522ddd161..028f0c44d7 100644 --- a/migration/i6.2/postgresql/201908232051_IDEMPIERE-4034.sql +++ b/migration/i6.2/postgresql/201908232051_IDEMPIERE-4034.sql @@ -11,5 +11,9 @@ INSERT INTO AD_Element (AD_Element_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,Cr INSERT INTO AD_Process_Para (AD_Process_Para_ID,AD_Client_ID,AD_Org_ID,IsActive,Created,CreatedBy,Updated,UpdatedBy,Name,Description,AD_Process_ID,SeqNo,AD_Reference_ID,IsRange,FieldLength,IsMandatory,DefaultValue,ColumnName,IsCentrallyMaintained,EntityType,AD_Element_ID,AD_Process_Para_UU,IsEncrypted) VALUES (200281,0,0,'Y',TO_TIMESTAMP('2019-08-23 20:28:34','YYYY-MM-DD HH24:MI:SS'),100,TO_TIMESTAMP('2019-08-23 20:28:34','YYYY-MM-DD HH24:MI:SS'),100,'Only positive balance','Include only positive balance',156,80,20,'N',0,'Y','N','PositiveBalance','Y','D',203357,'50f11422-1361-4d50-b6d3-bfe6770e43d3','N') ; +-- Aug 24, 2019, 2:53:06 PM CEST +UPDATE AD_Process_Para SET DefaultValue='Y',Updated=TO_TIMESTAMP('2019-08-24 14:53:06','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Process_Para_ID=200281 +; + SELECT register_migration_script('201908232051_IDEMPIERE-4034.sql') FROM dual ; diff --git a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPaySelect.java b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPaySelect.java index 55317fd290..d70640c81f 100644 --- a/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPaySelect.java +++ b/org.adempiere.ui.zk/WEB-INF/src/org/adempiere/webui/apps/form/WPaySelect.java @@ -187,6 +187,7 @@ public class WPaySelect extends PaySelect onlyPositiveBalance.setText(Msg.getMsg(Env.getCtx(), "PositiveBalance")); onlyPositiveBalance.addActionListener(this); + onlyPositiveBalance.setChecked(true); //IDEMPIERE-2657, pritesh shah bGenerate.setEnabled(false);