Example #1
0
        /* Called by SRdetailVirtualTable() constructor
         * when report addIn is loaded when CX launch
         */
        public Dictionary <string, string> getServiceRequestDetailSchema()
        {
            ServiceRequestItem          srDetailObject = new ServiceRequestItem();
            Dictionary <string, string> dictDetail     = new Dictionary <string, string>();

            foreach (PropertyInfo propertyInfo in srDetailObject.GetType().GetProperties())
            {
                dictAddProperty(propertyInfo, null, ref dictDetail);
            }
            return(dictDetail);
        }
 /* Called by SRdetailVirtualTable() constructor 
  * when report addIn is loaded when CX launch
  */
 public Dictionary<string, string> getServiceRequestDetailSchema()
 {
     ServiceRequestItem srDetailObject = new ServiceRequestItem();
     Dictionary<string, string> dictDetail = new Dictionary<string, string>();
     foreach (PropertyInfo propertyInfo in srDetailObject.GetType().GetProperties())
     {
         dictAddProperty(propertyInfo, null, ref dictDetail);
     }
     return dictDetail;
 }