My Oracle Support Banner

Context Variable Inside Linked Item Not Getting Evaluated During Upgrade Promotion From Asset (Doc ID 2302785.1)

Last updated on FEBRUARY 06, 2019

Applies to:

Siebel CRM - Version 15.9 [IP2015] and later
Information in this document applies to any platform.


On : 15.9 [IP2015] version, Order Management

Context Variable inside Linked Item not getting evaluated during Upgrade Promotion from Asset


Constrains should be evaluated based on the linked item value in Inmemory upgrade scenario

The issue can be reproduced at will with the following steps:

1. Create Promotion as below

Promotion Product - P

Root Product - R

Child Product 1 - C1 (1,1,1 - min/max/default cardinalities)

Child Product 2 - C2 (0,1,0 - min/max/default cardinalities)

2. Create Second promotion with same structure and with one more additional product

Promotion Product - P1

Root Product - R

Child Product 1 - C1 (1,1,1 - min/max/default cardinalities)

Child Product 2 - C2 (0,1,0 - min/max/default cardinalities)

Child Product 3 - C3 (1,1,1 - min/max/default cardinalities)

3. now add upgrade matrix from P to P1 and P1 to P

==> Custom field configuration and mappings

A) Create ext column *X_TEST_STC* under below tables






B) Add custom field *X_TEST_STC* under following BC's

MACD Order Entry - Orders

Order Entry - Orders

Asset Mgmt - Asset

Asset Mgmt - Asset - Header

Order Entry - Line Items

MACD Order Entry - Line Items

Asset Mgmt - Asset (Order Mgmt)

Quote Item


MACD Quote

MACD Quote Item

C) Add mappings as below for custom field *X_TEST_STC* under *SIS OM PMT Service* user properties

SIS OM Asset.Header:SIS OM Order.Header Map = [X_TEST_STC]:[X_TEST_STC]

SIS OM Asset.Header:SIS OM Quote.Header Map = [X_TEST_STC]:[X_TEST_STC]

SIS OM Asset.Line Item:SIS OM Order.Line Item Map = [X_TEST_STC]:[X_TEST_STC]

SIS OM Order.Header:SIS OM Asset.Header Map = [X_TEST_STC]:[X_TEST_STC]

SIS OM Order.Line Item:SIS OM Asset.Header = [X_TEST_STC]:[X_TEST_STC]

SIS OM Order.Line Item:SIS OM Asset.Line Item Map = [X_TEST_STC]:[X_TEST_STC]

SIS OM Quote.Header:SIS OM Order.Header Map = [X_TEST_STC]:[X_TEST_STC]

SIS OM Quote.Line Item:SIS OM Asset.Header = [X_TEST_STC]:[X_TEST_STC]


D) Display this field in Order, Line Item and Asset applets


4. write following constraint under product *R* based on linked item value(Context variable)

example :-

Context variable to fetch *X_TEST_STC* field with path : $Current/Header/X_TEST_STC under variable map : Cfg Eligibility Variable Map - Context

create linked item with this *X_TEST_STC*

Create constraints based on lined item value as below

Linked Item X_TEST_STC != ABC(string) excludes selection of product C2 from R2

5. Create Order Under Account

6. Update new field value = ABC

7. Add Promotion P, So that R,C1 gets added automatically

8. Now click on customize for product R and add C2(it will allow to add because custom field value = ABC)

9. Prepare assets

10.Now place Upgrade promotion order from P to P1 promotion

in target order following line items expected

P - Delete

P1 - Add

R - Update

C1- Update

C2 - Update

C3 - Add

Actual out come

P - Delete

P1 - Add

R - Update

C1- Update

C2 - Delete

C3 - Add




To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.