Opcode PCM_OP_SUBSCRIPTION_SHARING_GROUP_DELETE Delete Wrong Member Accounts In Group (Doc ID 1066716.1)

Last updated on JUNE 07, 2013

Applies to:

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

Symptoms

Opcode PCM_OP_SUBSCRIPTION_SHARING_GROUP_DELETE deletes wrong group members (different than specified in input flist)

Steps to reproduce the problem:
1. Created a group account - /account 2377750
2. Created 3 members accounts - /account 2378454, / account 2378102 and / account 2378085
3. Created a service profile using an opocde PCM_OP_CUST_CREATE_PROFILE for group account, please refer the following input flist:

nap(7696)> d 1
# number of field entries allocated 20, used 5
0 PIN_FLD_POID POID [0] 0.0.0.1 /profile/serv_extrating -1 0
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 2377750 0
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379414 0
0 PIN_FLD_NAME STR [0] "CUG"
0 PIN_FLD_INHERITED_INFO SUBSTRUCT [0] allocated 20, used 4
1 PIN_FLD_DATA_ARRAY ARRAY [0] allocated 20, used 4
2 PIN_FLD_NAME STR [0] "NUMBER"
2 PIN_FLD_VALUE STR [0] "111111111"
2 PIN_FLD_VALID_FROM TSTAMP [0] (1262300400) Fri Jan 01 04:30:00 2010
2 PIN_FLD_VALID_TO TSTAMP [0] (0) <null>
1 PIN_FLD_DATA_ARRAY ARRAY [2] allocated 20, used 4
2 PIN_FLD_NAME STR [0] "NUMBER"
2 PIN_FLD_VALUE STR [0] "123456789"
2 PIN_FLD_VALID_FROM TSTAMP [0] (1262300400) Fri Jan 01 04:30:00 2010
2 PIN_FLD_VALID_TO TSTAMP [0] (0) <null>
1 PIN_FLD_DATA_ARRAY ARRAY [1] allocated 20, used 4
2 PIN_FLD_NAME STR [0] "NUMBER"
2 PIN_FLD_VALUE STR [0] "987654321"
2 PIN_FLD_VALID_FROM TSTAMP [0] (1259794800) Thu Dec 03 04:30:00 2009
2 PIN_FLD_VALID_TO TSTAMP [0] (0) <null>
1 PIN_FLD_EXTRATING SUBSTRUCT [0] allocated 20, used 3
2 PIN_FLD_STATUS ENUM [0] 0
2 PIN_FLD_REFERENCE_COUNT INT [0] 1
2 PIN_FLD_LABEL STR [0] "CUG"

Output flist:
nap(7696)> xop PCM_OP_CUST_CREATE_PROFILE 0 1
xop: opcode 68, flags 0
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.1 /profile/serv_extrating -1 0
0 PIN_FLD_RESULTS ARRAY [1] allocated 20, used 1
1 PIN_FLD_POID POID [0] 0.0.0.1 /profile/serv_extrating 2378638 0

4. Created group /group/sharing/profiles with 3 member accounts as members using opcode PCM_OP_SUBSCRIPTION_SHARING_GROUP_CREATE
Input flist:
nap(7818)> d 1
# number of field entries allocated 20, used 10
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 2377750 0
0 PIN_FLD_GROUP_OBJ POID [0] 0.0.0.1 /group/sharing/profiles -1 0
0 PIN_FLD_NAME STR [0] "WLN:TDM:8040156:12"
0 PIN_FLD_DESCR STR [0] "CUG Option Business Call group"
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379414 0
0 PIN_FLD_PARENT POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379414 0
0 PIN_FLD_MEMBERS ARRAY [0] allocated 20, used 2
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 2378454 0
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379062 0
0 PIN_FLD_MEMBERS ARRAY [1] allocated 20, used 2
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 2378102 0
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379766 0
0 PIN_FLD_MEMBERS ARRAY [2] allocated 20, used 2
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 2378085 0
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379749 0
0 PIN_FLD_PROFILES ARRAY [0] allocated 20, used 1
1 PIN_FLD_PROFILE_OBJ POID [0] 0.0.0.1 /profile/serv_extrating 2378638 0

Output flist:
nap(7818)> xop PCM_OP_SUBSCRIPTION_SHARING_GROUP_CREATE 0 1
xop: opcode 3757, flags 0
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.1 /group/sharing/profiles 2373335 0
0 PIN_FLD_RESULTS ARRAY [0] allocated 20, used 4
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379414 0
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 2377750 0
1 PIN_FLD_RATING_STATUS ENUM [0] 12
1 PIN_FLD_POID POID [0] 0.0.0.1 /event/group/sharing/profiles/create 257567195878670039 0

5. Deleted group member using PCM_OP_SUBSCRIPTION_SHARING_GROUP_DELETE opcode:

Input flist:
nap(7836)> d 1
# number of field entries allocated 20, used 3
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 2377750 0
0 PIN_FLD_GROUP_OBJ POID [0] 0.0.0.1 /group/sharing/profiles 2373335 0
0 PIN_FLD_MEMBERS ARRAY [0] allocated 20, used 2
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 2378085 0
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379749 0

Output flist:
nap(7836)> xop PCM_OP_SUBSCRIPTION_SHARING_GROUP_DELETE 0 1
xop: opcode 3759, flags 0
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.1 /group/sharing/profiles 2373335 0
0 PIN_FLD_RESULTS ARRAY [0] allocated 20, used 4
1 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 2379414 0
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 2377750 0
1 PIN_FLD_RATING_STATUS ENUM [0] 12
1 PIN_FLD_POID POID [0] 0.0.0.1 /event/group/sharing/profiles/delete 257567195878668759 0

Opcode deletes account from members array, unfortunately it deletes wrong account

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