Issue With "Pin_cycle_fees - Cancel" In Error Scenario
Last updated on AUGUST 17, 2015
Applies to:Oracle Communications Billing and Revenue Management - Version 126.96.36.199.1 to 188.8.131.52.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.
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