DBA Data[Home] [Help]

APPS.QA_SSQR_JRAD_PKG dependencies on QA_PLAN_ELEMENT_API

Line 105: l_prompt := qa_plan_element_api.get_prompt(p_plan_id, p_char_id);

101: l_uom_code qa_plan_chars.uom_code%TYPE;
102: BEGIN
103: -- The function is the standard way to compute prompt
104: -- taking uom_code into account
105: l_prompt := qa_plan_element_api.get_prompt(p_plan_id, p_char_id);
106: l_uom_code := qa_plan_element_api.get_uom_code(p_plan_id, p_char_id);
107:
108: IF (l_uom_code is not null) THEN
109: -- 12.1 QWB Usability Improvements

Line 106: l_uom_code := qa_plan_element_api.get_uom_code(p_plan_id, p_char_id);

102: BEGIN
103: -- The function is the standard way to compute prompt
104: -- taking uom_code into account
105: l_prompt := qa_plan_element_api.get_prompt(p_plan_id, p_char_id);
106: l_uom_code := qa_plan_element_api.get_uom_code(p_plan_id, p_char_id);
107:
108: IF (l_uom_code is not null) THEN
109: -- 12.1 QWB Usability Improvements
110: -- Encode the HTML special characters

Line 273: IF qa_plan_element_api.qpc_read_only_flag(p_plan_id, p_element_id) = 1

269: RETURN VARCHAR2 IS
270:
271: BEGIN
272:
273: IF qa_plan_element_api.qpc_read_only_flag(p_plan_id, p_element_id) = 1
274: or qa_chars_api.datatype(p_element_id) = g_seq_datatype THEN
275: return 'messageStyledText';
276: ELSIF qa_plan_element_api.qpc_poplist_flag(p_plan_id,
277: p_element_id) = 1 then

Line 276: ELSIF qa_plan_element_api.qpc_poplist_flag(p_plan_id,

272:
273: IF qa_plan_element_api.qpc_read_only_flag(p_plan_id, p_element_id) = 1
274: or qa_chars_api.datatype(p_element_id) = g_seq_datatype THEN
275: return 'messageStyledText';
276: ELSIF qa_plan_element_api.qpc_poplist_flag(p_plan_id,
277: p_element_id) = 1 then
278: return 'messageChoice';
279: ELSIF (qa_plan_element_api.values_exist(p_plan_id, p_element_id)
280: OR qa_plan_element_api.sql_validation_exists(p_element_id)

Line 279: ELSIF (qa_plan_element_api.values_exist(p_plan_id, p_element_id)

275: return 'messageStyledText';
276: ELSIF qa_plan_element_api.qpc_poplist_flag(p_plan_id,
277: p_element_id) = 1 then
278: return 'messageChoice';
279: ELSIF (qa_plan_element_api.values_exist(p_plan_id, p_element_id)
280: OR qa_plan_element_api.sql_validation_exists(p_element_id)
281: OR qa_chars_api.has_hardcoded_lov(p_element_id)) THEN
282: return 'messageLovInput';
283: ELSE

Line 280: OR qa_plan_element_api.sql_validation_exists(p_element_id)

276: ELSIF qa_plan_element_api.qpc_poplist_flag(p_plan_id,
277: p_element_id) = 1 then
278: return 'messageChoice';
279: ELSIF (qa_plan_element_api.values_exist(p_plan_id, p_element_id)
280: OR qa_plan_element_api.sql_validation_exists(p_element_id)
281: OR qa_chars_api.has_hardcoded_lov(p_element_id)) THEN
282: return 'messageLovInput';
283: ELSE
284: return 'messageTextInput';

Line 789: -- IF qa_plan_element_api.exists_qa_plan_chars(p_plan_id, l_parents(i)) THEN

785: -- This is achieved by adding the following IF statement
786:
787: -- rkaza. 10/22/2003. 3280307. shold not use exists_qa_plan_chars
788: -- array might not have been initialized. use element_in_plan
789: -- IF qa_plan_element_api.exists_qa_plan_chars(p_plan_id, l_parents(i)) THEN
790: IF qa_plan_element_api.element_in_plan(p_plan_id, l_parents(i)) THEN
791: l_lov_attribute_code := g_lov_attribute_dependency || to_char(i);
792: --
793: -- MOAC Project. 4637896

Line 790: IF qa_plan_element_api.element_in_plan(p_plan_id, l_parents(i)) THEN

786:
787: -- rkaza. 10/22/2003. 3280307. shold not use exists_qa_plan_chars
788: -- array might not have been initialized. use element_in_plan
789: -- IF qa_plan_element_api.exists_qa_plan_chars(p_plan_id, l_parents(i)) THEN
790: IF qa_plan_element_api.element_in_plan(p_plan_id, l_parents(i)) THEN
791: l_lov_attribute_code := g_lov_attribute_dependency || to_char(i);
792: --
793: -- MOAC Project. 4637896
794: -- Call new procedure to construct base code

Line 1198: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);

1194:
1195: l_show_required_flag qa_plan_chars.mandatory_flag%TYPE;
1196: c_show_required_flag VARCHAR2(5);
1197: BEGIN
1198: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
1199:
1200: -- 12.1 QWB Usability improvements
1201: -- The fields are to be made mandatory only in case of a single
1202: -- row region and not in case of a Multirow region. This is because

Line 1217: l_show_required_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);

1213: -- collection elements in a Multirow block, yet the show required
1214: -- property would ensure that the mandatory elements are displayed
1215: -- with the mandatory sign. This is needed only for details block
1216: IF (p_element_prefix = g_dtl_element_prefix) THEN
1217: l_show_required_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1218: c_show_required_flag := convert_boolean_flag(l_show_required_flag);
1219: END IF;
1220: ELSE
1221: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);

