Issue With "Pin_cycle_fees - Cancel" In Error Scenario
(Doc ID 1463142.1)
Last updated on MARCH 13, 2019
Applies to:Oracle Communications Billing and Revenue Management - Version 220.127.116.11.1 to 18.104.22.168.0 [Release 7.3.0 to 7.4.0]
Information in this document applies to any platform.
"Pin_cycle_fees -cancel" results in an MTA error in the below scenario, but while using it with "-purchase" option it works correctly :
In a customer setup, there was a customization done in the post billing policy, that would check if there is a deferred action on the account being billed. If yes, then introduce an error on the account so that it does not get billed.
1) jan 1 : create 3 accounts, with some basic MCF product
2) jan 1 : create any deferred action on account#3, like end_date the product by feb 1
3) feb 1 : run pin_cycle_fees -purchase , result OK
4) feb 1 : run pin_cycle_fees -cancel , result not OK
In step 4, the return code of pin_cycle_fees is not as expected . See below console output :
Overall, the problem was that, in case of "-purchase" option, once the process completes, the array PIN_FLD_FAILED_ACCOUNTS is correctly populated with the PIN_FLD_FAILED_ACCOUNT_OBJ of the failed account (that is, the account which had the deferred action). However, with the "-cancel" option, the array was not getting populated with the PIN_FLD_FAILED_ACCOUNT_OBJ of the failed account.
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