My Oracle Support Banner

Different Status In BRM And ECE After Pin_state_change Runs (Doc ID 2835230.1)

Last updated on JULY 19, 2023

Applies to:

Oracle Communications BRM - Elastic Charging Engine - Version 11.3.0.7.0 and later
Information in this document applies to any platform.

Goal

After running the pin_state_change application to change the status from pre_active (200) to closed (209), the status of the products/discounts is CANCELLED in ECE and ACTIVE in BRM.
 As a result: in the ECE the status is CANCELED and in BRM is ACTIVE.

Following steps were executed to reproduce this problem:

1. Create a subscriber in state= PRE_ACTIVE. In this case, the state_expiration_t will be updated with a date: X
2. move the pvt after that state_expiration_t = X
3. run pin_state_change -state 200 -verbose (where 200 -> pre_active )
  The pin_state_change ran without errors.
  
As per ECE_HOME/config/management/charging-settings.xml :
-> 200-> PREACTIVE
-> 209-> CLOSED
-> state="10102" stateName="SUSPENDED"/> it means the products/discounts will be INACTIVE.

Consider a test like in the below example:

r << xxx 1
0 PIN_FLD_PROGRAM_NAME STR [0] "testnap"
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 40085763 7
0 PIN_FLD_LIFECYCLE_STATE INT [0] 209
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm 40086147 21
0 PIN_FLD_STATUSES ARRAY [0] allocated 20, used 2
1 PIN_FLD_STATUS ENUM [0] 10102
1 PIN_FLD_STATUS_FLAGS INT [0] 0
xxx
xop PCM_OP_CUST_SET_STATUS 0 1

CASE I=>The problem when changing the status from PREACTIVE(200) to CLOSED(209): in the BRM the products/discounts are ACTIVE and in ECE are CANCELLED.
  Question: why in ECE the status of the products/discounts is CANCELLED and in BRM is ACTIVE?
Because based on the charging-settings.xml and flist of the PCM_OP 209->Closed and state=''10102'' INACTIVE.
This means that the account state will be closed but the products/discounts will be INACTIVE in BRM and also in ECE.

CASE II=>The problem when changing the status from ACTIVE(201) to CLOSED(209): in BRM the products/discounts are INACTIVE and in ECE are CANCELLED.
  Question: why in ECE the status of the products/discounts is CANCELLED and in BRM is INACTIVE?
Because based on the charging-settings.xml and flist of the PCM_OP 209->Closed and state=''10102'' INACTIVE.
This means that the account state will be closed but the products/discounts will be INACTIVE in BRM and also in ECE.
 

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.