1613: l_x_PRICING_ATTR_val_tbl QP_Modifiers_PUB.Pricing_Attr_Val_Tbl_Type;
1614:
1615: l_datatype VARCHAR2(1);
1616: l_precedence NUMBER;
1617: l_qualifier_grouping_no QP_QUALIFIERS.QUALIFIER_GROUPING_NO%TYPE;
1618: l_error_code NUMBER := 0;
1619:
1620: BEGIN
1621:
1674: --if the discount has null qual grp no the coupon line should have that
1675: --as an AND condition in its qualifiers
1676:
1677: select (nvl(max(qualifier_grouping_no),1)+1) into l_qualifier_grouping_no
1678: from qp_qualifiers where
1679: list_header_id = p_list_header_id and
1680: list_line_id = p_list_line_id;
1681:
1682: l_QUALIFIERS_tbl(1).qualifier_context := 'MODLIST';