public Loadpolinenonstockresults LoadPOLineNonstock(Loadpolinenonstockcriteria loadpolinenonstockcriteria) { var result = new Loadpolinenonstockresults(); var pdsloadpolinenonstock = new pdsloadpolinenonstockDataSet(); DataRow ttblloadpolinenonstockcriteriaCriteria = pdsloadpolinenonstock.ttblloadpolinenonstockcriteria.NewttblloadpolinenonstockcriteriaRow(); Loadpolinenonstockcriteria.UpdateRowFromLoadpolinenonstockcriteria(ref ttblloadpolinenonstockcriteriaCriteria, loadpolinenonstockcriteria); pdsloadpolinenonstock.ttblloadpolinenonstockcriteria.AddttblloadpolinenonstockcriteriaRow((pdsloadpolinenonstockDataSet.ttblloadpolinenonstockcriteriaRow)ttblloadpolinenonstockcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("LoadPOLineNonstock - Aspoinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAspoinquiryproxy = this.proxyAppObject.CreatePO_aspoinquiryproxy()) { this.SetRequiredContextParameters(); poAspoinquiryproxy.LoadPOLineNonstock(ref pdsContext, ref pdsloadpolinenonstock, out cErrorMessage); } }); NLogLoggerP.Info("LoadPOLineNonstock - Aspoinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsloadpolinenonstock); if (pdsloadpolinenonstock.ttblloadpolinenonstockresults.Count > 0) { result = Loadpolinenonstockresults.BuildLoadpolinenonstockresultsFromRow(pdsloadpolinenonstock.ttblloadpolinenonstockresults[0]); } return(result); }
public Loadpolinenonstockresults LoadPOLineNonstock(Loadpolinenonstockcriteria loadpolinenonstockcriteria) { return(this.repository.LoadPOLineNonstock(loadpolinenonstockcriteria)); }
public Loadpolinenonstockresults LoadPOLineNonstock(Loadpolinenonstockcriteria loadpolinenonstockcriteria) { return(this.adapter.LoadPOLineNonstock(loadpolinenonstockcriteria)); }