DBA Data[Home] [Help]

APPS.QA_PLAN_ELEMENT_API dependencies on QA_CHARS_API

Line 622: AND (qa_chars_api.hardcoded_column(element_id) IS NOT NULL)

618: FUNCTION normalized (element_id IN NUMBER)
619: RETURN BOOLEAN IS
620: BEGIN
621: RETURN (NOT keyflex(element_id))
622: AND (qa_chars_api.hardcoded_column(element_id) IS NOT NULL)
623: AND (qa_chars_api.fk_meaning(element_id) IS NOT NULL)
624: AND (qa_chars_api.fk_lookup_type(element_id) <> 2);
625: END normalized;
626:

Line 623: AND (qa_chars_api.fk_meaning(element_id) IS NOT NULL)

619: RETURN BOOLEAN IS
620: BEGIN
621: RETURN (NOT keyflex(element_id))
622: AND (qa_chars_api.hardcoded_column(element_id) IS NOT NULL)
623: AND (qa_chars_api.fk_meaning(element_id) IS NOT NULL)
624: AND (qa_chars_api.fk_lookup_type(element_id) <> 2);
625: END normalized;
626:
627:

Line 624: AND (qa_chars_api.fk_lookup_type(element_id) <> 2);

620: BEGIN
621: RETURN (NOT keyflex(element_id))
622: AND (qa_chars_api.hardcoded_column(element_id) IS NOT NULL)
623: AND (qa_chars_api.fk_meaning(element_id) IS NOT NULL)
624: AND (qa_chars_api.fk_lookup_type(element_id) <> 2);
625: END normalized;
626:
627:
628: FUNCTION derived (element_id IN NUMBER)

Line 642: RETURN (qa_chars_api.hardcoded_column(element_id) IS NOT NULL)

638:
639: FUNCTION primitive (element_id IN NUMBER)
640: RETURN BOOLEAN IS
641: BEGIN
642: RETURN (qa_chars_api.hardcoded_column(element_id) IS NOT NULL)
643: AND NOT (normalized(element_id));
644: END primitive;
645:
646:

Line 652: RETURN qa_chars_api.hardcoded_column(element_id) IS NOT NULL;

648: RETURN BOOLEAN IS
649:
650: BEGIN
651:
652: RETURN qa_chars_api.hardcoded_column(element_id) IS NOT NULL;
653:
654: END hardcoded;
655:
656:

Line 662: RETURN qa_chars_api.datatype(element_id);

658: RETURN NUMBER IS
659:
660: BEGIN
661:
662: RETURN qa_chars_api.datatype(element_id);
663:
664: END get_element_datatype;
665:
666:

Line 686: lower_limit := qa_chars_api.lower_reasonable_limit(element_id);

682: -- shkalyan Tue Jun 22 2004
683: -- If spec_id is present but, element is not in spec, then,
684: -- element spec should not be used.
685: IF ( NVL(spec_id, 0) <= 0 ) THEN
686: lower_limit := qa_chars_api.lower_reasonable_limit(element_id);
687: upper_limit := qa_chars_api.upper_reasonable_limit(element_id);
688: ELSE
689: lower_limit := NULL;
690: upper_limit := NULL;

Line 687: upper_limit := qa_chars_api.upper_reasonable_limit(element_id);

683: -- If spec_id is present but, element is not in spec, then,
684: -- element spec should not be used.
685: IF ( NVL(spec_id, 0) <= 0 ) THEN
686: lower_limit := qa_chars_api.lower_reasonable_limit(element_id);
687: upper_limit := qa_chars_api.upper_reasonable_limit(element_id);
688: ELSE
689: lower_limit := NULL;
690: upper_limit := NULL;
691: END IF;

Line 784: lower_limit := qa_chars_api.lower_reasonable_limit(p_element_id);

