public Structures.ApprovalRuleCardReport.CriteriaTableLine CreateCriteriaTableLine(string criterion, string value)
        {
            var tableLine = new Structures.ApprovalRuleCardReport.CriteriaTableLine();

            tableLine.ReportSessionId = ApprovalRuleCardReport.ReportSessionId;
            tableLine.Criterion       = criterion;
            tableLine.Value           = value;
            return(tableLine);
        }
        public Structures.ApprovalRuleCardReport.CriteriaTableLine CreateCriteriaTableLine(string criterion, Sungero.CoreEntities.IDatabookEntry value)
        {
            var tableLine = new Structures.ApprovalRuleCardReport.CriteriaTableLine();

            tableLine.ReportSessionId = ApprovalRuleCardReport.ReportSessionId;
            tableLine.Criterion       = criterion;
            if (value != null)
            {
                tableLine.Value          = value.DisplayValue;
                tableLine.ValueId        = value.Id;
                tableLine.ValueHyperlink = Hyperlinks.Get(value);
            }
            return(tableLine);
        }