Пример #1
0
        public AswtheaderWTETHeaderFinishResponseAPI WTETHeaderFinish(Wtheaderfinishcriteria wtheaderfinishcriteria)
        {
            var result = new AswtheaderWTETHeaderFinishResponseAPI();

            var pdswtheaderfinish = new pdswtheaderfinishDataSet();

            DataRow ttblwtheaderfinishcriteriaCriteria = pdswtheaderfinish.ttblwtheaderfinishcriteria.NewttblwtheaderfinishcriteriaRow();

            Wtheaderfinishcriteria.UpdateRowFromWtheaderfinishcriteria(ref ttblwtheaderfinishcriteriaCriteria, wtheaderfinishcriteria);
            pdswtheaderfinish.ttblwtheaderfinishcriteria.AddttblwtheaderfinishcriteriaRow((pdswtheaderfinishDataSet.ttblwtheaderfinishcriteriaRow)ttblwtheaderfinishcriteriaCriteria);

            bool   lForcePrintFl   = false;
            string cErrorMessage   = string.Empty;
            string cWarningMessage = string.Empty;


            NLogLoggerP.Trace("WTETHeaderFinish - Aswtheader - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAswtheaderproxy = this.proxyAppObject.CreatePO_aswtheaderproxy())
                {
                    this.SetRequiredContextParameters();
                    poAswtheaderproxy.WTETHeaderFinish(ref pdsContext, pdswtheaderfinish, out lForcePrintFl, out cErrorMessage, out cWarningMessage);
                }
            });
            NLogLoggerP.Info("WTETHeaderFinish - Aswtheader - After Call");


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

            result.lForcePrintFl   = lForcePrintFl;
            result.cWarningMessage = cWarningMessage;

            return(result);
        }
Пример #2
0
 public AswtheaderWTETHeaderFinishResponseAPI WTETHeaderFinish(Wtheaderfinishcriteria wtheaderfinishcriteria)
 {
     return(this.repository.WTETHeaderFinish(wtheaderfinishcriteria));
 }
Пример #3
0
 public AswtheaderWTETHeaderFinishResponseAPI WTETHeaderFinish(Wtheaderfinishcriteria wtheaderfinishcriteria)
 {
     return(this.adapter.WTETHeaderFinish(wtheaderfinishcriteria));
 }