Subscription_puchase_deal Applies Cycle_arrear Charge At Purchase Time (Doc ID 1263050.1)

Last updated on MARCH 26, 2011

Applies to:

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

Symptoms



PCM_OP_SUBSCRIPTION_PURCHASE_PRODUCT and pin_cycle_fees (both) applies the cycle_arrear charge for the product with arrear fee event at purchase time.
purchase a product with end_t as 1st Aug 00:00:00 on 2nd Aug 00:00:00 then purchase_product applies the arrear fee immediatly and on 5th Aug, run pin_cycle_fees and it applies the charge again second time.

Below is one scenario

1. PVT (pin_virtual_time) to 1st June 2010
2. create account with product having cycle arrear fee event
3. do billing for June in July
4. PVT to 2nd August
5. Purchase another product which is of cycle arrear fee event with end_t as
1st August 2010 00:00:00 with opcode PCM_OP_SUBSCRIPTION_PURCHASE_PRODUCT

Input Flist:
D Mon Aug 02 00:00:23 2010 sdsbico1v cm:907
bico_subscription_purchase_deal.c:312
1:sdsbico1v:<no_name>:635:1:10000:1286484233:5
do_purchase_product_or_discount_bico: purch_input_flistp
# number of field entries allocated 20, used 4
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 39335758393 15
0 PIN_FLD_PROGRAM_NAME STR [0]
"BEPPI_OP_BUSINESS_POL_CHANGE_SUBSCRIPTION_PRODUCTS opcode."
0 PIN_FLD_END_T TSTAMP [0] (1280613600) Sun Aug 01 00:00:00 2010
0 PIN_FLD_PRODUCTS ARRAY [0] allocated 23, used 23
1 PIN_FLD_CYCLE_DISCOUNT DECIMAL [0] 0
1 PIN_FLD_CYCLE_END_DETAILS INT [0] 1
1 PIN_FLD_CYCLE_END_T TSTAMP [0] (0) <null>
1 PIN_FLD_CYCLE_START_DETAILS INT [0] 1
1 PIN_FLD_CYCLE_START_T TSTAMP [0] (0) <null>
1 PIN_FLD_PRODUCT_OBJ POID [0] 0.0.0.1 /product 30740762268 0
1 PIN_FLD_PURCHASE_DISCOUNT DECIMAL [0] 0
1 PIN_FLD_PURCHASE_END_DETAILS INT [0] 1
1 PIN_FLD_PURCHASE_END_T TSTAMP [0] (0) <null>
1 PIN_FLD_PURCHASE_START_DETAILS INT [0] 1
1 PIN_FLD_PURCHASE_START_T TSTAMP [0] (0) <null>
1 PIN_FLD_QUANTITY DECIMAL [0] 1
1 PIN_FLD_STATUS ENUM [0] 1
1 PIN_FLD_STATUS_FLAGS INT [0] 0
1 PIN_FLD_USAGE_DISCOUNT DECIMAL [0] 0
1 PIN_FLD_USAGE_END_DETAILS INT [0] 1
1 PIN_FLD_USAGE_END_T TSTAMP [0] (0) <null>
1 PIN_FLD_USAGE_START_DETAILS INT [0] 1
1 PIN_FLD_USAGE_START_T TSTAMP [0] (0) <null>
1 PIN_FLD_PACKAGE_ID INT [0] 2048
1 PIN_FLD_DEAL_OBJ POID [0] 0.0.0.1 /deal 30740759644 0
1 PIN_FLD_PLAN_OBJ POID [0] NULL poid pointer
1 PIN_FLD_FEE_FLAG INT [0] 1

6. the output of the opcode generates the balance impact with charge. Which
should not generate as it is arrear fee.
7. PVT to 5th August
8. run pin_cycle_fees, which generates the charge again for the product
purchased at step 5
9. do billing for the account
10. The charges generated at sep 5 and 8 are also included in the bill.

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