Explicitly Passing Qualifier and Line Attributes in the Price Request API Errors When Coupon Modifier Is Enabled (Doc ID 2126457.1)

Last updated on JUNE 20, 2016

Applies to:

Oracle Advanced Pricing - Version 12.2.5 and later
Information in this document applies to any platform.
QP_PREQ_PUB.PRICE_REQUEST API
QP_PREQ_PUB
PRICE_REQUEST

Symptoms

Explicitly Passing Qualifier and Line Attributes in the Price Request API Error-ed when Coupon Modifier is enabled.
It provides incorrect pricing compared to the sales order form.
However even-though we are not passing any coupon information in the code, just by enabling the coupon modifier
with the customer qualifier provides an incorrect pricing being returned along with Error.

ERROR

-----------------------
Routine:QP_PREQ_GRP.INSERT_LDETS_PVT ORA-01400: cannot insert NULL into ("QP"."QP_PREQ_LDETS_TMP_T1"."LINE_DETAIL_INDEX") ORA-01400: cannot insert NULL into ("QP"."QP_PREQ_LDETS_TMP_T1"."LINE_DETAIL_INDEX")


WHAT DOES WORK
-----------------------
Whereas the same customer account used in the sales order form returns proper pricing and no error.
Without the Coupon Modifier Enabled, we are getting the price matching with the Sales order form, from the API.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Explicitly Passing Qualifier and Line Attributes in the Price Request API
2. Coupon is enabled, but not passed.
3. Provides incorrect pricing with error when call is made to QP_PREQ_PUB.PRICE_REQUEST
Routine:QP_PREQ_GRP.INSERT_LDETS_PVT ORA-01400: cannot insert NULL into ("QP"."QP_PREQ_LDETS_TMP_T1"."LINE_DETAIL_INDEX")
ORA-01400: cannot insert NULL into ("QP"."QP_PREQ_LDETS_TMP_T1"."LINE_DETAIL_INDEX")

 

 

Cause

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