[ 1672618 ] Enable processes to run silently
Postponed to end of bugfixing before 3.2
This commit is contained in:
parent
35a1b5dbd6
commit
e41160ef6b
|
@ -474,25 +474,25 @@ public class ProcessParameter extends CDialog
|
|||
{
|
||||
return m_isOK;
|
||||
} // isOK
|
||||
|
||||
public void setVisible(boolean b)
|
||||
{
|
||||
MProcess m_process = new MProcess(Env.getCtx(),
|
||||
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())
|
||||
{
|
||||
m_isOK = true;
|
||||
dispose();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Not a silent process
|
||||
super.setVisible(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);
|
||||
// if(m_process.getShowHelp() != null && m_process.getShowHelp().equals("S"))
|
||||
// {
|
||||
// // It is defined as a silent process
|
||||
// if(saveParameters())
|
||||
// {
|
||||
// m_isOK = true;
|
||||
// dispose();
|
||||
// }
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// // Not a silent process
|
||||
// super.setVisible(b);
|
||||
// }
|
||||
// }
|
||||
} // ProcessParameter
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
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');
|
||||
-- POSTPONED TO END OF BUG FIXING BEFORE 3.2
|
||||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue