My Oracle Support Banner

LOY Accrual Service - Promotion Design Simulation with a calculated field fails (Doc ID 2001700.1)

Last updated on SEPTEMBER 09, 2021

Applies to:

Siebel Loyalty Engine - Version 8.1.1.11.11 [IP2013] to 8.1.1.14.5 [IP2014] [Release V8]
Information in this document applies to any platform.

Symptoms

On : 8.1.1.11.11 [IP2013] version, Loyalty

ACTUAL BEHAVIOR
---------------
When using the ProcessExternalOrderTxn web service, simulations do not invoke the promotions where calculated fields are used

EXPECTED BEHAVIOR
-----------------------
Customer suggested the simulations should run all promotions and return an output.

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

Add the same calculated field to both :
LOY Transaction and LOY Engine Transaction BC

Name the field BH-Order and base this calculated field on [Order Number], set
force active and immediate post changes and compile in to the srf file

---

Added the new field to the Admin - LOV and to the Program > Attributes >
Transaction Attributes.

This defaults to 'String' as it's a calc field.

Added a promotion criteria rule of 'If Order number = 51, then assign
transaction points

This should if the simulate method of the web service is run add the number
of points in the transaction

However the web service returned for 'Process method:
<ProcessingLog>Accrual
Got Applied. 4 Non Qualifying. Test Points</ProcessingLog>
             <Status>Processed</Status>
             <SubStatus>Success</SubStatus>

So for process this worked if the order number was '51' but failed for any
other number which is expected

For simulate however for the order number = '51' the following was seen:

<ProcessingLog>No rules were satisfied.
1-> Accrual;
;</ProcessingLog>

So the calculate field is updated in 'Process' mode, not in 'Simualte' mode


BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot simulate the promotions where calculated fields are used in the promotion

Cause

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
Symptoms
Cause
Solution
References


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