public IEnumerable <Icwhseavailresults> ICWhseAvail(Icwhseavailcriteria icwhseavailcriteria) { var results = new List <Icwhseavailresults>(); var pdsicwhseavail = new pdsicwhseavailDataSet(); DataRow ttblicwhseavailcriteriaCriteria = pdsicwhseavail.ttblicwhseavailcriteria.NewttblicwhseavailcriteriaRow(); Icwhseavailcriteria.UpdateRowFromIcwhseavailcriteria(ref ttblicwhseavailcriteriaCriteria, icwhseavailcriteria); pdsicwhseavail.ttblicwhseavailcriteria.AddttblicwhseavailcriteriaRow((pdsicwhseavailDataSet.ttblicwhseavailcriteriaRow)ttblicwhseavailcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("ICWhseAvail - Asicinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAsicinquiryproxy = this.proxyAppObject.CreatePO_asicinquiryproxy()) { this.SetRequiredContextParameters(); poAsicinquiryproxy.ICWhseAvail(ref pdsContext, ref pdsicwhseavail, out cErrorMessage); } }); NLogLoggerP.Info("ICWhseAvail - Asicinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsicwhseavail); foreach (DataRow row in pdsicwhseavail.ttblicwhseavailresults) { results.Add(Icwhseavailresults.BuildIcwhseavailresultsFromRow(row)); } return(results); }
public IEnumerable <Icwhseavailresults> ICWhseAvail(Icwhseavailcriteria icwhseavailcriteria) { return(this.repository.ICWhseAvail(icwhseavailcriteria)); }
public IEnumerable <Icwhseavailresults> ICWhseAvail(Icwhseavailcriteria icwhseavailcriteria) { return(this.adapter.ICWhseAvail(icwhseavailcriteria)); }