public IEnumerable <Polinelistresults> LoadPOLineList(AspolineLoadPOLineListRequestAPI AspolineLoadPOLineListRequestAPI) { var results = new List <Polinelistresults>(); var pdspolinelist = new pdspolinelistDataSet(); string cErrorMessage = string.Empty; var pvPono = AspolineLoadPOLineListRequestAPI.pvPono; var pvPosuf = AspolineLoadPOLineListRequestAPI.pvPosuf; var pvShowinactive = AspolineLoadPOLineListRequestAPI.pvShowinactive; NLogLoggerP.Trace("LoadPOLineList - Aspoline - Before Call"); StopwatchUtil.Time( () => { using (var poAspolineproxy = this.proxyAppObject.CreatePO_aspolineproxy()) { this.SetRequiredContextParameters(); poAspolineproxy.LoadPOLineList(ref pdsContext, pvPono, pvPosuf, pvShowinactive, out pdspolinelist, out cErrorMessage); } }); NLogLoggerP.Info("LoadPOLineList - Aspoline - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdspolinelist); foreach (DataRow row in pdspolinelist.ttblpolinelistresults) { results.Add(Polinelistresults.BuildPolinelistresultsFromRow(row)); } return(results); }
public IEnumerable <Polinelistresults> LoadPOLineList(AspolineLoadPOLineListRequestAPI AspolineLoadPOLineListRequestAPI) { return(this.repository.LoadPOLineList(AspolineLoadPOLineListRequestAPI)); }
public IEnumerable <Polinelistresults> LoadPOLineList(AspolineLoadPOLineListRequestAPI AspolineLoadPOLineListRequestAPI) { return(this.adapter.LoadPOLineList(AspolineLoadPOLineListRequestAPI)); }