public IcsecLookupNonStockInventoryResponseAPI LookupNonStockInventory(Nsinvhdrlookupcriteria nsinvhdrlookupcriteria) { var result = new IcsecLookupNonStockInventoryResponseAPI(); var pdsnsinvhdrlookup = new pdsnsinvhdrlookupDataSet(); DataRow ttblnsinvhdrlookupcriteriaCriteria = pdsnsinvhdrlookup.ttblnsinvhdrlookupcriteria.NewttblnsinvhdrlookupcriteriaRow(); Nsinvhdrlookupcriteria.UpdateRowFromNsinvhdrlookupcriteria(ref ttblnsinvhdrlookupcriteriaCriteria, nsinvhdrlookupcriteria); pdsnsinvhdrlookup.ttblnsinvhdrlookupcriteria.AddttblnsinvhdrlookupcriteriaRow((pdsnsinvhdrlookupDataSet.ttblnsinvhdrlookupcriteriaRow)ttblnsinvhdrlookupcriteriaCriteria); string cErrorMessage = string.Empty; bool lMoreRecords = false; NLogLoggerP.Trace("LookupNonStockInventory - Icsec - Before Call"); StopwatchUtil.Time( () => { using (var poIcsecproxy = this.proxyAppObject.CreatePO_icsecproxy()) { this.SetRequiredContextParameters(); poIcsecproxy.LookupNonStockInventory(ref pdsContext, ref pdsnsinvhdrlookup, out cErrorMessage, out lMoreRecords); } }); NLogLoggerP.Info("LookupNonStockInventory - Icsec - After Call"); this.ReportErrors(cErrorMessage); this.ReportErrors(this.pdsContext); this.ReportErrors(pdsnsinvhdrlookup); foreach (DataRow row in pdsnsinvhdrlookup.ttblnsinvhdrlookupresults) { result.nsinvhdrlookupresults.Add(Nsinvhdrlookupresults.BuildNsinvhdrlookupresultsFromRow(row)); } result.lMoreRecords = lMoreRecords; return(result); }
public IcsecLookupNonStockInventoryResponseAPI LookupNonStockInventory(Nsinvhdrlookupcriteria nsinvhdrlookupcriteria) { return(this.repository.LookupNonStockInventory(nsinvhdrlookupcriteria)); }