Ejemplo n.º 1
0
        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);
        }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
 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);
     }
 }
Ejemplo n.º 4
0
 public void UpdateCellValue(String proSightId, psPortfoliosCellInfo cellInfo, int lUpdateFlags)
 {
     UpdateCellValue("", proSightId, cellInfo, lUpdateFlags);
 }
Ejemplo n.º 5
0
 public void UpdateCellValue(int proSightId, psPortfoliosCellInfo cellInfo, int lUpdateFlags)
 {
     UpdateCellValue("", proSightId.ToString(CultureInfo.InvariantCulture), cellInfo, lUpdateFlags);
 }