Hi all,
I have a in HCMWorker form taps in custom Enquiry form.
I need direct to fetch data based on worker.
Query should be for main inquiry for all workers but when we are selecting one worker it should be show data direct.
My custom enquiry code.
public void init()
{
super();
qr = new Query(queryStr(HcmWorkerListPage_ActiveCurComp));
qrun = new QueryRun(qr);
if(MPParameters::find().ShowTBQuery)
{
qrun.prompt();
}
xSysLastValue::getLast(this);
}
As i mentioned the code only work when i directly open to inquiry. and if i select HcmWorker form against then select that popup showing how to handle ?
Give me example.
Thanks