Case Entry Search

Hello All,

(sales mgmt > customer relationship > general operation > case entry)

On a button click event, i am trying to list all the cases(both open and closed) in case entry >selection >criterion > Case management List sheet.

so for start-up, i placed a button and coded below lines in button click event.

Epicor.Mfg.UI.Adapters.HelpDeskAdapter hd = new Epicor.Mfg.UI.Adapters.HelpDeskAdapter(oTrans);
hd.BOConnect();
hd.clearData();

bool x = hd.HelpDeskSearch();

if (x == true)
{
MessageBox.Show(Convert.ToString(hd.HelpDeskData.HDCase[0].Number01));

}
else
{
MessageBox.Show("NoData");
}


but, when i compiled, it says error "Search Parameter Not Found" at the Line "bool x = hdd.HelpDeskSearch();"

How to achieve my objective? any guidance? or reference please?