[ 1672618 ] Enable processes to run silently
This commit is contained in:
parent
ce26a17e04
commit
221be72ff6
|
@ -475,4 +475,24 @@ 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);
|
||||
}
|
||||
}
|
||||
|
||||
} // ProcessParameter
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
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