public Poetprintscreensingle POETPrintValidate(AspoheaderPOETPrintValidateRequestAPI AspoheaderPOETPrintValidateRequestAPI) { var result = new Poetprintscreensingle(); var pdsprintersettings = new pdsprintersettingsDataSet(); var pdspoetprint = new pdspoetprintDataSet(); string cErrorMessage = string.Empty; foreach (var obj in AspoheaderPOETPrintValidateRequestAPI.poetprintreportlist) { DataRow ttblpoetprintreportlistRow = pdspoetprint.ttblpoetprintreportlist.NewttblpoetprintreportlistRow(); Poetprintreportlist.UpdateRowFromPoetprintreportlist(ref ttblpoetprintreportlistRow, obj); pdspoetprint.ttblpoetprintreportlist.AddttblpoetprintreportlistRow((pdspoetprintDataSet.ttblpoetprintreportlistRow)ttblpoetprintreportlistRow); } DataRow ttblpoetprintscreensingleRow = pdspoetprint.ttblpoetprintscreensingle.NewttblpoetprintscreensingleRow(); Poetprintscreensingle.UpdateRowFromPoetprintscreensingle(ref ttblpoetprintscreensingleRow, AspoheaderPOETPrintValidateRequestAPI.poetprintscreensingle); pdspoetprint.ttblpoetprintscreensingle.AddttblpoetprintscreensingleRow((pdspoetprintDataSet.ttblpoetprintscreensingleRow)ttblpoetprintscreensingleRow); foreach (var obj in AspoheaderPOETPrintValidateRequestAPI.printersettings) { DataRow ttblprintersettingsRow = pdsprintersettings.ttblprintersettings.NewttblprintersettingsRow(); Printersettings.UpdateRowFromPrintersettings(ref ttblprintersettingsRow, obj); pdsprintersettings.ttblprintersettings.AddttblprintersettingsRow((pdsprintersettingsDataSet.ttblprintersettingsRow)ttblprintersettingsRow); } var iPoNo = AspoheaderPOETPrintValidateRequestAPI.iPoNo; var iPoSuf = AspoheaderPOETPrintValidateRequestAPI.iPoSuf; NLogLoggerP.Trace("POETPrintValidate - Aspoheader - Before Call"); StopwatchUtil.Time( () => { using (var poAspoheaderproxy = this.proxyAppObject.CreatePO_aspoheaderproxy()) { this.SetRequiredContextParameters(); poAspoheaderproxy.POETPrintValidate(ref pdsContext, iPoNo, iPoSuf, pdsprintersettings, ref pdspoetprint, out cErrorMessage); } }); NLogLoggerP.Info("POETPrintValidate - Aspoheader - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsprintersettings); if (pdspoetprint.ttblpoetprintscreensingle.Count > 0) { result = Poetprintscreensingle.BuildPoetprintscreensingleFromRow(pdspoetprint.ttblpoetprintscreensingle[0]); } return(result); }
public Poetprintscreensingle POETPrintValidate(AspoheaderPOETPrintValidateRequestAPI AspoheaderPOETPrintValidateRequestAPI) { return(this.repository.POETPrintValidate(AspoheaderPOETPrintValidateRequestAPI)); }
public Poetprintscreensingle POETPrintValidate(AspoheaderPOETPrintValidateRequestAPI AspoheaderPOETPrintValidateRequestAPI) { return(this.adapter.POETPrintValidate(AspoheaderPOETPrintValidateRequestAPI)); }