Jose,
This is my code on UD06 customization tools dialog:
object ret = ProcessCaller.InvokeAdapterMethod(oTrans.EpiBaseForm, "QuickSearchAdapter", "ShowQuickSearchForm", new object[] {oTrans.EpiBaseForm, "GTPartNum", true /* multi-select */, new DataTable() });
// user cancelled
if (ret == null) return;
// Perform a native lookup with the returned result
SearchOptions opts = new SearchOptions(SearchMode.AutoSearch);
opts.NamedSearch.WhereClauses.Add("UD02", string.Format("SysRowID='{0}'",ret.ToString()));
opts.DataSetMode = DataSetMode.RowsDataSet;
UD02Adapter _adapter = (UD02Adapter)csm.TransAdaptersHT["oTrans_adapter"];
_adapter.InvokeSearch(opts);
oTrans.NotifyAll();
The QuickSearch that I am trying to open is from UD02.
I manage to open the quick search form, then when I select the row I get this error:
Please help me!
Thanks