Free Resources Valid_to Is Setting To Transfer Date During Line Transfer
(Doc ID 843861.1)
Last updated on OCTOBER 03, 2019
Applies to:
Oracle Communications Billing and Revenue Management - Version 7.2.1.0.0 and laterInformation in this document applies to any platform.
Information in this document applies to any platform.
Goal
The free resource for the transferred account valid_to set to transferred date.
Steps To Reproduce:
1. Create a product/deal for /service/ip, $10 MCF, resource 1000095
2. Create a plan with a subscription group for /service/ip and transfer the service to a new balance group
3. On Sept 1st, create an account with the plan created in step2 and purchase the deal created in step1
4. Give free resources using PCM_OP_BILL_DEBIT opcode
Free secs -1024 , validty from Sept 1st 2009 to 30th Nov 2009.
PCM_OP_BILL_DEBIT flist:
0 PIN_FLD_SUB_BALANCES ARRAY [assign] allocated 20, used 2
1 PIN_FLD_VALID_FROM TSTAMP [0] (1251759600) Tue Sep 1 00:00:00 2009
1 PIN_FLD_VALID_TO TSTAMP [0] (1259535600) Mon Nov 30 00:00:00 2009
0 PIN_FLD_BAL_GRP_OBJ POID [0] 0.0.0.1 /balance_group 238613 20 (balance group of the subscription-service)
0 PIN_FLD_PROGRAM_NAME STR [0] "Billing End resources"
0 PIN_FLD_DEBIT ARRAY [1000095] allocated 20, used 4
1 PIN_FLD_BAL_OPERAND DECIMAL [0] -1024
Below is sub-balance validity:
Total Available: -1014
01-sep-2009 to [No end] Available 10
01-sep-2009 to 30-Nov-2009 Available -1024
5. Transfer line from one account to other account using the following opcode on Sept 1st
PCM_OP_SUBSCRIPTION_TRANSFER_SUBSCRIPTION
0 PIN_FLD_FROM_OBJ POID [0] 0.0.0.1 /account 241125 0
0 PIN_FLD_TO_OBJ POID [0] 0.0.0.1 /account 233765 0
0 PIN_FLD_BILLINFO_OBJ POID [0] 0.0.0.1 /billinfo 236837 0 (to_account billinfo)
0 PIN_FLD_PROGRAM_NAME STR [0] "sfc_itg_pol_transfer_line"
6. The new account having free resources as follows:
Total Available: 0
01-sep-2009 to 01-sep-2009 Available 0
01-sep-2009 to 01-sep-2009 Available -1014
Expected is:
Total Available: -1014 valid till 30-Nov-2009.
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 |