Line 1221: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);

1217: l_show_required_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1218: c_show_required_flag := convert_boolean_flag(l_show_required_flag);
1219: END IF;
1220: ELSE
1221: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1222: END IF;
1223:
1224: l_prompt := get_prompt(p_plan_id, p_char_id);
1225: l_datatype := qa_chars_api.datatype(p_char_id);

Line 1227: l_read_only_flag := qa_plan_element_api.qpc_read_only_flag(p_plan_id, p_char_id);

1223:
1224: l_prompt := get_prompt(p_plan_id, p_char_id);
1225: l_datatype := qa_chars_api.datatype(p_char_id);
1226: l_data_entry_hint := qa_chars_api.data_entry_hint(p_char_id);
1227: l_read_only_flag := qa_plan_element_api.qpc_read_only_flag(p_plan_id, p_char_id);
1228:
1229: l_attribute_code := construct_code(p_element_prefix, p_char_id);
1230: l_item_style := compute_item_style(p_plan_id, p_char_id);
1231: l_vo_attribute_name := get_vo_attribute_name(p_plan_id, p_char_id);

Line 1453: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);

1449: -- 12.1 Usability project
1450: -- rendered attribute and VO attribute logic is different for export page
1451: -- abgangul
1452: if nvl(p_mode, '@') <> g_vqr_multiple_layout then
1453: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
1454: c_displayed_flag := convert_boolean_flag(l_displayed_flag);
1455: jdr_docbuilder.setAttribute(l_char_item, 'rendered', c_displayed_flag);
1456:
1457: l_vo_attribute_name := get_vo_attribute_name(p_plan_id, p_char_id);

Line 1592: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);

1588: l_col_hdr := jdr_docbuilder.createElement(jdr_docbuilder.oa_ns, 'column');
1589: jdr_docbuilder.setattribute(l_col_hdr, 'id', l_col_code);
1590:
1591: -- Setting the rendered property based on the display flag value
1592: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
1593: c_displayed_flag := convert_boolean_flag(l_displayed_flag);
1594:
1595: jdr_docbuilder.setAttribute(l_col_hdr, 'rendered', c_displayed_flag);
1596:

Line 1612: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);

1608: l_prompt := get_prompt(p_plan_id, p_char_id);
1609: jdr_docbuilder.setAttribute(l_sort_hdr, 'prompt', l_prompt);
1610:
1611: -- adding the mandatory sign
1612: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1613: c_mandatory_flag := convert_yesno_flag(l_mandatory_flag);
1614: jdr_docbuilder.setAttribute(l_sort_hdr, 'required', c_mandatory_flag);
1615:
1616: add_child_to_parent(l_col_hdr, l_sort_hdr, 'columnHeader');

Line 2762: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);

2758:
2759: x_char_item := l_col_hdr;
2760: x_char_dtl_item := l_char_dtl_item;
2761:
2762: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
2763: c_displayed_flag := convert_boolean_flag(l_displayed_flag);
2764:
2765: if c_displayed_flag = 'true' then
2766: jdr_docbuilder.setAttribute(l_char_item, 'queryable', 'true');

Line 3483: qa_plan_element_api.refetch_qa_plan_chars(p_plan_id);

3479: -- such as turning mandatory flag on/off will not be
3480: -- immediately reflected in QWB.
3481: -- bso Mon May 1 17:43:03 PDT 2006
3482: --
3483: qa_plan_element_api.refetch_qa_plan_chars(p_plan_id);
3484:
3485: COMMIT;
3486:
3487: END map_on_demand;