Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public AsptxentryPTXGetQueueBatchDetailResponseAPI PTXGetQueueBatchDetail(Ptxqueuebatchdetailcriteria ptxqueuebatchdetailcriteria)
 {
     return(this.adapter.PTXGetQueueBatchDetail(ptxqueuebatchdetailcriteria));
 }