示例#1
0
        public string POHeaderFinish(Poheaderfinishcriteria poheaderfinishcriteria)
        {
            var pdspoheaderfinish = new pdspoheaderfinishDataSet();

            DataRow ttblpoheaderfinishcriteriaCriteria = pdspoheaderfinish.ttblpoheaderfinishcriteria.NewttblpoheaderfinishcriteriaRow();

            Poheaderfinishcriteria.UpdateRowFromPoheaderfinishcriteria(ref ttblpoheaderfinishcriteriaCriteria, poheaderfinishcriteria);
            pdspoheaderfinish.ttblpoheaderfinishcriteria.AddttblpoheaderfinishcriteriaRow((pdspoheaderfinishDataSet.ttblpoheaderfinishcriteriaRow)ttblpoheaderfinishcriteriaCriteria);

            string cErrorMessage   = string.Empty;
            string cWarningMessage = string.Empty;


            NLogLoggerP.Trace("POHeaderFinish - Aspoheader - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAspoheaderproxy = this.proxyAppObject.CreatePO_aspoheaderproxy())
                {
                    this.SetRequiredContextParameters();
                    poAspoheaderproxy.POHeaderFinish(ref pdsContext, pdspoheaderfinish, out cErrorMessage, out cWarningMessage);
                }
            });
            NLogLoggerP.Info("POHeaderFinish - Aspoheader - After Call");


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

            return(cWarningMessage);
        }
示例#2
0
 public string POHeaderFinish(Poheaderfinishcriteria poheaderfinishcriteria)
 {
     return(this.repository.POHeaderFinish(poheaderfinishcriteria));
 }
示例#3
0
 public string POHeaderFinish(Poheaderfinishcriteria poheaderfinishcriteria)
 {
     return(this.adapter.POHeaderFinish(poheaderfinishcriteria));
 }