DBA Data[Home] [Help]
Skip to content

PACKAGE: APPS.QP_CUSTOM_IGNORE

Source


1 PACKAGE QP_CUSTOM_IGNORE AUTHID CURRENT_USER AS
2 /* $Header: QPXCTIGS.pls 120.0.12010000.1 2009/02/02 12:15:07 cmsops noship $ */
3 /*#
4  * This package contains the specification for the IGNORE_ITEMLINE_FOR_PRICING API.
5  * The package body is not shipped with Oracle Advanced Pricing.  The
6  * user must create the Package Body for QP_CUSTOM_IGNORE containing the procedure
7  * for IGNORE_ITEMLINE_FOR_PRICING which must adhere to the specification
8  * provided in the QP_CUSTOM_IGNORE package specification.
9  *
10  * @rep:scope public
11  * @rep:product QP
12  * @rep:displayname Custom Ignore Pricing
13  * @rep:category BUSINESS_ENTITY QP_PRICING_ENGINE
14  */
15 
16  /*Customizable Public Procedure*/
17  /*#
18  * The IGNORE_ITEMLINE_FOR_PRICING API is a customizable procedure to which the user
19  * may add custom code.The API is called when the profile value QP: Custom Ignore Pricing
20  * is set to Y.It is called by the pricing engine for each line while sourcing line level attributes.
21  * Based on the p_request_type_code, the respective line structure would be available.
22  * For Example:
23  * OE_ORDER_PUB.G_LINE would be available for  ONT request_type_code
24  * ASO_PRICING_INT.G_LINE_REC would be available for ASO request_type_code
25  * From the above structure the customer can access  inventory_item_id, line_id,
26  * line_type_code, etc
27  * Using the above data in structure the customer API can decide and return x_ignore
28  * true or false. If true, the price would be defaulted to 0 and the price list
29  * of the line would be defaulted as x_default_price_list_id
30  *
31  * @param p_request_type_code - Request Type Code
32  * @param x_ignore - set to Y if the Item-line is ignored by pricing
33  * @param x_default_price_list_id - if x_ignore is Y, x_default_price_list_id has
34  *                                      to be set to the list_header_id value of a
35  *                                      dummy Price List (as Price List is mandatory
36  *                                      in Sales Order form)
37  *
38  * @rep:displayname Custom Ignore Pricing
39  */
40 
41 PROCEDURE IGNORE_ITEMLINE_FOR_PRICING(p_request_type_code IN VARCHAR2
42 		       ,x_ignore OUT NOCOPY VARCHAR2
43 		       ,x_default_price_list_id OUT NOCOPY NUMBER
44 		       );
45 END QP_CUSTOM_IGNORE;