PCM_OP_SUBSCRIPTION_PURCHASE_DEAL Calc-only Mode Having Issues (Doc ID 1590635.1)

Last updated on SEPTEMBER 24, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.4.0.0.0 to 7.5.0.0.0 [Release 7.4.0 to 7.5.0]
Information in this document applies to any platform.

Symptoms

On BRM 7.4 PS17, Subscription Management

Issue:
--------
PIN_FLD_TOTAL block is not getting populated in the return flist of PCM_OP_SUBSCRIPTION_PURCHASE_DEAL opcode.

Description:
---------------
PCM_OP_SUBSCRIPTION_PURCHASE_DEAL opcode is called in calc-only (flag 128) mode. Input flist also includes field PIN_FLD_CYCLE_END_T for proration calculation.
As per observation, this issue occurs only when the PIN_FLD_CYCLE_END_T field is present in the input flist and the add-on deal is purchased on the same day of account creation.

Steps to reproduce this issue:-
------------------------------------
1. Create an account.
2. On the same day, purchase a deal with annual cycle forward by running opcode PCM_OP_SUBSCRIPTION_PURCHASE_DEAL in calc-only mode through Testnap.
3. Input Flist of opcode PCM_OP_SUBSCRIPTION_PURCHASE_DEAL is shown below:- 

0 PIN_FLD_POID POID [0] 0.0.0.1 /account 1018200 0
0 PIN_FLD_PROGRAM_NAME STR [0] "Purchase Product"
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/hosting/shared/wordpress 954684 0
0 PIN_FLD_DEAL_INFO SUBSTRUCT [0] allocated 20, used 5
1     PIN_FLD_END_T TSTAMP [0] (0)
1     PIN_FLD_START_T TSTAMP [0] (0)
1     PIN_FLD_NAME STR [0] ""
1     PIN_FLD_POID POID [0] 0.0.0.1 /deal -1 0
1     PIN_FLD_PRODUCTS ARRAY [0] allocated 20, used 9
2         PIN_FLD_FEE_FLAG INT [0] 1
2         PIN_FLD_QUANTITY DECIMAL [0] 1
2         PIN_FLD_CYCLE_END_T TSTAMP [0] (31451746) Thu Dec 31 06:05:46 1970 ******
2         PIN_FLD_PACKAGE_ID INT [0] 1
2         PIN_FLD_STATUS ENUM [0] 1
2         PIN_FLD_PRODUCT_OBJ POID [0] 0.0.0.1 /product 213498 0
2         PIN_FLD_STATUS_FLAGS INT [0] 33554432
2         PIN_FLD_CYCLE_FEE_AMT DECIMAL [0] 25
2         PIN_FLD_CYCLE_DISC_AMT DECIMAL [0] NULL pin_decimal_t ptr

4. Check the return flist, PIN_FLD_TOTAL block is missing.

Business Impact:
---------------------
For scenarios like upgard/downgrad/Renewal with/out addons, amount is calculated from BRM and provided to Siebel.
From Siebel, calc-only mode call is made to BRM to calculate amount. Hence, PIN_FLD_TOTAL block should be populated.

Cause

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