My Oracle Support Banner

Cycle Forward Is Re-triggered For The Previous Period While Calling OP_SUBSCRIPTION_SET_PRODINFO Opcode (Doc ID 2113323.1)

Last updated on MARCH 28, 2023

Applies to:

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

Goal

Issue:

Cycle forward item is re-triggered for the previous period while calling SET_PRODINFO opcode.

Steps:

1) Purchase Handset Installment product for a customer with overridden price as $20 on 11/12/2015 with an offset set to 1 year. Handset Installment product has scaled amount as 0 as product configuration.
2) Run PCM_OP_SUBSCRIPTION_SET_PRODINFO to set the CYCLE_START_T, PURCHASE_START_T on the current date which triggered monthly cycle forward event with 0 charge with EARNED_START_T as 11-12-2015 and EARNED_END_T as 31-12-2015 .
3) Change the pin_virtual_time to 1st of Jan 2016.
4) Run the SET_PRODINFO opcode to change the cycle_fee_amt (from $20 to $100) of the purchased product.

Input flist to change the cycle_fee_amt:

# number of field entries allocated 20, used 4
0 PIN_FLD_POID POID [0] 0.0.0.7 /account 59866711 0
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.7 /service/telco/postpaid 59895226 0
0 PIN_FLD_PROGRAM_NAME STR [0] "TEST"
0 PIN_FLD_PRODUCTS ARRAY [0] allocated 20, used 3
1 PIN_FLD_OFFERING_OBJ POID [0] 0.0.0.7 /purchased_product 59895398 0
1 PIN_FLD_PRODUCT_OBJ POID [0] 0.0.0.7 /product 2038848 0
1 PIN_FLD_CYCLE_FEE_AMT DECIMAL [0] 100

Actual Result:

This OPCODE triggered a cycle forward event with EARNED_START_T as 11-12-2015 and EARNED_END_T as 01-02-2016 with due amount as $33.5 ($13.5 prorated charge from 11-12-2015 to 31-12-2015 + $20 monthly charge from 01-01-2016 to 01-02-2016). The charge raised is wrong, as it starts from the 11-12-2015 instead of the 1st of Jan 2016.
 
Expected Result:
 
$100 ($0 charge from 11-12-2015 to 31-12-2015 + $100 monthly charge from 01-01-2016 to 01-02-2016)


Query: How to execute PCM_OP_SUBSCRIPTION_SET_PRODINFO to get the correct due amount i.e. $100 instead of $33.5?
 

Solution

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
Goal
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.