Esempio n. 1
0
        public Vanonstockresults VANonStockLeaveProd(Vanonstockcriteria vanonstockcriteria)
        {
            var result = new Vanonstockresults();

            var pdsvanonstock = new pdsvanonstockDataSet();

            DataRow ttblvanonstockcriteriaCriteria = pdsvanonstock.ttblvanonstockcriteria.NewttblvanonstockcriteriaRow();

            Vanonstockcriteria.UpdateRowFromVanonstockcriteria(ref ttblvanonstockcriteriaCriteria, vanonstockcriteria);
            pdsvanonstock.ttblvanonstockcriteria.AddttblvanonstockcriteriaRow((pdsvanonstockDataSet.ttblvanonstockcriteriaRow)ttblvanonstockcriteriaCriteria);

            string cErrorMessage = string.Empty;


            NLogLoggerP.Trace("VANonStockLeaveProd - Asvaentry - Before Call");
            StopwatchUtil.Time(
                () =>
            {
                using (var poAsvaentryproxy = this.proxyAppObject.CreatePO_asvaentryproxy())
                {
                    this.SetRequiredContextParameters();
                    poAsvaentryproxy.VANonStockLeaveProd(ref pdsContext, ref pdsvanonstock, out cErrorMessage);
                }
            });
            NLogLoggerP.Info("VANonStockLeaveProd - Asvaentry - After Call");


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

            if (pdsvanonstock.ttblvanonstockresults.Count > 0)
            {
                result = Vanonstockresults.BuildVanonstockresultsFromRow(pdsvanonstock.ttblvanonstockresults[0]);
            }


            return(result);
        }
Esempio n. 2
0
 public Vanonstockresults VANonStockLeaveProd(Vanonstockcriteria vanonstockcriteria)
 {
     return(this.adapter.VANonStockLeaveProd(vanonstockcriteria));
 }
Esempio n. 3
0
 public Vanonstockresults VANonStockLeaveProd(Vanonstockcriteria vanonstockcriteria)
 {
     return(this.repository.VANonStockLeaveProd(vanonstockcriteria));
 }