780: FETCH char_uom into l_spec_char_uom;
781: CLOSE char_uom;
782:
783: -- Get the spec limits defined on the elemnt level
784: lower_limit := qa_chars_api.lower_reasonable_limit(p_element_id);
785: upper_limit := qa_chars_api.upper_reasonable_limit(p_element_id);
786:
787: -- Check if the UOM on the plan level is different that that on the
788: -- element level in which case perform the conversion

Line 785: upper_limit := qa_chars_api.upper_reasonable_limit(p_element_id);

781: CLOSE char_uom;
782:
783: -- Get the spec limits defined on the elemnt level
784: lower_limit := qa_chars_api.lower_reasonable_limit(p_element_id);
785: upper_limit := qa_chars_api.upper_reasonable_limit(p_element_id);
786:
787: -- Check if the UOM on the plan level is different that that on the
788: -- element level in which case perform the conversion
789: IF l_plan_char_uom <> l_spec_char_uom THEN

Line 967: RETURN qa_chars_api.sql_validation_string(element_id) IS NOT NULL;

963: RETURN BOOLEAN IS
964:
965: BEGIN
966:
967: RETURN qa_chars_api.sql_validation_string(element_id) IS NOT NULL;
968:
969: END sql_validation_exists;
970:
971:

Line 1006: RETURN qa_chars_api.datatype(element_id);

1002: ELSIF NOT primitive(element_id) THEN
1003: RETURN qa_ss_const.number_datatype;
1004:
1005: ELSE
1006: RETURN qa_chars_api.datatype(element_id);
1007:
1008: END IF;
1009:
1010: END get_actual_datatype;

Line 2557: RETURN qa_chars_api.sql_validation_string(element_id);

2553:
2554: FUNCTION get_sql_validation_string (element_id IN NUMBER)
2555: RETURN VARCHAR2 IS
2556: BEGIN
2557: RETURN qa_chars_api.sql_validation_string(element_id);
2558: END get_sql_validation_string;
2559:
2560:
2561: FUNCTION get_result_column_name (plan_id IN NUMBER, element_id IN NUMBER)

Line 2573: name := qa_chars_api.hardcoded_column(element_id);

2569: name VARCHAR2(30);
2570:
2571: BEGIN
2572:
2573: name := qa_chars_api.hardcoded_column(element_id);
2574:
2575: IF (name IS NULL) THEN
2576: name := qpc_result_column_name(plan_id, element_id);
2577: END IF;

Line 2613: sql_string := qa_chars_api.format_sql_for_lov(sql_string,

2609:
2610: ELSIF sql_validation_exists(x_char_id) THEN
2611:
2612: sql_string := get_sql_validation_string(x_char_id);
2613: sql_string := qa_chars_api.format_sql_for_lov(sql_string,
2614: org_id, user_id);
2615:
2616: --
2617: -- Bug 1474995. Adding filter to the user-defined SQL.

Line 5305: sql_string := qa_chars_api.format_sql_for_validation (sql_string,

5301:
5302: sql_string := get_sql_validation_string(qa_ss_const.transaction_type);
5303:
5304:
5305: sql_string := qa_chars_api.format_sql_for_validation (sql_string,
5306: p_org_id, p_user_id);
5307:
5308: IF value_in_sql (sql_string, p_value) THEN
5309: result := TRUE;

Line 5375: str := 'Select '|| qa_chars_api.hardcoded_column(p_child_char_id)||

5371: p_child_char_id = qa_ss_const.locator OR
5372: p_child_char_id = qa_ss_const.comp_locator OR
5373: p_child_char_id = qa_ss_const.to_locator OR
5374: p_child_char_id = qa_ss_const.rma_number ) THEN
5375: str := 'Select '|| qa_chars_api.hardcoded_column(p_child_char_id)||
5376: ' from qa_results '||
5377: ' where plan_id = :p_plan_id '||
5378: ' and collection_id = :p_collection_id '||
5379: ' and occurrence = :p_occurrence';