That being said, does anyone know which assembly contains Ice.Lib.Proxy.BOReader in E10? I cannot see it in the post but sounds like there was an answer to add into screen customization.
When using the BOReader.GetList you βmustβ specify the UD columns you want. When doing BOReader.GetRows you can leave the columns ββ and get all. If your just getting Epicor Columns its ok.
// WORKS! - BRINGS IN THE PART REV INFO WITH MY UD FIELDS POPULATED!
System.Data.DataSet dsPartRevSearchAdapter = _bor.GetList("Erp:BO:PartRevSearch", whereClause, "PartNum, RevisionNum, Character10, CheckBox02, CheckBox03, CheckBox04, Date01, Date02");
// DOES NOT WORK - BRINGS IN THE PART REV INFO BUT MY UD FIELDS REMAIN BLANK
//System.Data.DataSet dsPartRevSearchAdapter = _bor.GetList("Erp:BO:PartRevSearch", whereClause, "");
Well thank you on mine and @josecgomez behalf for those kind words. May a 1000 elephants fertilize your pumpkin patch with their droppings. Very kind of you sir!
@hkeric.wci Help! Can you share your where clause in you used in your example? I am having a hell of time figuring out to properly use the PartRevSearchAdapter. I need to find the latest approved rev.
Update - Iβll still love to get your feedback but I got it working. First I dropped my attempt at using an obscure method and went with GetList().
PartRevSearchAdapter prs = new PartRevSearchAdapter(oTrans);
prs.BOConnect();
bool more = false;
SearchOptions opts = new SearchOptions(SearchMode.AutoSearch);
opts.NamedSearch.WhereClauses.Add("BaseList", "PartNum = '"+pn+"' AND Approved = TRUE");
DataSet myRevs = prs.GetList(opts, out more);
OwnerForm.dataGridView1.DataSource = myRevs.Tables[0];
prs.Dispose();
``
I used BOReader - should be pretty much the same. this._bor = WCFServiceSupport.CreateImpl<Ice.Proxy.Lib.BOReaderImpl>((Ice.Core.Session)oTrans.Session, Epicor.ServiceModel.Channels.ImplBase<Ice.Contracts.BOReaderSvcContract>.UriPath);