public AspoheaderPOETPrintLoadChangeOrderResponseAPI POETPrintLoadChangeOrder(AspoheaderPOETPrintLoadChangeOrderRequestAPI AspoheaderPOETPrintLoadChangeOrderRequestAPI) { return(this.repository.POETPrintLoadChangeOrder(AspoheaderPOETPrintLoadChangeOrderRequestAPI)); }
public AspoheaderPOETPrintLoadChangeOrderResponseAPI POETPrintLoadChangeOrder(AspoheaderPOETPrintLoadChangeOrderRequestAPI AspoheaderPOETPrintLoadChangeOrderRequestAPI) { var result = new AspoheaderPOETPrintLoadChangeOrderResponseAPI(); var pdspoetprintloadcriteria = new pdspoetprintloadcriteriaDataSet(); var pdspoetprintglobals = new pdspoetprintglobalsDataSet(); var pdspoetprint = new pdspoetprintDataSet(); string cErrorMessage = string.Empty; foreach (var obj in AspoheaderPOETPrintLoadChangeOrderRequestAPI.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, AspoheaderPOETPrintLoadChangeOrderRequestAPI.poetprintscreensingle); pdspoetprint.ttblpoetprintscreensingle.AddttblpoetprintscreensingleRow((pdspoetprintDataSet.ttblpoetprintscreensingleRow)ttblpoetprintscreensingleRow); DataRow ttblpoetprintglobalsRow = pdspoetprintglobals.ttblpoetprintglobals.NewttblpoetprintglobalsRow(); Poetprintglobals.UpdateRowFromPoetprintglobals(ref ttblpoetprintglobalsRow, AspoheaderPOETPrintLoadChangeOrderRequestAPI.poetprintglobals); pdspoetprintglobals.ttblpoetprintglobals.AddttblpoetprintglobalsRow((pdspoetprintglobalsDataSet.ttblpoetprintglobalsRow)ttblpoetprintglobalsRow); DataRow ttblpoetprintloadcriteriaRow = pdspoetprintloadcriteria.ttblpoetprintloadcriteria.NewttblpoetprintloadcriteriaRow(); Poetprintloadcriteria.UpdateRowFromPoetprintloadcriteria(ref ttblpoetprintloadcriteriaRow, AspoheaderPOETPrintLoadChangeOrderRequestAPI.poetprintloadcriteria); pdspoetprintloadcriteria.ttblpoetprintloadcriteria.AddttblpoetprintloadcriteriaRow((pdspoetprintloadcriteriaDataSet.ttblpoetprintloadcriteriaRow)ttblpoetprintloadcriteriaRow); NLogLoggerP.Trace("POETPrintLoadChangeOrder - Aspoheader - Before Call"); StopwatchUtil.Time( () => { using (var poAspoheaderproxy = this.proxyAppObject.CreatePO_aspoheaderproxy()) { this.SetRequiredContextParameters(); poAspoheaderproxy.POETPrintLoadChangeOrder(ref pdsContext, pdspoetprintloadcriteria, ref pdspoetprintglobals, ref pdspoetprint, out cErrorMessage); } }); NLogLoggerP.Info("POETPrintLoadChangeOrder - Aspoheader - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdspoetprintloadcriteria); foreach (DataRow row in pdspoetprint.ttblpoetprintreportlist) { result.poetprintreportlist.Add(Poetprintreportlist.BuildPoetprintreportlistFromRow(row)); } if (pdspoetprint.ttblpoetprintscreensingle.Count > 0) { result.poetprintscreensingle = Poetprintscreensingle.BuildPoetprintscreensingleFromRow(pdspoetprint.ttblpoetprintscreensingle[0]); } if (pdspoetprintglobals.ttblpoetprintglobals.Count > 0) { result.poetprintglobals = Poetprintglobals.BuildPoetprintglobalsFromRow(pdspoetprintglobals.ttblpoetprintglobals[0]); } return(result); }
public AspoheaderPOETPrintLoadChangeOrderResponseAPI POETPrintLoadChangeOrder(AspoheaderPOETPrintLoadChangeOrderRequestAPI AspoheaderPOETPrintLoadChangeOrderRequestAPI) { return(this.adapter.POETPrintLoadChangeOrder(AspoheaderPOETPrintLoadChangeOrderRequestAPI)); }