Beruflich Dokumente
Kultur Dokumente
PowerView is On Support Identifier: 14580584 (Foremost Far... prakash (Available) (0) Contact Us Help
Give Feedback... You have been directed to this document based on an ID match. Alternatively, click here to search on this phrase. Hide
How to Simulate the Price Order or Price Line Function using API QP_PREQ_PUB.PRICE_REQUEST Includes To Bottom
Example Scripts (Doc ID 412545.1)
Purpose Yes
No
Scope
Details
Document Details
Example Scripts to Simulate Price Order
qp_engine_testing.sql
Type:
BULLETIN
qp_test_service.sql Status:
PUBLISHED
qp_test_oid.sql Last Major
25-Feb-2017
Update:
qp_direct_insert.sql 25-Feb-2017
Last Update:
qp_manual_adjustments.sql
qp_override_selling_price.sql Related Products
The setup involves passing information to the pricing engine using the following: Oracle Order Management
Control Record Information: Oracle Advanced Pricing
APPLIES TO:
Document References
R12: Advanced Pricing APIs -
Oracle Order Management - Version 11.5.10.0 and later
Examples, How to Resolve
Oracle Advanced Pricing - Version 11.5.10 and later Errors, Increase Performance
Information in this document applies to any platform. and Troubleshooting Tips
[1963675.1]
This note is intended to show how the Price Order or Price Line action may be simulated using an API call. This API call will not How to Simulate the Price Orde
or Price Line Function using API
result in an update to the order.
QP_PREQ_PUB.PRICE_REQUES
Includes Example Scripts
SCOPE [412545.1]
XML Acknowledge_PO / EDI
POAO(855) Not Getting
The intended audience is for those with technical knowledge of Oracle Applications Code, the usage of public APIs, and those Triggered - No Records In
familiar with creating custom solutions for unique business requirements. OE_HEADER_ACKS Table.
[2012066.1]
How to Assign and Revoke
Role/Responsibility to a User
This is only a sample code and should be used to develop one's own code to meet business needs. Due to the fact this is using a Standard API?
customized code, it is the Customer's responsibility to thoroughly test and to maintain their code. Oracle support may not be [373369.1]
able to assist with these scripts, hence if one is implementing a custom solution and requires assistance, please contact How to deploy customizations
Oracle Consulting. that are created in the package
oracle.apps.xxprod.* rather tha
xxprod.oracle.apps.* or
xxprod.oracle.apps.xxprod.* on
DETAILS EBS 12.2.X? [1609939.1]
EBS ATG Seed Data Compariso
Report [1327399.1]
Example Scripts to Simulate Price Order Show More
The following scripts are used in the examples for the Price Request Application Program Interface.
These scripts help one set up data and make a call to the pricing engine to return the price and any related discounts.
The scripts are located in the following area: $QP_TOP/patch/115/sql.
Please note then if one upgrades to a new release of Oracle Applications one would need to acquire a new copy of the scripts
(same directory) as these scripts may have changes as provided by Oracle Development to work within the new application
version. Therefore if one used an example script to develop ones own script, for example, on Oracle Applications 11.5.10.2 and
then upgraded to Oracle Applications 12.1.1, one would need to review the detailed example scripts for any changes needed.
These are only example scripts intended to assist with writing of the code needed to call the API. It is the customers
responsibility to thoroughly test and provide final coding needed to achieve desired results to meet individual business needs.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=284965431059538&id=412545.1&_adf.ctrl-state=skrt1xcpr_87 1/3
10/24/2017 Document 412545.1
Each script will contain a file version.
For example, on Release 12.1.1 for example script in file qp_engine_testing.sql shows file version 120.0
wheres the same script qp_engine_testing.sql on Release 11.5.10.2 shows file version 115.3
1. qp_engine_testing.sql
2. qp_test_service.sql
3. qp_test_oid.sql
4. qp_direct_insert.sql
5. qp_manual_adjustments.sql
6. qp_override_selling_price.sql
Note: Examples provided are from March 2014 from Oracle Applications R12.
The setup involves passing information to the pricing engine using the following:
The Control Record has parameters which control the behavior of the pricing engine. Please refer to the example
scripts above for more details.
Request Line has information that contains the elements in the calling application that require a base and adjusted
price. It may equate to a transaction line or transaction header record in the calling application. Refer to
qp_engine_testing.sql for information on setting up the request line data. LINE_REC_TYPE is the record structure that
needs to be completed when passing information related to a request line.
One must pass qualifiers and pricing attributes information that are needed by the pricing engine to determine the
applicable price list lines and modifier list lines. One may wish to reference "Frequently Asked Questions (FAQ) for
Pricing Attributes Using Pricing APIs Such as Limitations, Request Type, How to Build Context When Using
QP_PREQ_PUB.PRICE_REQUEST" Note 1094603.1.
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=284965431059538&id=412545.1&_adf.ctrl-state=skrt1xcpr_87 2/3
10/24/2017 Document 412545.1
Additional Resources:
For release 12 refer to the Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
For 11.5.10: Order Management - Open Interfaces, API, & Electronic Messaging Guide, B14446-01
Available through Note 91798.1 Order Management Product Documentation
Note 759804.1 - Using QP_PREQ_PUB.PRICE_REQUEST API to Price an Item Using Example Script With Its Output
Note 1094603.1 - How to Build Context for Pricing Attributes When Using QP_PREQ_PUB.PRICE_REQUEST
Note 1393917.2 - Information Center: Oracle Advanced Pricing, While on the Overview tab, click on the "Resources"
link.
This is where one will find documents on APIs that complement the Oracle Order Management Open Interfaces, API, &
Electronic Messaging Guide.
Scroll down and one will find a whole section dedicated to the price request API.
In addition, Oracle does provide a seeded Workflow Reprice activity that can be inserted anywhere in the line Workflow,
the limitation of this approach is that it only contains a line level activity for repricing. If used, repricing each line is
necessary and there is no possibility for a header level reprice.
Attribute changes on the order line can trigger the pricing engine to reprice the line.
For a current list of these attributes, refer to Note 578902.1 What Sales Order Attributes Triggers Repricing in the Sales
order Form? Note that a drawback of this approach is that changing some of these fields may also trigger defaulting rules
and add some performance overhead.
REFERENCES
NOTE:1963675.1 - R12: Advanced Pricing APIs - Examples, How to Resolve Errors, Increase Performance and Troubleshooting
Tips
Didn't find what you are looking for? Ask in Community...
Related
Products
Oracle E-Business Suite > Order Management > Order Management > Oracle Order Management > Transaction Entry > Generic Form Issues during Order Entry
Oracle E-Business Suite > Order Management > Price Management > Oracle Advanced Pricing > Pricing Engine
Keywords
ADVANCED PRICING; API; ENTER ORDER; MODIFIERS; PIC_QP_API_PRICEREQUEST_DOC; PIC_QP_API_PROCESSORDER_DOC; PRICING; PRICING ENGINE; QP_PREQ_PUB;
QP_PREQ_PUB.PRICE_REQUEST
Back to Top
Copyright (c) 2017, Oracle. All rights reserved. Legal Notices and Terms of Use Privacy Statement
https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=284965431059538&id=412545.1&_adf.ctrl-state=skrt1xcpr_87 3/3