Why is API QP_PREQ_PUB.PRICE_REQUEST Ignoring Price List Level Qualifiers? (Doc ID 1347602.1)

Last updated on JULY 19, 2017

Applies to:

Oracle Advanced Pricing - Version 11.5.10 and later
Information in this document applies to any platform.

Goal


Explain why using code, similar to sample code PRICE_REQUEST_API_EXAMPLE.sql
as provided through <Document 759804.1> or the seeded example scripts as noted in
<Document 412545.1>, does not evaluate qualifiers on price lists.

Expects that a price list should not be eligible when the price list is qualified by customer name
and a different customer name is provided when calling the API. Expected to find the error message indicating that the item is not on the price list since the record does not qualify for the price list.

============
Current Code
Qualifier Records
============

---- Qualifier Attribute Record

qual_rec.LINE_INDEX := 1; -- Attributes for the above line. Attributes are attached with the line index
qual_rec.QUALIFIER_CONTEXT :='MODLIST';
qual_rec.QUALIFIER_ATTRIBUTE :='QUALIFIER_ATTRIBUTE4';
qual_rec.QUALIFIER_ATTR_VALUE_FROM :='392881'; -- PRICE LIST ID
qual_rec.COMPARISON_OPERATOR_CODE := '=';
qual_rec.VALIDATED_FLAG :='Y';
p_qual_tbl(1) := qual_rec;

qual_rec.LINE_INDEX := 1;
qual_rec.QUALIFIER_CONTEXT :='CUSTOMER';
qual_rec.QUALIFIER_ATTRIBUTE :='QUALIFIER_ATTRIBUTE2';
qual_rec.QUALIFIER_ATTR_VALUE_FROM := '1143'; -- CUSTOMER ID;
qual_rec.COMPARISON_OPERATOR_CODE := '=';
qual_rec.VALIDATED_FLAG :='Y';
p_qual_tbl(2) := qual_rec;







Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms