Пример #1
0
        public AsvaentryVAReceiptCreateIISectionResponseAPI VAReceiptCreateIISection(AsvaentryVAReceiptCreateIISectionRequestAPI AsvaentryVAReceiptCreateIISectionRequestAPI)
        {
            var result = new AsvaentryVAReceiptCreateIISectionResponseAPI();

            var pdsmessaging = new pdsmessagingDataSet();

            int    pvSeqno       = 0;
            string cErrorMessage = string.Empty;

            var pvSctncode = AsvaentryVAReceiptCreateIISectionRequestAPI.pvSctncode;

            var pvCompletefl = AsvaentryVAReceiptCreateIISectionRequestAPI.pvCompletefl;

            var pvPasspono = AsvaentryVAReceiptCreateIISectionRequestAPI.pvPasspono;

            var pvPassposuf = AsvaentryVAReceiptCreateIISectionRequestAPI.pvPassposuf;

            var pvPasslineno = AsvaentryVAReceiptCreateIISectionRequestAPI.pvPasslineno;

            var pvVano = AsvaentryVAReceiptCreateIISectionRequestAPI.pvVano;

            var pvVasuf = AsvaentryVAReceiptCreateIISectionRequestAPI.pvVasuf;


            NLogLoggerP.Trace("VAReceiptCreateIISection - Asvaentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsvaentryproxy = this.proxyAppObject.CreatePO_asvaentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsvaentryproxy.VAReceiptCreateIISection(ref pdsContext, pvSctncode, pvCompletefl, pvPasspono, pvPassposuf, pvPasslineno, ref pvVano, ref pvVasuf, out pvSeqno, out pdsmessaging, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("VAReceiptCreateIISection - Asvaentry - After Call");


            this.ReportErrors(cErrorMessage);
            this.ReportErrors(this.pdsContext);
            this.ReportErrors(pdsmessaging);

            foreach (DataRow row in pdsmessaging.ttblmessaging)
            {
                result.messaging.Add(Messaging.BuildMessagingFromRow(row));
            }
            result.pvVano  = pvVano;
            result.pvVasuf = pvVasuf;
            result.pvSeqno = pvSeqno;

            return(result);
        }
Пример #2
0
 public AsvaentryVAReceiptCreateIISectionResponseAPI VAReceiptCreateIISection(AsvaentryVAReceiptCreateIISectionRequestAPI AsvaentryVAReceiptCreateIISectionRequestAPI)
 {
     return(this.adapter.VAReceiptCreateIISection(AsvaentryVAReceiptCreateIISectionRequestAPI));
 }
Пример #3
0
 public AsvaentryVAReceiptCreateIISectionResponseAPI VAReceiptCreateIISection(AsvaentryVAReceiptCreateIISectionRequestAPI AsvaentryVAReceiptCreateIISectionRequestAPI)
 {
     return(this.repository.VAReceiptCreateIISection(AsvaentryVAReceiptCreateIISectionRequestAPI));
 }