DBA Data[Home] [Help]

APPS.CS_KNOWLEDGE_AUDIT_PVT dependencies on CS_KB_SET_CATEGORIES

Line 1696: from cs_kb_set_categories

1692: where set_id = p_set_id;
1693:
1694: cursor category_ids_cur (p_set_id IN NUMBER) IS
1695: select category_id
1696: from cs_kb_set_categories
1697: where set_id = p_set_id;
1698:
1699:
1700: BEGIN

Line 3937: cs_kb_visibilities_vl v, cs_kb_set_categories sc

3933: CURSOR get_solution_info_pub(c_category_id IN NUMBER)
3934: IS
3935: select /*+ index(sc) */a.set_id, a.set_number, c.name, v.name, b.name, a.status
3936: from cs_kb_sets_b a, cs_kb_sets_tl b, cs_kb_set_types_vl c,
3937: cs_kb_visibilities_vl v, cs_kb_set_categories sc
3938: where a.set_type_id = c.set_type_id
3939: and a.set_id = sc.set_id and sc.category_id = c_category_id
3940: and a.set_id = b.set_id and b.language = userenv('LANG')
3941: and a.visibility_id = v.visibility_id

Line 3950: cs_kb_visibilities_vl v, cs_kb_set_categories sc

3946: CURSOR get_solution_info_all(c_category_id IN NUMBER)
3947: IS
3948: select /*+ index(sc) */ a.set_id, a.set_number, c.name, v.name, b.name, a.status
3949: from cs_kb_sets_b a, cs_kb_sets_tl b, cs_kb_set_types_vl c,
3950: cs_kb_visibilities_vl v, cs_kb_set_categories sc
3951: where a.set_type_id = c.set_type_id
3952: and a.set_id = sc.set_id and sc.category_id = c_category_id
3953: and a.set_id = b.set_id and b.language = userenv('LANG')
3954: and a.visibility_id = v.visibility_id

Line 3995: from cs_kb_set_categories a

3991:
3992: -- Fetch all category ids associated with this solution
3993: CURSOR get_category_ids(c_set_id IN NUMBER) IS
3994: Select a.category_id
3995: from cs_kb_set_categories a
3996: where a.set_id = c_set_id;
3997:
3998: -- Declare some local temporary variables
3999: l_category_name CS_KB_SOLN_CATEGORIES_TL.NAME%TYPE;

Line 4146: cs_kb_visibilities_vl v, cs_kb_set_categories sc

4142: IF (p_sol_status = 'ALL')
4143: THEN
4144: SELECT /*+ index(sc) */ count(a.set_number) INTO l_soln_count
4145: from cs_kb_sets_b a, cs_kb_sets_tl b, cs_kb_set_types_vl c,
4146: cs_kb_visibilities_vl v, cs_kb_set_categories sc
4147: where a.set_type_id = c.set_type_id
4148: and a.set_id = sc.set_id and sc.category_id = l_category_id
4149: and a.set_id = b.set_id and b.language = userenv('LANG')
4150: and a.visibility_id = v.visibility_id

Line 4156: cs_kb_visibilities_vl v, cs_kb_set_categories sc

4152: and a.latest_version_flag = 'Y';
4153: ELSE
4154: SELECT count(a.set_number) INTO l_soln_count
4155: from cs_kb_sets_b a, cs_kb_sets_tl b, cs_kb_set_types_vl c,
4156: cs_kb_visibilities_vl v, cs_kb_set_categories sc
4157: where a.set_type_id = c.set_type_id
4158: and a.set_id = sc.set_id and sc.category_id = l_category_id
4159: and a.set_id = b.set_id and b.language = userenv('LANG')
4160: and a.visibility_id = v.visibility_id