0% found this document useful (0 votes)
81 views13 pages

R12 QP Troubleshooting Guide

This document provides guidance on diagnosing and troubleshooting common issues with Oracle Advanced Pricing setup in Release 12. It outlines several common problems, such as multi-org access control, support for hierarchical categories, price books, and pricing parameters. For each problem, it describes the potential causes and recommends steps to check settings and resolve the issues.

Uploaded by

Ahmed Mousa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
81 views13 pages

R12 QP Troubleshooting Guide

This document provides guidance on diagnosing and troubleshooting common issues with Oracle Advanced Pricing setup in Release 12. It outlines several common problems, such as multi-org access control, support for hierarchical categories, price books, and pricing parameters. For each problem, it describes the potential causes and recommends steps to check settings and resolve the issues.

Uploaded by

Ahmed Mousa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 13

Oracle Advanced Pricing

Pricing Diagnostics and


Troubleshooting: Release
12
An Oracle Technical Brief
January 2007

Contents -
Section-A Common Advanced Pricing Setup Issues

A.1 Multi-Org Access control for Pricing Security

A.2. Support For Hierarchical Categories

A.3. Price Book


1
A.4. Pricing Parameters

A.5. Continuous Price Breaks

A.6. Support TCA Party Hierarchy

Section-B Getting Debug and Troubleshooting

Section-A

Common Advanced Pricing Setup Issues

This section summarizes the common errors encountered while using Advanced Pricing
R12 features and recommended troubleshooting tips. As you will notice that most of
these errors are valid pricing errors, the user may need to understand the cause or
required setup to change the behavior.

A.1 Multi-Org Access control for Pricing Security

Problem Symptom/Cause Recommendation


Pricing security is not working – Can Please check the following:
view/maintain a price list or modifier list 1. Profile QP: Security Control is set
without a privilege to ‘On’ at Site level, is view only at Site
level, profile is not set at any other level
and is not updateable at any levels. If it
was updateable at any other levels, make
it view only at all levels and run the
‘Security Control’ concurrent program
from the Oracle Pricing Administrator
responsibility with desired value.
2. If QP: Security Control is set to
‘Off’, run the ‘Security Control’ concurrent
program with a value ‘On’, make sure it
completes successfully
3. If Multi-Org Access Control is set,
make sure that the Security Profile is
valid.

2
Pricing setups do not show the global flag orPlease check the following:
operating unit fields 1. Profile QP: Security Control is set
to
‘On’ at Site level, is view only at Site level,
profile is not set at any other level and is
not updateable at any levels. If it was
updateable at any other levels, make it
view only at all levels and run the ‘Security
Control’ concurrent program from the
Oracle Pricing Administrator responsibility
with desired value.
2. If QP: Security Control is set to
‘Off’, run the ‘Security Control’ concurrent
program with a value ‘On’, make sure it
completes successfully

Unable to pick a given operating unit on Make sure that the MO: Security Profile

valid value at site/responsibility level.

Currency is not defaulted on the price list Make sure that the SET_OF_BOOKS_ID
is set in the OM System parameters for
the default operating unit

Unable to view a price list or modifier list Please check if the user-
responsibilityoperating unit context you
are in has a view/maintain privilege. You
may need pricing administrator privilege to
be able to do that.

Price list does not appear on a transaction Ensure that the price list is active. If
list of values. Pricing Security is turned ON, ensure that
the price list belongs to the operating unit
of the transaction or is global.

The pricing engine does not qualify a Ensure that the price list or modifier is
pricing transaction for a specific price list or active. If Pricing Security is turned ON,
modifier or ask for promotion ensure that the price list or modifier
belongs to the operating unit of the
transaction or is global.

Unable to view a secondary price list after theIn release 12, the LOV for secondary price
upgrade to release 12 lists will show only those price lists
the pricing setup UIs. or MO: Operating Units are set to a
the user has view/maintain privileges. If
Unable to update a free good benefit line the primary price list is global, the user
on a Promotional Goods modifier can pick both global and OU specific price
lists as secondary price lists. If primary
price list is OU specific, the secondary
3
price list can be a global price list or the user has view/maintain privileges. If
should belong to the same OU as the the promotional goods modifier is global,
primary price list. the LOV shows only global price lists. If
the promotional goods modifier is OU
In release 12, the LOV for picking price specific, the LOV shows both global price
lists to derive the list price of the benefit lists and those that belong to the same
item (free good) on the promotional goods OU as the promotional goods modifier.
modifier will show only those price lists

Not getting a price for an item Check if the QP: Item Validation Org is
set to the right Item Master Org for that
responsibility.

A.2. Support Hierarchical categories

Problem Symptom/Cause Recommendation


