My Oracle Support Banner

No Discount Applied after Rerating Of Numbers in Sharing Group (Doc ID 2180614.1)

Last updated on NOVEMBER 02, 2016

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.

Symptoms

On Oracle Communications Billing and Revenue Management (BRM) Applications 7.5.0.14.0 version, Rating, it is observed that the discount on traffic/usage for sharing group members (ie calls between numbers in group are discounted -100%) is not applied after rerating.

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

1. Create an account with 3 services (2016-07-21 14:19:31).

 Create PCM_OP_CUST_MODIFY_CUSTOMER: input flist:
# number of field entries allocated 20, used 6
0 PIN_FLD_POID POID [0] 0.0.0.4 /plan -1 0
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.4 /account 114603227 8
0 PIN_FLD_START_T TSTAMP [0] (1469052000) Thu Jul 21 00:00:00 2016
0 PIN_FLD_END_T TSTAMP [0] (1469052000) Thu Jul 21 00:00:00 2016
0 PIN_FLD_SERVICES ARRAY [0] allocated 20, used 5
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.4 /service/telco/tp_fixed/telephony -1 0
1 PIN_FLD_PASSWD_CLEAR STR [0] "PINUNIT:LOGIN:274127578720160801-0901-2694958"
1 PIN_FLD_LOGIN STR [0] "PINUNIT:LOGIN:274127578720160801-0901-2694958"
1 PIN_FLD_SUBSCRIPTION_INDEX INT [0] 0
1 PIN_FLD_BAL_INFO ARRAY [0] allocated 20, used 0
0 PIN_FLD_BAL_INFO ARRAY [0] allocated 20, used 2
1 PIN_FLD_BILLINFO_OBJ POID [0] 0.0.0.4 /billinfo 114604091 3
1 PIN_FLD_POID POID [0] 0.0.0.4 /balance_group 114603451 0

All three services are created the same way.

2. Create sharing group (2016-07-21 14:19:36)


PCM_OP_SUBSCRIPTION_SHARING_GROUP_CREATE: input flist:
# number of field entries allocated 20, used 7
0 PIN_FLD_POID POID [0] 0.0.0.4 /account 43152006 22
0 PIN_FLD_GROUP_OBJ POID [0] 0.0.0.4 /group/sharing/profiles -1 0
0 PIN_FLD_PARENT POID [0] 0.0.0.4 /service/telco/tp_fixed/telephony 114627654 0
0 PIN_FLD_NAME STR [0] "BG40000040-GB1600D"
0 PIN_FLD_DESCR STR [0] "00003003640651;22831065822001"
0 PIN_FLD_EFFECTIVE_T TSTAMP [0] (1469052000) Thu Jul 21 00:00:00 2016
0 PIN_FLD_PROFILES ARRAY [0] allocated 20, used 1
1 PIN_FLD_PROFILE_OBJ POID [0] 0.0.0.4 /profile/serv_extrating 114630086 0


3. Add the numbers for the services created in Step 1,

  num A 2016-07-21 14:19:42
  num B 2016-07-21 14:21:42
  num C 2016-07-21 14:22:44

4. On 2016-07-22 15:15:01, rate usage between num C and num A. Discount is applied. (There is custom discount for traffic for numbers in sharing group).

5. Close service C, 2016-07-22 15:15:21 (rerating is called). In BRM rerating job is created automatically in such situation. It is called with flist as below:

PCM_OP_BILL_RERATE_REBILL: input flist:
# number of field entries allocated 20, used 7
0 PIN_FLD_POID POID [0] 0.0.0.4 /account 114603227 28
0 PIN_FLD_RERATE_FLAGS INT [0] 1
0 PIN_FLD_PROGRAM_NAME STR [0] "DATAFIX:tp_rmv_traffic"
0 PIN_FLD_START_T TSTAMP [0] (1469052000) Thu Jul 21 00:00:00 2016
0 PIN_FLD_ARGS ARRAY [1] allocated 20, used 1
1 PIN_FLD_POID POID [0] 0.0.0.4 /event/billing/product/fee/purchase -1 0
0 PIN_FLD_ARGS ARRAY [2] allocated 20, used 1
1 PIN_FLD_POID POID [0] 0.0.0.4 /event/billing/product/fee/cancel -1 0
0 PIN_FLD_ARGS ARRAY [3] allocated 20, used 1
1 PIN_FLD_POID POID [0] 0.0.0.4 /event/delayed/session/telco -1 0


6. Rerate usage/traffic - now no discount is applied and the charges remains the same. Here rerating opcode is not being called, hence charges remain the same.

    It is expected that the Rerating opcode PCM_OP_BILL_RERATE_REBILL should be called.

    Also It is not possible to perform explicit rerating as the service is already closed and no products exist for that account.

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.