My Oracle Support Banner

Payment Allocation Issue Against Open Items (Doc ID 2818970.1)

Last updated on NOVEMBER 02, 2021

Applies to:

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


Issue with payment allocation against open items. These are the steps followed:
1. Created an postpaid account, purchased a product having certain charge.
2. Execute billing.
3. Posted a partial payment with Flag is 1.

Observed that payment did not got allocated to any open items.
cm.pinlog verified and found the payment opcode PCM_OP_PYMT_COLLECT, internally it calls PCM_OP_PYMT_SELECT_ITEMS. immediately after this select items , PCM_OP_CUST_GET_BUSINESS_PROFILE_INFO is invoked with input as below.
Input flist:
0 PIN_FLD_POID POID [0] /config/business_profile 2435273 0
0 PIN_FLD_PROFILES ARRAY [0] allocated 20, used 1
1 PIN_FLD_PAIR_KEY STR [0] "WholesaleBilling"
For every account whether it is Prepaid/Postpaid ,PIN_FLD_PAIR_KEY is set as "WholesaleBilling" only and not selecting the Postpaid business profile in this case.

Payment should be allocated, transfer amount from /item/payment to open billable items and close the item if item due equals the payment transferred.

The issue can be reproduced at will with the following steps:
1. Define postpaid profile in pin_business_profile.xml and load it.
2. Create postpaid account using PCM_OP_CUST_COMMIT_CUSTOMER and pass in PIN_FLD_BUSINESS_PROFILE_OBJ in input flist
3. Bill account
4. Make partial payment by calling PCM_OP_PYMT_COLLECT with below input flist


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

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.