OCECE-DC Exception When Processing ECE Answer Containing a Discount

(Doc ID 2136852.1)

Last updated on MAY 18, 2016

Applies to:

Oracle Communications Offline Mediation Controller - Version and later
Information in this document applies to any platform.


On : version :
OCECE-DC Exception when processing ECE answer containing a discount .

When rating is performed on a record referring to a product with a discount.

OCOMC receives (from nodemgr_55109.out):
Response payload ->OnlineUsageResponseImpl
{sessionId = 3441F01904
status = SUCCESS
operationType = TERMINATE}
validityTime = null
correlationIdentifier = 'null'
adviceOfPriceImpacts = []
adviceOfChargeImpacts = [
{customerId = '42160000003:TelcoGsmTelephony',
{balanceElementId = 2000000,
impactAmount = UnitValue{quantity=20450.000000, unit=Occ}}, CostInformationImpl
{balanceElementId = 978,
impactAmount = UnitValue{quantity=1022.500000, unit=Money{cur=EUR}}}]}]
grantedUnit = null
creditThresholdBreaches = null
remainingBalanceContainers = null
redirectInformation = null}

java.lang.ClassCastException: oracle.communication.brm.charging.util.unit.Occurrence cannot be cast to oracle.communication.brm.charging.util.unit.Money
at com.oracle.nm.oi.tachyon.TachyonUpdater$TachyonResponseConsumer.receive(TachyonUpdater.java:1427)

After that OCECE-DC cartridge is no longer processing requests.
Looks like only unit=Money is supported in costInformation section. It is missing support for costInformation containing discount information (e.g. unit=Occ)


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms