public void UpdateCellValue(String uci, String id, string cellName, string cellValue, int lUpdateFlags) { var cellInfo = new psPortfoliosCellInfo(); cellInfo.CategoryName = cellName; cellInfo.CellDisplayValue = cellValue; cellInfo.CellAsOf = String.Empty; UpdateCellValue(uci, id, cellInfo, lUpdateFlags); }
/// <summary> /// Builds the cell information. /// </summary> /// <param name="categoryName">Name of the category.</param> /// <param name="categoryValue">The category value.</param> /// <param name="cellAsOf">The cell as of.</param> /// <returns>psPortfoliosCellInfo.</returns> public static psPortfoliosCellInfo BuildItemCellInfo(String categoryName, String categoryValue, String cellAsOf) { var retVal = new psPortfoliosCellInfo { CategoryName = categoryName, CellDisplayValue = categoryValue, CellAsOf = cellAsOf }; return(retVal); }
public void UpdateCellValue(String uci, String id, psPortfoliosCellInfo cellInfo, int lUpdateFlags) { try { PsCell.Update(uci, id, cellInfo.CategoryName, cellInfo.CellDisplayValue, cellInfo.CellIndicator, cellInfo.CellAnnotation, cellInfo.CellAsOf, lUpdateFlags); } catch (Exception ex) { PsLogger.Error(String.Format("Unexcpected UpdateCellValue Error: \n{0}\n", ex.Message)); throw new Exception(ex.Message, ex.InnerException); } }
public void UpdateCellValue(String proSightId, psPortfoliosCellInfo cellInfo, int lUpdateFlags) { UpdateCellValue("", proSightId, cellInfo, lUpdateFlags); }
public void UpdateCellValue(int proSightId, psPortfoliosCellInfo cellInfo, int lUpdateFlags) { UpdateCellValue("", proSightId.ToString(CultureInfo.InvariantCulture), cellInfo, lUpdateFlags); }