public void VendorSaveUpateShipFroms(Apsv apsv) { var pdsapsv = new pdsapsvDataSet(); DataRow ttblapsvCriteria = pdsapsv.ttblapsv.NewttblapsvRow(); Apsv.UpdateRowFromApsv(ref ttblapsvCriteria, apsv); pdsapsv.ttblapsv.AddttblapsvRow((pdsapsvDataSet.ttblapsvRow)ttblapsvCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("VendorSaveUpateShipFroms - Asapsetup - Before Call"); StopwatchUtil.Time( () => { using (var poAsapsetupproxy = this.proxyAppObject.CreatePO_asapsetupproxy()) { this.SetRequiredContextParameters(); poAsapsetupproxy.VendorSaveUpateShipFroms(ref pdsContext, ref pdsapsv, out cErrorMessage); } }); NLogLoggerP.Info("VendorSaveUpateShipFroms - Asapsetup - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsapsv); }
public IEnumerable <Messaging> VendorSaveUpdateWarnings(Apsv apsv) { var results = new List <Messaging>(); var pdsapsv = new pdsapsvDataSet(); var pdsmessaging = new pdsmessagingDataSet(); DataRow ttblapsvCriteria = pdsapsv.ttblapsv.NewttblapsvRow(); Apsv.UpdateRowFromApsv(ref ttblapsvCriteria, apsv); pdsapsv.ttblapsv.AddttblapsvRow((pdsapsvDataSet.ttblapsvRow)ttblapsvCriteria); string cErrorMessage = string.Empty; NLogLoggerP.Trace("VendorSaveUpdateWarnings - Asapsetup - Before Call"); StopwatchUtil.Time( () => { using (var poAsapsetupproxy = this.proxyAppObject.CreatePO_asapsetupproxy()) { this.SetRequiredContextParameters(); poAsapsetupproxy.VendorSaveUpdateWarnings(ref pdsContext, pdsapsv, out pdsmessaging, out cErrorMessage); } }); NLogLoggerP.Info("VendorSaveUpdateWarnings - Asapsetup - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsapsv); foreach (DataRow row in pdsmessaging.ttblmessaging) { results.Add(Messaging.BuildMessagingFromRow(row)); } return(results); }
public void UpdateToRow(ref DataRow row, Apsv record) { Apsv.UpdateRowFromApsv(ref row, record); this.ExtraUpdateToRow(ref row, record); }