Unable to see an item category in the Check if the category set to which this
product LOV in the price list or a modifier UI category belongs to is attached as a
default category set for one of the
functional areas.

The product value is displayed as null or Check if the category set to which this
category ID is displayed when a category belongs to is attached as a
(upgraded) price list line or modifier or limit default category set for one of the
or formula based on Item category is functional areas.
queried.

The pricing engine does not apply a There could be many reasons for this
modifier or price list line based on a specific problem:
item category. 1. Check if the pricing engine applies
any other item category based price list
line or modifier gets applied.
2. Check if the item belongs to the
category in the setup.
3. Check if the category set to which
this category belongs to is attached as a
default category set for one of the
functional areas.
4. Check if the functional area to
which the category set for that category is
mapped and enabled to the PTE-Source
system of the price list or modifier list.

4
A.3.Price Book

Problem Symptom/Cause Recommendation


An error icon column appearing in the It indicates that the price book has one or
price book search results table more errors associated. These errors
could be at the price book (summary) line
level (pricing engine errors) or at the price
book level (publishing or concurrent
manager errors).

Not able to send price book to a specific Check if all required profile option values
email. are set appropriately. See if QP: E-mail -
From Address profile value has been set
correctly.

Not able to see or change Pricing Check if the application user is an internal
Perspective. or external user since some functionality is
different for these 2 different categories of
users. To find out if a user is an Internal or
external user, query the user definition
from System Administrator responsibility.
A non-null Customer Id field on the user
definition indicates an external user.

Not able to generate price book from an 1. Check for Pricing Parameter Value
external integrating application. ‘Price Book Pricing Events’. Based on the
values specified in the profile QP: Pricing
Perspective Request Type, each calling
application (pricing perspective) has an
associated request type. The Price Book
Pricing Events parameter determines
which pricing event or events are used for
each request type to call the pricing
engine to generate a price book. For
example ‘BATCH, BOOK’

5
2. Check if the Multi-Org access control is
appropriately set for the applicable
responsibility.

Not able to e-mail or print price books Check the Oracle XML Publisher Delivery
directly from the Price Book feature Manager configuration (i.e.
xdodelivery.cfg configuration file in
Oracle XML Publisher 5.0). The printer
and e-mail servers must be registered
into the configuration before using this
functionality. Please refer to the Oracle
XML Publisher User's Guide for
instructions on how to configure Delivery
Manager.

Not able to successfully perform an XML View the error messages using the
transaction. Oracle XML Gateway Transaction
Monitor and/or Oracle Workflow Status
Monitor. For more information, please
refer to the documentation for these
modules.

6
A.4. Pricing Parameters

Problem Symptom/Cause Recommendation

Updating the user values If the parameter Name has the value set id
- QP: text attached to it, then please read
the Advanced Pricing
Implementation Guide to define the user
value. Updating the user value in lower text
or any other text may lead to error or affect
the desired behavior.

When the entered value is not in While updating the user value for a
synchronous with level name parameter, check that you are updating for
the relevant level name.

7
Customers creating new parameters The parameters can only be created in

Parameters not found in basic pricing


the seed environment. Customers cannot
create new parameters.

Parameters created for Advanced Pricing


will not be visible in basic pricing mode.
A.5.Continuous Price Breaks

Problem Symptom/Cause Recommendation

8
Validation errors while defining price breaks. The user should ensure the correct
validation is performed by checking that
the price break is marked as continuous.
1. In Forms, go to “Help” ?
“Diagnostics” ? “Examine…” and verify
that the
CONTINUOUS_PRICE_BREAK_FLAG
field has a value of ‘Y’.
2. In the HTML UI check that the
Value From field defaults to 0 (for a new
price break) or the previous break line’s
Value To (when adding a new row),
indicating that the price break is
continuous.

After copying an old price list or modifier Non-continuous price breaks


list (breaks created prior to Release 12), are automatically migrated to
the price breaks have changed. continuous price breaks. The user can
view the break details prior to and after
migration in the log file for the Copy Price
List/Modifier List concurrent program.
Continuous price breaks always start from
0, and do not contain gaps between the
Value To of a break line and the next line’s
Value From.

A.6. Support TCA Party Hierarchy

Problem Symptom/Cause Recommendation

Available to Hierarchy checkbox disabled in1. Party_Hierarchy_Enabled_Flag


the Qualifier setup form. needs to be checked for the Qualifier
Attribute in use in the Attribute Setup.

2. Ensure that the Profile ‘QP: Pricing


Party Hierarchy Type’ is set appropriately.

Discount not applied for the hierarchy. 1. Party_Hierarchy_Enabled_Flag needs


to be checked for the Qualifier Attribute in
use in the Attribute Setup.

