My Oracle Support Banner

PCM_OP_BILL_SET_LIMIT_AND_CR: Setting Empty CREDIT_THRESHOLD_FIXED (Doc ID 2791759.1)

Last updated on JULY 16, 2021

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.5.0.20.0 and later
Information in this document applies to any platform.

Symptoms

PIN_FLD_CREDIT_THRESHOLDS_FIXED cannot be set to NULL if no THRESHOULD Values are passed in the input flist of PCM_OP_BILL_SET_LIMIT_AND_CR.

 

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

>Create a MCF product with /service/ip
>Grant 500 free seconds (resource id 1000095)
>Create Deal and then Plan
>In the Plan, under Track Balances.. Select non currency (free seconds), id
>1000095, add below details:
>Limit 500 Floor -500, then
>Fixed threshold add 100

#Create Account
#From testnap update the thresholds using below input flist:

nap(8834)> r PCM_OP_BILL_SET_LIMIT_AND_CR5 1
nap(8834)> d 1
# number of field entries allocated 20, used 7
# number of field entries allocated 20, used 7
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 310111 0
0 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 307935 0
0 PIN_FLD_PROGRAM_NAME STR [0] "Automatic Account Creation"
0 PIN_FLD_END_T TSTAMP [0] (1608677973) Tue Dec 22 14:59:33 2020
0 PIN_FLD_START_T TSTAMP [0] (1608677973) Tue Dec 22 14:59:33 2020
0 PIN_FLD_FLAGS INT [0] 1
0 PIN_FLD_LIMIT ARRAY [1000095] allocated 20, used 4
1 PIN_FLD_CREDIT_LIMIT DECIMAL [0] NULL
1 PIN_FLD_CREDIT_FLOOR DECIMAL [0] NULL
1 PIN_FLD_CREDIT_THRESHOLDS INT [0] 0
1 PIN_FLD_CREDIT_THRESHOLDS_FIXED STR [0] NULL str ptr

nap(8834)> xop PCM_OP_BILL_SET_LIMIT_AND_CR 0 1
xop: opcode 948, flags 0
# number of field entries allocated 20, used 2
0 PIN_FLD_POID POID [0] 0.0.0.1 /account 310111 0
0 PIN_FLD_RESULTS ARRAY [0] allocated 20, used 2
1 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 310111 0
1 PIN_FLD_POID POID [0] 0.0.0.1 /event/billing/limit 327531319775250076 0

nap(8834)> robj - $DB /balance_group 307935
# number of field entries allocated 20, used 13
0 PIN_FLD_POID POID [0] 0.0.0.1 /balance_group 307935 4
0 PIN_FLD_CREATED_T TSTAMP [0] (1608667364) Tue Dec 22 12:02:44 2020
0 PIN_FLD_MOD_T TSTAMP [0] (1608678589) Tue Dec 22 15:09:49 2020
0 PIN_FLD_READ_ACCESS STR [0] "L"
0 PIN_FLD_WRITE_ACCESS STR [0] "L"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 310111 0
0 PIN_FLD_BATCH_CNTR INT [0] 0
0 PIN_FLD_BILLINFO_OBJ POID [0] 0.0.0.1 /billinfo 307423 0
0 PIN_FLD_EFFECTIVE_T TSTAMP [0] (1608667363) Tue Dec 22 12:02:43 2020
0 PIN_FLD_NAME STR [0] "Balance Group<Account>"
0 PIN_FLD_OBJECT_CACHE_TYPE ENUM [0] 0
0 PIN_FLD_REALTIME_CNTR INT [0] 2
0 PIN_FLD_BALANCES ARRAY [1000095] allocated 20, used 6
1 PIN_FLD_CONSUMED_RESERVED_AMOUNT DECIMAL [0] 0
1 PIN_FLD_CONSUMPTION_RULE ENUM [0] 0
1 PIN_FLD_CREDIT_PROFILE INT [0]   11------------------------------------------->Credit Profile did'nt change
1 PIN_FLD_NEXT_BAL DECIMAL [0] 0
1 PIN_FLD_RESERVED_AMOUNT DECIMAL [0] 0
1 PIN_FLD_SUB_BALANCES ARRAY [2] allocated 20, used 10
2 PIN_FLD_CONTRIBUTOR_STR STR [0] ""
2 PIN_FLD_CURRENT_BAL DECIMAL [0] -500
2 PIN_FLD_DELAYED_BAL DECIMAL [0] 0
2 PIN_FLD_GRANTOR_OBJ POID [0] 0.0.0.1 /purchased_product 309727 0
2 PIN_FLD_NEXT_BAL DECIMAL [0] 0
2 PIN_FLD_ROLLOVER_DATA INT [0] 0
2 PIN_FLD_VALID_FROM TSTAMP [0] (1608624000) Tue Dec 22 00:00:00
2020
2 PIN_FLD_VALID_FROM_DETAILS INT [0] 0
2 PIN_FLD_VALID_TO TSTAMP [0] (0) <null>
2 PIN_FLD_VALID_TO_DETAILS INT [0] 0


Credit profile fixed in credit profile configuration is not set to 0.

Changes

 

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