My Oracle Support Banner

OOTB BCWS API "Add Bundle To An Account" Doesn't Support Decimal Quantity Values (Doc ID 3009327.1)

Last updated on MAY 20, 2024

Applies to:

Oracle Communications Billing and Revenue Management - Version 12.0.0.8.0 and later
Information in this document applies to any platform.

Symptoms

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


1) Purchase a discount offer using the BCWS(Billing Care Web Service)  REST API "Add Bundle to an account"


2) Use the below payload ( update the service , deal and discount objects  )

After clicking respective URL 
Payload :

 

ACTUAL BEHAVIOR
---------------
The "quantity" passed in input is 2.25 , however the quantity is set as 2 when the call goes to BRM :


0 PIN_FLD_DEAL_INFO SUBSTRUCT [0] allocated 20, used 6
1 PIN_FLD_DISCOUNTS ARRAY [0] allocated 20, used 19
2 PIN_FLD_PURCHASE_END_T TSTAMP [0] (0)
2 PIN_FLD_PURCHASE_START_T TSTAMP [0] (0)
2 PIN_FLD_USAGE_END_DETAILS INT [0] 2
2 PIN_FLD_DISCOUNT_OBJ POID [0] 0.0.0.1 /discount 105411 1
2 PIN_FLD_CYCLE_END_DETAILS INT [0] 2
2 PIN_FLD_QUANTITY DECIMAL [0] 2


EXPECTED BEHAVIOR
-----------------------
The "quantity" passed in input should be 2.25

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.