9
2. Ensure that the Profile ‘QP:
Pricing Party Hierarchy Type’ is
set appropriately.

3. Ensure that the value stored in


the Qualifier_Attribute_Value
column is a valid TCA party id.

4. Qualify_Hier_Descendents_Flag
(Applies to Party Hierarchy field) needs to
be checked for that Qualifier Attribute in the
Qualifier setup form.

5. Check engine debug file to make


sure that the data for the parents
of the Qualifier Attribute (one
which is passed to pricing engine
and the one which has the
Qualify_Hier_Descendents_Flag
checked) is populated in the table
Qp_Preq_Line_Attrs_Tmp_T

6. Check whether the engine


sources all the parent qualifiers
within the hierarchy.

Section-B

Getting Debug and Troubleshooting

This section contains information about diagnosing and troubleshooting of problems in


the Order Management/Pricing integration).

The following table provides a summary of various methods of diagnosing and


troubleshooting the results of the pricing engine.

10
B.1 Generating OM/ QP Debug File

If the instance has Oracle Order Management Installed -

Set Profile “OM: Debug Directory” to directory listed in util_file_dir in init.ora. Set
Profile “OM: Debug_Level” to 5.

If the instance do not have Oracle Order Management Installed -

Set Profile “QP: Debug” to Yes. Set Profile “OM: Debug Directory” to
directory listed in util_file_dir in init.ora.

Search the output file in the directory mentioned in above profile based on time-stamp.

This debug is normally required by Oracle Support and Development to examine the
code flow and failure point if any.

Warning:
As enabling these debugs adds significant overhead on system performance, it is highly
recommended that these debugs are kept disabled unless debug file is being captured
for diagnostics. Profile “QP: Debug” should also be set to ‘No’ unless it is required.

B.2 Pricing Engine Request Viewer window

The Pricing Engine Request Viewer captures the pricing call from any calling application
and displays the inputs and outputs of the pricing call. This information can help you to
diagnose which price list lines were selected or rejected by the pricing engine and to
determine why certain prices and adjustments were or were not applied.

The navigation path is:


Sales Order window > Tools > “Pricing Engine Request Viewer”.

This method provides a subset of information as compared to the debug output file. It
provides information such as the list line selected and deleted by the engine during
processing, and the reason for deletion. It does not provide information on why the list
line is not selected by the engine (qp_list_line_detail.sql is a useful mechanism for this).
This is a quick and useful method to verify the data passed to the pricing engine and
data that were returned by the pricing engine. This method determines whether the
expected qualifiers and pricing attributes are sourced. Since the Pricing Engine Request
Viewer requests are stored in the permanent pricing debug tables, users can query
previous pricing debug requests also.

Warning:
As the Pricing Engine Request Viewer consumes a large amount of system resources, it
is recommended that it be turned off unless debug is being generated.

11
B.3 Script qp_list_line_detail.sql

This script provides information about how the price list line or modifier is setup and can
be used when the engine has not selected the expected price list line/ modifier line.

How to use this script:

1. Step 1 is same as above to obtain the Price List line ID/ Modifier line ID

2. Navigate to PricingReports

3. Select the concurrent program ‘Diagnostics: Performance Analysis’

4. Provide the list_line_id obtained in step 1 and submit request.

5. After successful completion of concurrent request, click ‘View Output’.

B.4 Other Important Notes -

B.4.1 Important Setups and Parameters -

Much setup information has impact on pricing engine process. Verify that the following
columns have appropriate values:
Incompatibility Resolve Code in event phase, Search_flag in event phase,
Automatic_flag, active_flag in modifiers and price lists Pricing Phase in modifier.

Verify that the following important profiles are appropriately set:

QP: Get Custom Price Customized


QP: Blind Discount Option
QP: Verify GSA Violations
QP: Return Manual Discounts

B.4.3 Patch Application -

Patches involving any operation on temporary tables are not applied correctly if any user
is holding a lock on the temporary table. While applying QP patches, verify that no user
has a lock on Oracle Advanced Pricing temporary tables by executing the following sql
statement (this statement should not return any rows) -

Select sid, sql_text from v$open_cursor where sql_text like '%QP_PREQ%';

Check the adpatch worker log to verify that the pricing patch application is successful
without any errors. If the patch failed with the following error then bounce the database
and reapply the patch.

12
ORA-14452: Attempt to create, alter, or drop an index on temporary table already in use

Make sure that no concurrent program (example: Order Import) is started before
applying the patch.

Technical Brief Name: Pricing Diagnostics and Troubleshooting Guide for Release 12.0
Version: 1.0

Written By:
Giri Tippireddy, Priya Gopal, Nirmal Kumar

Reviewed By:
Vivian Y Lee, Vivek Gulati

13

You might also like