public Gletfinupdrept GLETFinUpdReptInit(string cGroupName) { var result = new Gletfinupdrept(); var pdsgletfinupdrept = new pdsgletfinupdreptDataSet(); string cErrorMessage = string.Empty; NLogLoggerP.Trace("GLETFinUpdReptInit - Asglentry - Before Call"); StopwatchUtil.Time( () => { using (var poAsglentryproxy = this.proxyAppObject.CreatePO_asglentryproxy()) { this.SetRequiredContextParameters(); poAsglentryproxy.GLETFinUpdReptInit(ref pdsContext, cGroupName, out pdsgletfinupdrept, out cErrorMessage); } }); NLogLoggerP.Info("GLETFinUpdReptInit - Asglentry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsgletfinupdrept); if (pdsgletfinupdrept.ttblgletfinupdrept.Count > 0) { result = Gletfinupdrept.BuildGletfinupdreptFromRow(pdsgletfinupdrept.ttblgletfinupdrept[0]); } return(result); }
public void GLETFinUpdReptRun(AsglentryGLETFinUpdReptRunRequestAPI AsglentryGLETFinUpdReptRunRequestAPI) { var pdsgletfinupdrept = new pdsgletfinupdreptDataSet(); var pdsprintersettings = new pdsprintersettingsDataSet(); string cErrorMessage = string.Empty; DataRow ttblgletfinupdreptRow = pdsgletfinupdrept.ttblgletfinupdrept.NewttblgletfinupdreptRow(); Gletfinupdrept.UpdateRowFromGletfinupdrept(ref ttblgletfinupdreptRow, AsglentryGLETFinUpdReptRunRequestAPI.gletfinupdrept); pdsgletfinupdrept.ttblgletfinupdrept.AddttblgletfinupdreptRow((pdsgletfinupdreptDataSet.ttblgletfinupdreptRow)ttblgletfinupdreptRow); DataRow ttblprintersettingsRow = pdsprintersettings.ttblprintersettings.NewttblprintersettingsRow(); Printersettings.UpdateRowFromPrintersettings(ref ttblprintersettingsRow, AsglentryGLETFinUpdReptRunRequestAPI.printersettings); pdsprintersettings.ttblprintersettings.AddttblprintersettingsRow((pdsprintersettingsDataSet.ttblprintersettingsRow)ttblprintersettingsRow); NLogLoggerP.Trace("GLETFinUpdReptRun - Asglentry - Before Call"); StopwatchUtil.Time( () => { using (var poAsglentryproxy = this.proxyAppObject.CreatePO_asglentryproxy()) { this.SetRequiredContextParameters(); poAsglentryproxy.GLETFinUpdReptRun(ref pdsContext, pdsgletfinupdrept, pdsprintersettings, out cErrorMessage); } }); NLogLoggerP.Info("GLETFinUpdReptRun - Asglentry - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsgletfinupdrept); }