public Loadpoheaderaddlwhseresults LoadPOHeaderAddlWhse(Loadpoheaderaddlwhsecriteria loadpoheaderaddlwhsecriteria) { var result = new Loadpoheaderaddlwhseresults(); var pdsloadpoheaderaddlwhse = new pdsloadpoheaderaddlwhseDataSet(); DataRow ttblloadpoheaderaddlwhsecriteriaCriteria = pdsloadpoheaderaddlwhse.ttblloadpoheaderaddlwhsecriteria.NewttblloadpoheaderaddlwhsecriteriaRow(); Loadpoheaderaddlwhsecriteria.UpdateRowFromLoadpoheaderaddlwhsecriteria(ref ttblloadpoheaderaddlwhsecriteriaCriteria, loadpoheaderaddlwhsecriteria); pdsloadpoheaderaddlwhse.ttblloadpoheaderaddlwhsecriteria.AddttblloadpoheaderaddlwhsecriteriaRow((pdsloadpoheaderaddlwhseDataSet.ttblloadpoheaderaddlwhsecriteriaRow)ttblloadpoheaderaddlwhsecriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("LoadPOHeaderAddlWhse - Aspoinquiry - Before Call"); StopwatchUtil.Time( () => { using (var poAspoinquiryproxy = this.proxyAppObject.CreatePO_aspoinquiryproxy()) { this.SetRequiredContextParameters(); poAspoinquiryproxy.LoadPOHeaderAddlWhse(ref pdsContext, ref pdsloadpoheaderaddlwhse, out cErrorMessage); } }); NLogLoggerP.Info("LoadPOHeaderAddlWhse - Aspoinquiry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsloadpoheaderaddlwhse); if (pdsloadpoheaderaddlwhse.ttblloadpoheaderaddlwhseresults.Count > 0) { result = Loadpoheaderaddlwhseresults.BuildLoadpoheaderaddlwhseresultsFromRow(pdsloadpoheaderaddlwhse.ttblloadpoheaderaddlwhseresults[0]); } return(result); }
public Loadpoheaderaddlwhseresults LoadPOHeaderAddlWhse(Loadpoheaderaddlwhsecriteria loadpoheaderaddlwhsecriteria) { return(this.repository.LoadPOHeaderAddlWhse(loadpoheaderaddlwhsecriteria)); }
public Loadpoheaderaddlwhseresults LoadPOHeaderAddlWhse(Loadpoheaderaddlwhsecriteria loadpoheaderaddlwhsecriteria) { return(this.adapter.LoadPOHeaderAddlWhse(loadpoheaderaddlwhsecriteria)); }