public AsptxentryPTXGetQueueBatchDetailResponseAPI PTXGetQueueBatchDetail(Ptxqueuebatchdetailcriteria ptxqueuebatchdetailcriteria) { var result = new AsptxentryPTXGetQueueBatchDetailResponseAPI(); var pdsptxqueuebatchdetail = new pdsptxqueuebatchdetailDataSet(); DataRow ttblptxqueuebatchdetailcriteriaCriteria = pdsptxqueuebatchdetail.ttblptxqueuebatchdetailcriteria.NewttblptxqueuebatchdetailcriteriaRow(); Ptxqueuebatchdetailcriteria.UpdateRowFromPtxqueuebatchdetailcriteria(ref ttblptxqueuebatchdetailcriteriaCriteria, ptxqueuebatchdetailcriteria); pdsptxqueuebatchdetail.ttblptxqueuebatchdetailcriteria.AddttblptxqueuebatchdetailcriteriaRow((pdsptxqueuebatchdetailDataSet.ttblptxqueuebatchdetailcriteriaRow)ttblptxqueuebatchdetailcriteriaCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("PTXGetQueueBatchDetail - Asptxentry - Before Call"); StopwatchUtil.Time( () => { using (var poAsptxentryproxy = this.proxyAppObject.CreatePO_asptxentryproxy()) { this.SetRequiredContextParameters(); poAsptxentryproxy.PTXGetQueueBatchDetail(ref pdsContext, ref pdsptxqueuebatchdetail, out cErrorMessage); } }); NLogLoggerP.Info("PTXGetQueueBatchDetail - Asptxentry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsptxqueuebatchdetail); if (pdsptxqueuebatchdetail.ttblptxqueuebatchdetailhdr.Count > 0) { result.ptxqueuebatchdetailhdr = Ptxqueuebatchdetailhdr.BuildPtxqueuebatchdetailhdrFromRow(pdsptxqueuebatchdetail.ttblptxqueuebatchdetailhdr[0]); } foreach (DataRow row in pdsptxqueuebatchdetail.ttblptxqueuebatchdetailresults) { result.ptxqueuebatchdetailresults.Add(Ptxqueuebatchdetailresults.BuildPtxqueuebatchdetailresultsFromRow(row)); } return(result); }