You are on page 1of 12

Promotional Good Modifier Scenario

An Oracle White Paper September 2018


Executive Summary

The purpose of this document is to demonstrate a method using the SQL Built-In Functions within a custom
pricing attribute to achieve the desired functionality on a promotional goods modifier. Promotional goods
modifiers add a new item with a price adjustment or benefit when the customer orders one or more other
items on the same order. An example for a promotional good would be Buy a Pair of Shoes and get another
50% off or buy 1 Laptop and get a free extra battery. This document is designed to supplement the existing User
and Implementation Guides for Oracle Advanced Pricing 11.5.10 and Release 12.

Business Requirements
Buy Item Get Item
Quantity Quantity
1-5 1
6-10 2
11-15 3
16-20 4
21-25 5

* For this sample document item A = AS54888 and item B = AS54999.

Contents
Executive Summary ............................................................................................................................. 1
Business Requirements........................................................................................................................ 1
Custom Pricing Attribute ..................................................................................................................... 2
Create Modifier ................................................................................................................................... 6
Run QP: Maintains the denormalized data in QP Qualifiers .................................................................. 8
Sales Order Test Cases ......................................................................................................................... 9
Test 1 – Enter ordered quantity = 5, expectation is 1 benefit (get) item ........................................... 9
Test 2 – Enter ordered quantity = 6, expectation is 2 benefit (get) item ......................................... 10
Test 3 – Enter ordered quantity = 11, expectation is 3 benefit (get) item ....................................... 11
Test 4 – Enter ordered quantity = 16, expectation is 4 benefit (get) item ....................................... 12
Related Notes: ................................................................................................................................... 12

1|P a ge
Custom Pricing Attribute

1. Set up a custom pricing attribute to capture the quantity for the get item
Responsibility: Oracle Pricing Manager
Navigate to: Setup > Attribute Management > Context and Attributes
FIND on :
pricing transaction entity = Order Fulfillment
type = Pricing Context

Place cursor on code = VOLUME


Click on Contexts… (button)

2|P a ge
Add a line as follows under the 'Attributes' section.

code = XX_GET_ITEM_QUANTITY (or what you prefer to call it)


name = XX_GET_ITEM_QUANTITY

precedence =201 (or whatever value you wish to assign)


application name = Advanced Pricing
Column mapped: PRICING_ATTRIBUTE47 (or another pricing attribute if this one is already in use)
value set: QP: Number
Save.
Exit this form, returning to the first form.

3. Next, in order to use this new attribute, a sourcing rule must be defined.
Place cursor on code = VOLUME
Click the button 'Link Attributes' button

3|P a ge
Add a lines as follows:

Code = XX_GET_ITEM_QUANTITY
Level = LINE
Attribute Mapping Method = ATTRIBUTE MAPPING
Check all of the following: LOV Enabled, Use in Limits, Attribute Mapping
Click on the Attribute Mapping button

4|P a ge
For request type = ONT enter...
Application Name = Advanced Pricing
Under Line Level, enter....
Global object name = OE_ORDER_PUB.G_LINE
User source type = PL/SQL API
User value string = Ceil(OE_ORDER_PUB.G_LINE.ORDERED_QUANTITY/5)
Check Enabled.
Save.

Run Build Attribute Mapping Rules.


From the top menu, select tools > build attribute mapping rules

5|P a ge
Create Modifier

Navigate to: Modifiers > Modifier Setup

6|P a ge
Click on Define Details
Enter data as follows:

Save.

7|P a ge
Run QP: Maintains the denormalized data in QP Qualifiers
Responsibility = Oracle Pricing Manager
Navigate: Reports
Select ‘single request’ then ‘OK’
Name: QP: Maintains the denormalized data in QP Qualifiers
Parameters:
Pick this new modifier from the List of Values as the low number.
Pick this new modifier from the List of Values as the high number.
Update Type = ALL
Submit Request

*Note: After QP: Maintains Denormalized Data in QP Qualifiers completes successfully, if one has profile
option QP: Pattern Search is set to "Both Modifier and Price List" or "Modifier" or "Price List", one will
then need to manually run the concurrent request - QP: Pattern Upgrade with no criteria.
It is available using Responsibility = Oracle Pricing Manager and navigating to Reports.

8|P a ge
Sales Order Test Cases
Now one is ready to test on sales orders.

Test 1 – Enter ordered quantity = 5, expectation is 1 benefit (get) item

9|P a ge
Test 2 – Enter ordered quantity = 6, expectation is 2 benefit (get) item

10 | P a g e
Test 3 – Enter ordered quantity = 11, expectation is 3 benefit (get) item

11 | P a g e
Test 4 – Enter ordered quantity = 16, expectation is 4 benefit (get) item

Related Notes:

How to Easily Setup a Promotion Where One Buys 6 Items Get 1 Item Free, Buy 12 Items Get 2 Items
Free, Buy 65 Items Get 10 Items Free (Doc ID 2012889.1)

How to Create Modifiers Using the API QP_MODIFIERS_PUB.PROCESS_MODIFIERS Including Sample


Scripts (Doc ID 1078960.1)

Promotional Goods Modifier


September 2018
Author: Kelli Stone Contribution Acknowledgements: Veena Raina and Joy Meares
Oracle Corporation
World Headquarters
500 Oracle Parkway
Redwood Shores, CA 94065
U.S.A.
Worldwide Inquiries:
Phone: +1.650.506.7000
Fax: +1.650.506.7200
www.oracle.com
Oracle Corporation provides the software that powers the Internet.
Oracle is a registered trademark of Oracle Corporation. Various Product and service names referenced here in maybe trademarks
Of Oracle Corporation. All other product and service names mentioned may be trademarks of the irrespective owners.
Copyright©2018 Oracle Corporation
All rights reserved.

12 | P a g e

You might also like