[ 1672618 ] Enable processes to run silently

Postponed to end of bugfixing before 3.2
This commit is contained in:
deathmeat 2007-03-03 03:17:30 +00:00
parent 35a1b5dbd6
commit e41160ef6b
2 changed files with 31 additions and 29 deletions

View File

@ -475,24 +475,24 @@ public class ProcessParameter extends CDialog
return m_isOK; return m_isOK;
} // isOK } // isOK
public void setVisible(boolean b) /** deathmeat: POSTPONED TO END OF BUG FIXING BEFORE 3.2 */
{ // public void setVisible(boolean b)
MProcess m_process = new MProcess(Env.getCtx(), // {
m_processInfo.getAD_Process_ID(), null); // MProcess m_process = new MProcess(Env.getCtx(),
if(m_process.getShowHelp() != null && m_process.getShowHelp().equals("S")) // m_processInfo.getAD_Process_ID(), null);
{ // if(m_process.getShowHelp() != null && m_process.getShowHelp().equals("S"))
// It is defined as a silent process // {
if(saveParameters()) // // It is defined as a silent process
{ // if(saveParameters())
m_isOK = true; // {
dispose(); // m_isOK = true;
} // dispose();
} // }
else // }
{ // else
// Not a silent process // {
super.setVisible(b); // // Not a silent process
} // super.setVisible(b);
} // }
// }
} // ProcessParameter } // ProcessParameter

View File

@ -1,9 +1,11 @@
Insert into "AD_REF_LIST" -- POSTPONED TO END OF BUG FIXING BEFORE 3.2
("AD_REF_LIST_ID","AD_CLIENT_ID","AD_ORG_ID","ISACTIVE","CREATED","CREATEDBY",
"UPDATED","UPDATEDBY","VALUE","NAME","DESCRIPTION","AD_REFERENCE_ID","VALIDFROM",
"VALIDTO","ENTITYTYPE")
values
(50040,0,0,'Y',to_date('02.03.07','DD.MM.RR'),0,to_date('02.03.07','DD.MM.RR'),
0,'S','Run silently - Take Defaults',null,50007,null,null,'D');
COMMIT; -- Insert into "AD_REF_LIST"
-- ("AD_REF_LIST_ID","AD_CLIENT_ID","AD_ORG_ID","ISACTIVE","CREATED","CREATEDBY",
-- "UPDATED","UPDATEDBY","VALUE","NAME","DESCRIPTION","AD_REFERENCE_ID","VALIDFROM",
-- "VALIDTO","ENTITYTYPE")
-- values
-- (50040,0,0,'Y',to_date('02.03.07','DD.MM.RR'),0,to_date('02.03.07','DD.MM.RR'),
-- 0,'S','Run silently - Take Defaults',null,50007,null,null,'D');
--COMMIT;