36: TYPE Condition_Tbl_Type IS TABLE OF Condition_Rec_Type
37: INDEX BY BINARY_INTEGER;
38: g_conditions_tbl_cache Condition_Tbl_Type;
39:
40: g_attr_condns_cache ONT_DEF_UTIL.Attr_Condn_Tbl_Type;
41:
42:
43: FUNCTION Get_Attr_Val_Varchar2
44: ( p_attr_code IN VARCHAR2
5023: l_group_result := TRUE;
5024: END IF;
5025: END IF;
5026:
5027: l_element_result := ONT_Def_Util.Validate_Value(g_conditions_tbl_cache(j).value_string,
5028: g_conditions_tbl_cache(j).value_op,Get_Attr_Val_Varchar2(g_conditions_tbl_cache(j).attribute_code,p_line_rec ));
5029: l_group_result := l_group_result AND l_element_result;
5030: END LOOP;
5031: ELSE
5131: AND enabled_flag = 'Y'
5132: ORDER BY precedence;
5133: BEGIN
5134:
5135: l_condn_index := p_attr_id * ONT_Def_Util.G_MAX_ATTR_CONDNS;
5136:
5137: -- Check in the cache
5138: WHILE g_attr_condns_cache.EXISTS(l_condn_index) LOOP
5139: condns_cached := TRUE;