Why do we Check for Unbilled Usage in the Function Fm_pymt_pol_pre_collect_billinfo_has_refund (Doc ID 2060469.1)

Last updated on OCTOBER 12, 2015

Applies to:

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

Goal

For refund, we are using the PCM_OP_PYMT_COLLECT opcode in our customization.
The refund value will be sent as negative to the opcode.

However we have noticed that because of the following search query, select sum( F1 ) from /item where F2 = V2 and ( F3 = V3 or F4 = V4 ) defined in the function fm_pymt_pol_pre_collect_billinfo_has_refund in the opcode fm_pymt_pol_pre_collect.c a certain scenario fails.

Scenario is as follows :
1. Customer makes an over payment of £50
2. Customer has an unbilled usage of £60
3. As the function checks for the sum of all items in status 1 and 2, thus from point 1 and 2 , we get the sum as £10.
4. BRM checks if this sum is < 0, if not, it sends an error message as "Credit not available".

Is it fine to remove the status PIN_ITEM_STATUS_PENDING from the search flist?
Will it cause any impact in any other functional module or process ?

 

Solution

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