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 839: -- IF qa_plan_element_api.exists_qa_plan_chars(p_plan_id, l_parents(i)) THEN

835: -- This is achieved by adding the following IF statement
836:
837: -- rkaza. 10/22/2003. 3280307. shold not use exists_qa_plan_chars
838: -- array might not have been initialized. use element_in_plan
839: -- IF qa_plan_element_api.exists_qa_plan_chars(p_plan_id, l_parents(i)) THEN
840: IF qa_plan_element_api.element_in_plan(p_plan_id, l_parents(i)) THEN
841: l_lov_attribute_code := g_lov_attribute_dependency || to_char(i);
842: --
843: -- MOAC Project. 4637896

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

836:
837: -- rkaza. 10/22/2003. 3280307. shold not use exists_qa_plan_chars
838: -- array might not have been initialized. use element_in_plan
839: -- IF qa_plan_element_api.exists_qa_plan_chars(p_plan_id, l_parents(i)) THEN
840: IF qa_plan_element_api.element_in_plan(p_plan_id, l_parents(i)) THEN
841: l_lov_attribute_code := g_lov_attribute_dependency || to_char(i);
842: --
843: -- MOAC Project. 4637896
844: -- Call new procedure to construct base code

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

1244:
1245: l_show_required_flag qa_plan_chars.mandatory_flag%TYPE;
1246: c_show_required_flag VARCHAR2(5);
1247: BEGIN
1248: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
1249:
1250: -- 12.1 QWB Usability improvements
1251: -- The fields are to be made mandatory only in case of a single
1252: -- row region and not in case of a Multirow region. This is because

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

1263: -- collection elements in a Multirow block, yet the show required
1264: -- property would ensure that the mandatory elements are displayed
1265: -- with the mandatory sign. This is needed only for details block
1266: IF (p_element_prefix = g_dtl_element_prefix) THEN
1267: l_show_required_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1268: c_show_required_flag := convert_boolean_flag(l_show_required_flag);
1269: END IF;
1270: ELSE
1271: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);

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

1267: l_show_required_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1268: c_show_required_flag := convert_boolean_flag(l_show_required_flag);
1269: END IF;
1270: ELSE
1271: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1272: END IF;
1273:
1274: l_prompt := get_prompt(p_plan_id, p_char_id);
1275: l_datatype := qa_chars_api.datatype(p_char_id);

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

1273:
1274: l_prompt := get_prompt(p_plan_id, p_char_id);
1275: l_datatype := qa_chars_api.datatype(p_char_id);
1276: l_data_entry_hint := qa_chars_api.data_entry_hint(p_char_id);
1277: l_read_only_flag := qa_plan_element_api.qpc_read_only_flag(p_plan_id, p_char_id);
1278:
1279: l_attribute_code := construct_code(p_element_prefix, p_char_id);
1280: l_item_style := compute_item_style(p_plan_id, p_char_id);
1281: l_vo_attribute_name := get_vo_attribute_name(p_plan_id, p_char_id);

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

1499: -- 12.1 Usability project
1500: -- rendered attribute and VO attribute logic is different for export page
1501: -- abgangul
1502: if nvl(p_mode, '@') <> g_vqr_multiple_layout then
1503: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
1504: c_displayed_flag := convert_boolean_flag(l_displayed_flag);
1505: jdr_docbuilder.setAttribute(l_char_item, 'rendered', c_displayed_flag);
1506:
1507: l_vo_attribute_name := get_vo_attribute_name(p_plan_id, p_char_id);

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

1638: l_col_hdr := jdr_docbuilder.createElement(jdr_docbuilder.oa_ns, 'column');
1639: jdr_docbuilder.setattribute(l_col_hdr, 'id', l_col_code);
1640:
1641: -- Setting the rendered property based on the display flag value
1642: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
1643: c_displayed_flag := convert_boolean_flag(l_displayed_flag);
1644:
1645: jdr_docbuilder.setAttribute(l_col_hdr, 'rendered', c_displayed_flag);
1646:

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

1658: l_prompt := get_prompt(p_plan_id, p_char_id);
1659: jdr_docbuilder.setAttribute(l_sort_hdr, 'prompt', l_prompt);
1660:
1661: -- adding the mandatory sign
1662: l_mandatory_flag := qa_plan_element_api.qpc_mandatory_flag(p_plan_id, p_char_id);
1663: c_mandatory_flag := convert_yesno_flag(l_mandatory_flag);
1664: jdr_docbuilder.setAttribute(l_sort_hdr, 'required', c_mandatory_flag);
1665:
1666: add_child_to_parent(l_col_hdr, l_sort_hdr, 'columnHeader');

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

2853:
2854: x_char_item := l_col_hdr;
2855: x_char_dtl_item := l_char_dtl_item;
2856:
2857: l_displayed_flag := qa_plan_element_api.qpc_displayed_flag(p_plan_id, p_char_id);
2858: c_displayed_flag := convert_boolean_flag(l_displayed_flag);
2859:
2860: if c_displayed_flag = 'true' then
2861: jdr_docbuilder.setAttribute(l_char_item, 'queryable', 'true');

Line 3587: qa_plan_element_api.refetch_qa_plan_chars(p_plan_id);

3583: -- such as turning mandatory flag on/off will not be
3584: -- immediately reflected in QWB.
3585: -- bso Mon May 1 17:43:03 PDT 2006
3586: --
3587: qa_plan_element_api.refetch_qa_plan_chars(p_plan_id);
3588:
3589: COMMIT;
3590:
3591: END map_on_demand;