Unable to Create Account With Custom Business Type (Doc ID 560661.1)

Last updated on MAY 13, 2016

Applies to:

Oracle Communications Billing and Revenue Management - Version 7.3.0.0.0 to 7.3.0.0.0 [Release 7.3.0]
Information in this document applies to any platform.
This problem can occur on any platform.
***Checked for relevance on 08-Aug-2012***

Symptoms

While creating account with custom "Business type", payment options panel doesn't populate the
"Payment Option" dialog window , instead the account is getting created with default payment type
with following error in javaPCM log.


---
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:415)
at java.lang.Integer.parseInt(Integer.java:497)
at com.portal.app.cc.comp.PIAPaymentField.selectDefault(PIAPaymentField.java:356)
at com.portal.app.cc.PPaymentOptionDlg.getPanel(PPaymentOptionDlg.java:259)
at com.portal.app.cc.PPaymentOptionDlg.jbInit(PPaymentOptionDlg.java:191)
at com.portal.app.cc.PPaymentOptionDlg.<init>(PPaymentOptionDlg.java:98)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance
---

Steps to reproduce :
1. Add the following entries to
~\Portal\Software\CustomerCareSDK\CustCntr\custom\Customized.properties:

customercenter.menu.file=distributoraccount searchbean close SEP save SEP
print printsetup SEP exit
customercenter.action.class.distributoraccount=PNewDistributorAccountAction
customercenter.tb.items.newaccounts=distributor
customercenter.tb.class.distributor=PNewDistributorAccountAction
distributoraccount.pages=contactspage generalpage planspage planoptionspage
servicespage productspage creditlimitpage consumerpayment billingpage
distributoraccount.businesstype=7


2. Add the following entries to
~\Portal\Software\CustomerCareSDK\CustCntr\custom\CustomizedResources.properties:

customercenter.distributoraccount.name=Distributor
customercenter.distributoraccount.icon=
customercenter.distributoraccount.desc=
customercenter.distributoraccount.menu=file.New
customercenter.distributoraccount.accel=
customercenter.distributoraccount.mnemonic=

3. Create a java file name: PNewDistributorAccountAction.java with the below content and add the
file to: ~\Portal\Software\CustomerCareSDK\CustCntr\custom folder

### Beginning of the PNewDistributorAccountAction.java ###
import com.portal.bas.PClientComponent;
import com.portal.app.cc.*;
public class PNewDistributorAccountAction extends PNewAccountAction
{
public PNewDistributorAccountAction(PClientComponent comp)
{
super(comp, "distributoraccount");
}
private static final String WIZARD_TAG = "distributoraccount";
}
### End of the PNewDistributorAccountAction.java ###


4. From ~\Portal Software\CustomerCareSDKbuildAll, run buildAll CustCntr to build the ccCustom.jav.

5. Move ccCustom.jar to ~\Portal Software\CustomerCenter\lib and make sure to include ccCustom.jar
in runCC.bat


6. set the following entry in ~\Portal Software\CustomerCenter\lib\Infranet.properties for debug
level JavaPcm.log
infranet.log.level=3
infranet.log.logallebuf=true
infranet.log.opcodes.enabled=true
infranet.log.file=javaPCM.log
infranet.log.name=WebApp Log
infranet.pcp.debug.flags=0x3FFFFFFF
infranet.pcp.debug.enabled=true

7. Create a new account with the custom business type from the Customer Center,notice that the
"Payment Option" dialog window with payment method drop down is not initialized, instead the
account is getting created with default pay type with error in javaPCM

.

Cause

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