public void VANonStockValidate(Vanonstockvalidate vanonstockvalidate) { var pdsvanonstockvalidate = new pdsvanonstockvalidateDataSet(); DataRow ttblvanonstockvalidateCriteria = pdsvanonstockvalidate.ttblvanonstockvalidate.NewttblvanonstockvalidateRow(); Vanonstockvalidate.UpdateRowFromVanonstockvalidate(ref ttblvanonstockvalidateCriteria, vanonstockvalidate); pdsvanonstockvalidate.ttblvanonstockvalidate.AddttblvanonstockvalidateRow((pdsvanonstockvalidateDataSet.ttblvanonstockvalidateRow)ttblvanonstockvalidateCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("VANonStockValidate - Asvaline - Before Call"); StopwatchUtil.Time( () => { using (var poAsvalineproxy = this.proxyAppObject.CreatePO_asvalineproxy()) { this.SetRequiredContextParameters(); poAsvalineproxy.VANonStockValidate(ref pdsContext, ref pdsvanonstockvalidate, out cErrorMessage); } }); NLogLoggerP.Info("VANonStockValidate - Asvaline - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsvanonstockvalidate); }
public Vanonstockvalidate VAHeaderNonStockVal(Vanonstockvalidate vanonstockvalidate) { var result = new Vanonstockvalidate(); var pdsvanonstockvalidate = new pdsvanonstockvalidateDataSet(); DataRow ttblvanonstockvalidateCriteria = pdsvanonstockvalidate.ttblvanonstockvalidate.NewttblvanonstockvalidateRow(); Vanonstockvalidate.UpdateRowFromVanonstockvalidate(ref ttblvanonstockvalidateCriteria, vanonstockvalidate); pdsvanonstockvalidate.ttblvanonstockvalidate.AddttblvanonstockvalidateRow((pdsvanonstockvalidateDataSet.ttblvanonstockvalidateRow)ttblvanonstockvalidateCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("VAHeaderNonStockVal - Asvaheader - Before Call"); StopwatchUtil.Time( () => { using (var poAsvaheaderproxy = this.proxyAppObject.CreatePO_asvaheaderproxy()) { this.SetRequiredContextParameters(); poAsvaheaderproxy.VAHeaderNonStockVal(ref pdsContext, ref pdsvanonstockvalidate, out cErrorMessage); } }); NLogLoggerP.Info("VAHeaderNonStockVal - Asvaheader - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsvanonstockvalidate); if (pdsvanonstockvalidate.ttblvanonstockvalidate.Count > 0) { result = Vanonstockvalidate.BuildVanonstockvalidateFromRow(pdsvanonstockvalidate.ttblvanonstockvalidate[0]); } return(result); }