Authorization Error Causes A Prepaid Customer To Exceed Credit Limit (Doc ID 735567.1)

Last updated on APRIL 30, 2013

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.0.0.0 to 7.3.1.0.1 [Release 7.3.0 to 7.3.1]
Information in this document applies to any platform.
***Checked for relevance on 27-Apr-2011***


Symptoms

Error in authorization causes customer to exceed credit limit when taxes are applied to the rate.

Steps to reproduce :

1. Create a prepaid customer with (-0.50) balance in Euro and WITHOUT free seconds resource
2. Configure a tax for event of 16%
3. Use a tariff of 0.01 EURO/second
4. Make an authorization.

Here is the Input and output flist:

nap(14017)> r PCM_OP_GSM_AUTHORIZE 1
nap(14017)> d 1
#PCM_OP_GSM_AUTHORIZE
# number of field entries allocated 20, used 6
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/gsm/telephony -10
0 PIN_FLD_MSID STR [0] "600000018"
0 PIN_FLD_PROGRAM_NAME STR [0] "Prueba AAA a mano"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "AAA_20080306_16_48"
0 PIN_FLD_DIRECTION ENUM [0] 0
0 PIN_FLD_ORIGIN_SID STR [0] "origin"
nap(14017)> xop PCM_OP_GSM_AUTHORIZE 0 1
xop: opcode 4036, flags 0
# number of field entries allocated 20, used 12
0 PIN_FLD_POID POID [0] 0.0.0.1 /active_session/telco/gsm 18737050 0
0 PIN_FLD_EXPIRATION_T TSTAMP [0] (1204909256) Fri Mar 07 18:00:56 2008
0 PIN_FLD_QUANTITY DECIMAL [0] 50
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 18961100 0
0 PIN_FLD_RESERVATION_OBJ POID [0] 0.0.0.1 /reservation/active 187370510
0 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 18963276 2
0 PIN_FLD_BALANCES ARRAY [978] allocated 20, used 2
1 PIN_FLD_AMOUNT DECIMAL [0] 0.5
1 PIN_FLD_AVAILABLE_RESOURCE_LIMIT DECIMAL [0] 0
0 PIN_FLD_SCALED_DELAY_TIME DECIMAL [0] 50.00000000000000000
0 PIN_FLD_RESULT ENUM [0] 1
0 PIN_FLD_RATING_STATUS ENUM [0] 0
0 PIN_FLD_AUTHORIZATION_ID STR [0] "AAA_20080306_16_48"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 18962764 0


5. Call stop_accounting. When stop_accounting is called, the event is rated and the customer has a balance of 0.08 euros:


nap(14017)> r PCM_OP_GSM_STOP_ACCOUNTING 1
nap(14017)> d 1
#PCM_OP_GSM_STOP_ACCOUNTING
# number of field entries allocated 20, used 7
0 PIN_FLD_POID POID [0] 0.0.0.1 /service/telco/gsm/telephony -10
0 PIN_FLD_MSID STR [0] "600000018"
0 PIN_FLD_PROGRAM_NAME STR [0] "Prueba AAA a mano"
0 PIN_FLD_AUTHORIZATION_ID STR [0] "AAA_20080306_16_48"
0 PIN_FLD_DIRECTION ENUM [0] 1
0 PIN_FLD_UNIT ENUM [0] 978
0 PIN_FLD_QUANTITY DECIMAL [0] 50
nap(14017)> xop PCM_OP_GSM_STOP_ACCOUNTING 0 1
xop: opcode 4041, flags 0
# number of field entries allocated 20, used 6
0 PIN_FLD_POID POID [0] 0.0.0.1 /event/session/telco/gsm 245305442222286881 0
0 PIN_FLD_AUTHORIZATION_ID STR [0] "AAA_20080306_16_48"
0 PIN_FLD_ACCOUNT_OBJ POID [0] 0.0.0.1 /account 18962764 0
0 PIN_FLD_SERVICE_OBJ POID [0] 0.0.0.1 /service/telco/gsm/telephony 18961100 0
0 PIN_FLD_RATING_STATUS ENUM [0] 0
0 PIN_FLD_BALANCES ARRAY [978] allocated 20, used 2
1 PIN_FLD_AMOUNT DECIMAL [0] 0.580
1 PIN_FLD_AVAILABLE_RESOURCE_LIMIT DECIMAL [0] -0.080



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